Package com.adyen.model.checkout.details
Class UpiCollectDetails
- java.lang.Object
-
- com.adyen.model.checkout.details.UpiCollectDetails
-
- All Implemented Interfaces:
PaymentMethodDetails
public class UpiCollectDetails extends Object implements PaymentMethodDetails
UpiCollectDetails
-
-
Field Summary
Fields Modifier and Type Field Description static StringUPI_COLLECT
-
Constructor Summary
Constructors Constructor Description UpiCollectDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UpiCollectDetailsbillingSequenceNumber(String billingSequenceNumber)booleanequals(Object o)StringgetBillingSequenceNumber()The sequence number for the debit.StringgetRecurringDetailReference()This is the `recurringDetailReference` returned in the response when you created the token.StringgetShopperNotificationReference()The `shopperNotificationReference` returned in the response when you requested to notify the shopper.StringgetStoredPaymentMethodId()This is the `recurringDetailReference` returned in the response when you created the token.StringgetType()**upi_collect**StringgetVirtualPaymentAddress()The virtual payment address for UPI.inthashCode()UpiCollectDetailsrecurringDetailReference(String recurringDetailReference)voidsetBillingSequenceNumber(String billingSequenceNumber)voidsetRecurringDetailReference(String recurringDetailReference)voidsetShopperNotificationReference(String shopperNotificationReference)voidsetStoredPaymentMethodId(String storedPaymentMethodId)voidsetType(String type)voidsetVirtualPaymentAddress(String virtualPaymentAddress)UpiCollectDetailsshopperNotificationReference(String shopperNotificationReference)UpiCollectDetailsstoredPaymentMethodId(String storedPaymentMethodId)StringtoString()UpiCollectDetailstype(String type)UpiCollectDetailsvirtualPaymentAddress(String virtualPaymentAddress)
-
-
-
Field Detail
-
UPI_COLLECT
public static final String UPI_COLLECT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
public String getType()
**upi_collect**- Specified by:
getTypein interfacePaymentMethodDetails- Returns:
- type
-
setType
public void setType(String type)
- Specified by:
setTypein interfacePaymentMethodDetails
-
type
public UpiCollectDetails type(String type)
-
getBillingSequenceNumber
public String getBillingSequenceNumber()
The sequence number for the debit. For example, send **2** if this is the second debit for the subscription. The sequence number is included in the notification sent to the shopper.- Returns:
- billingSequenceNumber
-
setBillingSequenceNumber
public void setBillingSequenceNumber(String billingSequenceNumber)
-
billingSequenceNumber
public UpiCollectDetails billingSequenceNumber(String billingSequenceNumber)
-
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)
-
recurringDetailReference
public UpiCollectDetails recurringDetailReference(String recurringDetailReference)
-
getShopperNotificationReference
public String getShopperNotificationReference()
The `shopperNotificationReference` returned in the response when you requested to notify the shopper. Used for recurring payment only.- Returns:
- shopperNotificationReference
-
setShopperNotificationReference
public void setShopperNotificationReference(String shopperNotificationReference)
-
shopperNotificationReference
public UpiCollectDetails shopperNotificationReference(String shopperNotificationReference)
-
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)
-
storedPaymentMethodId
public UpiCollectDetails storedPaymentMethodId(String storedPaymentMethodId)
-
getVirtualPaymentAddress
public String getVirtualPaymentAddress()
The virtual payment address for UPI.- Returns:
- virtualPaymentAddress
-
setVirtualPaymentAddress
public void setVirtualPaymentAddress(String virtualPaymentAddress)
-
virtualPaymentAddress
public UpiCollectDetails virtualPaymentAddress(String virtualPaymentAddress)
-
-