Skip to content

Commit 1b5cec0

Browse files
committed
Updated Auto Generated Code
1 parent 7dc54ae commit 1b5cec0

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

src/Definitions/FortifiApiDefinition.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class FortifiApiDefinition extends ApiDefinition
1111
public function __construct()
1212
{
1313
$this->setTitle('Fortifi API');
14-
$this->setVersion('3.148.0');
14+
$this->setVersion('3.149.1');
1515
$this->setDescription(<<<DESCRIPTION
1616
The second version of the Fortifi API is an exciting step forward towards
1717
making it easier for businesses to have open access to their data. We created it

src/Endpoints/CustomersCustomerFidPaymentMethodsCardsCardFidLockEndpoint.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@ public function __construct($customerFid, $cardFid)
1717
}
1818

1919
/**
20+
* @param $expirySeconds
21+
*
2022
* @return ApiRequest
2123
*/
22-
public function create()
24+
public function create($expirySeconds)
2325
{
2426
$request = new ApiRequest();
2527
$request->setConnection($this->_getConnection());
@@ -34,6 +36,7 @@ public function create()
3436
'customers/{customerFid}/paymentMethods/cards/{cardFid}/lock'
3537
)
3638
));
39+
$detail->addPostField('expirySeconds', $expirySeconds);
3740
$detail->setMethod('POST');
3841
$request->setRequestDetail($detail);
3942
return $request;

swagger.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
swagger: '2.0'
22
info:
33
title: Fortifi API
4-
version: '3.148.0'
4+
version: '3.149.1'
55
termsOfService: 'https://fortifi.io/legal/terms/api'
66
description: >
77
The second version of the Fortifi API is an exciting step forward towards
@@ -2911,6 +2911,12 @@ paths:
29112911
parameters:
29122912
- $ref: '#/parameters/customerFid'
29132913
- $ref: '#/parameters/cardFid'
2914+
- name: expirySeconds
2915+
type: integer
2916+
in: formData
2917+
minimum: 3600
2918+
maximum: 31536000
2919+
required: true
29142920
responses:
29152921
200:
29162922
description: Card Locked

0 commit comments

Comments
 (0)