Package com.adyen.model.checkout
Class PayUUpiDetails
- java.lang.Object
-
- com.adyen.model.checkout.PayUUpiDetails
-
public class PayUUpiDetails extends Object
PayUUpiDetails
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPayUUpiDetails.TypeEnum**payu_IN_upi**
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CHECKOUT_ATTEMPT_IDstatic StringJSON_PROPERTY_RECURRING_DETAIL_REFERENCEstatic StringJSON_PROPERTY_SHOPPER_NOTIFICATION_REFERENCEstatic StringJSON_PROPERTY_STORED_PAYMENT_METHOD_IDstatic StringJSON_PROPERTY_TYPEstatic StringJSON_PROPERTY_VIRTUAL_PAYMENT_ADDRESS
-
Constructor Summary
Constructors Constructor Description PayUUpiDetails()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description PayUUpiDetailscheckoutAttemptId(String checkoutAttemptId)booleanequals(Object o)Return true if this PayUUpiDetails object is equal to o.static PayUUpiDetailsfromJson(String jsonString)Create an instance of PayUUpiDetails given an JSON stringStringgetCheckoutAttemptId()The checkout attempt identifier.StringgetRecurringDetailReference()Deprecated.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.PayUUpiDetails.TypeEnumgetType()**payu_IN_upi**StringgetVirtualPaymentAddress()The virtual payment address for UPI.inthashCode()PayUUpiDetailsrecurringDetailReference(String recurringDetailReference)Deprecated.voidsetCheckoutAttemptId(String checkoutAttemptId)The checkout attempt identifier.voidsetRecurringDetailReference(String recurringDetailReference)Deprecated.voidsetShopperNotificationReference(String shopperNotificationReference)The `shopperNotificationReference` returned in the response when you requested to notify the shopper.voidsetStoredPaymentMethodId(String storedPaymentMethodId)This is the `recurringDetailReference` returned in the response when you created the token.voidsetType(PayUUpiDetails.TypeEnum type)**payu_IN_upi**voidsetVirtualPaymentAddress(String virtualPaymentAddress)The virtual payment address for UPI.PayUUpiDetailsshopperNotificationReference(String shopperNotificationReference)PayUUpiDetailsstoredPaymentMethodId(String storedPaymentMethodId)StringtoJson()Convert an instance of PayUUpiDetails to an JSON stringStringtoString()PayUUpiDetailstype(PayUUpiDetails.TypeEnum type)PayUUpiDetailsvirtualPaymentAddress(String virtualPaymentAddress)
-
-
-
Field Detail
-
JSON_PROPERTY_CHECKOUT_ATTEMPT_ID
public static final String JSON_PROPERTY_CHECKOUT_ATTEMPT_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RECURRING_DETAIL_REFERENCE
public static final String JSON_PROPERTY_RECURRING_DETAIL_REFERENCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SHOPPER_NOTIFICATION_REFERENCE
public static final String JSON_PROPERTY_SHOPPER_NOTIFICATION_REFERENCE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STORED_PAYMENT_METHOD_ID
public static final String JSON_PROPERTY_STORED_PAYMENT_METHOD_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VIRTUAL_PAYMENT_ADDRESS
public static final String JSON_PROPERTY_VIRTUAL_PAYMENT_ADDRESS
- See Also:
- Constant Field Values
-
-
Method Detail
-
checkoutAttemptId
public PayUUpiDetails checkoutAttemptId(String checkoutAttemptId)
-
getCheckoutAttemptId
public String getCheckoutAttemptId()
The checkout attempt identifier.- Returns:
- checkoutAttemptId
-
setCheckoutAttemptId
public void setCheckoutAttemptId(String checkoutAttemptId)
The checkout attempt identifier.- Parameters:
checkoutAttemptId-
-
recurringDetailReference
@Deprecated public PayUUpiDetails recurringDetailReference(String recurringDetailReference)
Deprecated.
-
getRecurringDetailReference
@Deprecated public String getRecurringDetailReference()
Deprecated.This is the `recurringDetailReference` returned in the response when you created the token.- Returns:
- recurringDetailReference
-
setRecurringDetailReference
@Deprecated public void setRecurringDetailReference(String recurringDetailReference)
Deprecated.This is the `recurringDetailReference` returned in the response when you created the token.- Parameters:
recurringDetailReference-
-
shopperNotificationReference
public PayUUpiDetails 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)
The `shopperNotificationReference` returned in the response when you requested to notify the shopper. Used for recurring payment only.- Parameters:
shopperNotificationReference-
-
storedPaymentMethodId
public PayUUpiDetails 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)
This is the `recurringDetailReference` returned in the response when you created the token.- Parameters:
storedPaymentMethodId-
-
type
public PayUUpiDetails type(PayUUpiDetails.TypeEnum type)
-
getType
public PayUUpiDetails.TypeEnum getType()
**payu_IN_upi**- Returns:
- type
-
setType
public void setType(PayUUpiDetails.TypeEnum type)
**payu_IN_upi**- Parameters:
type-
-
virtualPaymentAddress
public PayUUpiDetails virtualPaymentAddress(String virtualPaymentAddress)
-
getVirtualPaymentAddress
public String getVirtualPaymentAddress()
The virtual payment address for UPI.- Returns:
- virtualPaymentAddress
-
setVirtualPaymentAddress
public void setVirtualPaymentAddress(String virtualPaymentAddress)
The virtual payment address for UPI.- Parameters:
virtualPaymentAddress-
-
equals
public boolean equals(Object o)
Return true if this PayUUpiDetails object is equal to o.
-
fromJson
public static PayUUpiDetails fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of PayUUpiDetails given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of PayUUpiDetails
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to PayUUpiDetails
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of PayUUpiDetails to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-