CrossmintCheckoutPhysicalAddress class final

Shipping address used for physical goods. Required on CrossmintCheckoutPhysicalRecipient; optional on email and wallet recipients whose line items include physical fulfillment.

All fields except line2 are required and must be non-blank.

Constructors

CrossmintCheckoutPhysicalAddress({required String name, required String line1, String? line2, required String city, required String state, required String postalCode, required String country})
Creates a physical address.
const

Properties

city → String
City / locality.
final
country → String
ISO 3166-1 alpha-2 country code (e.g. "US", "GB", "JP").
final
hashCode → int
The hash code for this object.
no setterinherited
line1 → String
Primary street address line.
final
line2 → String?
Optional secondary street address line (apt, suite, etc.).
final
name → String
Recipient name.
final
postalCode → String
Postal / ZIP code.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state → String
State, province, or administrative region.
final

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