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
31 changes: 31 additions & 0 deletions src/Adyen/Model/Checkout/CardDetails.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ class CardDetails implements ModelInterface, ArrayAccess, \JsonSerializable
'encryptedCardNumber' => 'string',
'encryptedExpiryMonth' => 'string',
'encryptedExpiryYear' => 'string',
'encryptedPassword' => 'string',
'encryptedSecurityCode' => 'string',
'expiryMonth' => 'string',
'expiryYear' => 'string',
Expand Down Expand Up @@ -84,6 +85,7 @@ class CardDetails implements ModelInterface, ArrayAccess, \JsonSerializable
'encryptedCardNumber' => null,
'encryptedExpiryMonth' => null,
'encryptedExpiryYear' => null,
'encryptedPassword' => null,
'encryptedSecurityCode' => null,
'expiryMonth' => null,
'expiryYear' => null,
Expand Down Expand Up @@ -117,6 +119,7 @@ class CardDetails implements ModelInterface, ArrayAccess, \JsonSerializable
'encryptedCardNumber' => false,
'encryptedExpiryMonth' => false,
'encryptedExpiryYear' => false,
'encryptedPassword' => false,
'encryptedSecurityCode' => false,
'expiryMonth' => false,
'expiryYear' => false,
Expand Down Expand Up @@ -230,6 +233,7 @@ public function isNullableSetToNull(string $property): bool
'encryptedCardNumber' => 'encryptedCardNumber',
'encryptedExpiryMonth' => 'encryptedExpiryMonth',
'encryptedExpiryYear' => 'encryptedExpiryYear',
'encryptedPassword' => 'encryptedPassword',
'encryptedSecurityCode' => 'encryptedSecurityCode',
'expiryMonth' => 'expiryMonth',
'expiryYear' => 'expiryYear',
Expand Down Expand Up @@ -263,6 +267,7 @@ public function isNullableSetToNull(string $property): bool
'encryptedCardNumber' => 'setEncryptedCardNumber',
'encryptedExpiryMonth' => 'setEncryptedExpiryMonth',
'encryptedExpiryYear' => 'setEncryptedExpiryYear',
'encryptedPassword' => 'setEncryptedPassword',
'encryptedSecurityCode' => 'setEncryptedSecurityCode',
'expiryMonth' => 'setExpiryMonth',
'expiryYear' => 'setExpiryYear',
Expand Down Expand Up @@ -296,6 +301,7 @@ public function isNullableSetToNull(string $property): bool
'encryptedCardNumber' => 'getEncryptedCardNumber',
'encryptedExpiryMonth' => 'getEncryptedExpiryMonth',
'encryptedExpiryYear' => 'getEncryptedExpiryYear',
'encryptedPassword' => 'getEncryptedPassword',
'encryptedSecurityCode' => 'getEncryptedSecurityCode',
'expiryMonth' => 'getExpiryMonth',
'expiryYear' => 'getExpiryYear',
Expand Down Expand Up @@ -416,6 +422,7 @@ public function __construct(?array $data = null)
$this->setIfExists('encryptedCardNumber', $data ?? [], null);
$this->setIfExists('encryptedExpiryMonth', $data ?? [], null);
$this->setIfExists('encryptedExpiryYear', $data ?? [], null);
$this->setIfExists('encryptedPassword', $data ?? [], null);
$this->setIfExists('encryptedSecurityCode', $data ?? [], null);
$this->setIfExists('expiryMonth', $data ?? [], null);
$this->setIfExists('expiryYear', $data ?? [], null);
Expand Down Expand Up @@ -689,6 +696,30 @@ public function setEncryptedExpiryYear($encryptedExpiryYear)
return $this;
}

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

/**
* Sets encryptedPassword
*
* @param string|null $encryptedPassword This field contains an encrypted, one-time password or an authentication code provided by the cardholder.
*
* @return self
*/
public function setEncryptedPassword($encryptedPassword)
{
$this->container['encryptedPassword'] = $encryptedPassword;

return $this;
}

