-
- 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 enum
AmazonPayConfig.AmazonPayRegion
Enum 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.AmazonPayRegion
region
public 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.AmazonPayRegion
getRegion()
Returns the checkout language region associated with this AmazonPayConfig. String
getPaymentBrand()
Returns the payment brand associated with Amazon Pay. int
describeContents()
void
writeToParcel(@NonNull() Parcel parcel, int flags)
boolean
equals(Object o)
int
hashCode()
-
-
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()
-
-
-
-