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
6 changes: 5 additions & 1 deletion src/Adyen/Model/BinLookup/Recurring.php
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,10 @@ public function getModelName()
}

public const CONTRACT_ONECLICK = 'ONECLICK';
public const CONTRACT_ONECLICKRECURRING = 'ONECLICK,RECURRING';
public const CONTRACT_RECURRING = 'RECURRING';
public const CONTRACT_PAYOUT = 'PAYOUT';
public const CONTRACT_EXTERNAL = 'EXTERNAL';
public const TOKEN_SERVICE_VISATOKENSERVICE = 'VISATOKENSERVICE';
public const TOKEN_SERVICE_MCTOKENSERVICE = 'MCTOKENSERVICE';
public const TOKEN_SERVICE_AMEXTOKENSERVICE = 'AMEXTOKENSERVICE';
Expand All @@ -253,8 +255,10 @@ public function getContractAllowableValues()
{
return [
self::CONTRACT_ONECLICK,
self::CONTRACT_ONECLICKRECURRING,
self::CONTRACT_RECURRING,
self::CONTRACT_PAYOUT,
self::CONTRACT_EXTERNAL,
];
}
/**
Expand Down Expand Up @@ -366,7 +370,7 @@ public function getContract()
/**
* Sets contract
*
* @param string|null $contract The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/online-payments/online-payouts).
* @param string|null $contract The type of recurring contract to be used. Possible values: * `ONECLICK` – Payment details can be used to initiate a one-click payment, where the shopper enters the [card security code (CVC/CVV)](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-security-code-cvc-cvv-cid). * `RECURRING` – Payment details can be used without the card security code to initiate [card-not-present transactions](https://docs.adyen.com/payments-fundamentals/payment-glossary#card-not-present-cnp). * `ONECLICK,RECURRING` – Payment details can be used regardless of whether the shopper is on your site or not. * `PAYOUT` – Payment details can be used to [make a payout](https://docs.adyen.com/online-payments/online-payouts). * `EXTERNAL` - Use this when you store payment details and send the raw card number or network token directly in your API request.
*
* @return self
*/
Expand Down
31 changes: 31 additions & 0 deletions src/Adyen/Model/Checkout/AchDetails.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ class AchDetails implements ModelInterface, ArrayAccess, \JsonSerializable
'encryptedBankLocationId' => 'string',
'ownerName' => 'string',
'recurringDetailReference' => 'string',
'sdkData' => 'string',
'storedPaymentMethodId' => 'string',
'transferInstrumentId' => 'string',
'type' => 'string'
Expand All @@ -72,6 +73,7 @@ class AchDetails implements ModelInterface, ArrayAccess, \JsonSerializable
'encryptedBankLocationId' => null,
'ownerName' => null,
'recurringDetailReference' => null,
'sdkData' => null,
'storedPaymentMethodId' => null,
'transferInstrumentId' => null,
'type' => null
Expand All @@ -92,6 +94,7 @@ class AchDetails implements ModelInterface, ArrayAccess, \JsonSerializable
'encryptedBankLocationId' => false,
'ownerName' => false,
'recurringDetailReference' => false,
'sdkData' => false,
'storedPaymentMethodId' => false,
'transferInstrumentId' => false,
'type' => false
Expand Down Expand Up @@ -192,6 +195,7 @@ public function isNullableSetToNull(string $property): bool
'encryptedBankLocationId' => 'encryptedBankLocationId',
'ownerName' => 'ownerName',
'recurringDetailReference' => 'recurringDetailReference',
'sdkData' => 'sdkData',
'storedPaymentMethodId' => 'storedPaymentMethodId',
'transferInstrumentId' => 'transferInstrumentId',
'type' => 'type'
Expand All @@ -212,6 +216,7 @@ public function isNullableSetToNull(string $property): bool
'encryptedBankLocationId' => 'setEncryptedBankLocationId',
'ownerName' => 'setOwnerName',
'recurringDetailReference' => 'setRecurringDetailReference',
'sdkData' => 'setSdkData',
'storedPaymentMethodId' => 'setStoredPaymentMethodId',
'transferInstrumentId' => 'setTransferInstrumentId',
'type' => 'setType'
Expand All @@ -232,6 +237,7 @@ public function isNullableSetToNull(string $property): bool
'encryptedBankLocationId' => 'getEncryptedBankLocationId',
'ownerName' => 'getOwnerName',
'recurringDetailReference' => 'getRecurringDetailReference',
'sdkData' => 'getSdkData',
'storedPaymentMethodId' => 'getStoredPaymentMethodId',
'transferInstrumentId' => 'getTransferInstrumentId',
'type' => 'getType'
Expand Down Expand Up @@ -355,6 +361,7 @@ public function __construct(?array $data = null)
$this->setIfExists('encryptedBankLocationId', $data ?? [], null);
$this->setIfExists('ownerName', $data ?? [], null);
$this->setIfExists('recurringDetailReference', $data ?? [], null);
$this->setIfExists('sdkData', $data ?? [], null);
$this->setIfExists('storedPaymentMethodId', $data ?? [], null);
$this->setIfExists('transferInstrumentId', $data ?? [], null);
$this->setIfExists('type', $data ?? [], null);
Expand Down Expand Up @@ -667,6 +674,30 @@ public function setRecurringDetailReference($recurringDetailReference)
return $this;
}

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

