Package com.adyen.model.checkout
Class UpiIntentDetails
- java.lang.Object
-
- com.adyen.model.checkout.UpiIntentDetails
-
public class UpiIntentDetails extends Object
UpiIntentDetails
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classUpiIntentDetails.TypeEnum**upi_intent**
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_APP_IDstatic StringJSON_PROPERTY_CHECKOUT_ATTEMPT_IDstatic StringJSON_PROPERTY_RECURRING_DETAIL_REFERENCEstatic StringJSON_PROPERTY_SHOPPER_NOTIFICATION_REFERENCEstatic StringJSON_PROPERTY_STORED_PAYMENT_METHOD_IDstatic StringJSON_PROPERTY_TYPE
-
Constructor Summary
Constructors Constructor Description UpiIntentDetails()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description UpiIntentDetailsappId(String appId)UpiIntentDetailscheckoutAttemptId(String checkoutAttemptId)booleanequals(Object o)Return true if this UpiIntentDetails object is equal to o.static UpiIntentDetailsfromJson(String jsonString)Create an instance of UpiIntentDetails given an JSON stringStringgetAppId()TPAP (Third Party Application) Id that is being used to make the UPI paymentStringgetCheckoutAttemptId()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.UpiIntentDetails.TypeEnumgetType()**upi_intent**inthashCode()UpiIntentDetailsrecurringDetailReference(String recurringDetailReference)Deprecated.voidsetAppId(String appId)TPAP (Third Party Application) Id that is being used to make the UPI paymentvoidsetCheckoutAttemptId(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(UpiIntentDetails.TypeEnum type)**upi_intent**UpiIntentDetailsshopperNotificationReference(String shopperNotificationReference)UpiIntentDetailsstoredPaymentMethodId(String storedPaymentMethodId)StringtoJson()Convert an instance of UpiIntentDetails to an JSON stringStringtoString()UpiIntentDetailstype(UpiIntentDetails.TypeEnum type)
-
-
-
Field Detail
-
JSON_PROPERTY_APP_ID
public static final String JSON_PROPERTY_APP_ID
- See Also:
- Constant Field Values
-
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
-
-
Method Detail
-
appId
public UpiIntentDetails appId(String appId)
-
getAppId
public String getAppId()
TPAP (Third Party Application) Id that is being used to make the UPI payment- Returns:
- appId
-
setAppId
public void setAppId(String appId)
TPAP (Third Party Application) Id that is being used to make the UPI payment- Parameters:
appId-
-
checkoutAttemptId
public UpiIntentDetails 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 UpiIntentDetails 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 UpiIntentDetails 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 UpiIntentDetails 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 UpiIntentDetails type(UpiIntentDetails.TypeEnum type)
-
getType
public UpiIntentDetails.TypeEnum getType()
**upi_intent**- Returns:
- type
-
setType
public void setType(UpiIntentDetails.TypeEnum type)
**upi_intent**- Parameters:
type-
-
equals
public boolean equals(Object o)
Return true if this UpiIntentDetails object is equal to o.
-
fromJson
public static UpiIntentDetails fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of UpiIntentDetails given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UpiIntentDetails
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to UpiIntentDetails
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of UpiIntentDetails to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-