Package com.adyen.model.recurring
Class NotifyShopperRequest
- java.lang.Object
-
- com.adyen.model.recurring.NotifyShopperRequest
-
public class NotifyShopperRequest extends Object
NotifyShopperRequest
-
-
Constructor Summary
Constructors Constructor Description NotifyShopperRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NotifyShopperRequestamount(Amount amount)NotifyShopperRequestbillingDate(String billingDate)NotifyShopperRequestbillingSequenceNumber(String billingSequenceNumber)NotifyShopperRequestdisplayedReference(String displayedReference)booleanequals(Object o)AmountgetAmount()Get amountStringgetBillingDate()Date on which the subscription amount will be debited from the shopper.StringgetBillingSequenceNumber()Sequence of the debit.StringgetDisplayedReference()Reference of Pre-debit notification that is displayed to the shopper.StringgetMerchantAccount()The merchant account identifier with which you want to process the transaction.StringgetRecurringDetailReference()This is the `recurringDetailReference` returned in the response when you created the token.StringgetReference()Pre-debit notification reference sent by the merchant.StringgetShopperReference()The ID that uniquely identifies the shopper.StringgetStoredPaymentMethodId()This is the `recurringDetailReference` returned in the response when you created the token.inthashCode()NotifyShopperRequestmerchantAccount(String merchantAccount)NotifyShopperRequestrecurringDetailReference(String recurringDetailReference)NotifyShopperRequestreference(String reference)voidsetAmount(Amount amount)voidsetBillingDate(String billingDate)voidsetBillingSequenceNumber(String billingSequenceNumber)voidsetDisplayedReference(String displayedReference)voidsetMerchantAccount(String merchantAccount)voidsetRecurringDetailReference(String recurringDetailReference)voidsetReference(String reference)voidsetShopperReference(String shopperReference)voidsetStoredPaymentMethodId(String storedPaymentMethodId)NotifyShopperRequestshopperReference(String shopperReference)NotifyShopperRequeststoredPaymentMethodId(String storedPaymentMethodId)StringtoString()
-
-
-
Method Detail
-
amount
public NotifyShopperRequest amount(Amount amount)
-
getAmount
public Amount getAmount()
Get amount- Returns:
- amount
-
setAmount
public void setAmount(Amount amount)
-
billingDate
public NotifyShopperRequest billingDate(String billingDate)
-
getBillingDate
public String getBillingDate()
Date on which the subscription amount will be debited from the shopper. In YYYY-MM-DD format- Returns:
- billingDate
-
setBillingDate
public void setBillingDate(String billingDate)
-
billingSequenceNumber
public NotifyShopperRequest billingSequenceNumber(String billingSequenceNumber)
-
getBillingSequenceNumber
public String getBillingSequenceNumber()
Sequence of the debit. Depends on Frequency and Billing Attempts Rule.- Returns:
- billingSequenceNumber
-
setBillingSequenceNumber
public void setBillingSequenceNumber(String billingSequenceNumber)
-
displayedReference
public NotifyShopperRequest displayedReference(String displayedReference)
-
getDisplayedReference
public String getDisplayedReference()
Reference of Pre-debit notification that is displayed to the shopper. Optional field. Maps to reference if missing- Returns:
- displayedReference
-
setDisplayedReference
public void setDisplayedReference(String displayedReference)
-
merchantAccount
public NotifyShopperRequest 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)
-
recurringDetailReference
public NotifyShopperRequest recurringDetailReference(String recurringDetailReference)
-
getRecurringDetailReference
public String getRecurringDetailReference()
This is the `recurringDetailReference` returned in the response when you created the token.- Returns:
- recurringDetailReference
-
setRecurringDetailReference
public void setRecurringDetailReference(String recurringDetailReference)
-
reference
public NotifyShopperRequest reference(String reference)
-
getReference
public String getReference()
Pre-debit notification reference sent by the merchant. This is a mandatory field- Returns:
- reference
-
setReference
public void setReference(String reference)
-
shopperReference
public NotifyShopperRequest shopperReference(String shopperReference)
-
getShopperReference
public String getShopperReference()
The ID that uniquely identifies the shopper. This `shopperReference` must be the same as the `shopperReference` used in the initial payment.- Returns:
- shopperReference
-
setShopperReference
public void setShopperReference(String shopperReference)
-
storedPaymentMethodId
public NotifyShopperRequest storedPaymentMethodId(String storedPaymentMethodId)
-
getStoredPaymentMethodId
public String getStoredPaymentMethodId()
This is the `recurringDetailReference` returned in the response when you created the token.- Returns:
- storedPaymentMethodId
-
setStoredPaymentMethodId
public void setStoredPaymentMethodId(String storedPaymentMethodId)
-
-