Package com.adyen.model.checkout.details
Class PayWithGoogleDetails
- java.lang.Object
-
- com.adyen.model.checkout.details.PayWithGoogleDetails
-
- All Implemented Interfaces:
PaymentMethodDetails
public class PayWithGoogleDetails extends Object implements PaymentMethodDetails
PayWithGoogleDetails
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPayWithGoogleDetails.FundingSourceEnumThe funding source that should be used when multiple sources are available.
-
Field Summary
Fields Modifier and Type Field Description static StringPAYWITHGOOGLEPossible types
-
Constructor Summary
Constructors Constructor Description PayWithGoogleDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)PayWithGoogleDetailsfundingSource(PayWithGoogleDetails.FundingSourceEnum fundingSource)PayWithGoogleDetails.FundingSourceEnumgetFundingSource()The funding source that should be used when multiple sources are available.StringgetGooglePayToken()The `token` that you obtained from the [Google Pay API](https://developers.google.com/pay/api/web/reference/response-objects#PaymentData) `PaymentData` response.StringgetRecurringDetailReference()This is the `recurringDetailReference` returned in the response when you created the token.StringgetStoredPaymentMethodId()This is the `recurringDetailReference` returned in the response when you created the token.StringgetType()**paywithgoogle**PayWithGoogleDetailsgooglePayToken(String googlePayToken)inthashCode()PayWithGoogleDetailsrecurringDetailReference(String recurringDetailReference)voidsetFundingSource(PayWithGoogleDetails.FundingSourceEnum fundingSource)voidsetGooglePayToken(String googlePayToken)voidsetRecurringDetailReference(String recurringDetailReference)voidsetStoredPaymentMethodId(String storedPaymentMethodId)voidsetType(String type)PayWithGoogleDetailsstoredPaymentMethodId(String storedPaymentMethodId)StringtoString()PayWithGoogleDetailstype(String type)
-
-
-
Field Detail
-
PAYWITHGOOGLE
public static final String PAYWITHGOOGLE
Possible types- See Also:
- Constant Field Values
-
-
Method Detail
-
fundingSource
public PayWithGoogleDetails fundingSource(PayWithGoogleDetails.FundingSourceEnum fundingSource)
-
getFundingSource
public PayWithGoogleDetails.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(PayWithGoogleDetails.FundingSourceEnum fundingSource)
-
googlePayToken
public PayWithGoogleDetails googlePayToken(String googlePayToken)
-
getGooglePayToken
public String getGooglePayToken()
The `token` that you obtained from the [Google Pay API](https://developers.google.com/pay/api/web/reference/response-objects#PaymentData) `PaymentData` response.- Returns:
- googlePayToken
-
setGooglePayToken
public void setGooglePayToken(String googlePayToken)
-
recurringDetailReference
public PayWithGoogleDetails 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)
-
storedPaymentMethodId
public PayWithGoogleDetails 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 PayWithGoogleDetails type(String type)
-
getType
public String getType()
**paywithgoogle**- Specified by:
getTypein interfacePaymentMethodDetails- Returns:
- type
-
setType
public void setType(String type)
- Specified by:
setTypein interfacePaymentMethodDetails
-
-