Skip to content
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
4 changes: 2 additions & 2 deletions src/Adyen/Model/TransactionWebhooks/Amount.php
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ public function getCurrency()
/**
* Sets currency
*
* @param string $currency The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes#currency-codes).
* @param string $currency The three-character [ISO currency code](https://docs.adyen.com/development-resources/currency-codes#currency-codes) of the amount.
*
* @return self
*/
Expand All @@ -323,7 +323,7 @@ public function getValue()
/**
* Sets value
*
* @param int $value The amount of the transaction, in [minor units](https://docs.adyen.com/development-resources/currency-codes#minor-units).
* @param int $value The numeric value of the amount, in [minor units](https://docs.adyen.com/development-resources/currency-codes#minor-units).
*
* @return self
*/
Expand Down
2 changes: 1 addition & 1 deletion src/Adyen/Model/TransactionWebhooks/BankCategoryData.php
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,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).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

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
*/
Expand Down
4 changes: 3 additions & 1 deletion src/Adyen/Model/TransactionWebhooks/PlatformPayment.php
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

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
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

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
*/
Expand Down Expand Up @@ -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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

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
*/
Expand Down