Package com.adyen.model.checkout.details
Class SamsungPayDetails
- java.lang.Object
-
- com.adyen.model.checkout.details.SamsungPayDetails
-
- All Implemented Interfaces:
PaymentMethodDetails
public class SamsungPayDetails extends Object implements PaymentMethodDetails
SamsungPayDetails
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSamsungPayDetails.FundingSourceEnumThe funding source that should be used when multiple sources are available.
-
Field Summary
Fields Modifier and Type Field Description static StringSAMSUNGPAY**samsungpay**
-
Constructor Summary
Constructors Constructor Description SamsungPayDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)SamsungPayDetailsfundingSource(SamsungPayDetails.FundingSourceEnum fundingSource)SamsungPayDetails.FundingSourceEnumgetFundingSource()The funding source that should be used when multiple sources are available.StringgetRecurringDetailReference()This is the `recurringDetailReference` returned in the response when you created the token.StringgetSamsungPayToken()The payload you received from the Samsung Pay SDK response.StringgetStoredPaymentMethodId()This is the `recurringDetailReference` returned in the response when you created the token.StringgetType()**samsungpay**inthashCode()SamsungPayDetailsrecurringDetailReference(String recurringDetailReference)SamsungPayDetailssamsungPayToken(String samsungPayToken)voidsetFundingSource(SamsungPayDetails.FundingSourceEnum fundingSource)voidsetRecurringDetailReference(String recurringDetailReference)voidsetSamsungPayToken(String samsungPayToken)voidsetStoredPaymentMethodId(String storedPaymentMethodId)voidsetType(String type)SamsungPayDetailsstoredPaymentMethodId(String storedPaymentMethodId)StringtoString()SamsungPayDetailstype(String type)
-
-
-
Field Detail
-
SAMSUNGPAY
public static final String SAMSUNGPAY
**samsungpay**- See Also:
- Constant Field Values
-
-
Method Detail
-
fundingSource
public SamsungPayDetails fundingSource(SamsungPayDetails.FundingSourceEnum fundingSource)
-
getFundingSource
public SamsungPayDetails.FundingSourceEnum getFundingSource()
The funding source that should be used when multiple sources are available. For Brazilian combo cards, by default the funding source is credit. To use debit, set this value to **debit**.- Returns:
- fundingSource
-
setFundingSource
public void setFundingSource(SamsungPayDetails.FundingSourceEnum fundingSource)
-
recurringDetailReference
public SamsungPayDetails recurringDetailReference(String recurringDetailReference)
-
getRecurringDetailReference
public String getRecurringDetailReference()
This is the `recurringDetailReference` returned in the response when you created the token.- Returns:
- recurringDetailReference
-
setRecurringDetailReference
public void setRecurringDetailReference(String recurringDetailReference)
-
samsungPayToken
public SamsungPayDetails samsungPayToken(String samsungPayToken)
-
getSamsungPayToken
public String getSamsungPayToken()
The payload you received from the Samsung Pay SDK response.- Returns:
- samsungPayToken
-
setSamsungPayToken
public void setSamsungPayToken(String samsungPayToken)
-
storedPaymentMethodId
public SamsungPayDetails 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)
-
type
public SamsungPayDetails type(String type)
-
getType
public String getType()
**samsungpay**- Specified by:
getTypein interfacePaymentMethodDetails- Returns:
- type
-
setType
public void setType(String type)
- Specified by:
setTypein interfacePaymentMethodDetails
-
-