Skip to content

Commit 62b96cb

Browse files
author
cardpay-ci
committed
Published latest changes
1 parent 0fc562e commit 62b96cb

File tree

8 files changed

+154
-4
lines changed

8 files changed

+154
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
The Unlimint API uses HTTP verbs and a RESTful endpoint structure. Request and response payloads are formatted as JSON.
33

44
- API version: 3.0
5-
- PHP SDK version: 3.8.9
5+
- PHP SDK version: 3.9.14
66

77
For more information, please visit [https://integration.cardpay.com](https://integration.cardpay.com)
88

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cardpay/php-sdk-v3",
3-
"version": "3.8.9",
3+
"version": "3.9.14",
44
"description": "PHP SDK for Unlimint API v3",
55
"keywords": [
66
"unlimint",

lib/Configuration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class Configuration
5959
*
6060
* @var string
6161
*/
62-
protected $userAgent = 'CardpaySdk/3.8.9/PHP';
62+
protected $userAgent = 'CardpaySdk/3.9.14/PHP';
6363

6464
/**
6565
* Debug switch (default set to false)
@@ -371,7 +371,7 @@ public static function toDebugReport()
371371
$report .= ' OS: ' . php_uname() . PHP_EOL;
372372
$report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL;
373373
$report .= ' OpenAPI Spec Version: 3.0' . PHP_EOL;
374-
$report .= ' SDK Package Version: 3.8.9' . PHP_EOL;
374+
$report .= ' SDK Package Version: 3.9.14' . PHP_EOL;
375375
$report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL;
376376

377377
return $report;

lib/model/BankCardPayoutData.php

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ class BankCardPayoutData implements ModelInterface, ArrayAccess
2626
* @var string[]
2727
*/
2828
protected static $swaggerTypes = [
29+
'action_code' => 'string',
2930
'amount' => 'float',
3031
'arn' => 'string',
3132
'created' => 'string',
@@ -44,6 +45,7 @@ class BankCardPayoutData implements ModelInterface, ArrayAccess
4445
* @var string[]
4546
*/
4647
protected static $swaggerFormats = [
48+
'action_code' => null,
4749
'amount' => null,
4850
'arn' => null,
4951
'created' => null,
@@ -83,6 +85,7 @@ public static function swaggerFormats()
8385
* @var string[]
8486
*/
8587
protected static $attributeMap = [
88+
'action_code' => 'action_code',
8689
'amount' => 'amount',
8790
'arn' => 'arn',
8891
'created' => 'created',
@@ -101,6 +104,7 @@ public static function swaggerFormats()
101104
* @var string[]
102105
*/
103106
protected static $setters = [
107+
'action_code' => 'setActionCode',
104108
'amount' => 'setAmount',
105109
'arn' => 'setArn',
106110
'created' => 'setCreated',
@@ -119,6 +123,7 @@ public static function swaggerFormats()
119123
* @var string[]
120124
*/
121125
protected static $getters = [
126+
'action_code' => 'getActionCode',
122127
'amount' => 'getAmount',
123128
'arn' => 'getArn',
124129
'created' => 'getCreated',
@@ -224,6 +229,7 @@ public function getStatusAllowableValues()
224229
*/
225230
public function __construct(array $data = null)
226231
{
232+
$this->container['action_code'] = isset($data['action_code']) ? $data['action_code'] : null;
227233
$this->container['amount'] = isset($data['amount']) ? $data['amount'] : null;
228234
$this->container['arn'] = isset($data['arn']) ? $data['arn'] : null;
229235
$this->container['created'] = isset($data['created']) ? $data['created'] : null;
@@ -268,6 +274,30 @@ public function valid()
268274
}
269275

270276

277+
/**
278+
* Gets action_code
279+
*
280+
* @return string
281+
*/
282+
public function getActionCode()
283+
{
284+
return $this->container['action_code'];
285+
}
286+
287+
/**
288+
* Sets action_code
289+
*
290+
* @param string $action_code Action code (only in decline case)
291+
*
292+
* @return $this
293+
*/
294+
public function setActionCode($action_code)
295+
{
296+
$this->container['action_code'] = $action_code;
297+
298+
return $this;
299+
}
300+
271301
/**
272302
* Gets amount
273303
*

lib/model/PaymentResponsePaymentData.php

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ class PaymentResponsePaymentData implements ModelInterface, ArrayAccess
2626
* @var string[]
2727
*/
2828
protected static $swaggerTypes = [
29+
'action_code' => 'string',
2930
'amount' => 'float',
3031
'arn' => 'string',
3132
'auth_code' => 'string',
@@ -48,6 +49,7 @@ class PaymentResponsePaymentData implements ModelInterface, ArrayAccess
4849
* @var string[]
4950
*/
5051
protected static $swaggerFormats = [
52+
'action_code' => null,
5153
'amount' => null,
5254
'arn' => null,
5355
'auth_code' => null,
@@ -91,6 +93,7 @@ public static function swaggerFormats()
9193
* @var string[]
9294
*/
9395
protected static $attributeMap = [
96+
'action_code' => 'action_code',
9497
'amount' => 'amount',
9598
'arn' => 'arn',
9699
'auth_code' => 'auth_code',
@@ -113,6 +116,7 @@ public static function swaggerFormats()
113116
* @var string[]
114117
*/
115118
protected static $setters = [
119+
'action_code' => 'setActionCode',
116120
'amount' => 'setAmount',
117121
'arn' => 'setArn',
118122
'auth_code' => 'setAuthCode',
@@ -135,6 +139,7 @@ public static function swaggerFormats()
135139
* @var string[]
136140
*/
137141
protected static $getters = [
142+
'action_code' => 'getActionCode',
138143
'amount' => 'getAmount',
139144
'arn' => 'getArn',
140145
'auth_code' => 'getAuthCode',
@@ -265,6 +270,7 @@ public function getTransTypeAllowableValues()
265270
*/
266271
public function __construct(array $data = null)
267272
{
273+
$this->container['action_code'] = isset($data['action_code']) ? $data['action_code'] : null;
268274
$this->container['amount'] = isset($data['amount']) ? $data['amount'] : null;
269275
$this->container['arn'] = isset($data['arn']) ? $data['arn'] : null;
270276
$this->container['auth_code'] = isset($data['auth_code']) ? $data['auth_code'] : null;
@@ -321,6 +327,30 @@ public function valid()
321327
}
322328

323329

330+
/**
331+
* Gets action_code
332+
*
333+
* @return string
334+
*/
335+
public function getActionCode()
336+
{
337+
return $this->container['action_code'];
338+
}
339+
340+
/**
341+
* Sets action_code
342+
*
343+
* @param string $action_code Action code (only in decline case)
344+
*
345+
* @return $this
346+
*/
347+
public function setActionCode($action_code)
348+
{
349+
$this->container['action_code'] = $action_code;
350+
351+
return $this;
352+
}
353+
324354
/**
325355
* Gets amount
326356
*

lib/model/PayoutResponsePayoutData.php

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ class PayoutResponsePayoutData implements ModelInterface, ArrayAccess
2626
* @var string[]
2727
*/
2828
protected static $swaggerTypes = [
29+
'action_code' => 'string',
2930
'amount' => 'float',
3031
'arn' => 'string',
3132
'created' => 'string',
@@ -44,6 +45,7 @@ class PayoutResponsePayoutData implements ModelInterface, ArrayAccess
4445
* @var string[]
4546
*/
4647
protected static $swaggerFormats = [
48+
'action_code' => null,
4749
'amount' => null,
4850
'arn' => null,
4951
'created' => null,
@@ -83,6 +85,7 @@ public static function swaggerFormats()
8385
* @var string[]
8486
*/
8587
protected static $attributeMap = [
88+
'action_code' => 'action_code',
8689
'amount' => 'amount',
8790
'arn' => 'arn',
8891
'created' => 'created',
@@ -101,6 +104,7 @@ public static function swaggerFormats()
101104
* @var string[]
102105
*/
103106
protected static $setters = [
107+
'action_code' => 'setActionCode',
104108
'amount' => 'setAmount',
105109
'arn' => 'setArn',
106110
'created' => 'setCreated',
@@ -119,6 +123,7 @@ public static function swaggerFormats()
119123
* @var string[]
120124
*/
121125
protected static $getters = [
126+
'action_code' => 'getActionCode',
122127
'amount' => 'getAmount',
123128
'arn' => 'getArn',
124129
'created' => 'getCreated',
@@ -224,6 +229,7 @@ public function getStatusAllowableValues()
224229
*/
225230
public function __construct(array $data = null)
226231
{
232+
$this->container['action_code'] = isset($data['action_code']) ? $data['action_code'] : null;
227233
$this->container['amount'] = isset($data['amount']) ? $data['amount'] : null;
228234
$this->container['arn'] = isset($data['arn']) ? $data['arn'] : null;
229235
$this->container['created'] = isset($data['created']) ? $data['created'] : null;
@@ -268,6 +274,30 @@ public function valid()
268274
}
269275

270276

277+
/**
278+
* Gets action_code
279+
*
280+
* @return string
281+
*/
282+
public function getActionCode()
283+
{
284+
return $this->container['action_code'];
285+
}
286+
287+
/**
288+
* Sets action_code
289+
*
290+
* @param string $action_code Action code (only in decline case)
291+
*
292+
* @return $this
293+
*/
294+
public function setActionCode($action_code)
295+
{
296+
$this->container['action_code'] = $action_code;
297+
298+
return $this;
299+
}
300+
271301
/**
272302
* Gets amount
273303
*

lib/model/RecurringResponseRecurringData.php

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ class RecurringResponseRecurringData implements ModelInterface, ArrayAccess
2626
* @var string[]
2727
*/
2828
protected static $swaggerTypes = [
29+
'action_code' => 'string',
2930
'amount' => 'float',
3031
'arn' => 'string',
3132
'auth_code' => 'string',
@@ -56,6 +57,7 @@ class RecurringResponseRecurringData implements ModelInterface, ArrayAccess
5657
* @var string[]
5758
*/
5859
protected static $swaggerFormats = [
60+
'action_code' => null,
5961
'amount' => null,
6062
'arn' => null,
6163
'auth_code' => null,
@@ -107,6 +109,7 @@ public static function swaggerFormats()
107109
* @var string[]
108110
*/
109111
protected static $attributeMap = [
112+
'action_code' => 'action_code',
110113
'amount' => 'amount',
111114
'arn' => 'arn',
112115
'auth_code' => 'auth_code',
@@ -137,6 +140,7 @@ public static function swaggerFormats()
137140
* @var string[]
138141
*/
139142
protected static $setters = [
143+
'action_code' => 'setActionCode',
140144
'amount' => 'setAmount',
141145
'arn' => 'setArn',
142146
'auth_code' => 'setAuthCode',
@@ -167,6 +171,7 @@ public static function swaggerFormats()
167171
* @var string[]
168172
*/
169173
protected static $getters = [
174+
'action_code' => 'getActionCode',
170175
'amount' => 'getAmount',
171176
'arn' => 'getArn',
172177
'auth_code' => 'getAuthCode',
@@ -337,6 +342,7 @@ public function getTransTypeAllowableValues()
337342
*/
338343
public function __construct(array $data = null)
339344
{
345+
$this->container['action_code'] = isset($data['action_code']) ? $data['action_code'] : null;
340346
$this->container['amount'] = isset($data['amount']) ? $data['amount'] : null;
341347
$this->container['arn'] = isset($data['arn']) ? $data['arn'] : null;
342348
$this->container['auth_code'] = isset($data['auth_code']) ? $data['auth_code'] : null;
@@ -417,6 +423,30 @@ public function valid()
417423
}
418424

419425

426+
/**
427+
* Gets action_code
428+
*
429+
* @return string
430+
*/
431+
public function getActionCode()
432+
{
433+
return $this->container['action_code'];
434+
}
435+
436+
/**
437+
* Sets action_code
438+
*
439+
* @param string $action_code Action code (only in decline case)
440+
*
441+
* @return $this
442+
*/
443+
public function setActionCode($action_code)
444+
{
445+
$this->container['action_code'] = $action_code;
446+
447+
return $this;
448+
}
449+
420450
/**
421451
* Gets amount
422452
*

0 commit comments

Comments
 (0)