Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update all services #678

Merged
merged 2 commits into from
Jul 25, 2024
Merged
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 @@ -61,6 +61,7 @@ class CardDetails implements ModelInterface, ArrayAccess, \JsonSerializable
'recurringDetailReference' => 'string',
'shopperNotificationReference' => 'string',
'srcCorrelationId' => 'string',
'srcDigitalCardId' => 'string',
'srcScheme' => 'string',
'srcTokenReference' => 'string',
'storedPaymentMethodId' => 'string',
Expand Down Expand Up @@ -93,6 +94,7 @@ class CardDetails implements ModelInterface, ArrayAccess, \JsonSerializable
'recurringDetailReference' => null,
'shopperNotificationReference' => null,
'srcCorrelationId' => null,
'srcDigitalCardId' => null,
'srcScheme' => null,
'srcTokenReference' => null,
'storedPaymentMethodId' => null,
Expand Down Expand Up @@ -123,6 +125,7 @@ class CardDetails implements ModelInterface, ArrayAccess, \JsonSerializable
'recurringDetailReference' => false,
'shopperNotificationReference' => false,
'srcCorrelationId' => false,
'srcDigitalCardId' => false,
'srcScheme' => false,
'srcTokenReference' => false,
'storedPaymentMethodId' => false,
Expand Down Expand Up @@ -233,6 +236,7 @@ public function isNullableSetToNull(string $property): bool
'recurringDetailReference' => 'recurringDetailReference',
'shopperNotificationReference' => 'shopperNotificationReference',
'srcCorrelationId' => 'srcCorrelationId',
'srcDigitalCardId' => 'srcDigitalCardId',
'srcScheme' => 'srcScheme',
'srcTokenReference' => 'srcTokenReference',
'storedPaymentMethodId' => 'storedPaymentMethodId',
Expand Down Expand Up @@ -263,6 +267,7 @@ public function isNullableSetToNull(string $property): bool
'recurringDetailReference' => 'setRecurringDetailReference',
'shopperNotificationReference' => 'setShopperNotificationReference',
'srcCorrelationId' => 'setSrcCorrelationId',
'srcDigitalCardId' => 'setSrcDigitalCardId',
'srcScheme' => 'setSrcScheme',
'srcTokenReference' => 'setSrcTokenReference',
'storedPaymentMethodId' => 'setStoredPaymentMethodId',
Expand Down Expand Up @@ -293,6 +298,7 @@ public function isNullableSetToNull(string $property): bool
'recurringDetailReference' => 'getRecurringDetailReference',
'shopperNotificationReference' => 'getShopperNotificationReference',
'srcCorrelationId' => 'getSrcCorrelationId',
'srcDigitalCardId' => 'getSrcDigitalCardId',
'srcScheme' => 'getSrcScheme',
'srcTokenReference' => 'getSrcTokenReference',
'storedPaymentMethodId' => 'getStoredPaymentMethodId',
Expand Down Expand Up @@ -408,6 +414,7 @@ public function __construct(array $data = null)
$this->setIfExists('recurringDetailReference', $data ?? [], null);
$this->setIfExists('shopperNotificationReference', $data ?? [], null);
$this->setIfExists('srcCorrelationId', $data ?? [], null);
$this->setIfExists('srcDigitalCardId', $data ?? [], null);
$this->setIfExists('srcScheme', $data ?? [], null);
$this->setIfExists('srcTokenReference', $data ?? [], null);
$this->setIfExists('storedPaymentMethodId', $data ?? [], null);
Expand Down Expand Up @@ -897,6 +904,30 @@ public function setSrcCorrelationId($srcCorrelationId)
return $this;
}

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

/**
* Sets srcDigitalCardId
*
* @param string|null $srcDigitalCardId The SRC reference for the Click to Pay token.
*
* @return self
*/
public function setSrcDigitalCardId($srcDigitalCardId)
{
$this->container['srcDigitalCardId'] = $srcDigitalCardId;

return $this;
}

