Package com.adyen.checkout.googlepay
Class BillingAddressParameters
-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class BillingAddressParameters extends ModelObjectPass this object to GooglePayConfiguration.billingAddressParameters to set additional fields to be returned for the requested billing address. This object is a mapping of the BillingAddressParameters object from the Google Pay SDK.
-
-
Field Summary
Fields Modifier and Type Field Description public final static ModelObject.Serializer<BillingAddressParameters>SERIALIZERprivate Stringformatprivate BooleanisPhoneNumberRequired
-
Constructor Summary
Constructors Constructor Description BillingAddressParameters(String format, Boolean isPhoneNumberRequired)
-
Method Summary
Modifier and Type Method Description final StringgetFormat()final UnitsetFormat(String format)final BooleanisPhoneNumberRequired()final UnitsetPhoneNumberRequired(Boolean isPhoneNumberRequired)-
Methods inherited from class com.adyen.checkout.core.internal.data.model.ModelObject
describeContents -
Methods inherited from class android.os.Parcelable
writeToParcel -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
setFormat
final Unit setFormat(String format)
- Parameters:
format- The format of the billing address.
-
isPhoneNumberRequired
final Boolean isPhoneNumberRequired()
-
setPhoneNumberRequired
final Unit setPhoneNumberRequired(Boolean isPhoneNumberRequired)
- Parameters:
isPhoneNumberRequired- Set to true if a phone number is required for the billing address.
-
-
-
-