Skip to content

Commit

Permalink
Updated Auto Generated Code
Browse files Browse the repository at this point in the history
  • Loading branch information
bajb committed Apr 4, 2023
1 parent edd0b72 commit ec54f10
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Definitions/FortifiApiDefinition.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class FortifiApiDefinition extends ApiDefinition
public function __construct()
{
$this->setTitle('Fortifi API');
$this->setVersion('3.126.0');
$this->setVersion('3.127.0');
$this->setDescription(<<<DESCRIPTION
The second version of the Fortifi API is an exciting step forward towards
making it easier for businesses to have open access to their data. We created it
Expand Down
13 changes: 13 additions & 0 deletions src/Requests/FindTransactionRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ class FindTransactionRequest
public function jsonSerialize()
{
return [
"customerFid" => $this->getCustomerFid(),
"fullName" => $this->getFullName(),
"email" => $this->getEmail(),
"city" => $this->getCity(),
Expand All @@ -30,6 +31,18 @@ public function jsonSerialize()
];
}

/**
* @param mixed $default
* @param bool $trim Trim Value
*
* @return string
*/
public function getCustomerFid($default = null, $trim = true)
{
$value = Objects::property($this->_getResultJson(), 'customerFid', $default);
return $trim ? Strings::ntrim($value) : $value;
}

/**
* @param mixed $default
* @param bool $trim Trim Value
Expand Down
4 changes: 3 additions & 1 deletion swagger.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
swagger: '2.0'
info:
title: Fortifi API
version: '3.126.0'
version: '3.127.0'
termsOfService: 'https://fortifi.io/legal/terms/api'
description: >
The second version of the Fortifi API is an exciting step forward towards
Expand Down Expand Up @@ -12717,6 +12717,8 @@ definitions:

FindTransactionResponse:
properties:
customerFid:
type: string
fullName:
type: string
email:
Expand Down

0 comments on commit ec54f10

Please sign in to comment.