-
- 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 String
minimumAmount
private final String
maximumAmount
private final Locale
locale
private final Locale
consumerLocale
public 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 String
getMinimumAmount()
Returns the minimum order amount if it is set. String
getMaximumAmount()
Returns the maximum order amount. Locale
getLocale()
Returns the locale. Locale
getConsumerLocale()
Returns the consumer locale. String
toString()
int
describeContents()
void
writeToParcel(@NonNull() Parcel parcel, int flags)
boolean
equals(Object o)
int
hashCode()
String
getPaymentBrand()
-
-
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()
-
-
-
-