-
Notifications
You must be signed in to change notification settings - Fork 116
[transactionwebhooks] Code generation: update services and models #866
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -249,6 +249,7 @@ public function getModelName() | |
| public const PLATFORM_PAYMENT_TYPE_BALANCE_ACCOUNT = 'BalanceAccount'; | ||
| public const PLATFORM_PAYMENT_TYPE_CHARGEBACK_REMAINDER = 'ChargebackRemainder'; | ||
| public const PLATFORM_PAYMENT_TYPE_COMMISSION = 'Commission'; | ||
| public const PLATFORM_PAYMENT_TYPE_DCC_MARKUP = 'DCCMarkup'; | ||
| public const PLATFORM_PAYMENT_TYPE_DCC_PLATFORM_COMMISSION = 'DCCPlatformCommission'; | ||
| public const PLATFORM_PAYMENT_TYPE__DEFAULT = 'Default'; | ||
| public const PLATFORM_PAYMENT_TYPE_INTERCHANGE = 'Interchange'; | ||
|
|
@@ -276,6 +277,7 @@ public function getPlatformPaymentTypeAllowableValues() | |
| self::PLATFORM_PAYMENT_TYPE_BALANCE_ACCOUNT, | ||
| self::PLATFORM_PAYMENT_TYPE_CHARGEBACK_REMAINDER, | ||
| self::PLATFORM_PAYMENT_TYPE_COMMISSION, | ||
| self::PLATFORM_PAYMENT_TYPE_DCC_MARKUP, | ||
| self::PLATFORM_PAYMENT_TYPE_DCC_PLATFORM_COMMISSION, | ||
| self::PLATFORM_PAYMENT_TYPE__DEFAULT, | ||
| self::PLATFORM_PAYMENT_TYPE_INTERCHANGE, | ||
|
|
@@ -467,7 +469,7 @@ public function getPlatformPaymentType() | |
| /** | ||
| * Sets platformPaymentType | ||
| * | ||
| * @param string|null $platformPaymentType Specifies the nature of the transfer. This parameter helps categorize transfers so you can reconcile transactions at a later time, using the Balance Platform Accounting Report for [marketplaces](https://docs.adyen.com/marketplaces/reports-and-fees/balance-platform-accounting-report/) or [platforms](https://docs.adyen.com/platforms/reports-and-fees/balance-platform-accounting-report/). Possible values: * **AcquiringFees**: for the acquiring fee incurred on a transaction. * **AdyenCommission**: for the transaction fee due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/guides/payments-training-guide/get-the-best-from-your-card-processing). * **AdyenFees**: for all the transaction fees due to Adyen. This is the sum of Adyen's commission and Adyen's markup. * **AdyenMarkup**: for the transaction fee due to Adyen under [Interchange++ pricing](https://www.adyen.com/pricing). * **BalanceAccount**: or the sale amount of a transaction. * **Commission**: for your platform's commission on a transaction. * **DCCPlatformCommission**: for the DCC Commission for the platform on a transaction. * **Interchange**: for the interchange fee (fee paid to the issuer) incurred on a transaction. * **PaymentFee**: for all of the transaction fees. * **Remainder**: for the left over amount after currency conversion. * **SchemeFee**: for the scheme fee incurred on a transaction. This is the sum of the interchange fees and the acquiring fees. * **Surcharge**: for the surcharge paid by the customer on a transaction. * **Tip**: for the tip paid by the customer. * **TopUp**: for an incoming transfer to top up your user's balance account. * **VAT**: for the Value Added Tax. | ||
| * @param string|null $platformPaymentType Specifies the nature of the transfer. This parameter helps categorize transfers so you can reconcile transactions at a later time, using the Balance Platform Accounting Report for [marketplaces](https://docs.adyen.com/marketplaces/reports-and-fees/balance-platform-accounting-report/) or [platforms](https://docs.adyen.com/platforms/reports-and-fees/balance-platform-accounting-report/). Possible values: * **AcquiringFees**: The acquiring fee (the aggregated amount of interchange and scheme fee) incurred on a transaction. * **AdyenCommission**: The transaction fee due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/guides/payments-training-guide/get-the-best-from-your-card-processing). * **AdyenFees**: All transaction fees due to Adyen. This is the aggregated amount of Adyen's commission and markup. * **AdyenMarkup**: The transaction fee due to Adyen under [Interchange++ pricing](https://www.adyen.com/pricing). * **BalanceAccount**: The amount booked to your user after the deduction of the relevant fees. * **Commission**: Your platform's or marketplace's commission on a transaction. * **DCCPlatformCommission**: **deprecated** The Dynamic Currency Conversion (DCC) fee on a transaction. * **DCCMarkup**: The Dynamic Currency Conversion (DCC) fee on a transaction. * **Interchange**: The interchange fee (fee paid to the issuer) incurred on a transaction. * **PaymentFee**: The aggregated amount of all transaction fees. * **Remainder**: The leftover amount after currency conversion. * **SchemeFee**: The scheme fee incurred on a transaction. * **Surcharge**: The surcharge paid by the customer on a transaction. * **Tip**: The tip paid by the customer. * **TopUp**: An incoming transfer to top up your user's balance account. * **VAT**: The value-added tax charged on the payment. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This PHPDoc line is excessively long, which harms readability. For better maintainability and adherence to coding standards like PSR-12 (which suggests a soft limit of 120 characters per line), please wrap the description and format the list of possible values on separate lines. * @param string|null $platformPaymentType Specifies the nature of the transfer. This parameter helps categorize transfers so you can reconcile transactions at a later time, using the Balance Platform Accounting Report for [marketplaces](https://docs.adyen.com/marketplaces/reports-and-fees/balance-platform-accounting-report/) or [platforms](https://docs.adyen.com/platforms/reports-and-fees/balance-platform-accounting-report/).
* Possible values:
* * **AcquiringFees**: The acquiring fee (the aggregated amount of interchange and scheme fee) incurred on a transaction.
* * **AdyenCommission**: The transaction fee due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/guides/payments-training-guide/get-the-best-from-your-card-processing).
* * **AdyenFees**: All transaction fees due to Adyen. This is the aggregated amount of Adyen's commission and markup.
* * **AdyenMarkup**: The transaction fee due to Adyen under [Interchange++ pricing](https://www.adyen.com/pricing).
* * **BalanceAccount**: The amount booked to your user after the deduction of the relevant fees.
* * **Commission**: Your platform's or marketplace's commission on a transaction.
* * **DCCPlatformCommission**: **deprecated** The Dynamic Currency Conversion (DCC) fee on a transaction.
* * **DCCMarkup**: The Dynamic Currency Conversion (DCC) fee on a transaction.
* * **Interchange**: The interchange fee (fee paid to the issuer) incurred on a transaction.
* * **PaymentFee**: The aggregated amount of all transaction fees.
* * **Remainder**: The leftover amount after currency conversion.
* * **SchemeFee**: The scheme fee incurred on a transaction.
* * **Surcharge**: The surcharge paid by the customer on a transaction.
* * **Tip**: The tip paid by the customer.
* * **TopUp**: An incoming transfer to top up your user's balance account.
* * **VAT**: The value-added tax charged on the payment. |
||
| * | ||
| * @return self | ||
| */ | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -390,7 +390,7 @@ public function getPriority() | |
| /** | ||
| * Sets priority | ||
| * | ||
| * @param string|null $priority The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. Required for transfers with `category` **bank**. Possible values: * **regular**: for normal, low-value transactions. * **fast**: a faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: the fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: for instant funds transfers within the United States and in [SEPA locations](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: for high-value transfers to a recipient in a different country. * **internal**: for transfers to an Adyen-issued business bank account (by bank account number/IBAN). | ||
| * @param string|null $priority The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. Required for transfers with `category` **bank**. Possible values: * **regular**: For normal, low-value transactions. * **fast**: A faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions. * **wire**: The fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions. * **instant**: For instant funds transfers within the United States and in [SEPA locations](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html). * **crossBorder**: For high-value transfers to a recipient in a different country. * **internal**: For transfers to an Adyen-issued business bank account (by bank account number/IBAN). | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This PHPDoc line is excessively long, which harms readability. For better maintainability and adherence to coding standards like PSR-12 (which suggests a soft limit of 120 characters per line), please wrap the description and format the list of possible values on separate lines. * @param string|null $priority The priority for the bank transfer. This sets the speed at which the transfer is sent and the fees that you have to pay. Required for transfers with `category` **bank**.
* Possible values:
* * **regular**: For normal, low-value transactions.
* * **fast**: A faster way to transfer funds, but the fees are higher. Recommended for high-priority, low-value transactions.
* * **wire**: The fastest way to transfer funds, but this has the highest fees. Recommended for high-priority, high-value transactions.
* * **instant**: For instant funds transfers within the United States and in [SEPA locations](https://www.ecb.europa.eu/paym/integration/retail/sepa/html/index.en.html).
* * **crossBorder**: For high-value transfers to a recipient in a different country.
* * **internal**: For transfers to an Adyen-issued business bank account (by bank account number/IBAN). |
||
| * | ||
| * @return self | ||
| */ | ||
|
|
@@ -702,7 +702,7 @@ public function getPlatformPaymentType() | |
| /** | ||
| * Sets platformPaymentType | ||
| * | ||
| * @param string|null $platformPaymentType Specifies the nature of the transfer. This parameter helps categorize transfers so you can reconcile transactions at a later time, using the Balance Platform Accounting Report for [marketplaces](https://docs.adyen.com/marketplaces/reports-and-fees/balance-platform-accounting-report/) or [platforms](https://docs.adyen.com/platforms/reports-and-fees/balance-platform-accounting-report/). Possible values: * **AcquiringFees**: for the acquiring fee incurred on a transaction. * **AdyenCommission**: for the transaction fee due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/guides/payments-training-guide/get-the-best-from-your-card-processing). * **AdyenFees**: for all the transaction fees due to Adyen. This is the sum of Adyen's commission and Adyen's markup. * **AdyenMarkup**: for the transaction fee due to Adyen under [Interchange++ pricing](https://www.adyen.com/pricing). * **BalanceAccount**: or the sale amount of a transaction. * **Commission**: for your platform's commission on a transaction. * **DCCPlatformCommission**: for the DCC Commission for the platform on a transaction. * **Interchange**: for the interchange fee (fee paid to the issuer) incurred on a transaction. * **PaymentFee**: for all of the transaction fees. * **Remainder**: for the left over amount after currency conversion. * **SchemeFee**: for the scheme fee incurred on a transaction. This is the sum of the interchange fees and the acquiring fees. * **Surcharge**: for the surcharge paid by the customer on a transaction. * **Tip**: for the tip paid by the customer. * **TopUp**: for an incoming transfer to top up your user's balance account. * **VAT**: for the Value Added Tax. | ||
| * @param string|null $platformPaymentType Specifies the nature of the transfer. This parameter helps categorize transfers so you can reconcile transactions at a later time, using the Balance Platform Accounting Report for [marketplaces](https://docs.adyen.com/marketplaces/reports-and-fees/balance-platform-accounting-report/) or [platforms](https://docs.adyen.com/platforms/reports-and-fees/balance-platform-accounting-report/). Possible values: * **AcquiringFees**: The acquiring fee (the aggregated amount of interchange and scheme fee) incurred on a transaction. * **AdyenCommission**: The transaction fee due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/guides/payments-training-guide/get-the-best-from-your-card-processing). * **AdyenFees**: All transaction fees due to Adyen. This is the aggregated amount of Adyen's commission and markup. * **AdyenMarkup**: The transaction fee due to Adyen under [Interchange++ pricing](https://www.adyen.com/pricing). * **BalanceAccount**: The amount booked to your user after the deduction of the relevant fees. * **Commission**: Your platform's or marketplace's commission on a transaction. * **DCCPlatformCommission**: **deprecated** The Dynamic Currency Conversion (DCC) fee on a transaction. * **DCCMarkup**: The Dynamic Currency Conversion (DCC) fee on a transaction. * **Interchange**: The interchange fee (fee paid to the issuer) incurred on a transaction. * **PaymentFee**: The aggregated amount of all transaction fees. * **Remainder**: The leftover amount after currency conversion. * **SchemeFee**: The scheme fee incurred on a transaction. * **Surcharge**: The surcharge paid by the customer on a transaction. * **Tip**: The tip paid by the customer. * **TopUp**: An incoming transfer to top up your user's balance account. * **VAT**: The value-added tax charged on the payment. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This PHPDoc line is excessively long, which harms readability. For better maintainability and adherence to coding standards like PSR-12 (which suggests a soft limit of 120 characters per line), please wrap the description and format the list of possible values on separate lines. * @param string|null $platformPaymentType Specifies the nature of the transfer. This parameter helps categorize transfers so you can reconcile transactions at a later time, using the Balance Platform Accounting Report for [marketplaces](https://docs.adyen.com/marketplaces/reports-and-fees/balance-platform-accounting-report/) or [platforms](https://docs.adyen.com/platforms/reports-and-fees/balance-platform-accounting-report/).
* Possible values:
* * **AcquiringFees**: The acquiring fee (the aggregated amount of interchange and scheme fee) incurred on a transaction.
* * **AdyenCommission**: The transaction fee due to Adyen under [blended rates](https://www.adyen.com/knowledge-hub/guides/payments-training-guide/get-the-best-from-your-card-processing).
* * **AdyenFees**: All transaction fees due to Adyen. This is the aggregated amount of Adyen's commission and markup.
* * **AdyenMarkup**: The transaction fee due to Adyen under [Interchange++ pricing](https://www.adyen.com/pricing).
* * **BalanceAccount**: The amount booked to your user after the deduction of the relevant fees.
* * **Commission**: Your platform's or marketplace's commission on a transaction.
* * **DCCPlatformCommission**: **deprecated** The Dynamic Currency Conversion (DCC) fee on a transaction.
* * **DCCMarkup**: The Dynamic Currency Conversion (DCC) fee on a transaction.
* * **Interchange**: The interchange fee (fee paid to the issuer) incurred on a transaction.
* * **PaymentFee**: The aggregated amount of all transaction fees.
* * **Remainder**: The leftover amount after currency conversion.
* * **SchemeFee**: The scheme fee incurred on a transaction.
* * **Surcharge**: The surcharge paid by the customer on a transaction.
* * **Tip**: The tip paid by the customer.
* * **TopUp**: An incoming transfer to top up your user's balance account.
* * **VAT**: The value-added tax charged on the payment. |
||
| * | ||
| * @return self | ||
| */ | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PHPDoc line is excessively long, which harms readability. For better maintainability and adherence to coding standards like PSR-12 (which suggests a soft limit of 120 characters per line), please wrap the description and format the list of possible values on separate lines.