StoredValueBalanceCheckResponse class abstract
StoredValueBalanceCheckResponse
Properties:
- currentBalance - The balance currently on the payment method.
- pspReference - Adyen's 16-character string reference associated with the transaction/request. This value is globally unique; quote it when communicating with us about this request.
- refusalReason - If the transaction is refused or an error occurs, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes
resultCodeandrefusalReasonvalues. - resultCode - The result of the payment. Possible values: * Success – The operation has been completed successfully. * Refused – The operation was refused. The reason is given in the
refusalReasonfield. * Error – There was an error when the operation was processed. The reason is given in therefusalReasonfield. * NotEnoughBalance – The amount on the payment method is lower than the amount given in the request. Only applicable to balance checks. - thirdPartyRefusalReason - Raw refusal reason received from the third party, where available
- Annotations
-
- @BuiltValue.new()
Constructors
- StoredValueBalanceCheckResponse([void updates(StoredValueBalanceCheckResponseBuilder b)])
-
factory
Properties
- currentBalance → Amount?
-
The balance currently on the payment method.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- pspReference → String?
-
Adyen's 16-character string 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 transaction is refused or an error occurs, this field holds Adyen's mapped reason for the refusal or a description of the error. When a transaction fails, the authorisation response includes
resultCodeandrefusalReasonvalues.no setter - resultCode → StoredValueBalanceCheckResponseResultCodeEnum?
-
The result of the payment. Possible values: * Success – The operation has been completed successfully. * Refused – The operation was refused. The reason is given in the
refusalReasonfield. * Error – There was an error when the operation was processed. The reason is given in therefusalReasonfield. * NotEnoughBalance – The amount on the payment method is lower than the amount given in the request. Only applicable to balance checks.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- thirdPartyRefusalReason → String?
-
Raw refusal reason received from the third party, where available
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rebuild(
dynamic updates(StoredValueBalanceCheckResponseBuilder)) → StoredValueBalanceCheckResponse -
Rebuilds the instance.
inherited
-
toBuilder(
) → StoredValueBalanceCheckResponseBuilder -
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<
StoredValueBalanceCheckResponse> -
no setter