/**
* Gets encryptedSecurityCode
*
Expand Down
2 changes: 1 addition & 1 deletion src/Adyen/Model/Checkout/CardDetailsRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ public function getCardNumber()
/**
* Sets cardNumber
*
* @param string $cardNumber A minimum of the first eight digits of the card number. The full card number gives the best result. You must be [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide) to collect raw card data. Alternatively, you can use the `encryptedCardNumber` field.
* @param string $cardNumber A minimum of the first six digits of the card number. The full card number gives the best result. You must be [fully PCI compliant](https://docs.adyen.com/development-resources/pci-dss-compliance-guide) to collect raw card data. Alternatively, you can use the `encryptedCardNumber` field.
*
* @return self
*/
Expand Down
31 changes: 31 additions & 0 deletions src/Adyen/Model/Checkout/CardDonations.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ class CardDonations implements ModelInterface, ArrayAccess, \JsonSerializable
'encryptedCardNumber' => 'string',
'encryptedExpiryMonth' => 'string',
'encryptedExpiryYear' => 'string',
'encryptedPassword' => 'string',
'encryptedSecurityCode' => 'string',
'expiryMonth' => 'string',
'expiryYear' => 'string',
Expand Down Expand Up @@ -84,6 +85,7 @@ class CardDonations implements ModelInterface, ArrayAccess, \JsonSerializable
'encryptedCardNumber' => null,
'encryptedExpiryMonth' => null,
'encryptedExpiryYear' => null,
'encryptedPassword' => null,
'encryptedSecurityCode' => null,
'expiryMonth' => null,
'expiryYear' => null,
Expand Down Expand Up @@ -117,6 +119,7 @@ class CardDonations implements ModelInterface, ArrayAccess, \JsonSerializable
'encryptedCardNumber' => false,
'encryptedExpiryMonth' => false,
'encryptedExpiryYear' => false,
'encryptedPassword' => false,
'encryptedSecurityCode' => false,
'expiryMonth' => false,
'expiryYear' => false,
Expand Down Expand Up @@ -230,6 +233,7 @@ public function isNullableSetToNull(string $property): bool
'encryptedCardNumber' => 'encryptedCardNumber',
'encryptedExpiryMonth' => 'encryptedExpiryMonth',
'encryptedExpiryYear' => 'encryptedExpiryYear',
'encryptedPassword' => 'encryptedPassword',
'encryptedSecurityCode' => 'encryptedSecurityCode',
'expiryMonth' => 'expiryMonth',
'expiryYear' => 'expiryYear',
Expand Down Expand Up @@ -263,6 +267,7 @@ public function isNullableSetToNull(string $property): bool
'encryptedCardNumber' => 'setEncryptedCardNumber',
'encryptedExpiryMonth' => 'setEncryptedExpiryMonth',
'encryptedExpiryYear' => 'setEncryptedExpiryYear',
'encryptedPassword' => 'setEncryptedPassword',
'encryptedSecurityCode' => 'setEncryptedSecurityCode',
'expiryMonth' => 'setExpiryMonth',
'expiryYear' => 'setExpiryYear',
Expand Down Expand Up @@ -296,6 +301,7 @@ public function isNullableSetToNull(string $property): bool
'encryptedCardNumber' => 'getEncryptedCardNumber',
'encryptedExpiryMonth' => 'getEncryptedExpiryMonth',
'encryptedExpiryYear' => 'getEncryptedExpiryYear',
'encryptedPassword' => 'getEncryptedPassword',
'encryptedSecurityCode' => 'getEncryptedSecurityCode',
'expiryMonth' => 'getExpiryMonth',
'expiryYear' => 'getExpiryYear',
Expand Down Expand Up @@ -416,6 +422,7 @@ public function __construct(?array $data = null)
$this->setIfExists('encryptedCardNumber', $data ?? [], null);
$this->setIfExists('encryptedExpiryMonth', $data ?? [], null);
$this->setIfExists('encryptedExpiryYear', $data ?? [], null);
$this->setIfExists('encryptedPassword', $data ?? [], null);
$this->setIfExists('encryptedSecurityCode', $data ?? [], null);
$this->setIfExists('expiryMonth', $data ?? [], null);
$this->setIfExists('expiryYear', $data ?? [], null);
Expand Down Expand Up @@ -689,6 +696,30 @@ public function setEncryptedExpiryYear($encryptedExpiryYear)
return $this;
}

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

/**
* Sets encryptedPassword
*
* @param string|null $encryptedPassword This field contains an encrypted, one-time password or an authentication code provided by the cardholder.
*
* @return self
*/
public function setEncryptedPassword($encryptedPassword)
{
$this->container['encryptedPassword'] = $encryptedPassword;

return $this;
}