/**
* Sets sdkData
*
* @param string|null $sdkData Base64-encoded JSON object containing SDK related parameters required by the SDK
*
* @return self
*/
public function setSdkData($sdkData)
{
$this->container['sdkData'] = $sdkData;

return $this;
}

/**
* Gets storedPaymentMethodId
*
Expand Down
4 changes: 2 additions & 2 deletions src/Adyen/Model/Checkout/AdditionalDataLevel23.php
Original file line number Diff line number Diff line change
Expand Up @@ -542,7 +542,7 @@ public function getEnhancedSchemeDataItemDetailLineItemNrCommodityCode()
/**
* Sets enhancedSchemeDataItemDetailLineItemNrCommodityCode
*
* @param string|null $enhancedSchemeDataItemDetailLineItemNrCommodityCode The code that identifies the item in a standardized commodity coding scheme. There are different commodity coding schemes: * [UNSPSC commodity codes](https://www.unspsc.org/) * [HS commodity codes](https://www.wcoomd.org/en/topics/nomenclature/overview.aspx) * [NAICS commodity codes](https://www.census.gov/naics/) * [NAPCS commodity codes](https://www.census.gov/naics/napcs/) * Encoding: ASCII * Max length: 12 characters * Must not start with a space or be all spaces. * Must not be all zeros.
* @param string|null $enhancedSchemeDataItemDetailLineItemNrCommodityCode The code that identifies the item in a standardized commodity coding scheme. There are different commodity coding schemes: * [UNSPSC commodity codes](https://www.ungm.org/public/unspsc) * [HS commodity codes](https://www.wcoomd.org/en/topics/nomenclature/overview.aspx) * [NAICS commodity codes](https://www.census.gov/naics/) * [NAPCS commodity codes](https://www.census.gov/naics/napcs/) * Encoding: ASCII * Max length: 12 characters * Must not start with a space or be all spaces. * Must not be all zeros.
*
* @return self
*/
Expand Down Expand Up @@ -782,7 +782,7 @@ public function getEnhancedSchemeDataTotalTaxAmount()
/**
* Sets enhancedSchemeDataTotalTaxAmount
*
* @param string|null $enhancedSchemeDataTotalTaxAmount The amount of state or provincial [tax included in the total transaction amount](https://docs.adyen.com/payment-methods/cards/enhanced-scheme-data/l2-l3#requirements-to-send-level-2-3-esd), in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Encoding: Numeric * Max length: 12 characters * Must not be all zeros.
* @param string|null $enhancedSchemeDataTotalTaxAmount The amount of state or provincial [tax included in the total transaction amount](https://docs.adyen.com/payment-methods/cards/enhanced-scheme-data/l2-l3#requirements-to-send-level-2-3-esd), in [minor units](https://docs.adyen.com/development-resources/currency-codes). * For example, 2000 means USD 20.00. * Encoding: Numeric * Max length: 12 characters * For L2 data: must not be all zeroes. * For L3 data: can be zero.
*
* @return self
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Adyen/Model/Checkout/AdditionalDataSubMerchant.php
Original file line number Diff line number Diff line change
Expand Up @@ -531,7 +531,7 @@ public function getSubMerchantSubSellerSubSellerNrPhoneNumber()
/**
* Sets subMerchantSubSellerSubSellerNrPhoneNumber
*
* @param string|null $subMerchantSubSellerSubSellerNrPhoneNumber Required for transactions performed by registered payment facilitators. The phone number of the sub-merchant.* Format: Alphanumeric * Maximum length: 20 characters
* @param string|null $subMerchantSubSellerSubSellerNrPhoneNumber Required for transactions performed by registered payment facilitators. The phone number of the sub-merchant. * Format: Alphanumeric and special characters * Maximum length: 20 characters
*
* @return self
*/
Expand Down
31 changes: 31 additions & 0 deletions src/Adyen/Model/Checkout/AffirmDetails.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ class AffirmDetails implements ModelInterface, ArrayAccess, \JsonSerializable
*/
protected static $openAPITypes = [
'checkoutAttemptId' => 'string',
'sdkData' => 'string',
'type' => 'string'
];

Expand All @@ -54,6 +55,7 @@ class AffirmDetails implements ModelInterface, ArrayAccess, \JsonSerializable
*/
protected static $openAPIFormats = [
'checkoutAttemptId' => null,
'sdkData' => null,
'type' => null
];

Expand All @@ -64,6 +66,7 @@ class AffirmDetails implements ModelInterface, ArrayAccess, \JsonSerializable
*/
protected static $openAPINullables = [
'checkoutAttemptId' => false,
'sdkData' => false,
'type' => false
];

