Skip to content

5.0.0

Choose a tag to compare

@github-actions github-actions released this 05 Dec 08:59
· 45 commits to main since this release
6874592

Consists of internal refactorings and improvements.

Added

  • Added com.unzer.payment.Resource interface.

Changed

  • Renamed AbstractTransaction -> BaseTransaction
  • Refactored UrlUtil: moved Resource URL construction logic to Resource-classes.
  • Every Unzer Payment Gateway resource implements Resource instead of PaymentType: Customer, Basket, Payment, etc.
  • Renamed com.unzer.payment.CustomerCompanyData to CompanyInfo
  • Renamed property and methods of com.unzer.payment.Customer.Customer to match class name:
    • property companyData-> companyInfo
    • method getCompanyData() -> getCompanyInfo()
    • method setCompanyData() -> setCompanyInfo()

Removed

  • Removed PaymentType::getId() and PaymentType::getTypeUrl() methods. Use Resource::getId() and Resource::getUrl() instead.