Package com.adyen.model.checkout
Class CreateStandalonePaymentCancelRequest
- java.lang.Object
-
- com.adyen.model.checkout.CreateStandalonePaymentCancelRequest
-
public class CreateStandalonePaymentCancelRequest extends Object
CreateStandalonePaymentCancelRequest
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_MERCHANT_ACCOUNTstatic StringSERIALIZED_NAME_PAYMENT_REFERENCEstatic StringSERIALIZED_NAME_REFERENCE
-
Constructor Summary
Constructors Constructor Description CreateStandalonePaymentCancelRequest()
-
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 that you want to cancel.StringgetReference()Your reference for the cancel request.inthashCode()CreateStandalonePaymentCancelRequestmerchantAccount(String merchantAccount)CreateStandalonePaymentCancelRequestpaymentReference(String paymentReference)CreateStandalonePaymentCancelRequestreference(String reference)voidsetMerchantAccount(String merchantAccount)voidsetPaymentReference(String paymentReference)voidsetReference(String reference)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_REFERENCE
public static final String SERIALIZED_NAME_REFERENCE
- See Also:
- Constant Field Values
-
-
Method Detail
-
merchantAccount
public CreateStandalonePaymentCancelRequest 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 CreateStandalonePaymentCancelRequest paymentReference(String paymentReference)
-
getPaymentReference
public String getPaymentReference()
The [`reference`](https://docs.adyen.com/api-explorer/#/CheckoutService/latest/post/payments__reqParam_reference) of the payment that you want to cancel.- Returns:
- paymentReference
-
setPaymentReference
public void setPaymentReference(String paymentReference)
-
reference
public CreateStandalonePaymentCancelRequest reference(String reference)
-
getReference
public String getReference()
Your reference for the cancel request. Maximum length: 80 characters.- Returns:
- reference
-
setReference
public void setReference(String reference)
-
-