Package com.oracle.bmc.ospgateway.model
Class Invoice
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.ospgateway.model.Invoice
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20191001") public final class Invoice extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelInvoice details
 Note: Objects should always be created or deserialized using theInvoice.Builder.This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of the Invoice.Builder, which maintain a set of all explicitly set fields calledInvoice.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classInvoice.Builderstatic classInvoice.InvoiceStatusInvoice statusstatic classInvoice.InvoiceTypeType of invoice
 - 
Constructor SummaryConstructors Constructor Description Invoice(String invoiceId, String invoiceNumber, String internalInvoiceId, Boolean isCreditCardPayable, Date timeInvoice, BigDecimal tax, BigDecimal invoiceAmount, BigDecimal invoiceAmountDue, BigDecimal invoiceAmountCredited, BigDecimal invoiceAmountAdjusted, BigDecimal invoiceAmountApplied, Currency currency, Invoice.InvoiceType invoiceType, Date timeInvoiceDue, String invoiceRefNumber, String invoicePoNumber, Invoice.InvoiceStatus invoiceStatus, String preferredEmail, Boolean isPdfEmailAvailable, Boolean isDisplayDownloadPdf, Boolean isPayable, String paymentTerms, PaymentDetail lastPaymentDetail, BillToAddress billToAddress, List<String> subscriptionIds)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Invoice.Builderbuilder()Create a new builder.booleanequals(Object o)BillToAddressgetBillToAddress()CurrencygetCurrency()StringgetInternalInvoiceId()Transaction identifierBigDecimalgetInvoiceAmount()Total amount of invoiceBigDecimalgetInvoiceAmountAdjusted()Invoice amount adjustBigDecimalgetInvoiceAmountApplied()Invoice amount appliedBigDecimalgetInvoiceAmountCredited()Invoice amount creditBigDecimalgetInvoiceAmountDue()Balance of invoiceStringgetInvoiceId()Invoice identifier which is generated on the on-premise sie.StringgetInvoiceNumber()Invoice external referenceStringgetInvoicePoNumber()Invoice PO numberStringgetInvoiceRefNumber()Invoice reference numberInvoice.InvoiceStatusgetInvoiceStatus()Invoice statusInvoice.InvoiceTypegetInvoiceType()Type of invoiceBooleangetIsCreditCardPayable()Is credit card payment eligibleBooleangetIsDisplayDownloadPdf()Is pdf download access allowedBooleangetIsPayable()Whether invoice can be payedBooleangetIsPdfEmailAvailable()Is emailing pdf allowedPaymentDetailgetLastPaymentDetail()StringgetPaymentTerms()Payment termsStringgetPreferredEmail()Preferred Email on the invoiceList<String>getSubscriptionIds()List of subscription identifiersBigDecimalgetTax()Tax of invoice amountDategetTimeInvoice()Date of invoiceDategetTimeInvoiceDue()Due date of invoiceinthashCode()Invoice.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
Invoice@Deprecated @ConstructorProperties({"invoiceId","invoiceNumber","internalInvoiceId","isCreditCardPayable","timeInvoice","tax","invoiceAmount","invoiceAmountDue","invoiceAmountCredited","invoiceAmountAdjusted","invoiceAmountApplied","currency","invoiceType","timeInvoiceDue","invoiceRefNumber","invoicePoNumber","invoiceStatus","preferredEmail","isPdfEmailAvailable","isDisplayDownloadPdf","isPayable","paymentTerms","lastPaymentDetail","billToAddress","subscriptionIds"}) public Invoice(String invoiceId, String invoiceNumber, String internalInvoiceId, Boolean isCreditCardPayable, Date timeInvoice, BigDecimal tax, BigDecimal invoiceAmount, BigDecimal invoiceAmountDue, BigDecimal invoiceAmountCredited, BigDecimal invoiceAmountAdjusted, BigDecimal invoiceAmountApplied, Currency currency, Invoice.InvoiceType invoiceType, Date timeInvoiceDue, String invoiceRefNumber, String invoicePoNumber, Invoice.InvoiceStatus invoiceStatus, String preferredEmail, Boolean isPdfEmailAvailable, Boolean isDisplayDownloadPdf, Boolean isPayable, String paymentTerms, PaymentDetail lastPaymentDetail, BillToAddress billToAddress, List<String> subscriptionIds) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static Invoice.Builder builder() Create a new builder.
 - 
toBuilderpublic Invoice.Builder toBuilder() 
 - 
getInvoiceIdpublic String getInvoiceId() Invoice identifier which is generated on the on-premise sie.Pls note this is not an OCID - Returns:
- the value
 
 - 
getInvoiceNumberpublic String getInvoiceNumber() Invoice external reference- Returns:
- the value
 
 - 
getInternalInvoiceIdpublic String getInternalInvoiceId() Transaction identifier- Returns:
- the value
 
 - 
getIsCreditCardPayablepublic Boolean getIsCreditCardPayable() Is credit card payment eligible- Returns:
- the value
 
 - 
getTimeInvoicepublic Date getTimeInvoice() Date of invoice- Returns:
- the value
 
 - 
getTaxpublic BigDecimal getTax() Tax of invoice amount- Returns:
- the value
 
 - 
getInvoiceAmountpublic BigDecimal getInvoiceAmount() Total amount of invoice- Returns:
- the value
 
 - 
getInvoiceAmountDuepublic BigDecimal getInvoiceAmountDue() Balance of invoice- Returns:
- the value
 
 - 
getInvoiceAmountCreditedpublic BigDecimal getInvoiceAmountCredited() Invoice amount credit- Returns:
- the value
 
 - 
getInvoiceAmountAdjustedpublic BigDecimal getInvoiceAmountAdjusted() Invoice amount adjust- Returns:
- the value
 
 - 
getInvoiceAmountAppliedpublic BigDecimal getInvoiceAmountApplied() Invoice amount applied- Returns:
- the value
 
 - 
getCurrencypublic Currency getCurrency() 
 - 
getInvoiceTypepublic Invoice.InvoiceType getInvoiceType() Type of invoice- Returns:
- the value
 
 - 
getTimeInvoiceDuepublic Date getTimeInvoiceDue() Due date of invoice- Returns:
- the value
 
 - 
getInvoiceRefNumberpublic String getInvoiceRefNumber() Invoice reference number- Returns:
- the value
 
 - 
getInvoicePoNumberpublic String getInvoicePoNumber() Invoice PO number- Returns:
- the value
 
 - 
getInvoiceStatuspublic Invoice.InvoiceStatus getInvoiceStatus() Invoice status- Returns:
- the value
 
 - 
getPreferredEmailpublic String getPreferredEmail() Preferred Email on the invoice- Returns:
- the value
 
 - 
getIsPdfEmailAvailablepublic Boolean getIsPdfEmailAvailable() Is emailing pdf allowed- Returns:
- the value
 
 - 
getIsDisplayDownloadPdfpublic Boolean getIsDisplayDownloadPdf() Is pdf download access allowed- Returns:
- the value
 
 - 
getIsPayablepublic Boolean getIsPayable() Whether invoice can be payed- Returns:
- the value
 
 - 
getPaymentTermspublic String getPaymentTerms() Payment terms- Returns:
- the value
 
 - 
getLastPaymentDetailpublic PaymentDetail getLastPaymentDetail() 
 - 
getBillToAddresspublic BillToAddress getBillToAddress() 
 - 
getSubscriptionIdspublic List<String> getSubscriptionIds() List of subscription identifiers- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-