/**
* Gets srcScheme
*
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 @@ -61,6 +61,7 @@ class CardDonations implements ModelInterface, ArrayAccess, \JsonSerializable
'recurringDetailReference' => 'string',
'shopperNotificationReference' => 'string',
'srcCorrelationId' => 'string',
'srcDigitalCardId' => 'string',
'srcScheme' => 'string',
'srcTokenReference' => 'string',
'storedPaymentMethodId' => 'string',
Expand Down Expand Up @@ -93,6 +94,7 @@ class CardDonations implements ModelInterface, ArrayAccess, \JsonSerializable
'recurringDetailReference' => null,
'shopperNotificationReference' => null,
'srcCorrelationId' => null,
'srcDigitalCardId' => null,
'srcScheme' => null,
'srcTokenReference' => null,
'storedPaymentMethodId' => null,
Expand Down Expand Up @@ -123,6 +125,7 @@ class CardDonations implements ModelInterface, ArrayAccess, \JsonSerializable
'recurringDetailReference' => false,
'shopperNotificationReference' => false,
'srcCorrelationId' => false,
'srcDigitalCardId' => false,
'srcScheme' => false,
'srcTokenReference' => false,
'storedPaymentMethodId' => false,
Expand Down Expand Up @@ -233,6 +236,7 @@ public function isNullableSetToNull(string $property): bool
'recurringDetailReference' => 'recurringDetailReference',
'shopperNotificationReference' => 'shopperNotificationReference',
'srcCorrelationId' => 'srcCorrelationId',
'srcDigitalCardId' => 'srcDigitalCardId',
'srcScheme' => 'srcScheme',
'srcTokenReference' => 'srcTokenReference',
'storedPaymentMethodId' => 'storedPaymentMethodId',
Expand Down Expand Up @@ -263,6 +267,7 @@ public function isNullableSetToNull(string $property): bool
'recurringDetailReference' => 'setRecurringDetailReference',
'shopperNotificationReference' => 'setShopperNotificationReference',
'srcCorrelationId' => 'setSrcCorrelationId',
'srcDigitalCardId' => 'setSrcDigitalCardId',
'srcScheme' => 'setSrcScheme',
'srcTokenReference' => 'setSrcTokenReference',
'storedPaymentMethodId' => 'setStoredPaymentMethodId',
Expand Down Expand Up @@ -293,6 +298,7 @@ public function isNullableSetToNull(string $property): bool
'recurringDetailReference' => 'getRecurringDetailReference',
'shopperNotificationReference' => 'getShopperNotificationReference',
'srcCorrelationId' => 'getSrcCorrelationId',
'srcDigitalCardId' => 'getSrcDigitalCardId',
'srcScheme' => 'getSrcScheme',
'srcTokenReference' => 'getSrcTokenReference',
'storedPaymentMethodId' => 'getStoredPaymentMethodId',
Expand Down Expand Up @@ -408,6 +414,7 @@ public function __construct(array $data = null)
$this->setIfExists('recurringDetailReference', $data ?? [], null);
$this->setIfExists('shopperNotificationReference', $data ?? [], null);
$this->setIfExists('srcCorrelationId', $data ?? [], null);
$this->setIfExists('srcDigitalCardId', $data ?? [], null);
$this->setIfExists('srcScheme', $data ?? [], null);
$this->setIfExists('srcTokenReference', $data ?? [], null);
$this->setIfExists('storedPaymentMethodId', $data ?? [], null);
Expand Down Expand Up @@ -897,6 +904,30 @@ public function setSrcCorrelationId($srcCorrelationId)
return $this;
}

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

/**
* Sets srcDigitalCardId
*
* @param string|null $srcDigitalCardId The SRC reference for the Click to Pay token.
*
* @return self
*/
public function setSrcDigitalCardId($srcDigitalCardId)
{
$this->container['srcDigitalCardId'] = $srcDigitalCardId;

return $this;
}

