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.ExplicitlySetBmcModelInvoice 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 theInvoiceSummary.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.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.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetArInvoices()Accounts receivable invoice numbers, comma-separated under one invoice.InvoicingAddressgetBillToAddress()InvoicingUsergetBillToContact()InvoicingBusinessPartnergetBillToCustomer()StringgetCreatedBy()User that executed the SPM invoice process.InvoicingCurrencygetCurrency()List<InvoiceLineSummary>getInvoiceLines()Invoice lines under a particular invoice.InvoicingOrganizationgetOrganization()StringgetPaymentMethod()Payment method.InvoicingPaymentTermgetPaymentTerm()StringgetReceiptMethod()Receipt method of payment mode.StringgetSpmInvoiceNumber()SPM (Subscription Plan Management) document number is a functional identifier for invoicing in SPM.StringgetStatus()Document status in SPM, which depicts the current invoice state.StringgetSubscriptionNumber()Invoice associated subscription plan number.DategetTimeCreated()SPM invocie creation date.DategetTimeInvoiceDate()Invoice date.DategetTimeUpdated()SPM invoice updated date.StringgetType()Document type in SPM, such as SPM Invoice, SPM Credit Memo, and so on.StringgetUpdatedBy()User that updated the SPM invoice.inthashCode()InvoiceSummary.BuildertoBuilder()StringtoString()StringtoString(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 (Subscription Plan Management) document number is a functional identifier for invoicing in SPM.- Returns:
- the value
-
getArInvoices
public String getArInvoices()
Accounts receivable 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, such as SPM Invoice, SPM Credit Memo, and so on.- Returns:
- the value
-
getStatus
public String getStatus()
Document status in SPM, which depicts the current invoice state.- 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 the SPM invoice process.- Returns:
- the value
-
getTimeUpdated
public Date getTimeUpdated()
SPM invoice updated date.- Returns:
- the value
-
getUpdatedBy
public String getUpdatedBy()
User that updated the SPM invoice.- Returns:
- the value
-
getInvoiceLines
public List<InvoiceLineSummary> getInvoiceLines()
Invoice lines under a particular invoice.- 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
-
-