/**
* Gets encryptedSecurityCode
*
Expand Down
31 changes: 31 additions & 0 deletions src/Adyen/Model/Checkout/CheckoutPaymentMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ class CheckoutPaymentMethod implements ModelInterface, ArrayAccess, \JsonSeriali
'encryptedCardNumber' => 'string',
'encryptedExpiryMonth' => 'string',
'encryptedExpiryYear' => 'string',
'encryptedPassword' => 'string',
'encryptedSecurityCode' => 'string',
'expiryMonth' => 'string',
'expiryYear' => 'string',
Expand Down Expand Up @@ -158,6 +159,7 @@ class CheckoutPaymentMethod implements ModelInterface, ArrayAccess, \JsonSeriali
'encryptedCardNumber' => null,
'encryptedExpiryMonth' => null,
'encryptedExpiryYear' => null,
'encryptedPassword' => null,
'encryptedSecurityCode' => null,
'expiryMonth' => null,
'expiryYear' => null,
Expand Down Expand Up @@ -241,6 +243,7 @@ class CheckoutPaymentMethod implements ModelInterface, ArrayAccess, \JsonSeriali
'encryptedCardNumber' => false,
'encryptedExpiryMonth' => false,
'encryptedExpiryYear' => false,
'encryptedPassword' => false,
'encryptedSecurityCode' => false,
'expiryMonth' => false,
'expiryYear' => false,
Expand Down Expand Up @@ -404,6 +407,7 @@ public function isNullableSetToNull(string $property): bool
'encryptedCardNumber' => 'encryptedCardNumber',
'encryptedExpiryMonth' => 'encryptedExpiryMonth',
'encryptedExpiryYear' => 'encryptedExpiryYear',
'encryptedPassword' => 'encryptedPassword',
'encryptedSecurityCode' => 'encryptedSecurityCode',
'expiryMonth' => 'expiryMonth',
'expiryYear' => 'expiryYear',
Expand Down Expand Up @@ -487,6 +491,7 @@ public function isNullableSetToNull(string $property): bool
'encryptedCardNumber' => 'setEncryptedCardNumber',
'encryptedExpiryMonth' => 'setEncryptedExpiryMonth',
'encryptedExpiryYear' => 'setEncryptedExpiryYear',
'encryptedPassword' => 'setEncryptedPassword',
'encryptedSecurityCode' => 'setEncryptedSecurityCode',
'expiryMonth' => 'setExpiryMonth',
'expiryYear' => 'setExpiryYear',
Expand Down Expand Up @@ -570,6 +575,7 @@ public function isNullableSetToNull(string $property): bool
'encryptedCardNumber' => 'getEncryptedCardNumber',
'encryptedExpiryMonth' => 'getEncryptedExpiryMonth',
'encryptedExpiryYear' => 'getEncryptedExpiryYear',
'encryptedPassword' => 'getEncryptedPassword',
'encryptedSecurityCode' => 'getEncryptedSecurityCode',
'expiryMonth' => 'getExpiryMonth',
'expiryYear' => 'getExpiryYear',
Expand Down Expand Up @@ -703,6 +709,7 @@ public function __construct(?array $data = null)
$this->setIfExists('encryptedCardNumber', $data ?? [], null);
$this->setIfExists('encryptedExpiryMonth', $data ?? [], null);
$this->setIfExists('encryptedExpiryYear', $data ?? [], null);
$this->setIfExists('encryptedPassword', $data ?? [], null);
$this->setIfExists('encryptedSecurityCode', $data ?? [], null);
$this->setIfExists('expiryMonth', $data ?? [], null);
$this->setIfExists('expiryYear', $data ?? [], null);
Expand Down Expand Up @@ -1577,6 +1584,30 @@ public function setEncryptedExpiryYear($encryptedExpiryYear)
return $this;
}

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

/**
* Sets encryptedPassword
*
* @param string|null $encryptedPassword This field contains an encrypted, one-time password or an authentication code provided by the cardholder.
*
* @return self
*/
public function setEncryptedPassword($encryptedPassword)
{
$this->container['encryptedPassword'] = $encryptedPassword;

return $this;
}

