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 PSPtransactionDateType- The element expresses the date and time of the corresponding transaction.BzstCesopTransactionDateTypeamount- The amount of the payment or reimbursementBzstCesopAmountpaymentMethod- The payment method used.BzstCesopPaymentMethodinitiatedAtPhysicalPremisesOfMerchant- 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.BzstCesopPayerMSpspRole- 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 Summary
ConstructorsConstructorDescriptionBzstCesopReportedTransaction(boolean isRefund, String transactionIdentifier, BzstCesopTransactionDateType transactionDateType, BzstCesopAmount amount, BzstCesopPaymentMethod paymentMethod, boolean initiatedAtPhysicalPremisesOfMerchant, BzstCesopPayerMS payerMS, BzstCesopPSPRole pspRole) Creates an instance of aBzstCesopReportedTransactionrecord class. -
Method Summary
Modifier and TypeMethodDescriptionamount()Returns the value of theamountrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanReturns the value of theinitiatedAtPhysicalPremisesOfMerchantrecord component.booleanisRefund()Returns the value of theisRefundrecord component.payerMS()Returns the value of thepayerMSrecord component.Returns the value of thepaymentMethodrecord component.pspRole()Returns the value of thepspRolerecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thetransactionDateTyperecord component.Returns the value of thetransactionIdentifierrecord component.
-
Constructor Details
-
BzstCesopReportedTransaction
public BzstCesopReportedTransaction(boolean isRefund, String transactionIdentifier, BzstCesopTransactionDateType transactionDateType, BzstCesopAmount amount, BzstCesopPaymentMethod paymentMethod, boolean initiatedAtPhysicalPremisesOfMerchant, BzstCesopPayerMS payerMS, BzstCesopPSPRole pspRole) Creates an instance of aBzstCesopReportedTransactionrecord class.- Parameters:
isRefund- the value for theisRefundrecord componenttransactionIdentifier- the value for thetransactionIdentifierrecord componenttransactionDateType- the value for thetransactionDateTyperecord componentamount- the value for theamountrecord componentpaymentMethod- the value for thepaymentMethodrecord componentinitiatedAtPhysicalPremisesOfMerchant- the value for theinitiatedAtPhysicalPremisesOfMerchantrecord componentpayerMS- the value for thepayerMSrecord componentpspRole- the value for thepspRolerecord component
-
-
Method Details
-
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. -
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. -
equals
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 withObjects::equals(Object,Object); primitive components are compared with '=='. -
isRefund
public boolean isRefund()Returns the value of theisRefundrecord component.- Returns:
- the value of the
isRefundrecord component
-
transactionIdentifier
Returns the value of thetransactionIdentifierrecord component.- Returns:
- the value of the
transactionIdentifierrecord component
-
transactionDateType
Returns the value of thetransactionDateTyperecord component.- Returns:
- the value of the
transactionDateTyperecord component
-
amount
Returns the value of theamountrecord component.- Returns:
- the value of the
amountrecord component
-
paymentMethod
Returns the value of thepaymentMethodrecord component.- Returns:
- the value of the
paymentMethodrecord component
-
initiatedAtPhysicalPremisesOfMerchant
public boolean initiatedAtPhysicalPremisesOfMerchant()Returns the value of theinitiatedAtPhysicalPremisesOfMerchantrecord component.- Returns:
- the value of the
initiatedAtPhysicalPremisesOfMerchantrecord component
-
payerMS
Returns the value of thepayerMSrecord component.- Returns:
- the value of the
payerMSrecord component
-
pspRole
Returns the value of thepspRolerecord component.- Returns:
- the value of the
pspRolerecord component
-