CheckoutSessionCustomerDetails class final
The customer details including the customer's tax exempt status and the customer's tax IDs. Customer's address details are not present on Sessions in `setup` mode.
Constructors
-
CheckoutSessionCustomerDetails({Address? address, String? email, String? name, String? phone, CheckoutSessionCustomerDetailsTaxExempt? taxExempt, List<
PaymentPagesCheckoutSessionTaxId> ? taxIds}) -
The customer details including the customer's tax exempt status and the customer's tax IDs. Customer's address details are not present on Sessions in `setup` mode.
const
- CheckoutSessionCustomerDetails.fromJson(Object? json)
-
factory
Properties
- address → Address?
-
final
- email → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String?
-
final
- phone → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- taxExempt → CheckoutSessionCustomerDetailsTaxExempt?
-
final
-
taxIds
→ List<
PaymentPagesCheckoutSessionTaxId> ? -
final
Methods
-
encodeWith<
V> (Encoder< V> encoder) → V -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
encode<
V> (CheckoutSessionCustomerDetails instance, Encoder< V> encoder) → V