Package com.adyen.model.storedvalue
Class StoredValueIssueRequest
- java.lang.Object
-
- com.adyen.model.storedvalue.StoredValueIssueRequest
-
public class StoredValueIssueRequest extends Object
StoredValueIssueRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStoredValueIssueRequest.ShopperInteractionEnumSpecifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer.
-
Constructor Summary
Constructors Constructor Description StoredValueIssueRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StoredValueIssueRequestamount(Amount amount)booleanequals(Object o)AmountgetAmount()Get amountStringgetMerchantAccount()The merchant account identifier, with which you want to process the transaction.PaymentMethodDetailsgetPaymentMethod()The collection that contains the type of the payment method and its specific information if availableStringgetRecurringDetailReference()Get recurringDetailReferenceStringgetReference()The reference to uniquely identify a payment.StoredValueIssueRequest.ShopperInteractionEnumgetShopperInteraction()Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer.StringgetShopperReference()Get shopperReferenceStringgetStore()The physical store, for which this payment is processed.inthashCode()StoredValueIssueRequestmerchantAccount(String merchantAccount)StoredValueIssueRequestpaymentMethod(PaymentMethodDetails paymentMethod)StoredValueIssueRequestrecurringDetailReference(String recurringDetailReference)StoredValueIssueRequestreference(String reference)voidsetAmount(Amount amount)voidsetMerchantAccount(String merchantAccount)voidsetPaymentMethod(PaymentMethodDetails paymentMethod)voidsetRecurringDetailReference(String recurringDetailReference)voidsetReference(String reference)voidsetShopperInteraction(StoredValueIssueRequest.ShopperInteractionEnum shopperInteraction)voidsetShopperReference(String shopperReference)voidsetStore(String store)StoredValueIssueRequestshopperInteraction(StoredValueIssueRequest.ShopperInteractionEnum shopperInteraction)StoredValueIssueRequestshopperReference(String shopperReference)StoredValueIssueRequeststore(String store)StringtoString()
-
-
-
Method Detail
-
amount
public StoredValueIssueRequest amount(Amount amount)
-
getAmount
public Amount getAmount()
Get amount- Returns:
- amount
-
setAmount
public void setAmount(Amount amount)
-
merchantAccount
public StoredValueIssueRequest 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)
-
paymentMethod
public StoredValueIssueRequest paymentMethod(PaymentMethodDetails paymentMethod)
-
getPaymentMethod
public PaymentMethodDetails getPaymentMethod()
The collection that contains the type of the payment method and its specific information if available- Returns:
- paymentMethod
-
setPaymentMethod
public void setPaymentMethod(PaymentMethodDetails paymentMethod)
-
recurringDetailReference
public StoredValueIssueRequest recurringDetailReference(String recurringDetailReference)
-
getRecurringDetailReference
public String getRecurringDetailReference()
Get recurringDetailReference- Returns:
- recurringDetailReference
-
setRecurringDetailReference
public void setRecurringDetailReference(String recurringDetailReference)
-
reference
public StoredValueIssueRequest reference(String reference)
-
getReference
public String getReference()
The reference to uniquely identify a payment. This reference is used in all communication with you about the payment status. We recommend using a unique value per payment; however, it is not a requirement. If you need to provide multiple references for a transaction, separate them with hyphens (\"-\"). Maximum length: 80 characters.- Returns:
- reference
-
setReference
public void setReference(String reference)
-
shopperInteraction
public StoredValueIssueRequest shopperInteraction(StoredValueIssueRequest.ShopperInteractionEnum shopperInteraction)
-
getShopperInteraction
public StoredValueIssueRequest.ShopperInteractionEnum getShopperInteraction()
Specifies the sales channel, through which the shopper gives their card details, and whether the shopper is a returning customer. For the web service API, Adyen assumes Ecommerce shopper interaction by default. This field has the following possible values: * `Ecommerce` - Online transactions where the cardholder is present (online). For better authorisation rates, we recommend sending the card security code (CSC) along with the request. * `ContAuth` - Card on file and/or subscription transactions, where the cardholder is known to the merchant (returning customer). If the shopper is present (online), you can supply also the CSC to improve authorisation (one-click payment). * `Moto` - Mail-order and telephone-order transactions where the shopper is in contact with the merchant via email or telephone. * `POS` - Point-of-sale transactions where the shopper is physically present to make a payment using a secure payment terminal.- Returns:
- shopperInteraction
-
setShopperInteraction
public void setShopperInteraction(StoredValueIssueRequest.ShopperInteractionEnum shopperInteraction)
-
shopperReference
public StoredValueIssueRequest shopperReference(String shopperReference)
-
getShopperReference
public String getShopperReference()
Get shopperReference- Returns:
- shopperReference
-
setShopperReference
public void setShopperReference(String shopperReference)
-
store
public StoredValueIssueRequest store(String store)
-
getStore
public String getStore()
The physical store, for which this payment is processed.- Returns:
- store
-
setStore
public void setStore(String store)
-
-