@Generated(value="OracleSDKGenerator", comments="API Version: 20191001") public final class InvoiceSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Invoice list elements
Note: Objects should always be created or deserialized using the InvoiceSummary.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 InvoiceSummary.Builder
, which maintain a
set of all explicitly set fields called InvoiceSummary.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
InvoiceSummary.Builder |
static class |
InvoiceSummary.InvoiceStatus
Invoice status
|
static class |
InvoiceSummary.InvoiceType
Type of invoice
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
InvoiceSummary(String invoiceId,
String invoiceNumber,
String internalInvoiceId,
Boolean isCreditCardPayable,
InvoiceSummary.InvoiceStatus invoiceStatus,
InvoiceSummary.InvoiceType invoiceType,
Boolean isPaid,
Boolean isPayable,
BigDecimal invoiceAmount,
BigDecimal invoiceAmountDue,
BigDecimal invoiceAmountCredited,
BigDecimal invoiceAmountAdjusted,
BigDecimal invoiceAmountApplied,
Date timeInvoiceDue,
Boolean isPaymentFailed,
BigDecimal invoiceAmountInDispute,
String invoiceRefNumber,
String invoicePoNumber,
Date timeInvoice,
Currency currency,
Boolean isPdfEmailAvailable,
Boolean isDisplayViewPdf,
Boolean isDisplayDownloadPdf,
PaymentDetail lastPaymentDetail,
String partyName,
List<String> subscriptionIds)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static InvoiceSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Currency |
getCurrency() |
String |
getInternalInvoiceId()
PC invoice identifier
|
BigDecimal |
getInvoiceAmount()
Invoice amount
|
BigDecimal |
getInvoiceAmountAdjusted()
Invoice amount adjust
|
BigDecimal |
getInvoiceAmountApplied()
Invoice amount applied
|
BigDecimal |
getInvoiceAmountCredited()
Invoice amount credit
|
BigDecimal |
getInvoiceAmountDue()
Invoice amount due
|
BigDecimal |
getInvoiceAmountInDispute()
Invoice amount in dispute
|
String |
getInvoiceId()
Invoice identifier
|
String |
getInvoiceNumber()
Invoice external reference
|
String |
getInvoicePoNumber()
Invoice PO number
|
String |
getInvoiceRefNumber()
Invoice reference number
|
InvoiceSummary.InvoiceStatus |
getInvoiceStatus()
Invoice status
|
InvoiceSummary.InvoiceType |
getInvoiceType()
Type of invoice
|
Boolean |
getIsCreditCardPayable()
Is credit card payment eligible
|
Boolean |
getIsDisplayDownloadPdf()
Is pdf download access allowed
|
Boolean |
getIsDisplayViewPdf()
Is view access allowed
|
Boolean |
getIsPaid()
Is the invoice has been already payed
|
Boolean |
getIsPayable()
Whether invoice can be payed
|
Boolean |
getIsPaymentFailed()
Is the last payment failed
|
Boolean |
getIsPdfEmailAvailable()
Is emailing pdf allowed
|
PaymentDetail |
getLastPaymentDetail() |
String |
getPartyName()
Name of the bill to customer
|
List<String> |
getSubscriptionIds()
List of subscription identifiers
|
Date |
getTimeInvoice()
Date of invoice
|
Date |
getTimeInvoiceDue()
Due date of invoice amount
|
int |
hashCode() |
InvoiceSummary.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"invoiceId","invoiceNumber","internalInvoiceId","isCreditCardPayable","invoiceStatus","invoiceType","isPaid","isPayable","invoiceAmount","invoiceAmountDue","invoiceAmountCredited","invoiceAmountAdjusted","invoiceAmountApplied","timeInvoiceDue","isPaymentFailed","invoiceAmountInDispute","invoiceRefNumber","invoicePoNumber","timeInvoice","currency","isPdfEmailAvailable","isDisplayViewPdf","isDisplayDownloadPdf","lastPaymentDetail","partyName","subscriptionIds"}) public InvoiceSummary(String invoiceId, String invoiceNumber, String internalInvoiceId, Boolean isCreditCardPayable, InvoiceSummary.InvoiceStatus invoiceStatus, InvoiceSummary.InvoiceType invoiceType, Boolean isPaid, Boolean isPayable, BigDecimal invoiceAmount, BigDecimal invoiceAmountDue, BigDecimal invoiceAmountCredited, BigDecimal invoiceAmountAdjusted, BigDecimal invoiceAmountApplied, Date timeInvoiceDue, Boolean isPaymentFailed, BigDecimal invoiceAmountInDispute, String invoiceRefNumber, String invoicePoNumber, Date timeInvoice, Currency currency, Boolean isPdfEmailAvailable, Boolean isDisplayViewPdf, Boolean isDisplayDownloadPdf, PaymentDetail lastPaymentDetail, String partyName, List<String> subscriptionIds)
public static InvoiceSummary.Builder builder()
Create a new builder.
public InvoiceSummary.Builder toBuilder()
public String getInvoiceId()
Invoice identifier
public String getInvoiceNumber()
Invoice external reference
public String getInternalInvoiceId()
PC invoice identifier
public Boolean getIsCreditCardPayable()
Is credit card payment eligible
public InvoiceSummary.InvoiceStatus getInvoiceStatus()
Invoice status
public InvoiceSummary.InvoiceType getInvoiceType()
Type of invoice
public Boolean getIsPaid()
Is the invoice has been already payed
public Boolean getIsPayable()
Whether invoice can be payed
public BigDecimal getInvoiceAmount()
Invoice amount
public BigDecimal getInvoiceAmountDue()
Invoice amount due
public BigDecimal getInvoiceAmountCredited()
Invoice amount credit
public BigDecimal getInvoiceAmountAdjusted()
Invoice amount adjust
public BigDecimal getInvoiceAmountApplied()
Invoice amount applied
public Date getTimeInvoiceDue()
Due date of invoice amount
public Boolean getIsPaymentFailed()
Is the last payment failed
public BigDecimal getInvoiceAmountInDispute()
Invoice amount in dispute
public String getInvoiceRefNumber()
Invoice reference number
public String getInvoicePoNumber()
Invoice PO number
public Date getTimeInvoice()
Date of invoice
public Currency getCurrency()
public Boolean getIsPdfEmailAvailable()
Is emailing pdf allowed
public Boolean getIsDisplayViewPdf()
Is view access allowed
public Boolean getIsDisplayDownloadPdf()
Is pdf download access allowed
public PaymentDetail getLastPaymentDetail()
public String getPartyName()
Name of the bill to customer
public List<String> getSubscriptionIds()
List of subscription identifiers
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.