Payment class abstract

Payment

Properties:

  • amount - Authorised amount in the transaction.
  • paymentMethod - Only returned for resultCode: Authorised. Details about the payment method used in the transaction.
  • pspReference - Adyen's 16-character reference associated with the transaction/request. This value is globally unique. Use this reference when you communicate with us about this request.
  • resultCode - The result of the payment. For more information, see Result codes. Possible values: * Authorised – The payment was successfully authorised. This state serves as an indicator to proceed with the delivery of goods and services. This is a final state.
Annotations
  • @BuiltValue.new()

Constructors

Payment([void updates(PaymentBuilder b)])
factory

Properties

amount → Amount?
Authorised amount in the transaction.
no setter
hashCode → int
The hash code for this object.
no setterinherited
paymentMethod → ResponsePaymentMethod?
Only returned for resultCode: Authorised. Details about the payment method used in the transaction.
no setter
pspReference → String?
Adyen's 16-character reference associated with the transaction/request. This value is globally unique. Use this reference when you communicate with us about this request.
no setter
resultCode → PaymentResultCodeEnum?
The result of the payment. For more information, see Result codes. Possible values: * Authorised – The payment was successfully authorised. This state serves as an indicator to proceed with the delivery of goods and services. This is a final state.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(PaymentBuilder)) → Payment
Rebuilds the instance.
inherited
toBuilder() → PaymentBuilder
Converts the instance to a builder B.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

serializer → Serializer<Payment>
no setter