public class PaymentRefundResource extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PaymentRefundResource.StatusEnum
The status of your request.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
SERIALIZED_NAME_AMOUNT |
static String |
SERIALIZED_NAME_MERCHANT_ACCOUNT |
static String |
SERIALIZED_NAME_PAYMENT_PSP_REFERENCE |
static String |
SERIALIZED_NAME_PSP_REFERENCE |
static String |
SERIALIZED_NAME_REFERENCE |
static String |
SERIALIZED_NAME_SPLITS |
static String |
SERIALIZED_NAME_STATUS |
| Constructor and Description |
|---|
PaymentRefundResource() |
| Modifier and Type | Method and Description |
|---|---|
PaymentRefundResource |
addSplitsItem(Split splitsItem) |
PaymentRefundResource |
amount(Amount amount) |
boolean |
equals(Object o) |
Amount |
getAmount()
Get amount
|
String |
getMerchantAccount()
The merchant account that is used to process the payment.
|
String |
getPaymentPspReference()
The [`pspReference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__resParam_pspReference) of the payment to refund.
|
String |
getPspReference()
Adyen's 16-character reference associated with the refund request.
|
String |
getReference()
Your reference for the refund request.
|
List<Split> |
getSplits()
An array of objects specifying how the amount should be split between accounts when using Adyen for Platforms.
|
PaymentRefundResource.StatusEnum |
getStatus()
The status of your request.
|
int |
hashCode() |
PaymentRefundResource |
merchantAccount(String merchantAccount) |
PaymentRefundResource |
paymentPspReference(String paymentPspReference) |
PaymentRefundResource |
pspReference(String pspReference) |
PaymentRefundResource |
reference(String reference) |
void |
setAmount(Amount amount) |
void |
setMerchantAccount(String merchantAccount) |
void |
setPaymentPspReference(String paymentPspReference) |
void |
setPspReference(String pspReference) |
void |
setReference(String reference) |
void |
setSplits(List<Split> splits) |
void |
setStatus(PaymentRefundResource.StatusEnum status) |
PaymentRefundResource |
splits(List<Split> splits) |
PaymentRefundResource |
status(PaymentRefundResource.StatusEnum status) |
String |
toString() |
public static final String SERIALIZED_NAME_AMOUNT
public static final String SERIALIZED_NAME_MERCHANT_ACCOUNT
public static final String SERIALIZED_NAME_PAYMENT_PSP_REFERENCE
public static final String SERIALIZED_NAME_PSP_REFERENCE
public static final String SERIALIZED_NAME_REFERENCE
public static final String SERIALIZED_NAME_SPLITS
public static final String SERIALIZED_NAME_STATUS
public PaymentRefundResource amount(Amount amount)
public Amount getAmount()
public void setAmount(Amount amount)
public PaymentRefundResource merchantAccount(String merchantAccount)
public String getMerchantAccount()
public void setMerchantAccount(String merchantAccount)
public PaymentRefundResource paymentPspReference(String paymentPspReference)
public String getPaymentPspReference()
public void setPaymentPspReference(String paymentPspReference)
public PaymentRefundResource pspReference(String pspReference)
public String getPspReference()
public void setPspReference(String pspReference)
public PaymentRefundResource reference(String reference)
public String getReference()
public void setReference(String reference)
public PaymentRefundResource splits(List<Split> splits)
public PaymentRefundResource addSplitsItem(Split splitsItem)
public List<Split> getSplits()
public PaymentRefundResource status(PaymentRefundResource.StatusEnum status)
public PaymentRefundResource.StatusEnum getStatus()
public void setStatus(PaymentRefundResource.StatusEnum status)
Copyright © 2022. All rights reserved.