/**
* Gets srcScheme
*
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 @@ -79,6 +79,7 @@ class CheckoutPaymentMethod implements ModelInterface, ArrayAccess, \JsonSeriali
'number' => 'string',
'shopperNotificationReference' => 'string',
'srcCorrelationId' => 'string',
'srcDigitalCardId' => 'string',
'srcScheme' => 'string',
'srcTokenReference' => 'string',
'threeDS2SdkVersion' => 'string',
Expand Down Expand Up @@ -151,6 +152,7 @@ class CheckoutPaymentMethod implements ModelInterface, ArrayAccess, \JsonSeriali
'number' => null,
'shopperNotificationReference' => null,
'srcCorrelationId' => null,
'srcDigitalCardId' => null,
'srcScheme' => null,
'srcTokenReference' => null,
'threeDS2SdkVersion' => null,
Expand Down Expand Up @@ -221,6 +223,7 @@ class CheckoutPaymentMethod implements ModelInterface, ArrayAccess, \JsonSeriali
'number' => false,
'shopperNotificationReference' => false,
'srcCorrelationId' => false,
'srcDigitalCardId' => false,
'srcScheme' => false,
'srcTokenReference' => false,
'threeDS2SdkVersion' => false,
Expand Down Expand Up @@ -371,6 +374,7 @@ public function isNullableSetToNull(string $property): bool
'number' => 'number',
'shopperNotificationReference' => 'shopperNotificationReference',
'srcCorrelationId' => 'srcCorrelationId',
'srcDigitalCardId' => 'srcDigitalCardId',
'srcScheme' => 'srcScheme',
'srcTokenReference' => 'srcTokenReference',
'threeDS2SdkVersion' => 'threeDS2SdkVersion',
Expand Down Expand Up @@ -441,6 +445,7 @@ public function isNullableSetToNull(string $property): bool
'number' => 'setNumber',
'shopperNotificationReference' => 'setShopperNotificationReference',
'srcCorrelationId' => 'setSrcCorrelationId',
'srcDigitalCardId' => 'setSrcDigitalCardId',
'srcScheme' => 'setSrcScheme',
'srcTokenReference' => 'setSrcTokenReference',
'threeDS2SdkVersion' => 'setThreeDS2SdkVersion',
Expand Down Expand Up @@ -511,6 +516,7 @@ public function isNullableSetToNull(string $property): bool
'number' => 'getNumber',
'shopperNotificationReference' => 'getShopperNotificationReference',
'srcCorrelationId' => 'getSrcCorrelationId',
'srcDigitalCardId' => 'getSrcDigitalCardId',
'srcScheme' => 'getSrcScheme',
'srcTokenReference' => 'getSrcTokenReference',
'threeDS2SdkVersion' => 'getThreeDS2SdkVersion',
Expand Down Expand Up @@ -631,6 +637,7 @@ public function __construct(array $data = null)
$this->setIfExists('number', $data ?? [], null);
$this->setIfExists('shopperNotificationReference', $data ?? [], null);
$this->setIfExists('srcCorrelationId', $data ?? [], null);
$this->setIfExists('srcDigitalCardId', $data ?? [], null);
$this->setIfExists('srcScheme', $data ?? [], null);
$this->setIfExists('srcTokenReference', $data ?? [], null);
$this->setIfExists('threeDS2SdkVersion', $data ?? [], null);
Expand Down Expand Up @@ -1569,6 +1576,30 @@ public function setSrcCorrelationId($srcCorrelationId)
return $this;
}

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

/**
* Sets srcDigitalCardId
*
* @param string|null $srcDigitalCardId The SRC reference for the Click to Pay token.
*
* @return self
*/
public function setSrcDigitalCardId($srcDigitalCardId)
{
$this->container['srcDigitalCardId'] = $srcDigitalCardId;

return $this;
}

/**
* Gets srcScheme
*
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 @@ -65,6 +65,7 @@ class DonationPaymentMethod implements ModelInterface, ArrayAccess, \JsonSeriali
'number' => 'string',
'shopperNotificationReference' => 'string',
'srcCorrelationId' => 'string',
'srcDigitalCardId' => 'string',
'srcScheme' => 'string',
'srcTokenReference' => 'string',
'threeDS2SdkVersion' => 'string',
Expand Down Expand Up @@ -101,6 +102,7 @@ class DonationPaymentMethod implements ModelInterface, ArrayAccess, \JsonSeriali
'number' => null,
'shopperNotificationReference' => null,
'srcCorrelationId' => null,
'srcDigitalCardId' => null,
'srcScheme' => null,
'srcTokenReference' => null,
'threeDS2SdkVersion' => null,
Expand Down Expand Up @@ -135,6 +137,7 @@ class DonationPaymentMethod implements ModelInterface, ArrayAccess, \JsonSeriali
'number' => false,
'shopperNotificationReference' => false,
'srcCorrelationId' => false,
'srcDigitalCardId' => false,
'srcScheme' => false,
'srcTokenReference' => false,
'threeDS2SdkVersion' => false,
Expand Down Expand Up @@ -249,6 +252,7 @@ public function isNullableSetToNull(string $property): bool
'number' => 'number',
'shopperNotificationReference' => 'shopperNotificationReference',
'srcCorrelationId' => 'srcCorrelationId',
'srcDigitalCardId' => 'srcDigitalCardId',
'srcScheme' => 'srcScheme',
'srcTokenReference' => 'srcTokenReference',
'threeDS2SdkVersion' => 'threeDS2SdkVersion',
Expand Down Expand Up @@ -283,6 +287,7 @@ public function isNullableSetToNull(string $property): bool
'number' => 'setNumber',
'shopperNotificationReference' => 'setShopperNotificationReference',
'srcCorrelationId' => 'setSrcCorrelationId',
'srcDigitalCardId' => 'setSrcDigitalCardId',
'srcScheme' => 'setSrcScheme',
'srcTokenReference' => 'setSrcTokenReference',
'threeDS2SdkVersion' => 'setThreeDS2SdkVersion',
Expand Down Expand Up @@ -317,6 +322,7 @@ public function isNullableSetToNull(string $property): bool
'number' => 'getNumber',
'shopperNotificationReference' => 'getShopperNotificationReference',
'srcCorrelationId' => 'getSrcCorrelationId',
'srcDigitalCardId' => 'getSrcDigitalCardId',
'srcScheme' => 'getSrcScheme',
'srcTokenReference' => 'getSrcTokenReference',
'threeDS2SdkVersion' => 'getThreeDS2SdkVersion',
Expand Down Expand Up @@ -401,6 +407,7 @@ public function __construct(array $data = null)
$this->setIfExists('number', $data ?? [], null);
$this->setIfExists('shopperNotificationReference', $data ?? [], null);
$this->setIfExists('srcCorrelationId', $data ?? [], null);
$this->setIfExists('srcDigitalCardId', $data ?? [], null);
$this->setIfExists('srcScheme', $data ?? [], null);
$this->setIfExists('srcTokenReference', $data ?? [], null);
$this->setIfExists('threeDS2SdkVersion', $data ?? [], null);
Expand Down Expand Up @@ -943,6 +950,30 @@ public function setSrcCorrelationId($srcCorrelationId)
return $this;
}

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

/**
* Sets srcDigitalCardId
*
* @param string|null $srcDigitalCardId The SRC reference for the Click to Pay token.
*
* @return self
*/
public function setSrcDigitalCardId($srcDigitalCardId)
{
$this->container['srcDigitalCardId'] = $srcDigitalCardId;

return $this;
}

