Package com.adyen.model.checkout.details
Class GooglePayDetails
- java.lang.Object
-
- com.adyen.model.checkout.details.GooglePayDetails
-
- All Implemented Interfaces:
PaymentMethodDetails
public class GooglePayDetails extends Object implements PaymentMethodDetails
GooglePayDetails
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGooglePayDetails.FundingSourceEnumGets or Sets fundingSource
-
Constructor Summary
Constructors Constructor Description GooglePayDetails()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)GooglePayDetailsfundingSource(GooglePayDetails.FundingSourceEnum fundingSource)GooglePayDetails.FundingSourceEnumgetFundingSource()Get fundingSourceStringgetGooglePayToken()Get googlePayTokenStringgetRecurringDetailReference()This is the `recurringDetailReference` returned in the response when you created the token.StringgetType()**paywithgoogle**GooglePayDetailsgooglePayToken(String googlePayToken)inthashCode()GooglePayDetailsrecurringDetailReference(String recurringDetailReference)voidsetFundingSource(GooglePayDetails.FundingSourceEnum fundingSource)voidsetGooglePayToken(String googlePayToken)voidsetRecurringDetailReference(String recurringDetailReference)voidsetType(String type)StringtoString()GooglePayDetailstype(String type)
-
-
-
Field Detail
-
GOOGLEPAY
public static final String GOOGLEPAY
Possible types- See Also:
- Constant Field Values
-
-
Method Detail
-
fundingSource
public GooglePayDetails fundingSource(GooglePayDetails.FundingSourceEnum fundingSource)
-
getFundingSource
public GooglePayDetails.FundingSourceEnum getFundingSource()
Get fundingSource- Returns:
- fundingSource
-
setFundingSource
public void setFundingSource(GooglePayDetails.FundingSourceEnum fundingSource)
-
googlePayToken
public GooglePayDetails googlePayToken(String googlePayToken)
-
getGooglePayToken
public String getGooglePayToken()
Get googlePayToken- Returns:
- googlePayToken
-
setGooglePayToken
public void setGooglePayToken(String googlePayToken)
-
recurringDetailReference
public GooglePayDetails 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)
-
type
public GooglePayDetails type(String type)
-
getType
public String getType()
**paywithgoogle**- Specified by:
getTypein interfacePaymentMethodDetails- Returns:
- type
-
setType
public void setType(String type)
- Specified by:
setTypein interfacePaymentMethodDetails
-
-