/**
* Gets encryptedSecurityCode
*
Expand Down
31 changes: 31 additions & 0 deletions src/Adyen/Model/Checkout/DonationPaymentMethod.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ class DonationPaymentMethod implements ModelInterface, ArrayAccess, \JsonSeriali
'encryptedCardNumber' => 'string',
'encryptedExpiryMonth' => 'string',
'encryptedExpiryYear' => 'string',
'encryptedPassword' => 'string',
'encryptedSecurityCode' => 'string',
'expiryMonth' => 'string',
'expiryYear' => 'string',
Expand Down Expand Up @@ -95,6 +96,7 @@ class DonationPaymentMethod implements ModelInterface, ArrayAccess, \JsonSeriali
'encryptedCardNumber' => null,
'encryptedExpiryMonth' => null,
'encryptedExpiryYear' => null,
'encryptedPassword' => null,
'encryptedSecurityCode' => null,
'expiryMonth' => null,
'expiryYear' => null,
Expand Down Expand Up @@ -132,6 +134,7 @@ class DonationPaymentMethod implements ModelInterface, ArrayAccess, \JsonSeriali
'encryptedCardNumber' => false,
'encryptedExpiryMonth' => false,
'encryptedExpiryYear' => false,
'encryptedPassword' => false,
'encryptedSecurityCode' => false,
'expiryMonth' => false,
'expiryYear' => false,
Expand Down Expand Up @@ -249,6 +252,7 @@ public function isNullableSetToNull(string $property): bool
'encryptedCardNumber' => 'encryptedCardNumber',
'encryptedExpiryMonth' => 'encryptedExpiryMonth',
'encryptedExpiryYear' => 'encryptedExpiryYear',
'encryptedPassword' => 'encryptedPassword',
'encryptedSecurityCode' => 'encryptedSecurityCode',
'expiryMonth' => 'expiryMonth',
'expiryYear' => 'expiryYear',
Expand Down Expand Up @@ -286,6 +290,7 @@ public function isNullableSetToNull(string $property): bool
'encryptedCardNumber' => 'setEncryptedCardNumber',
'encryptedExpiryMonth' => 'setEncryptedExpiryMonth',
'encryptedExpiryYear' => 'setEncryptedExpiryYear',
'encryptedPassword' => 'setEncryptedPassword',
'encryptedSecurityCode' => 'setEncryptedSecurityCode',
'expiryMonth' => 'setExpiryMonth',
'expiryYear' => 'setExpiryYear',
Expand Down Expand Up @@ -323,6 +328,7 @@ public function isNullableSetToNull(string $property): bool
'encryptedCardNumber' => 'getEncryptedCardNumber',
'encryptedExpiryMonth' => 'getEncryptedExpiryMonth',
'encryptedExpiryYear' => 'getEncryptedExpiryYear',
'encryptedPassword' => 'getEncryptedPassword',
'encryptedSecurityCode' => 'getEncryptedSecurityCode',
'expiryMonth' => 'getExpiryMonth',
'expiryYear' => 'getExpiryYear',
Expand Down Expand Up @@ -410,6 +416,7 @@ public function __construct(?array $data = null)
$this->setIfExists('encryptedCardNumber', $data ?? [], null);
$this->setIfExists('encryptedExpiryMonth', $data ?? [], null);
$this->setIfExists('encryptedExpiryYear', $data ?? [], null);
$this->setIfExists('encryptedPassword', $data ?? [], null);
$this->setIfExists('encryptedSecurityCode', $data ?? [], null);
$this->setIfExists('expiryMonth', $data ?? [], null);
$this->setIfExists('expiryYear', $data ?? [], null);
Expand Down Expand Up @@ -794,6 +801,30 @@ public function setEncryptedExpiryYear($encryptedExpiryYear)
return $this;
}

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

/**
* Sets encryptedPassword
*
* @param string|null $encryptedPassword This field contains an encrypted, one-time password or an authentication code provided by the cardholder.
*
* @return self
*/
public function setEncryptedPassword($encryptedPassword)
{
$this->container['encryptedPassword'] = $encryptedPassword;

return $this;
}

/**
* Gets encryptedSecurityCode
*
Expand Down
2 changes: 2 additions & 0 deletions src/Adyen/Model/Checkout/PaymentDetails.php
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ public function getModelName()

public const TYPE_ALIPAY = 'alipay';
public const TYPE_MULTIBANCO = 'multibanco';
public const TYPE_BANK_TRANSFER = 'bankTransfer';
public const TYPE_BANK_TRANSFER_IBAN = 'bankTransfer_IBAN';
public const TYPE_PAYBRIGHT = 'paybright';
public const TYPE_PAYNOW = 'paynow';
Expand Down Expand Up @@ -318,6 +319,7 @@ public function getTypeAllowableValues()
return [
self::TYPE_ALIPAY,
self::TYPE_MULTIBANCO,
self::TYPE_BANK_TRANSFER,
self::TYPE_BANK_TRANSFER_IBAN,
self::TYPE_PAYBRIGHT,
self::TYPE_PAYNOW,
Expand Down
Loading