Package com.adyen.model.storedvalue
Class StoredValueVoidRequest
- java.lang.Object
-
- com.adyen.model.storedvalue.StoredValueVoidRequest
-
public class StoredValueVoidRequest extends Object
StoredValueVoidRequest
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_MERCHANT_ACCOUNTstatic StringJSON_PROPERTY_ORIGINAL_REFERENCEstatic StringJSON_PROPERTY_REFERENCEstatic StringJSON_PROPERTY_STOREstatic StringJSON_PROPERTY_TENDER_REFERENCEstatic StringJSON_PROPERTY_UNIQUE_TERMINAL_ID
-
Constructor Summary
Constructors Constructor Description StoredValueVoidRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Return true if this StoredValueVoidRequest object is equal to o.static StoredValueVoidRequestfromJson(String jsonString)Create an instance of StoredValueVoidRequest given an JSON stringStringgetMerchantAccount()The merchant account identifier, with which you want to process the transaction.StringgetOriginalReference()The original pspReference of the payment to modify.StringgetReference()Your reference for the payment modification.StringgetStore()The physical store, for which this payment is processed.StringgetTenderReference()The reference of the tender.StringgetUniqueTerminalId()The unique ID of a POS terminal.inthashCode()StoredValueVoidRequestmerchantAccount(String merchantAccount)StoredValueVoidRequestoriginalReference(String originalReference)StoredValueVoidRequestreference(String reference)voidsetMerchantAccount(String merchantAccount)The merchant account identifier, with which you want to process the transaction.voidsetOriginalReference(String originalReference)The original pspReference of the payment to modify.voidsetReference(String reference)Your reference for the payment modification.voidsetStore(String store)The physical store, for which this payment is processed.voidsetTenderReference(String tenderReference)The reference of the tender.voidsetUniqueTerminalId(String uniqueTerminalId)The unique ID of a POS terminal.StoredValueVoidRequeststore(String store)StoredValueVoidRequesttenderReference(String tenderReference)StringtoJson()Convert an instance of StoredValueVoidRequest to an JSON stringStringtoString()StoredValueVoidRequestuniqueTerminalId(String uniqueTerminalId)
-
-
-
Field Detail
-
JSON_PROPERTY_MERCHANT_ACCOUNT
public static final String JSON_PROPERTY_MERCHANT_ACCOUNT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ORIGINAL_REFERENCE
public static final String JSON_PROPERTY_ORIGINAL_REFERENCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_REFERENCE
public static final String JSON_PROPERTY_REFERENCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STORE
public static final String JSON_PROPERTY_STORE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TENDER_REFERENCE
public static final String JSON_PROPERTY_TENDER_REFERENCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_UNIQUE_TERMINAL_ID
public static final String JSON_PROPERTY_UNIQUE_TERMINAL_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
merchantAccount
public StoredValueVoidRequest merchantAccount(String merchantAccount)
-
getMerchantAccount
public String getMerchantAccount()
The merchant account identifier, with which you want to process the transaction.- Returns:
- merchantAccount
-
setMerchantAccount
public void setMerchantAccount(String merchantAccount)
The merchant account identifier, with which you want to process the transaction.- Parameters:
merchantAccount-
-
originalReference
public StoredValueVoidRequest originalReference(String originalReference)
-
getOriginalReference
public String getOriginalReference()
The original pspReference of the payment to modify.- Returns:
- originalReference
-
setOriginalReference
public void setOriginalReference(String originalReference)
The original pspReference of the payment to modify.- Parameters:
originalReference-
-
reference
public StoredValueVoidRequest reference(String reference)
-
getReference
public String getReference()
Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters.- Returns:
- reference
-
setReference
public void setReference(String reference)
Your reference for the payment modification. This reference is visible in Customer Area and in reports. Maximum length: 80 characters.- Parameters:
reference-
-
store
public StoredValueVoidRequest store(String store)
-
getStore
public String getStore()
The physical store, for which this payment is processed.- Returns:
- store
-
setStore
public void setStore(String store)
The physical store, for which this payment is processed.- Parameters:
store-
-
tenderReference
public StoredValueVoidRequest tenderReference(String tenderReference)
-
getTenderReference
public String getTenderReference()
The reference of the tender.- Returns:
- tenderReference
-
setTenderReference
public void setTenderReference(String tenderReference)
The reference of the tender.- Parameters:
tenderReference-
-
uniqueTerminalId
public StoredValueVoidRequest uniqueTerminalId(String uniqueTerminalId)
-
getUniqueTerminalId
public String getUniqueTerminalId()
The unique ID of a POS terminal.- Returns:
- uniqueTerminalId
-
setUniqueTerminalId
public void setUniqueTerminalId(String uniqueTerminalId)
The unique ID of a POS terminal.- Parameters:
uniqueTerminalId-
-
equals
public boolean equals(Object o)
Return true if this StoredValueVoidRequest object is equal to o.
-
fromJson
public static StoredValueVoidRequest fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of StoredValueVoidRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of StoredValueVoidRequest
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to StoredValueVoidRequest
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of StoredValueVoidRequest to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-