public class GooglePayConfig
extends java.lang.Object
implements android.os.Parcelable
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<GooglePayConfig> |
CREATOR |
Modifier | Constructor and Description |
---|---|
|
GooglePayConfig(java.util.List<PaymentMethodType> supportedNetworks,
java.lang.String merchantName)
Creates a new GooglePayConfig object.
|
protected |
GooglePayConfig(android.os.Parcel in) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
java.lang.String |
getMerchantName()
Gets the name that may be displayed on Google Pay sheet.
|
java.util.List<PaymentMethodType> |
getSupportedNetworks()
Gets the supported card networks.
|
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<GooglePayConfig> CREATOR
public GooglePayConfig(@NonNull java.util.List<PaymentMethodType> supportedNetworks, @NonNull java.lang.String merchantName)
supportedNetworks
- Supported card networksmerchantName
- Name that may be displayed on Google Pay sheetprotected GooglePayConfig(android.os.Parcel in)
public int describeContents()
describeContents
in interface android.os.Parcelable
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable
@NonNull public java.util.List<PaymentMethodType> getSupportedNetworks()
@NonNull public java.lang.String getMerchantName()