BalanceCheckResponse class abstract

BalanceCheckResponse

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.
  • balance - The balance for the payment method.
  • fraudResult - The fraud result properties of the payment.
  • 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.
  • 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.
  • resultCode - The result of the cancellation request. Possible values: * Success – Indicates that the balance check was successful. * NotEnoughBalance – Commonly indicates that the card did not have enough balance to pay the amount in the request, or that the currency of the balance on the card did not match the currency of the requested amount. * Failed – Indicates that the balance check failed.
  • transactionLimit - The maximum spendable balance for a single transaction. Applicable to some gift cards.
Annotations
  • @BuiltValue.new()

Constructors

BalanceCheckResponse([void updates(BalanceCheckResponseBuilder 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
balance Amount
The balance for the payment method.
no setter
fraudResult FraudResult?
The fraud result properties of the payment.
no setter
hashCode int
The hash code for this object.
no setterinherited
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
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
resultCode BalanceCheckResponseResultCodeEnum
The result of the cancellation request. Possible values: * Success – Indicates that the balance check was successful. * NotEnoughBalance – Commonly indicates that the card did not have enough balance to pay the amount in the request, or that the currency of the balance on the card did not match the currency of the requested amount. * Failed – Indicates that the balance check failed.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
transactionLimit Amount?
The maximum spendable balance for a single transaction. Applicable to some gift cards.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(BalanceCheckResponseBuilder)) BalanceCheckResponse
Rebuilds the instance.
inherited
toBuilder() BalanceCheckResponseBuilder
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<BalanceCheckResponse>
no setter