Record Class BzstCesopReportedTransaction

java.lang.Object
java.lang.Record
software.xdev.bzst.dip.client.model.message.cesop.BzstCesopReportedTransaction
Record Components:
isRefund - identifies the refund. The value 'FALSE' stands for a Payment, the value 'TRUE' for a payment refund.
transactionIdentifier - Note that clearly identifies the payment for the payment for the PSP
transactionDateType - The element expresses the date and time of the corresponding transaction. BzstCesopTransactionDateType
amount - The amount of the payment or reimbursement BzstCesopAmount
paymentMethod - The payment method used. BzstCesopPaymentMethod
initiatedAtPhysicalPremisesOfMerchant - Indication that the payment will be the merchants business premises. The element has the Value 'TRUE' if the payment is triggered at the merchants premises. Otherwise, the element has the value 'FALSE'
payerMS - Member State of the client the principal is the client of the transaction, who is always domiciled in the EU. BzstCesopPayerMS
pspRole - Role of the payment service provider. BzstCesopPSPRole

public record BzstCesopReportedTransaction(boolean isRefund, String transactionIdentifier, BzstCesopTransactionDateType transactionDateType, BzstCesopAmount amount, BzstCesopPaymentMethod paymentMethod, boolean initiatedAtPhysicalPremisesOfMerchant, BzstCesopPayerMS payerMS, BzstCesopPSPRole pspRole) extends Record
  • Constructor Details

  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • isRefund

      public boolean isRefund()
      Returns the value of the isRefund record component.
      Returns:
      the value of the isRefund record component
    • transactionIdentifier

      public String transactionIdentifier()
      Returns the value of the transactionIdentifier record component.
      Returns:
      the value of the transactionIdentifier record component
    • transactionDateType

      public BzstCesopTransactionDateType transactionDateType()
      Returns the value of the transactionDateType record component.
      Returns:
      the value of the transactionDateType record component
    • amount

      public BzstCesopAmount amount()
      Returns the value of the amount record component.
      Returns:
      the value of the amount record component
    • paymentMethod

      public BzstCesopPaymentMethod paymentMethod()
      Returns the value of the paymentMethod record component.
      Returns:
      the value of the paymentMethod record component
    • initiatedAtPhysicalPremisesOfMerchant

      public boolean initiatedAtPhysicalPremisesOfMerchant()
      Returns the value of the initiatedAtPhysicalPremisesOfMerchant record component.
      Returns:
      the value of the initiatedAtPhysicalPremisesOfMerchant record component
    • payerMS

      public BzstCesopPayerMS payerMS()
      Returns the value of the payerMS record component.
      Returns:
      the value of the payerMS record component
    • pspRole

      public BzstCesopPSPRole pspRole()
      Returns the value of the pspRole record component.
      Returns:
      the value of the pspRole record component