public class Invoice extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Invoice.Builder
Class to build instances of
Invoice. |
| Modifier | Constructor and Description |
|---|---|
protected |
Invoice(String id,
Integer version,
io.apimatic.core.types.OptionalNullable<String> locationId,
io.apimatic.core.types.OptionalNullable<String> orderId,
InvoiceRecipient primaryRecipient,
io.apimatic.core.types.OptionalNullable<List<InvoicePaymentRequest>> paymentRequests,
String deliveryMethod,
io.apimatic.core.types.OptionalNullable<String> invoiceNumber,
io.apimatic.core.types.OptionalNullable<String> title,
io.apimatic.core.types.OptionalNullable<String> description,
io.apimatic.core.types.OptionalNullable<String> scheduledAt,
String publicUrl,
Money nextPaymentAmountMoney,
String status,
String timezone,
String createdAt,
String updatedAt,
InvoiceAcceptedPaymentMethods acceptedPaymentMethods,
io.apimatic.core.types.OptionalNullable<List<InvoiceCustomField>> customFields,
String subscriptionId,
io.apimatic.core.types.OptionalNullable<String> saleOrServiceDate,
io.apimatic.core.types.OptionalNullable<String> paymentConditions,
io.apimatic.core.types.OptionalNullable<Boolean> storePaymentMethodEnabled,
List<InvoiceAttachment> attachments)
Initialization constructor.
|
|
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,
Boolean storePaymentMethodEnabled,
List<InvoiceAttachment> attachments)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
InvoiceAcceptedPaymentMethods |
getAcceptedPaymentMethods()
Getter for AcceptedPaymentMethods.
|
List<InvoiceAttachment> |
getAttachments()
Getter for Attachments.
|
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.
|
Boolean |
getStorePaymentMethodEnabled()
Getter for StorePaymentMethodEnabled.
|
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() |
protected io.apimatic.core.types.OptionalNullable<List<InvoiceCustomField>> |
internalGetCustomFields()
Internal Getter for CustomFields.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetDescription()
Internal Getter for Description.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetInvoiceNumber()
Internal Getter for InvoiceNumber.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetLocationId()
Internal Getter for LocationId.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetOrderId()
Internal Getter for OrderId.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetPaymentConditions()
Internal Getter for PaymentConditions.
|
protected io.apimatic.core.types.OptionalNullable<List<InvoicePaymentRequest>> |
internalGetPaymentRequests()
Internal Getter for PaymentRequests.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetSaleOrServiceDate()
Internal Getter for SaleOrServiceDate.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetScheduledAt()
Internal Getter for ScheduledAt.
|
protected io.apimatic.core.types.OptionalNullable<Boolean> |
internalGetStorePaymentMethodEnabled()
Internal Getter for StorePaymentMethodEnabled.
|
protected io.apimatic.core.types.OptionalNullable<String> |
internalGetTitle()
Internal Getter for Title.
|
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, Boolean storePaymentMethodEnabled, List<InvoiceAttachment> attachments)
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.storePaymentMethodEnabled - Boolean value for storePaymentMethodEnabled.attachments - List of InvoiceAttachment value for attachments.protected Invoice(String id, Integer version, io.apimatic.core.types.OptionalNullable<String> locationId, io.apimatic.core.types.OptionalNullable<String> orderId, InvoiceRecipient primaryRecipient, io.apimatic.core.types.OptionalNullable<List<InvoicePaymentRequest>> paymentRequests, String deliveryMethod, io.apimatic.core.types.OptionalNullable<String> invoiceNumber, io.apimatic.core.types.OptionalNullable<String> title, io.apimatic.core.types.OptionalNullable<String> description, io.apimatic.core.types.OptionalNullable<String> scheduledAt, String publicUrl, Money nextPaymentAmountMoney, String status, String timezone, String createdAt, String updatedAt, InvoiceAcceptedPaymentMethods acceptedPaymentMethods, io.apimatic.core.types.OptionalNullable<List<InvoiceCustomField>> customFields, String subscriptionId, io.apimatic.core.types.OptionalNullable<String> saleOrServiceDate, io.apimatic.core.types.OptionalNullable<String> paymentConditions, io.apimatic.core.types.OptionalNullable<Boolean> storePaymentMethodEnabled, List<InvoiceAttachment> attachments)
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.storePaymentMethodEnabled - Boolean value for storePaymentMethodEnabled.attachments - List of InvoiceAttachment value for attachments.public String getId()
public Integer getVersion()
protected io.apimatic.core.types.OptionalNullable<String> internalGetLocationId()
public String getLocationId()
protected io.apimatic.core.types.OptionalNullable<String> internalGetOrderId()
public String getOrderId()
public InvoiceRecipient getPrimaryRecipient()
protected io.apimatic.core.types.OptionalNullable<List<InvoicePaymentRequest>> internalGetPaymentRequests()
public List<InvoicePaymentRequest> getPaymentRequests()
public String getDeliveryMethod()
protected io.apimatic.core.types.OptionalNullable<String> internalGetInvoiceNumber()
public String getInvoiceNumber()
protected io.apimatic.core.types.OptionalNullable<String> internalGetTitle()
public String getTitle()
protected io.apimatic.core.types.OptionalNullable<String> internalGetDescription()
public String getDescription()
protected io.apimatic.core.types.OptionalNullable<String> internalGetScheduledAt()
public String getScheduledAt()
public String getPublicUrl()
public Money getNextPaymentAmountMoney()
public String getStatus()
public String getTimezone()
public String getCreatedAt()
public String getUpdatedAt()
public InvoiceAcceptedPaymentMethods getAcceptedPaymentMethods()
protected io.apimatic.core.types.OptionalNullable<List<InvoiceCustomField>> internalGetCustomFields()
public List<InvoiceCustomField> getCustomFields()
public String getSubscriptionId()
protected io.apimatic.core.types.OptionalNullable<String> internalGetSaleOrServiceDate()
public String getSaleOrServiceDate()
protected io.apimatic.core.types.OptionalNullable<String> internalGetPaymentConditions()
public String getPaymentConditions()
protected io.apimatic.core.types.OptionalNullable<Boolean> internalGetStorePaymentMethodEnabled()
public Boolean getStorePaymentMethodEnabled()
public List<InvoiceAttachment> getAttachments()
public String toString()
public Invoice.Builder toBuilder()
Invoice.Builder object.
Creates the instance with the state of the current model.Invoice.Builder objectCopyright © 2024. All rights reserved.