Class InvoiceSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.onesubscription.model.InvoiceSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20190111") public final class InvoiceSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Invoice details
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
-
Constructor Summary
Constructors Constructor Description InvoiceSummary(String spmInvoiceNumber, String arInvoices, InvoicingBusinessPartner billToCustomer, InvoicingUser billToContact, InvoicingAddress billToAddress, String paymentMethod, InvoicingPaymentTerm paymentTerm, String receiptMethod, InvoicingCurrency currency, InvoicingOrganization organization, String type, String status, String subscriptionNumber, Date timeInvoiceDate, Date timeCreated, String createdBy, Date timeUpdated, String updatedBy, List<InvoiceLineSummary> invoiceLines)
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)
String
getArInvoices()
AR Invoice Numbers comma separated under one invoiceInvoicingAddress
getBillToAddress()
InvoicingUser
getBillToContact()
InvoicingBusinessPartner
getBillToCustomer()
String
getCreatedBy()
User that executed SPM Invoice processInvoicingCurrency
getCurrency()
List<InvoiceLineSummary>
getInvoiceLines()
Invoice Lines under particular invoice.InvoicingOrganization
getOrganization()
String
getPaymentMethod()
Payment MethodInvoicingPaymentTerm
getPaymentTerm()
String
getReceiptMethod()
Receipt Method of Payment ModeString
getSpmInvoiceNumber()
SPM Document Number is an functional identifier for invoice in SPMString
getStatus()
Document Status in SPM which depicts current state of invoiceString
getSubscriptionNumber()
Invoice associated subscription plan number.Date
getTimeCreated()
SPM Invocie creation dateDate
getTimeInvoiceDate()
Invoice DateDate
getTimeUpdated()
SPM Invoice updated dateString
getType()
Document Type in SPM like SPM Invoice,SPM Credit Memo etc.,String
getUpdatedBy()
User that updated SPM Invoiceint
hashCode()
InvoiceSummary.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
InvoiceSummary
@Deprecated @ConstructorProperties({"spmInvoiceNumber","arInvoices","billToCustomer","billToContact","billToAddress","paymentMethod","paymentTerm","receiptMethod","currency","organization","type","status","subscriptionNumber","timeInvoiceDate","timeCreated","createdBy","timeUpdated","updatedBy","invoiceLines"}) public InvoiceSummary(String spmInvoiceNumber, String arInvoices, InvoicingBusinessPartner billToCustomer, InvoicingUser billToContact, InvoicingAddress billToAddress, String paymentMethod, InvoicingPaymentTerm paymentTerm, String receiptMethod, InvoicingCurrency currency, InvoicingOrganization organization, String type, String status, String subscriptionNumber, Date timeInvoiceDate, Date timeCreated, String createdBy, Date timeUpdated, String updatedBy, List<InvoiceLineSummary> invoiceLines)
Deprecated.
-
-
Method Detail
-
builder
public static InvoiceSummary.Builder builder()
Create a new builder.
-
toBuilder
public InvoiceSummary.Builder toBuilder()
-
getSpmInvoiceNumber
public String getSpmInvoiceNumber()
SPM Document Number is an functional identifier for invoice in SPM- Returns:
- the value
-
getArInvoices
public String getArInvoices()
AR Invoice Numbers comma separated under one invoice- Returns:
- the value
-
getBillToCustomer
public InvoicingBusinessPartner getBillToCustomer()
-
getBillToContact
public InvoicingUser getBillToContact()
-
getBillToAddress
public InvoicingAddress getBillToAddress()
-
getPaymentMethod
public String getPaymentMethod()
Payment Method- Returns:
- the value
-
getPaymentTerm
public InvoicingPaymentTerm getPaymentTerm()
-
getReceiptMethod
public String getReceiptMethod()
Receipt Method of Payment Mode- Returns:
- the value
-
getCurrency
public InvoicingCurrency getCurrency()
-
getOrganization
public InvoicingOrganization getOrganization()
-
getType
public String getType()
Document Type in SPM like SPM Invoice,SPM Credit Memo etc.,- Returns:
- the value
-
getStatus
public String getStatus()
Document Status in SPM which depicts current state of invoice- Returns:
- the value
-
getSubscriptionNumber
public String getSubscriptionNumber()
Invoice associated subscription plan number.- Returns:
- the value
-
getTimeInvoiceDate
public Date getTimeInvoiceDate()
Invoice Date- Returns:
- the value
-
getTimeCreated
public Date getTimeCreated()
SPM Invocie creation date- Returns:
- the value
-
getCreatedBy
public String getCreatedBy()
User that executed SPM Invoice process- Returns:
- the value
-
getTimeUpdated
public Date getTimeUpdated()
SPM Invoice updated date- Returns:
- the value
-
getUpdatedBy
public String getUpdatedBy()
User that updated SPM Invoice- Returns:
- the value
-
getInvoiceLines
public List<InvoiceLineSummary> getInvoiceLines()
Invoice Lines under particular invoice.- 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
-
-