-
- All Implemented Interfaces:
-
android.os.Parcelable,com.oppwa.mobile.connect.payment.BrandConfig
public class AmazonPayConfig implements Parcelable, BrandConfig
Represents AmazonPay merchant configuration.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumAmazonPayConfig.AmazonPayRegionEnum representing the checkout languages for Amazon Pay. Each enum constant corresponds to a specific language code.
-
Field Summary
Fields Modifier and Type Field Description private final AmazonPayConfig.AmazonPayRegionregionpublic final static Parcelable.Creator<AmazonPayConfig>CREATOR
-
Constructor Summary
Constructors Constructor Description AmazonPayConfig(AmazonPayConfig.AmazonPayRegion region)Constructs an AmazonPayConfig with the specified checkout language region.
-
Method Summary
Modifier and Type Method Description AmazonPayConfig.AmazonPayRegiongetRegion()Returns the checkout language region associated with this AmazonPayConfig. StringgetPaymentBrand()Returns the payment brand associated with Amazon Pay. intdescribeContents()voidwriteToParcel(@NonNull() Parcel parcel, int flags)booleanequals(Object o)inthashCode()-
-
Constructor Detail
-
AmazonPayConfig
AmazonPayConfig(AmazonPayConfig.AmazonPayRegion region)
Constructs an AmazonPayConfig with the specified checkout language region.- Parameters:
region- The checkout language region for Amazon Pay.
-
-
Method Detail
-
getRegion
@NonNull() AmazonPayConfig.AmazonPayRegion getRegion()
Returns the checkout language region associated with this AmazonPayConfig.
-
getPaymentBrand
@NonNull() String getPaymentBrand()
Returns the payment brand associated with Amazon Pay.
-
describeContents
int describeContents()
-
writeToParcel
void writeToParcel(@NonNull() Parcel parcel, int flags)
-
hashCode
int hashCode()
-
-
-
-