PaymentRefundResponse class abstract

PaymentRefundResponse

Properties:

  • amount - The refund amount.
  • capturePspReference - This is only available for PayPal refunds. The pspReference of the specific capture to refund.
  • lineItems - Price and product information of the refunded items, required for partial refunds. > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Atome, Clearpay, Klarna, Ratepay, Walley, and Zip.
  • merchantAccount - The merchant account that is used to process the payment.
  • merchantRefundReason - Your reason for the refund request.
  • paymentPspReference - The pspReference of the payment to refund.
  • pspReference - Adyen's 16-character reference associated with the refund request.
  • reference - Your reference for the refund request.
  • splits - An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for marketplaces or platforms.
  • status - The status of your request. This will always have the value received.
  • store - The online store or physical store that is processing the refund. This must be the same as the store name configured in your Customer Area. Otherwise, you get an error and the refund fails.
Annotations
  • @BuiltValue.new()

Constructors

PaymentRefundResponse([void updates(PaymentRefundResponseBuilder b)])
factory

Properties

amount Amount
The refund amount.
no setter
capturePspReference String?
This is only available for PayPal refunds. The pspReference of the specific capture to refund.
no setter
hashCode int
The hash code for this object.
no setterinherited
lineItems → BuiltList<LineItem>?
Price and product information of the refunded items, required for partial refunds. > This field is required for partial refunds with 3x 4x Oney, Affirm, Afterpay, Atome, Clearpay, Klarna, Ratepay, Walley, and Zip.
no setter
merchantAccount String
The merchant account that is used to process the payment.
no setter
merchantRefundReason PaymentRefundResponseMerchantRefundReasonEnum?
Your reason for the refund request.
no setter
paymentPspReference String
The pspReference of the payment to refund.
no setter
pspReference String
Adyen's 16-character reference associated with the refund request.
no setter
reference String?
Your reference for the refund request.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
splits → BuiltList<Split>?
An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms. For more information, see how to process payments for marketplaces or platforms.
no setter
status PaymentRefundResponseStatusEnum
The status of your request. This will always have the value received.
no setter
store String?
The online store or physical store that is processing the refund. This must be the same as the store name configured in your Customer Area. Otherwise, you get an error and the refund fails.
no setter

Methods

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