public static class InvoiceRecipient.Builder extends Object
InvoiceRecipient.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
InvoiceRecipient.Builder |
address(Address address)
Setter for address.
|
InvoiceRecipient |
build()
Builds a new
InvoiceRecipient object using the set fields. |
InvoiceRecipient.Builder |
companyName(String companyName)
Setter for companyName.
|
InvoiceRecipient.Builder |
customerId(String customerId)
Setter for customerId.
|
InvoiceRecipient.Builder |
emailAddress(String emailAddress)
Setter for emailAddress.
|
InvoiceRecipient.Builder |
familyName(String familyName)
Setter for familyName.
|
InvoiceRecipient.Builder |
givenName(String givenName)
Setter for givenName.
|
InvoiceRecipient.Builder |
phoneNumber(String phoneNumber)
Setter for phoneNumber.
|
InvoiceRecipient.Builder |
taxIds(InvoiceRecipientTaxIds taxIds)
Setter for taxIds.
|
public InvoiceRecipient.Builder customerId(String customerId)
customerId - String value for customerId.public InvoiceRecipient.Builder givenName(String givenName)
givenName - String value for givenName.public InvoiceRecipient.Builder familyName(String familyName)
familyName - String value for familyName.public InvoiceRecipient.Builder emailAddress(String emailAddress)
emailAddress - String value for emailAddress.public InvoiceRecipient.Builder address(Address address)
address - Address value for address.public InvoiceRecipient.Builder phoneNumber(String phoneNumber)
phoneNumber - String value for phoneNumber.public InvoiceRecipient.Builder companyName(String companyName)
companyName - String value for companyName.public InvoiceRecipient.Builder taxIds(InvoiceRecipientTaxIds taxIds)
taxIds - InvoiceRecipientTaxIds value for taxIds.public InvoiceRecipient build()
InvoiceRecipient object using the set fields.InvoiceRecipientCopyright © 2022. All rights reserved.