-
- All Implemented Interfaces:
-
android.os.Parcelable,com.oppwa.mobile.connect.payment.BrandConfig
public class AfterpayPacificConfig implements Parcelable, BrandConfig
Contains the configuration for AFTERPAY_PACIFIC payment method.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringminimumAmountprivate final StringmaximumAmountprivate final Localelocaleprivate final LocaleconsumerLocalepublic final static Parcelable.Creator<AfterpayPacificConfig>CREATOR
-
Constructor Summary
Constructors Constructor Description AfterpayPacificConfig(String minimumAmount, String maximumAmount, Locale locale, Locale consumerLocale)Creates the new AFTERPAY_PACIFIC configuration.
-
Method Summary
Modifier and Type Method Description StringgetMinimumAmount()Returns the minimum order amount if it is set. StringgetMaximumAmount()Returns the maximum order amount. LocalegetLocale()Returns the locale. LocalegetConsumerLocale()Returns the consumer locale. StringtoString()intdescribeContents()voidwriteToParcel(@NonNull() Parcel parcel, int flags)booleanequals(Object o)inthashCode()StringgetPaymentBrand()-
-
Constructor Detail
-
AfterpayPacificConfig
AfterpayPacificConfig(String minimumAmount, String maximumAmount, Locale locale, Locale consumerLocale)
Creates the new AFTERPAY_PACIFIC configuration.- Parameters:
minimumAmount- The minimum order amount (optional).maximumAmount- The maximum order amount.locale- The locale for formatting of terms and conditions and currency.consumerLocale- The consumer locale.
-
-
Method Detail
-
getMinimumAmount
@Nullable() String getMinimumAmount()
Returns the minimum order amount if it is set.
-
getMaximumAmount
@NonNull() String getMaximumAmount()
Returns the maximum order amount.
-
getConsumerLocale
@NonNull() Locale getConsumerLocale()
Returns the consumer locale.
-
describeContents
int describeContents()
-
writeToParcel
void writeToParcel(@NonNull() Parcel parcel, int flags)
-
hashCode
int hashCode()
-
getPaymentBrand
@NonNull() String getPaymentBrand()
-
-
-
-