Package com.oracle.bmc.ospgateway.model
Class InvoiceSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.ospgateway.model.InvoiceSummary
-
@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 theInvoiceSummary.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 calledInvoiceSummary.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 Summary
Nested Classes Modifier and Type Class Description static class
InvoiceSummary.Builder
static class
InvoiceSummary.InvoiceStatus
Invoice statusstatic class
InvoiceSummary.InvoiceType
Type of invoice
-
Constructor Summary
Constructors Constructor 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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InvoiceSummary.Builder
builder()
Create a new builder.boolean
equals(Object o)
Currency
getCurrency()
String
getInternalInvoiceId()
PC invoice identifierBigDecimal
getInvoiceAmount()
Invoice amountBigDecimal
getInvoiceAmountAdjusted()
Invoice amount adjustBigDecimal
getInvoiceAmountApplied()
Invoice amount appliedBigDecimal
getInvoiceAmountCredited()
Invoice amount creditBigDecimal
getInvoiceAmountDue()
Invoice amount dueBigDecimal
getInvoiceAmountInDispute()
Invoice amount in disputeString
getInvoiceId()
Invoice identifierString
getInvoiceNumber()
Invoice external referenceString
getInvoicePoNumber()
Invoice PO numberString
getInvoiceRefNumber()
Invoice reference numberInvoiceSummary.InvoiceStatus
getInvoiceStatus()
Invoice statusInvoiceSummary.InvoiceType
getInvoiceType()
Type of invoiceBoolean
getIsCreditCardPayable()
Is credit card payment eligibleBoolean
getIsDisplayDownloadPdf()
Is pdf download access allowedBoolean
getIsDisplayViewPdf()
Is view access allowedBoolean
getIsPaid()
Is the invoice has been already payedBoolean
getIsPayable()
Whether invoice can be payedBoolean
getIsPaymentFailed()
Is the last payment failedBoolean
getIsPdfEmailAvailable()
Is emailing pdf allowedPaymentDetail
getLastPaymentDetail()
String
getPartyName()
Name of the bill to customerList<String>
getSubscriptionIds()
List of subscription identifiersDate
getTimeInvoice()
Date of invoiceDate
getTimeInvoiceDue()
Due date of invoice amountint
hashCode()
InvoiceSummary.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
InvoiceSummary
@Deprecated @ConstructorProperties({"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)
Deprecated.
-
-
Method Detail
-
builder
public static InvoiceSummary.Builder builder()
Create a new builder.
-
toBuilder
public InvoiceSummary.Builder toBuilder()
-
getInvoiceId
public String getInvoiceId()
Invoice identifier- Returns:
- the value
-
getInvoiceNumber
public String getInvoiceNumber()
Invoice external reference- Returns:
- the value
-
getInternalInvoiceId
public String getInternalInvoiceId()
PC invoice identifier- Returns:
- the value
-
getIsCreditCardPayable
public Boolean getIsCreditCardPayable()
Is credit card payment eligible- Returns:
- the value
-
getInvoiceStatus
public InvoiceSummary.InvoiceStatus getInvoiceStatus()
Invoice status- Returns:
- the value
-
getInvoiceType
public InvoiceSummary.InvoiceType getInvoiceType()
Type of invoice- Returns:
- the value
-
getIsPaid
public Boolean getIsPaid()
Is the invoice has been already payed- Returns:
- the value
-
getIsPayable
public Boolean getIsPayable()
Whether invoice can be payed- Returns:
- the value
-
getInvoiceAmount
public BigDecimal getInvoiceAmount()
Invoice amount- Returns:
- the value
-
getInvoiceAmountDue
public BigDecimal getInvoiceAmountDue()
Invoice amount due- Returns:
- the value
-
getInvoiceAmountCredited
public BigDecimal getInvoiceAmountCredited()
Invoice amount credit- Returns:
- the value
-
getInvoiceAmountAdjusted
public BigDecimal getInvoiceAmountAdjusted()
Invoice amount adjust- Returns:
- the value
-
getInvoiceAmountApplied
public BigDecimal getInvoiceAmountApplied()
Invoice amount applied- Returns:
- the value
-
getTimeInvoiceDue
public Date getTimeInvoiceDue()
Due date of invoice amount- Returns:
- the value
-
getIsPaymentFailed
public Boolean getIsPaymentFailed()
Is the last payment failed- Returns:
- the value
-
getInvoiceAmountInDispute
public BigDecimal getInvoiceAmountInDispute()
Invoice amount in dispute- Returns:
- the value
-
getInvoiceRefNumber
public String getInvoiceRefNumber()
Invoice reference number- Returns:
- the value
-
getInvoicePoNumber
public String getInvoicePoNumber()
Invoice PO number- Returns:
- the value
-
getTimeInvoice
public Date getTimeInvoice()
Date of invoice- Returns:
- the value
-
getCurrency
public Currency getCurrency()
-
getIsPdfEmailAvailable
public Boolean getIsPdfEmailAvailable()
Is emailing pdf allowed- Returns:
- the value
-
getIsDisplayViewPdf
public Boolean getIsDisplayViewPdf()
Is view access allowed- Returns:
- the value
-
getIsDisplayDownloadPdf
public Boolean getIsDisplayDownloadPdf()
Is pdf download access allowed- Returns:
- the value
-
getLastPaymentDetail
public PaymentDetail getLastPaymentDetail()
-
getPartyName
public String getPartyName()
Name of the bill to customer- Returns:
- the value
-
getSubscriptionIds
public List<String> getSubscriptionIds()
List of subscription identifiers- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public 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
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-