/**
* Gets srcScheme
*
Expand Down
4 changes: 3 additions & 1 deletion src/Adyen/Model/LegalEntityManagement/Document.php
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,7 @@ public function getModelName()
public const TYPE_PROOF_OF_INDUSTRY = 'proofOfIndustry';
public const TYPE_CONSTITUTIONAL_DOCUMENT = 'constitutionalDocument';
public const TYPE_PROOF_OF_FUNDING_OR_WEALTH_SOURCE = 'proofOfFundingOrWealthSource';
public const TYPE_PROOF_OF_RELATIONSHIP = 'proofOfRelationship';

/**
* Gets allowable values of the enum
Expand Down Expand Up @@ -332,6 +333,7 @@ public function getTypeAllowableValues()
self::TYPE_PROOF_OF_INDUSTRY,
self::TYPE_CONSTITUTIONAL_DOCUMENT,
self::TYPE_PROOF_OF_FUNDING_OR_WEALTH_SOURCE,
self::TYPE_PROOF_OF_RELATIONSHIP,
];
}
/**
Expand Down Expand Up @@ -728,7 +730,7 @@ public function getType()
/**
* Sets type
*
* @param string $type Type of document, used when providing an ID number or uploading a document. The possible values depend on the legal entity type. * For **organization**, the `type` values can be **proofOfAddress**, **registrationDocument**, **vatDocument**, **proofOfOrganizationTaxInfo**, **proofOfOwnership**, **proofOfIndustry**, **proofOfSignatory**, or **proofOfFundingOrWealthSource**. * For **individual**, the `type` values can be **identityCard**, **driversLicense**, **passport**, **liveSelfie**, **proofOfNationalIdNumber**, **proofOfResidency**, **proofOfIndustry**, **proofOfIndividualTaxId**, or **proofOfFundingOrWealthSource**. * For **soleProprietorship**, the `type` values can be **constitutionalDocument**, **proofOfAddress**, or **proofOfIndustry**. * For **trust**, the `type` value can be **constitutionalDocument**. * Use **bankStatement** to upload documents for a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id).
* @param string $type Type of document, used when providing an ID number or uploading a document. The possible values depend on the legal entity type. * For **organization**, the `type` values can be **proofOfAddress**, **registrationDocument**, **vatDocument**, **proofOfOrganizationTaxInfo**, **proofOfOwnership**, **proofOfIndustry**, **proofOfSignatory**, or **proofOfFundingOrWealthSource**. * For **individual**, the `type` values can be **identityCard**, **driversLicense**, **passport**, **liveSelfie**, **proofOfNationalIdNumber**, **proofOfResidency**, **proofOfIndustry**, **proofOfIndividualTaxId**, **proofOfFundingOrWealthSource** or **proofOfRelationship**. * For **soleProprietorship**, the `type` values can be **constitutionalDocument**, **proofOfAddress**, or **proofOfIndustry**. * For **trust**, the `type` value can be **constitutionalDocument**. * Use **bankStatement** to upload documents for a [transfer instrument](https://docs.adyen.com/api-explorer/#/legalentity/latest/post/transferInstruments__resParam_id).
*
* @return self
*/
Expand Down
Loading