public class Invoice extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Invoice.Builder
Class to build instances of
Invoice. |
| Constructor and Description |
|---|
Invoice(String id,
Integer version,
String locationId,
String orderId,
InvoiceRecipient primaryRecipient,
List<InvoicePaymentRequest> paymentRequests,
String deliveryMethod,
String invoiceNumber,
String title,
String description,
String scheduledAt,
String publicUrl,
Money nextPaymentAmountMoney,
String status,
String timezone,
String createdAt,
String updatedAt,
InvoiceAcceptedPaymentMethods acceptedPaymentMethods,
List<InvoiceCustomField> customFields,
String subscriptionId,
String saleOrServiceDate,
String paymentConditions)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
InvoiceAcceptedPaymentMethods |
getAcceptedPaymentMethods()
Getter for AcceptedPaymentMethods.
|
String |
getCreatedAt()
Getter for CreatedAt.
|
List<InvoiceCustomField> |
getCustomFields()
Getter for CustomFields.
|
String |
getDeliveryMethod()
Getter for DeliveryMethod.
|
String |
getDescription()
Getter for Description.
|
String |
getId()
Getter for Id.
|
String |
getInvoiceNumber()
Getter for InvoiceNumber.
|
String |
getLocationId()
Getter for LocationId.
|
Money |
getNextPaymentAmountMoney()
Getter for NextPaymentAmountMoney.
|
String |
getOrderId()
Getter for OrderId.
|
String |
getPaymentConditions()
Getter for PaymentConditions.
|
List<InvoicePaymentRequest> |
getPaymentRequests()
Getter for PaymentRequests.
|
InvoiceRecipient |
getPrimaryRecipient()
Getter for PrimaryRecipient.
|
String |
getPublicUrl()
Getter for PublicUrl.
|
String |
getSaleOrServiceDate()
Getter for SaleOrServiceDate.
|
String |
getScheduledAt()
Getter for ScheduledAt.
|
String |
getStatus()
Getter for Status.
|
String |
getSubscriptionId()
Getter for SubscriptionId.
|
String |
getTimezone()
Getter for Timezone.
|
String |
getTitle()
Getter for Title.
|
String |
getUpdatedAt()
Getter for UpdatedAt.
|
Integer |
getVersion()
Getter for Version.
|
int |
hashCode() |
Invoice.Builder |
toBuilder()
Builds a new
Invoice.Builder object. |
String |
toString()
Converts this Invoice into string format.
|
public Invoice(String id, Integer version, String locationId, String orderId, InvoiceRecipient primaryRecipient, List<InvoicePaymentRequest> paymentRequests, String deliveryMethod, String invoiceNumber, String title, String description, String scheduledAt, String publicUrl, Money nextPaymentAmountMoney, String status, String timezone, String createdAt, String updatedAt, InvoiceAcceptedPaymentMethods acceptedPaymentMethods, List<InvoiceCustomField> customFields, String subscriptionId, String saleOrServiceDate, String paymentConditions)
id - String value for id.version - Integer value for version.locationId - String value for locationId.orderId - String value for orderId.primaryRecipient - InvoiceRecipient value for primaryRecipient.paymentRequests - List of InvoicePaymentRequest value for paymentRequests.deliveryMethod - String value for deliveryMethod.invoiceNumber - String value for invoiceNumber.title - String value for title.description - String value for description.scheduledAt - String value for scheduledAt.publicUrl - String value for publicUrl.nextPaymentAmountMoney - Money value for nextPaymentAmountMoney.status - String value for status.timezone - String value for timezone.createdAt - String value for createdAt.updatedAt - String value for updatedAt.acceptedPaymentMethods - InvoiceAcceptedPaymentMethods value for
acceptedPaymentMethods.customFields - List of InvoiceCustomField value for customFields.subscriptionId - String value for subscriptionId.saleOrServiceDate - String value for saleOrServiceDate.paymentConditions - String value for paymentConditions.public String getId()
public Integer getVersion()
public String getLocationId()
public String getOrderId()
public InvoiceRecipient getPrimaryRecipient()
public List<InvoicePaymentRequest> getPaymentRequests()
public String getDeliveryMethod()
public String getInvoiceNumber()
public String getTitle()
public String getDescription()
public String getScheduledAt()
public String getPublicUrl()
public Money getNextPaymentAmountMoney()
public String getStatus()
public String getTimezone()
public String getCreatedAt()
public String getUpdatedAt()
public InvoiceAcceptedPaymentMethods getAcceptedPaymentMethods()
public List<InvoiceCustomField> getCustomFields()
public String getSubscriptionId()
public String getSaleOrServiceDate()
public String getPaymentConditions()
public String toString()
public Invoice.Builder toBuilder()
Invoice.Builder object.
Creates the instance with the state of the current model.Invoice.Builder objectCopyright © 2022. All rights reserved.