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.ExplicitlySetBmcModelInvoice 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 classInvoiceSummary.Builderstatic classInvoiceSummary.InvoiceStatusInvoice statusstatic classInvoiceSummary.InvoiceTypeType 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.Builderbuilder()Create a new builder.booleanequals(Object o)CurrencygetCurrency()StringgetInternalInvoiceId()PC invoice identifierBigDecimalgetInvoiceAmount()Invoice amountBigDecimalgetInvoiceAmountAdjusted()Invoice amount adjustBigDecimalgetInvoiceAmountApplied()Invoice amount appliedBigDecimalgetInvoiceAmountCredited()Invoice amount creditBigDecimalgetInvoiceAmountDue()Invoice amount dueBigDecimalgetInvoiceAmountInDispute()Invoice amount in disputeStringgetInvoiceId()Invoice identifierStringgetInvoiceNumber()Invoice external referenceStringgetInvoicePoNumber()Invoice PO numberStringgetInvoiceRefNumber()Invoice reference numberInvoiceSummary.InvoiceStatusgetInvoiceStatus()Invoice statusInvoiceSummary.InvoiceTypegetInvoiceType()Type of invoiceBooleangetIsCreditCardPayable()Is credit card payment eligibleBooleangetIsDisplayDownloadPdf()Is pdf download access allowedBooleangetIsDisplayViewPdf()Is view access allowedBooleangetIsPaid()Is the invoice has been already payedBooleangetIsPayable()Whether invoice can be payedBooleangetIsPaymentFailed()Is the last payment failedBooleangetIsPdfEmailAvailable()Is emailing pdf allowedPaymentDetailgetLastPaymentDetail()StringgetPartyName()Name of the bill to customerList<String>getSubscriptionIds()List of subscription identifiersDategetTimeInvoice()Date of invoiceDategetTimeInvoiceDue()Due date of invoice amountinthashCode()InvoiceSummary.BuildertoBuilder()StringtoString()StringtoString(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:
toStringin 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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-