InvoiceRecipient class

Annotations
  • @JsonSerializable()

Constructors

InvoiceRecipient({Address? address, String? companyName, String? customerId, String? emailAddress, String? familyName, String? givenName, String? phoneNumber, InvoiceRecipientTaxIds? taxIds})
const
InvoiceRecipient.fromJson(Map<String, dynamic> json)
Converts a Map<String, dynamic> to a InvoiceRecipient
factory

Properties

address Address?
Read only The recipient's physical address.
final
companyName String?
Read only The name of the recipient's company.
final
customerId String?
The ID of the customer. This is the customer profile ID that you provide when creating a draft invoice.
final
emailAddress String?
Read only The recipient's email address.
final
familyName String?
Read only The recipient's family (that is, last) name.
final
givenName String?
Read only The recipient's given (that is, first) name.
final
hashCode int
The hash code for this object.
no setterinherited
phoneNumber String?
Read only The recipient's phone number.
final
props List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stringify bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
taxIds InvoiceRecipientTaxIds?
Read only The recipient's tax IDs. The country of the seller account determines whether this field is available for the customer.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Converts a InvoiceRecipient to a Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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