AddressInPaymentSheet enum

This enumeration provides types of address UI on the payment sheet, based on merchant requirement.

Inheritance
Available extensions

Values

DO_NOT_SHOW → const AddressInPaymentSheet

Shipping and billing address are not required for payment. Do not display address on the payment sheet.

NEED_BILLING_SPAY → const AddressInPaymentSheet

Merchant requires billing address from Samsung Wallet for payment.
Show only billing address list on the payment sheet. User could select one on the payment sheet.

NEED_SHIPPING_SPAY → const AddressInPaymentSheet

Merchant requires shipping address from Samsung Wallet for payment.
Show only shipping address list on the payment sheet. User could select one on the payment sheet.

SEND_SHIPPING → const AddressInPaymentSheet

Merchant will send the shipping address for payment.
Show only shipping address shared by merchant as fixed value on the payment sheet. Unlike AddressInPaymentSheet.NEED_BILLING_SPAY or AddressInPaymentSheet.NEED_SHIPPING_SPAY, user will not be able to change the shipping address on the payment sheet.

NEED_BILLING_SEND_SHIPPING → const AddressInPaymentSheet

Merchant requires billing address from Samsung Wallet and sends the shipping address for payment.
Show both billing and shipping address on the payment sheet. Unlike AddressInPaymentSheet.NEED_BILLING_SPAY or AddressInPaymentSheet.NEED_SHIPPING_SPAY, user will not be able to change the shipping address on the payment sheet.

NEED_BILLING_AND_SHIPPING → const AddressInPaymentSheet

Merchant requires billing and shipping address from Samsung Wallet for payment.
Show both address lists on the payment sheet. User could select billing and shipping address from the list on the payment sheet.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<AddressInPaymentSheet>
A constant List of the values in this enum, in order of their declaration.