ShippingDetails constructor
const
ShippingDetails({
- @Default(ShippingDetailsAddress()) ShippingDetailsAddress address,
- String? carrier,
- String? name,
- String? phone,
- @JsonKey(name: 'tracking_number') String? trackingNumber,
Implementation
const factory ShippingDetails({
/// Shipping address.
@Default(ShippingDetailsAddress()) ShippingDetailsAddress address,
/// The delivery service that shipped a physical product,
/// such as Fedex, UPS, USPS, etc.
String? carrier,
/// Recipient name.
String? name,
/// Recipient phone (including extension).
String? phone,
/// The tracking number for a physical product, obtained from the
/// delivery service. If multiple tracking numbers were
/// generated for this purchase, please separate them with commas.
@JsonKey(name: 'tracking_number') String? trackingNumber,
}) = _PaymentElementChangeEvent;