Class 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 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).
    • Method Detail

      • 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
      • getPaymentMethod

        public String getPaymentMethod()
        Payment method.
        Returns:
        the value
      • getReceiptMethod

        public String getReceiptMethod()
        Receipt method of payment mode.
        Returns:
        the value
      • 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:
        toString in class com.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 class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel