Skip to content
This repository has been archived by the owner on Mar 19, 2024. It is now read-only.

2.5.0

Compare
Choose a tag to compare
@IngenicoEPayments IngenicoEPayments released this 18 Apr 09:24
· 85 commits to master since this release
  • Added:
    • Added class AmountBreakdown. This contains the amount type (AIRPORT_TAX, DUTY, etc.) and amount.
    • Added class ShoppingCart. This object is used in class Order as new property shopping_cart, and contains a list of AmountBreakdown objects.
    • Added class OrderLineDetails. This object is present on class LineItem as new property order_line_details, and contains the exact same fields as LineItemLevel3InterchangeInformation, which is now deprecated.
    • Added property RedirectPaymentMethodSpecificInputBase.expiration_period, to replace the property with the same name of class RedirectPaymentProduct809SpecificInput.
  • Deprecated:
    • Deprecated class Level3SummaryData and replaced it with ShoppingCart. The separate amounts should be replaced with AmountBreakdown objects with the correct amount type.
    • Deprecated property AdditionalOrderInput.level3_summary_data and replaced it with Order.shopping_cart. Providing both in a CreatePaymentRequest or CreateHostedCheckoutRequest will result in a validation error.
    • Deprecated property LineItem.level3_interchange_information and replaced it with LineItem.order_line_details. Providing both in a CreatePaymentRequest or CreateHostedCheckoutRequest will result in a validation error.
    • Deprecated property RedirectPaymentProduct809SpecificInput.expiration_period and replaced it with RedirectPaymentMethodSpecificInputBase.expiration_period.