Class InvoiceItem.ProrationDetails

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.InvoiceItem.ProrationDetails
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
InvoiceItem

public static class InvoiceItem.ProrationDetails extends StripeObject
For more details about ProrationDetails, please refer to the API Reference.
  • Constructor Details

    • ProrationDetails

      public ProrationDetails()
  • Method Details

    • getCreditedItems

      public InvoiceItem.ProrationDetails.CreditedItems getCreditedItems()
      For a credit proration, links to the debit that the credit applies to. The reference is to an invoice item if the debit was pending when the credit was created, and to invoice line items if the debit was already invoiced.
    • getDiscountAmounts

      public List<InvoiceItem.ProrationDetails.DiscountAmount> getDiscountAmounts()
      Discount amounts applied when the proration was created. This field is only populated for prorations created from subscriptions with billing_mode=flexible.
    • setCreditedItems

      public void setCreditedItems(InvoiceItem.ProrationDetails.CreditedItems creditedItems)
      For a credit proration, links to the debit that the credit applies to. The reference is to an invoice item if the debit was pending when the credit was created, and to invoice line items if the debit was already invoiced.
    • setDiscountAmounts

      public void setDiscountAmounts(List<InvoiceItem.ProrationDetails.DiscountAmount> discountAmounts)
      Discount amounts applied when the proration was created. This field is only populated for prorations created from subscriptions with billing_mode=flexible.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object