Skip to content

Commit 6765f8e

Browse files
authored
Updated Auto Generated Code (#29)
1 parent a5257fd commit 6765f8e

File tree

3 files changed

+17
-2
lines changed

3 files changed

+17
-2
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.169.0');
14+
$this->setVersion('3.170.0');
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/Requests/PaymentMethodRequest.php

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ public function jsonSerialize()
3838
"declineCount" => $this->getDeclineCount(),
3939
"externalReference" => $this->getExternalReference(),
4040
"lookupCode" => $this->getLookupCode(),
41+
"merchantFingerprint" => $this->getMerchantFingerprint(),
4142
]
4243
);
4344
}
@@ -317,4 +318,16 @@ public function getLookupCode($default = null, $trim = true)
317318
$value = Objects::property($this->_getResultJson(), 'lookupCode', $default);
318319
return $trim ? Strings::ntrim($value) : $value;
319320
}
321+
322+
/**
323+
* @param mixed $default
324+
* @param bool $trim Trim Value
325+
*
326+
* @return string
327+
*/
328+
public function getMerchantFingerprint($default = null, $trim = true)
329+
{
330+
$value = Objects::property($this->_getResultJson(), 'merchantFingerprint', $default);
331+
return $trim ? Strings::ntrim($value) : $value;
332+
}
320333
}

swagger.yaml

Lines changed: 3 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.169.0'
4+
version: '3.170.0'
55
termsOfService: 'https://fortifi.io/legal/terms/api'
66
description: >
77
The second version of the Fortifi API is an exciting step forward towards
@@ -10841,6 +10841,8 @@ definitions:
1084110841
type: string
1084210842
lookupCode:
1084310843
type: string
10844+
merchantFingerprint:
10845+
type: string
1084410846

1084510847
PaymentAccount:
1084610848
description: Generic Response

0 commit comments

Comments
 (0)