public class PaymentCancelResource extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
PaymentCancelResource.StatusEnum
The status of your request.
|
| Modifier and Type | Field and Description |
|---|---|
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_STATUS |
| Constructor and Description |
|---|
PaymentCancelResource() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
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 cancel.
|
String |
getPspReference()
Adyen's 16-character reference associated with the cancel request.
|
String |
getReference()
Your reference for the cancel request.
|
PaymentCancelResource.StatusEnum |
getStatus()
The status of your request.
|
int |
hashCode() |
PaymentCancelResource |
merchantAccount(String merchantAccount) |
PaymentCancelResource |
paymentPspReference(String paymentPspReference) |
PaymentCancelResource |
pspReference(String pspReference) |
PaymentCancelResource |
reference(String reference) |
void |
setMerchantAccount(String merchantAccount) |
void |
setPaymentPspReference(String paymentPspReference) |
void |
setPspReference(String pspReference) |
void |
setReference(String reference) |
void |
setStatus(PaymentCancelResource.StatusEnum status) |
PaymentCancelResource |
status(PaymentCancelResource.StatusEnum status) |
String |
toString() |
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_STATUS
public PaymentCancelResource merchantAccount(String merchantAccount)
public String getMerchantAccount()
public void setMerchantAccount(String merchantAccount)
public PaymentCancelResource paymentPspReference(String paymentPspReference)
public String getPaymentPspReference()
public void setPaymentPspReference(String paymentPspReference)
public PaymentCancelResource pspReference(String pspReference)
public String getPspReference()
public void setPspReference(String pspReference)
public PaymentCancelResource reference(String reference)
public String getReference()
public void setReference(String reference)
public PaymentCancelResource status(PaymentCancelResource.StatusEnum status)
public PaymentCancelResource.StatusEnum getStatus()
public void setStatus(PaymentCancelResource.StatusEnum status)
Copyright © 2022. All rights reserved.