Expand Down Expand Up @@ -154,6 +157,7 @@ public function isNullableSetToNull(string $property): bool
*/
protected static $attributeMap = [
'checkoutAttemptId' => 'checkoutAttemptId',
'sdkData' => 'sdkData',
'type' => 'type'
];

Expand All @@ -164,6 +168,7 @@ public function isNullableSetToNull(string $property): bool
*/
protected static $setters = [
'checkoutAttemptId' => 'setCheckoutAttemptId',
'sdkData' => 'setSdkData',
'type' => 'setType'
];

Expand All @@ -174,6 +179,7 @@ public function isNullableSetToNull(string $property): bool
*/
protected static $getters = [
'checkoutAttemptId' => 'getCheckoutAttemptId',
'sdkData' => 'getSdkData',
'type' => 'getType'
];

Expand Down Expand Up @@ -247,6 +253,7 @@ public function getTypeAllowableValues()
public function __construct(?array $data = null)
{
$this->setIfExists('checkoutAttemptId', $data ?? [], null);
$this->setIfExists('sdkData', $data ?? [], null);
$this->setIfExists('type', $data ?? [], null);
}

Expand Down Expand Up @@ -325,6 +332,30 @@ public function setCheckoutAttemptId($checkoutAttemptId)
return $this;
}

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

/**
* Sets sdkData
*
* @param string|null $sdkData Base64-encoded JSON object containing SDK related parameters required by the SDK
*
* @return self
*/
public function setSdkData($sdkData)
{
$this->container['sdkData'] = $sdkData;

return $this;
}

/**
* Gets type
*
Expand Down
31 changes: 31 additions & 0 deletions src/Adyen/Model/Checkout/AfterpayDetails.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ class AfterpayDetails implements ModelInterface, ArrayAccess, \JsonSerializable
'deliveryAddress' => 'string',
'personalDetails' => 'string',
'recurringDetailReference' => 'string',
'sdkData' => 'string',
'storedPaymentMethodId' => 'string',
'type' => 'string'
];
Expand All @@ -63,6 +64,7 @@ class AfterpayDetails implements ModelInterface, ArrayAccess, \JsonSerializable
'deliveryAddress' => null,
'personalDetails' => null,
'recurringDetailReference' => null,
'sdkData' => null,
'storedPaymentMethodId' => null,
'type' => null
];
Expand All @@ -78,6 +80,7 @@ class AfterpayDetails implements ModelInterface, ArrayAccess, \JsonSerializable
'deliveryAddress' => false,
'personalDetails' => false,
'recurringDetailReference' => false,
'sdkData' => false,
'storedPaymentMethodId' => false,
'type' => false
];
Expand Down Expand Up @@ -173,6 +176,7 @@ public function isNullableSetToNull(string $property): bool
'deliveryAddress' => 'deliveryAddress',
'personalDetails' => 'personalDetails',
'recurringDetailReference' => 'recurringDetailReference',
'sdkData' => 'sdkData',
'storedPaymentMethodId' => 'storedPaymentMethodId',
'type' => 'type'
];
Expand All @@ -188,6 +192,7 @@ public function isNullableSetToNull(string $property): bool
'deliveryAddress' => 'setDeliveryAddress',
'personalDetails' => 'setPersonalDetails',
'recurringDetailReference' => 'setRecurringDetailReference',
'sdkData' => 'setSdkData',
'storedPaymentMethodId' => 'setStoredPaymentMethodId',
'type' => 'setType'
];
Expand All @@ -203,6 +208,7 @@ public function isNullableSetToNull(string $property): bool
'deliveryAddress' => 'getDeliveryAddress',
'personalDetails' => 'getPersonalDetails',
'recurringDetailReference' => 'getRecurringDetailReference',
'sdkData' => 'getSdkData',
'storedPaymentMethodId' => 'getStoredPaymentMethodId',
'type' => 'getType'
];
Expand Down Expand Up @@ -287,6 +293,7 @@ public function __construct(?array $data = null)
$this->setIfExists('deliveryAddress', $data ?? [], null);
$this->setIfExists('personalDetails', $data ?? [], null);
$this->setIfExists('recurringDetailReference', $data ?? [], null);
$this->setIfExists('sdkData', $data ?? [], null);
$this->setIfExists('storedPaymentMethodId', $data ?? [], null);
$this->setIfExists('type', $data ?? [], null);
}
Expand Down Expand Up @@ -467,6 +474,30 @@ public function setRecurringDetailReference($recurringDetailReference)
return $this;
}

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

/**
* Sets sdkData
*
* @param string|null $sdkData Base64-encoded JSON object containing SDK related parameters required by the SDK
*
* @return self
*/
public function setSdkData($sdkData)
{
$this->container['sdkData'] = $sdkData;

return $this;
}

/**
* Gets storedPaymentMethodId
*
Expand Down
Loading
Loading