Package com.adyen.model.checkout
Class AdditionalDataWallets
- java.lang.Object
-
- com.adyen.model.checkout.AdditionalDataWallets
-
public class AdditionalDataWallets extends Object
AdditionalDataWallets
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ANDROIDPAY_TOKENstatic StringJSON_PROPERTY_MASTERPASS_TRANSACTION_IDstatic StringJSON_PROPERTY_PAYMENT_TOKENstatic StringJSON_PROPERTY_PAYWITHGOOGLE_TOKENstatic StringJSON_PROPERTY_SAMSUNGPAY_TOKENstatic StringJSON_PROPERTY_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)Return true if this AdditionalDataWallets object is equal to 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)The Android Pay token retrieved from the SDK.voidsetMasterpassTransactionId(String masterpassTransactionId)The Mastercard Masterpass Transaction ID retrieved from the SDK.voidsetPaymentToken(String paymentToken)The Apple Pay token retrieved from the SDK.voidsetPaywithgoogleToken(String paywithgoogleToken)The Google Pay token retrieved from the SDK.voidsetSamsungpayToken(String samsungpayToken)The Samsung Pay token retrieved from the SDK.voidsetVisacheckoutCallId(String visacheckoutCallId)The Visa Checkout Call ID retrieved from the SDK.StringtoJson()Convert an instance of AdditionalDataWallets to an JSON stringStringtoString()AdditionalDataWalletsvisacheckoutCallId(String visacheckoutCallId)
-
-
-
Field Detail
-
JSON_PROPERTY_ANDROIDPAY_TOKEN
public static final String JSON_PROPERTY_ANDROIDPAY_TOKEN
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MASTERPASS_TRANSACTION_ID
public static final String JSON_PROPERTY_MASTERPASS_TRANSACTION_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAYMENT_TOKEN
public static final String JSON_PROPERTY_PAYMENT_TOKEN
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAYWITHGOOGLE_TOKEN
public static final String JSON_PROPERTY_PAYWITHGOOGLE_TOKEN
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SAMSUNGPAY_TOKEN
public static final String JSON_PROPERTY_SAMSUNGPAY_TOKEN
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VISACHECKOUT_CALL_ID
public static final String JSON_PROPERTY_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)
The Android Pay token retrieved from the SDK.- Parameters:
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)
The Mastercard Masterpass Transaction ID retrieved from the SDK.- Parameters:
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)
The Apple Pay token retrieved from the SDK.- Parameters:
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)
The Google Pay token retrieved from the SDK.- Parameters:
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)
The Samsung Pay token retrieved from the SDK.- Parameters:
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)
The Visa Checkout Call ID retrieved from the SDK.- Parameters:
visacheckoutCallId-
-
equals
public boolean equals(Object o)
Return true if this AdditionalDataWallets object is equal to o.
-
fromJson
public static AdditionalDataWallets fromJson(String jsonString) throws com.fasterxml.jackson.core.JsonProcessingException
Create an instance of AdditionalDataWallets given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of AdditionalDataWallets
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if the JSON string is invalid with respect to AdditionalDataWallets
-
toJson
public String toJson() throws com.fasterxml.jackson.core.JsonProcessingException
Convert an instance of AdditionalDataWallets to an JSON string- Returns:
- JSON string
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-