Package com.adyen.model.payment
Class AdditionalDataWallets
- java.lang.Object
-
- com.adyen.model.payment.AdditionalDataWallets
-
public class AdditionalDataWallets extends Object
AdditionalDataWallets
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAdditionalDataWallets.CustomTypeAdapterFactory
-
Field Summary
Fields Modifier and Type Field Description static HashSet<String>openapiFieldsstatic HashSet<String>openapiRequiredFieldsstatic StringSERIALIZED_NAME_ANDROIDPAY_TOKENstatic StringSERIALIZED_NAME_MASTERPASS_TRANSACTION_IDstatic StringSERIALIZED_NAME_PAYMENT_TOKENstatic StringSERIALIZED_NAME_PAYWITHGOOGLE_TOKENstatic StringSERIALIZED_NAME_SAMSUNGPAY_TOKENstatic StringSERIALIZED_NAME_VISACHECKOUT_CALL_ID
-
Constructor Summary
Constructors Constructor Description AdditionalDataWallets()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AdditionalDataWalletsandroidpayToken(String androidpayToken)booleanequals(Object o)static AdditionalDataWalletsfromJson(String jsonString)Create an instance of AdditionalDataWallets given an JSON stringStringgetAndroidpayToken()The Android Pay token retrieved from the SDK.StringgetMasterpassTransactionId()The Mastercard Masterpass Transaction ID retrieved from the SDK.StringgetPaymentToken()The Apple Pay token retrieved from the SDK.StringgetPaywithgoogleToken()The Google Pay token retrieved from the SDK.StringgetSamsungpayToken()The Samsung Pay token retrieved from the SDK.StringgetVisacheckoutCallId()The Visa Checkout Call ID retrieved from the SDK.inthashCode()AdditionalDataWalletsmasterpassTransactionId(String masterpassTransactionId)AdditionalDataWalletspaymentToken(String paymentToken)AdditionalDataWalletspaywithgoogleToken(String paywithgoogleToken)AdditionalDataWalletssamsungpayToken(String samsungpayToken)voidsetAndroidpayToken(String androidpayToken)voidsetMasterpassTransactionId(String masterpassTransactionId)voidsetPaymentToken(String paymentToken)voidsetPaywithgoogleToken(String paywithgoogleToken)voidsetSamsungpayToken(String samsungpayToken)voidsetVisacheckoutCallId(String visacheckoutCallId)StringtoJson()Convert an instance of AdditionalDataWallets to an JSON stringStringtoString()static voidvalidateJsonObject(com.google.gson.JsonObject jsonObj)Validates the JSON Object and throws an exception if issues foundAdditionalDataWalletsvisacheckoutCallId(String visacheckoutCallId)
-
-
-
Field Detail
-
SERIALIZED_NAME_ANDROIDPAY_TOKEN
public static final String SERIALIZED_NAME_ANDROIDPAY_TOKEN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_MASTERPASS_TRANSACTION_ID
public static final String SERIALIZED_NAME_MASTERPASS_TRANSACTION_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PAYMENT_TOKEN
public static final String SERIALIZED_NAME_PAYMENT_TOKEN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PAYWITHGOOGLE_TOKEN
public static final String SERIALIZED_NAME_PAYWITHGOOGLE_TOKEN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SAMSUNGPAY_TOKEN
public static final String SERIALIZED_NAME_SAMSUNGPAY_TOKEN
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VISACHECKOUT_CALL_ID
public static final String SERIALIZED_NAME_VISACHECKOUT_CALL_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
androidpayToken
public AdditionalDataWallets androidpayToken(String androidpayToken)
-
getAndroidpayToken
public String getAndroidpayToken()
The Android Pay token retrieved from the SDK.- Returns:
- androidpayToken
-
setAndroidpayToken
public void setAndroidpayToken(String androidpayToken)
-
masterpassTransactionId
public AdditionalDataWallets masterpassTransactionId(String masterpassTransactionId)
-
getMasterpassTransactionId
public String getMasterpassTransactionId()
The Mastercard Masterpass Transaction ID retrieved from the SDK.- Returns:
- masterpassTransactionId
-
setMasterpassTransactionId
public void setMasterpassTransactionId(String masterpassTransactionId)
-
paymentToken
public AdditionalDataWallets paymentToken(String paymentToken)
-
getPaymentToken
public String getPaymentToken()
The Apple Pay token retrieved from the SDK.- Returns:
- paymentToken
-
setPaymentToken
public void setPaymentToken(String paymentToken)
-
paywithgoogleToken
public AdditionalDataWallets paywithgoogleToken(String paywithgoogleToken)
-
getPaywithgoogleToken
public String getPaywithgoogleToken()
The Google Pay token retrieved from the SDK.- Returns:
- paywithgoogleToken
-
setPaywithgoogleToken
public void setPaywithgoogleToken(String paywithgoogleToken)
-
samsungpayToken
public AdditionalDataWallets samsungpayToken(String samsungpayToken)
-
getSamsungpayToken
public String getSamsungpayToken()
The Samsung Pay token retrieved from the SDK.- Returns:
- samsungpayToken
-
setSamsungpayToken
public void setSamsungpayToken(String samsungpayToken)
-
visacheckoutCallId
public AdditionalDataWallets visacheckoutCallId(String visacheckoutCallId)
-
getVisacheckoutCallId
public String getVisacheckoutCallId()
The Visa Checkout Call ID retrieved from the SDK.- Returns:
- visacheckoutCallId
-
setVisacheckoutCallId
public void setVisacheckoutCallId(String visacheckoutCallId)
-
validateJsonObject
public static void validateJsonObject(com.google.gson.JsonObject jsonObj) throws IOExceptionValidates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object is invalid with respect to AdditionalDataWallets
-
fromJson
public static AdditionalDataWallets fromJson(String jsonString) throws IOException
Create an instance of AdditionalDataWallets given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AdditionalDataWallets
- Throws:
IOException- if the JSON string is invalid with respect to AdditionalDataWallets
-
toJson
public String toJson()
Convert an instance of AdditionalDataWallets to an JSON string- Returns:
- JSON string
-
-