InvoiceShippingDetails class final

recipient_shipping_with_optional_fields_address

Shipping details for the invoice. The Invoice PDF will use the `shipping_details` value if it is set, otherwise the PDF will render the shipping address from the customer.

Constructors

InvoiceShippingDetails({required AccountSupportAddress address, required String name, String? phone})
recipient_shipping_with_optional_fields_address
const
InvoiceShippingDetails.fromJson(Object? json)
factory

Properties

address → AccountSupportAddress
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

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>(InvoiceShippingDetails instance, Encoder<V> encoder) → V