Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 37 additions & 6 deletions model/AcquirerInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ class AcquirerInfo implements ModelInterface, ArrayAccess, \JsonSerializable
'acquirerResultCode' => 'string',
'acquirerResultMessage' => 'string',
'acquirerMerchantName' => 'string',
'acquirerReasonDescription' => 'string'
'acquirerReasonDescription' => 'string',
'ptspTransactionId' => 'string'
];

/**
Expand All @@ -71,7 +72,8 @@ class AcquirerInfo implements ModelInterface, ArrayAccess, \JsonSerializable
'acquirerResultCode' => null,
'acquirerResultMessage' => null,
'acquirerMerchantName' => null,
'acquirerReasonDescription' => null
'acquirerReasonDescription' => null,
'ptspTransactionId' => null
];

/**
Expand All @@ -87,7 +89,8 @@ class AcquirerInfo implements ModelInterface, ArrayAccess, \JsonSerializable
'acquirerResultCode' => false,
'acquirerResultMessage' => false,
'acquirerMerchantName' => false,
'acquirerReasonDescription' => false
'acquirerReasonDescription' => false,
'ptspTransactionId' => false
];

/**
Expand Down Expand Up @@ -183,7 +186,8 @@ public function isNullableSetToNull(string $property): bool
'acquirerResultCode' => 'acquirerResultCode',
'acquirerResultMessage' => 'acquirerResultMessage',
'acquirerMerchantName' => 'acquirerMerchantName',
'acquirerReasonDescription' => 'acquirerReasonDescription'
'acquirerReasonDescription' => 'acquirerReasonDescription',
'ptspTransactionId' => 'ptspTransactionId'
];

/**
Expand All @@ -199,7 +203,8 @@ public function isNullableSetToNull(string $property): bool
'acquirerResultCode' => 'setAcquirerResultCode',
'acquirerResultMessage' => 'setAcquirerResultMessage',
'acquirerMerchantName' => 'setAcquirerMerchantName',
'acquirerReasonDescription' => 'setAcquirerReasonDescription'
'acquirerReasonDescription' => 'setAcquirerReasonDescription',
'ptspTransactionId' => 'setPtspTransactionId'
];

/**
Expand All @@ -215,7 +220,8 @@ public function isNullableSetToNull(string $property): bool
'acquirerResultCode' => 'getAcquirerResultCode',
'acquirerResultMessage' => 'getAcquirerResultMessage',
'acquirerMerchantName' => 'getAcquirerMerchantName',
'acquirerReasonDescription' => 'getAcquirerReasonDescription'
'acquirerReasonDescription' => 'getAcquirerReasonDescription',
'ptspTransactionId' => 'getPtspTransactionId'
];

/**
Expand Down Expand Up @@ -283,6 +289,7 @@ public function __construct(?array $data = null)
$this->setIfExists('acquirerResultMessage', $data ?? [], null);
$this->setIfExists('acquirerMerchantName', $data ?? [], null);
$this->setIfExists('acquirerReasonDescription', $data ?? [], null);
$this->setIfExists('ptspTransactionId', $data ?? [], null);

}

Expand Down Expand Up @@ -519,6 +526,30 @@ public function setAcquirerReasonDescription($acquirerReasonDescription)

return $this;
}

/**
* Gets ptspTransactionId
*
* @return string|null
*/
public function getPtspTransactionId()
{
return $this->container['ptspTransactionId'];
}

/**
* Sets ptspTransactionId
*
* @param string|null $ptspTransactionId ptspTransactionId
*
* @return self
*/
public function setPtspTransactionId($ptspTransactionId)
{
$this->container['ptspTransactionId'] = $ptspTransactionId;

return $this;
}
/**
* Returns true if offset exists. False otherwise.
*
Expand Down
43 changes: 37 additions & 6 deletions model/CardholderInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ class CardholderInfo implements ModelInterface, ArrayAccess, \JsonSerializable
*/
protected static $openAPITypes = [
'cardHolderName' => '\request\model\UserName',
'billAddress' => '\request\model\Address'
'billAddress' => '\request\model\Address',
'displayName' => 'string'
];

/**
Expand All @@ -59,7 +60,8 @@ class CardholderInfo implements ModelInterface, ArrayAccess, \JsonSerializable
*/
protected static $openAPIFormats = [
'cardHolderName' => null,
'billAddress' => null
'billAddress' => null,
'displayName' => null
];

/**
Expand All @@ -69,7 +71,8 @@ class CardholderInfo implements ModelInterface, ArrayAccess, \JsonSerializable
*/
protected static $openAPINullables = [
'cardHolderName' => false,
'billAddress' => false
'billAddress' => false,
'displayName' => false
];

/**
Expand Down Expand Up @@ -159,7 +162,8 @@ public function isNullableSetToNull(string $property): bool
*/
protected static $attributeMap = [
'cardHolderName' => 'cardHolderName',
'billAddress' => 'billAddress'
'billAddress' => 'billAddress',
'displayName' => 'displayName'
];

