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
8 changes: 8 additions & 0 deletions sdk-generation-log/payment.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"service": "payment",
"project": "php",
"generatedAt": "2026-04-10T08:27:47Z",
"openapiCommitSha": "aa5556ef9586980ba6c319d0750fb38d7bbda09b",
"automationCommitSha": "855b6c5526cb5fae757e921687c38df66d31dc4b",
"libraryCommitSha": "043387b2f1347a705b8ace39a84aa0ac03a09acf"
}
4 changes: 4 additions & 0 deletions src/Adyen/Model/Payments/ModificationResult.php
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,8 @@ public function getModelName()
public const RESPONSE_TECHNICAL_CANCEL_RECEIVED = '[technical-cancel-received]';
public const RESPONSE_VOID_PENDING_REFUND_RECEIVED = '[voidPendingRefund-received]';
public const RESPONSE_AUTHORISED = 'Authorised';
public const RESPONSE_REFUSED = 'Refused';
public const RESPONSE_ERROR = 'Error';

/**
* Gets allowable values of the enum
Expand All @@ -251,6 +253,8 @@ public function getResponseAllowableValues()
self::RESPONSE_TECHNICAL_CANCEL_RECEIVED,
self::RESPONSE_VOID_PENDING_REFUND_RECEIVED,
self::RESPONSE_AUTHORISED,
self::RESPONSE_REFUSED,
self::RESPONSE_ERROR,
];
}
/**
Expand Down
31 changes: 31 additions & 0 deletions src/Adyen/Model/Payments/ResponseAdditionalDataCard.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ class ResponseAdditionalDataCard implements ModelInterface, ArrayAccess, \JsonSe
* @var string[]
*/
protected static $openAPITypes = [
'cardAltID' => 'string',
'cardBin' => 'string',
'cardHolderName' => 'string',
'cardIssuingBank' => 'string',
Expand All @@ -60,6 +61,7 @@ class ResponseAdditionalDataCard implements ModelInterface, ArrayAccess, \JsonSe
* @psalm-var array<string, string|null>
*/
protected static $openAPIFormats = [
'cardAltID' => null,
'cardBin' => null,
'cardHolderName' => null,
'cardIssuingBank' => null,
Expand All @@ -77,6 +79,7 @@ class ResponseAdditionalDataCard implements ModelInterface, ArrayAccess, \JsonSe
* @var boolean[]
*/
protected static $openAPINullables = [
'cardAltID' => false,
'cardBin' => false,
'cardHolderName' => false,
'cardIssuingBank' => false,
Expand Down Expand Up @@ -174,6 +177,7 @@ public function isNullableSetToNull(string $property): bool
* @var string[]
*/
protected static $attributeMap = [
'cardAltID' => 'cardAltID',
'cardBin' => 'cardBin',
'cardHolderName' => 'cardHolderName',
'cardIssuingBank' => 'cardIssuingBank',
Expand All @@ -191,6 +195,7 @@ public function isNullableSetToNull(string $property): bool
* @var string[]
*/
protected static $setters = [
'cardAltID' => 'setCardAltID',
'cardBin' => 'setCardBin',
'cardHolderName' => 'setCardHolderName',
'cardIssuingBank' => 'setCardIssuingBank',
Expand All @@ -208,6 +213,7 @@ public function isNullableSetToNull(string $property): bool
* @var string[]
*/
protected static $getters = [
'cardAltID' => 'getCardAltID',
'cardBin' => 'getCardBin',
'cardHolderName' => 'getCardHolderName',
'cardIssuingBank' => 'getCardIssuingBank',
Expand Down Expand Up @@ -308,6 +314,7 @@ public function getCardProductIdAllowableValues()
*/
public function __construct(?array $data = null)
{
$this->setIfExists('cardAltID', $data ?? [], null);
$this->setIfExists('cardBin', $data ?? [], null);
$this->setIfExists('cardHolderName', $data ?? [], null);
$this->setIfExists('cardIssuingBank', $data ?? [], null);
Expand Down Expand Up @@ -370,6 +377,30 @@ public function valid()
}


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

/**
* Sets cardAltID
*
* @param string|null $cardAltID This is an ALT ID (alternate ID) mapped to the Card PAN. > Returned only in case of Ecommerce Card Payment in India
*
* @return self
*/
public function setCardAltID($cardAltID)
{
$this->container['cardAltID'] = $cardAltID;

return $this;
}

/**
* Gets cardBin
*
Expand Down
41 changes: 37 additions & 4 deletions src/Adyen/Model/Payments/ResponseAdditionalDataCommon.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ class ResponseAdditionalDataCommon implements ModelInterface, ArrayAccess, \Json
'mcBankNetReferenceNumber' => 'string',
'merchantAdviceCode' => 'string',
'merchantReference' => 'string',
'networkProcessingMode' => 'string',
'networkTxReference' => 'string',
'ownerName' => 'string',
'paymentAccountReference' => 'string',
Expand Down Expand Up @@ -147,6 +148,7 @@ class ResponseAdditionalDataCommon implements ModelInterface, ArrayAccess, \Json
'mcBankNetReferenceNumber' => null,
'merchantAdviceCode' => null,
'merchantReference' => null,
'networkProcessingMode' => null,
'networkTxReference' => null,
'ownerName' => null,
'paymentAccountReference' => null,
Expand Down Expand Up @@ -218,6 +220,7 @@ class ResponseAdditionalDataCommon implements ModelInterface, ArrayAccess, \Json
'mcBankNetReferenceNumber' => false,
'merchantAdviceCode' => false,
'merchantReference' => false,
'networkProcessingMode' => false,
'networkTxReference' => false,
'ownerName' => false,
'paymentAccountReference' => false,
Expand Down Expand Up @@ -369,6 +372,7 @@ public function isNullableSetToNull(string $property): bool
'mcBankNetReferenceNumber' => 'mcBankNetReferenceNumber',
'merchantAdviceCode' => 'merchantAdviceCode',
'merchantReference' => 'merchantReference',
'networkProcessingMode' => 'networkProcessingMode',
'networkTxReference' => 'networkTxReference',
'ownerName' => 'ownerName',
'paymentAccountReference' => 'paymentAccountReference',
Expand Down Expand Up @@ -440,6 +444,7 @@ public function isNullableSetToNull(string $property): bool
'mcBankNetReferenceNumber' => 'setMcBankNetReferenceNumber',
'merchantAdviceCode' => 'setMerchantAdviceCode',
'merchantReference' => 'setMerchantReference',
'networkProcessingMode' => 'setNetworkProcessingMode',
'networkTxReference' => 'setNetworkTxReference',
'ownerName' => 'setOwnerName',
'paymentAccountReference' => 'setPaymentAccountReference',
Expand Down Expand Up @@ -511,6 +516,7 @@ public function isNullableSetToNull(string $property): bool
'mcBankNetReferenceNumber' => 'getMcBankNetReferenceNumber',
'merchantAdviceCode' => 'getMerchantAdviceCode',
'merchantReference' => 'getMerchantReference',
'networkProcessingMode' => 'getNetworkProcessingMode',
'networkTxReference' => 'getNetworkTxReference',
'ownerName' => 'getOwnerName',
'paymentAccountReference' => 'getPaymentAccountReference',
Expand Down Expand Up @@ -584,8 +590,9 @@ public function getModelName()
return self::$openAPIModelName;
}

public const FRAUD_RESULT_TYPE_AMBER = 'AMBER';
public const FRAUD_RESULT_TYPE_GREEN = 'GREEN';
public const FRAUD_RESULT_TYPE_FRAUD = 'FRAUD';
public const FRAUD_RESULT_TYPE_RED = 'RED';
public const FRAUD_RISK_LEVEL_VERY_LOW = 'veryLow';
public const FRAUD_RISK_LEVEL_LOW = 'low';
public const FRAUD_RISK_LEVEL_MEDIUM = 'medium';
Expand All @@ -606,8 +613,9 @@ public function getModelName()
public function getFraudResultTypeAllowableValues()
{
return [
self::FRAUD_RESULT_TYPE_AMBER,
self::FRAUD_RESULT_TYPE_GREEN,
self::FRAUD_RESULT_TYPE_FRAUD,
self::FRAUD_RESULT_TYPE_RED,
];
}
/**
Expand Down Expand Up @@ -699,6 +707,7 @@ public function __construct(?array $data = null)
$this->setIfExists('mcBankNetReferenceNumber', $data ?? [], null);
$this->setIfExists('merchantAdviceCode', $data ?? [], null);
$this->setIfExists('merchantReference', $data ?? [], null);
$this->setIfExists('networkProcessingMode', $data ?? [], null);
$this->setIfExists('networkTxReference', $data ?? [], null);
$this->setIfExists('ownerName', $data ?? [], null);
$this->setIfExists('paymentAccountReference', $data ?? [], null);
Expand Down Expand Up @@ -1350,7 +1359,7 @@ public function getFraudResultType()
/**
* Sets fraudResultType
*
* @param string|null $fraudResultType The fraud result properties of the payment.
* @param string|null $fraudResultType The fraud result properties of the payment. Possible values: * AMBER * GREEN * RED
*
* @return self
*/
Expand Down Expand Up @@ -1384,7 +1393,7 @@ public function getFraudRiskLevel()
/**
* Sets fraudRiskLevel
*
* @param string|null $fraudRiskLevel The risk level of the transaction as classified by the [machine learning](https://docs.adyen.com/risk-management/configure-your-risk-profile/machine-learning-rules/) fraud risk rule. The risk level indicates the likelihood that a transaction will result in a fraudulent dispute. The possible return values are: * veryLow * low * medium * high * veryHigh
* @param string|null $fraudRiskLevel The risk level of the transaction as classified by the [machine learning](https://docs.adyen.com/risk-management/configure-your-risk-profile/machine-learning-rules/) fraud risk rule. The risk level indicates the likelihood that a transaction will result in a fraudulent dispute. Possible values: * veryLow * low * medium * high * veryHigh
*
* @return self
*/
Expand Down Expand Up @@ -1621,6 +1630,30 @@ public function setMerchantReference($merchantReference)
return $this;
}

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

/**
* Sets networkProcessingMode
*
* @param string|null $networkProcessingMode Indicates the processing flow. Possible values: * **sale**: You do not need to separately capture the funds, because capture happens automatically as part of the transaction. * **auth**: If you have not [configured automatic capture for the transaction](https://docs.adyen.com/online-payments/capture#types-of-capture), you must manually capture the funds.
*
* @return self
*/
public function setNetworkProcessingMode($networkProcessingMode)
{
$this->container['networkProcessingMode'] = $networkProcessingMode;

return $this;
}

/**
* Gets networkTxReference
*
Expand Down
Loading