Package com.adyen.model.checkout.details
Class UpiDetails
- java.lang.Object
-
- com.adyen.model.checkout.details.UpiDetails
-
- All Implemented Interfaces:
PaymentMethodDetails
public class UpiDetails extends Object implements PaymentMethodDetails
UpiDetails
-
-
Constructor Summary
Constructors Constructor Description UpiDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)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.SubscriptionDetailsgetSubscriptionDetails()Get subscriptionDetailsStringgetType()**upi**StringgetVirtualPaymentAddress()The virtual payment address for UPI.inthashCode()voidsetShopperNotificationReference(String shopperNotificationReference)voidsetStoredPaymentMethodId(String storedPaymentMethodId)voidsetSubscriptionDetails(SubscriptionDetails subscriptionDetails)voidsetType(String type)voidsetVirtualPaymentAddress(String virtualPaymentAddress)UpiDetailsshopperNotificationReference(String shopperNotificationReference)UpiDetailsstoredPaymentMethodId(String storedPaymentMethodId)UpiDetailssubscriptionDetails(SubscriptionDetails subscriptionDetails)StringtoString()UpiDetailstype(String type)UpiDetailsvirtualPaymentAddress(String virtualPaymentAddress)
-
-
-
Field Detail
-
UPI
public static final String UPI
Possible types- See Also:
- Constant Field Values
-
-
Method Detail
-
shopperNotificationReference
public UpiDetails shopperNotificationReference(String shopperNotificationReference)
-
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)
-
storedPaymentMethodId
public UpiDetails 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)
-
subscriptionDetails
public UpiDetails subscriptionDetails(SubscriptionDetails subscriptionDetails)
-
getSubscriptionDetails
public SubscriptionDetails getSubscriptionDetails()
Get subscriptionDetails- Returns:
- subscriptionDetails
-
setSubscriptionDetails
public void setSubscriptionDetails(SubscriptionDetails subscriptionDetails)
-
type
public UpiDetails type(String type)
-
getType
public String getType()
**upi**- Specified by:
getTypein interfacePaymentMethodDetails- Returns:
- type
-
setType
public void setType(String type)
- Specified by:
setTypein interfacePaymentMethodDetails
-
virtualPaymentAddress
public UpiDetails virtualPaymentAddress(String virtualPaymentAddress)
-
getVirtualPaymentAddress
public String getVirtualPaymentAddress()
The virtual payment address for UPI.- Returns:
- virtualPaymentAddress
-
setVirtualPaymentAddress
public void setVirtualPaymentAddress(String virtualPaymentAddress)
-
-