/**
Expand All @@ -169,7 +173,8 @@ public function isNullableSetToNull(string $property): bool
*/
protected static $setters = [
'cardHolderName' => 'setCardHolderName',
'billAddress' => 'setBillAddress'
'billAddress' => 'setBillAddress',
'displayName' => 'setDisplayName'
];

/**
Expand All @@ -179,7 +184,8 @@ public function isNullableSetToNull(string $property): bool
*/
protected static $getters = [
'cardHolderName' => 'getCardHolderName',
'billAddress' => 'getBillAddress'
'billAddress' => 'getBillAddress',
'displayName' => 'getDisplayName'
];

/**
Expand Down Expand Up @@ -241,6 +247,7 @@ public function __construct(?array $data = null)
{
$this->setIfExists('cardHolderName', $data ?? [], null);
$this->setIfExists('billAddress', $data ?? [], null);
$this->setIfExists('displayName', $data ?? [], null);

}

Expand Down Expand Up @@ -339,6 +346,30 @@ public function setBillAddress($billAddress)

return $this;
}

/**
* Gets displayName
*
* @return string|null
*/
public function getDisplayName()
{
return $this->container['displayName'];
}

/**
* Sets displayName
*
* @param string|null $displayName The name that is displayed on the card
*
* @return self
*/
public function setDisplayName($displayName)
{
$this->container['displayName'] = $displayName;

return $this;
}
/**
* Returns true if offset exists. False otherwise.
*
Expand Down
43 changes: 37 additions & 6 deletions model/PaymentResultInfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ class PaymentResultInfo implements ModelInterface, ArrayAccess, \JsonSerializab
'accountNo' => 'string',
'exemptionRequested' => 'string',
'credentialTypeUsed' => 'string',
'rrn' => 'string'
'rrn' => 'string',
'userAuthorizationStatus' => 'string'
];

/**
Expand Down Expand Up @@ -107,7 +108,8 @@ class PaymentResultInfo implements ModelInterface, ArrayAccess, \JsonSerializab
'accountNo' => null,
'exemptionRequested' => null,
'credentialTypeUsed' => null,
'rrn' => null
'rrn' => null,
'userAuthorizationStatus' => null
];

/**
Expand Down Expand Up @@ -141,7 +143,8 @@ class PaymentResultInfo implements ModelInterface, ArrayAccess, \JsonSerializab
'accountNo' => false,
'exemptionRequested' => false,
'credentialTypeUsed' => false,
'rrn' => false
'rrn' => false,
'userAuthorizationStatus' => false
];

/**
Expand Down Expand Up @@ -255,7 +258,8 @@ public function isNullableSetToNull(string $property): bool
'accountNo' => 'accountNo',
'exemptionRequested' => 'exemptionRequested',
'credentialTypeUsed' => 'credentialTypeUsed',
'rrn' => 'rrn'
'rrn' => 'rrn',
'userAuthorizationStatus' => 'userAuthorizationStatus'
];

/**
Expand Down Expand Up @@ -289,7 +293,8 @@ public function isNullableSetToNull(string $property): bool
'accountNo' => 'setAccountNo',
'exemptionRequested' => 'setExemptionRequested',
'credentialTypeUsed' => 'setCredentialTypeUsed',
'rrn' => 'setRrn'
'rrn' => 'setRrn',
'userAuthorizationStatus' => 'setUserAuthorizationStatus'
];

/**
Expand Down Expand Up @@ -323,7 +328,8 @@ public function isNullableSetToNull(string $property): bool
'accountNo' => 'getAccountNo',
'exemptionRequested' => 'getExemptionRequested',
'credentialTypeUsed' => 'getCredentialTypeUsed',
'rrn' => 'getRrn'
'rrn' => 'getRrn',
'userAuthorizationStatus' => 'getUserAuthorizationStatus'
];

/**
Expand Down Expand Up @@ -409,6 +415,7 @@ public function __construct(?array $data = null)
$this->setIfExists('exemptionRequested', $data ?? [], null);
$this->setIfExists('credentialTypeUsed', $data ?? [], null);
$this->setIfExists('rrn', $data ?? [], null);
$this->setIfExists('userAuthorizationStatus', $data ?? [], null);

}

Expand Down Expand Up @@ -1077,6 +1084,30 @@ public function setRrn($rrn)

return $this;
}

/**
* Gets userAuthorizationStatus
*
* @return string|null
*/
public function getUserAuthorizationStatus()
{
return $this->container['userAuthorizationStatus'];
}

/**
* Sets userAuthorizationStatus
*
* @param string|null $userAuthorizationStatus 交易中用户是否授权绑定,当用户使用PAYPAY支付并且指定支付要素smartPaymentEnabled=true的情况下才会返回。 ● AUTHORIZED - 用户发起交易时时已授权,直接付款 ● UNAUTHORIZED - 用户发起交易时未授权,现授权后付款
*
* @return self
*/
public function setUserAuthorizationStatus($userAuthorizationStatus)
{
$this->container['userAuthorizationStatus'] = $userAuthorizationStatus;

return $this;
}
/**
* Returns true if offset exists. False otherwise.
*
Expand Down
Loading