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

5.8.0

Compare
Choose a tag to compare
@IngenicoEPayments IngenicoEPayments released this 23 Nov 13:05
· 14 commits to master since this release

SDK:

  • Added:
    • Added method getCurrencyCodeString that returns the currency code as a string to classes that have a getCurrencyCode method that returns a CurrencyCode enum. In the next major release, this new method will replace the existing getCurrencyCode method.
    • Added method getCountryCodeString that returns the country code as a string to classes that have a getCountryCode method that returns a CountryCode enum. In the next major release, this new method will replace the existing getCountryCode method.
    • Added property locale of type Locale to class PaymentContext. When the locale is set, it will be applied when retrieving Payment Product information.
    • Added an overloaded constructor to class PaymentContext that allows initialization with a locale.
  • Deprecated:
    • Deprecated enums CountryCode and CurrencyCode in favor of string values. All constructor and methods that have a CountryCode or CurrencyCode parameter have been deprecated as well in favor of new overloads that have a string parameter instead. getCurrentCode and getCountryCode methods have also been deprecated in favor of the new getCurrencyCodeString and getCountryCodeString methods.
    • Deprecated the no-argument constructor of class AmountOfMoney, as it allowed to create only invalid objects.

Example application:

  • Added:
    • Added logos and translations for BC Card (180), Hana Card (181), Hyundai Card (182), KB Card (183), Lotte Card (184), NH Card (185), Samsung Card (186) & Shinhan Card (187).
    • Added translations for the partialPin payment product field and the stateCodeBoletoBancario validation error.
    • Added several UPI specific translations.
  • Changed:
    • Changed the input controls for the country code and currency code from spinners to text fields.
    • Updated the logo for Open Banking (865).
    • Updated translations for the installmentId.interestRate tooltip text and ZIP validation error.