Package com.adyen.model.checkout
Class StandalonePaymentCancelResource
- java.lang.Object
-
- com.adyen.model.checkout.StandalonePaymentCancelResource
-
public class StandalonePaymentCancelResource extends Object
StandalonePaymentCancelResource
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStandalonePaymentCancelResource.StatusEnumThe status of your request.
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_MERCHANT_ACCOUNTstatic StringSERIALIZED_NAME_PAYMENT_REFERENCEstatic StringSERIALIZED_NAME_PSP_REFERENCEstatic StringSERIALIZED_NAME_REFERENCEstatic StringSERIALIZED_NAME_STATUS
-
Constructor Summary
Constructors Constructor Description StandalonePaymentCancelResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetMerchantAccount()The merchant account that is used to process the payment.StringgetPaymentReference()The [`reference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__reqParam_reference) of the payment to cancel.StringgetPspReference()Adyen's 16-character reference associated with the cancel request.StringgetReference()Your reference for the cancel request.StandalonePaymentCancelResource.StatusEnumgetStatus()The status of your request.inthashCode()StandalonePaymentCancelResourcemerchantAccount(String merchantAccount)StandalonePaymentCancelResourcepaymentReference(String paymentReference)StandalonePaymentCancelResourcepspReference(String pspReference)StandalonePaymentCancelResourcereference(String reference)voidsetMerchantAccount(String merchantAccount)voidsetPaymentReference(String paymentReference)voidsetPspReference(String pspReference)voidsetReference(String reference)voidsetStatus(StandalonePaymentCancelResource.StatusEnum status)StandalonePaymentCancelResourcestatus(StandalonePaymentCancelResource.StatusEnum status)StringtoString()
-
-
-
Field Detail
-
SERIALIZED_NAME_MERCHANT_ACCOUNT
public static final String SERIALIZED_NAME_MERCHANT_ACCOUNT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PAYMENT_REFERENCE
public static final String SERIALIZED_NAME_PAYMENT_REFERENCE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PSP_REFERENCE
public static final String SERIALIZED_NAME_PSP_REFERENCE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_REFERENCE
public static final String SERIALIZED_NAME_REFERENCE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STATUS
public static final String SERIALIZED_NAME_STATUS
- See Also:
- Constant Field Values
-
-
Method Detail
-
merchantAccount
public StandalonePaymentCancelResource merchantAccount(String merchantAccount)
-
getMerchantAccount
public String getMerchantAccount()
The merchant account that is used to process the payment.- Returns:
- merchantAccount
-
setMerchantAccount
public void setMerchantAccount(String merchantAccount)
-
paymentReference
public StandalonePaymentCancelResource paymentReference(String paymentReference)
-
getPaymentReference
public String getPaymentReference()
The [`reference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__reqParam_reference) of the payment to cancel.- Returns:
- paymentReference
-
setPaymentReference
public void setPaymentReference(String paymentReference)
-
pspReference
public StandalonePaymentCancelResource pspReference(String pspReference)
-
getPspReference
public String getPspReference()
Adyen's 16-character reference associated with the cancel request.- Returns:
- pspReference
-
setPspReference
public void setPspReference(String pspReference)
-
reference
public StandalonePaymentCancelResource reference(String reference)
-
getReference
public String getReference()
Your reference for the cancel request.- Returns:
- reference
-
setReference
public void setReference(String reference)
-
status
public StandalonePaymentCancelResource status(StandalonePaymentCancelResource.StatusEnum status)
-
getStatus
public StandalonePaymentCancelResource.StatusEnum getStatus()
The status of your request. This will always have the value **received**.- Returns:
- status
-
setStatus
public void setStatus(StandalonePaymentCancelResource.StatusEnum status)
-
-