CreateOrderResponse class abstract

CreateOrderResponse

Properties:

  • additionalData - Contains additional information about the payment. Some data fields are included only if you select them first: Go to Customer Area > Developers > Additional data.
  • amount - The initial amount of the order.
  • expiresAt - The date that the order will expire.
  • fraudResult - The fraud result properties of the payment.
  • orderData - The encrypted data that will be used by merchant for adding payments to the order.
  • pspReference - Adyen's 16-character reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request.
  • reference - The reference provided by merchant for creating the order.
  • refusalReason - If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes resultCode and refusalReason values. For more information, see Refusal reasons.
  • remainingAmount - The remaining amount in the order.
  • resultCode - The result of the order creation request. The value is always Success.
Annotations
  • @BuiltValue.new()

Constructors

CreateOrderResponse([void updates(CreateOrderResponseBuilder b)])
factory

Properties

additionalData → BuiltMap<String, String>?
Contains additional information about the payment. Some data fields are included only if you select them first: Go to Customer Area > Developers > Additional data.
no setter
amount Amount
The initial amount of the order.
no setter
expiresAt String
The date that the order will expire.
no setter
fraudResult FraudResult?
The fraud result properties of the payment.
no setter
hashCode int
The hash code for this object.
no setterinherited
orderData String
The encrypted data that will be used by merchant for adding payments to the order.
no setter
pspReference String?
Adyen's 16-character reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request.
no setter
reference String?
The reference provided by merchant for creating the order.
no setter
refusalReason String?
If the payment's authorisation is refused or an error occurs during authorisation, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes resultCode and refusalReason values. For more information, see Refusal reasons.
no setter
remainingAmount Amount
The remaining amount in the order.
no setter
resultCode CreateOrderResponseResultCodeEnum
The result of the order creation request. The value is always Success.
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(CreateOrderResponseBuilder)) CreateOrderResponse
Rebuilds the instance.
inherited
toBuilder() CreateOrderResponseBuilder
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<CreateOrderResponse>
no setter