Skip to content

Release v0.0.3

Choose a tag to compare

@github-actions github-actions released this 09 Jan 08:56
· 310 commits to main since this release

Release v0.0.3

  • Fix GroupHeader constructor to pass required parameters (messageId and initiatingPartyName)
  • Compatible with Digitick\Sepa v3.0 API changes
  • Fixes RemesaGenerator and DirectDebitGenerator

Changelog

Fixed

  • Full compatibility with Digitick\Sepa v3.0 API changes:
    • Fixed GroupHeader constructor to pass required parameters (messageId and initiatingPartyName)
    • Removed setCreationDateTime() calls (creation date is now set automatically by GroupHeader)
    • Updated PaymentInformation constructor to use required parameters (id, originAccountIBAN, originAgentBIC, originName, originAccountCurrency)
    • Updated transaction creation to use CustomerCreditTransferInformation and CustomerDirectDebitTransferInformation constructors
    • Changed transaction amounts to be passed as integers (cents) instead of floats
    • Updated method names to match v3.0 API:
      • setRequestedExecutionDate() → setDueDate()
      • setRequestedCollectionDate() → setDueDate()
      • setCreditorSchemeIdentification() → setCreditorId()
      • setMandateIdentification() → setMandateId()
      • setDateOfSignature() → setMandateSignDate()
      • addCreditTransferTransaction() → addTransfer() with CustomerCreditTransferInformation
      • addTransferInformation() → addTransfer() with CustomerDirectDebitTransferInformation
    • Removed automatic calculation methods (setNumberOfTransactions, setControlSum) as they are now calculated automatically