Package com.stripe.model
Class InvoiceItem.ProrationDetails
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.InvoiceItem.ProrationDetails
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- InvoiceItem
For more details about ProrationDetails, please refer to the API Reference.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFor more details about CreditedItems, please refer to the API Reference.static classFor more details about DiscountAmount, please refer to the API Reference. -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanFor a credit proration, links to the debit that the credit applies to.Discount amounts applied when the proration was created.inthashCode()voidsetCreditedItems(InvoiceItem.ProrationDetails.CreditedItems creditedItems) For a credit proration, links to the debit that the credit applies to.voidsetDiscountAmounts(List<InvoiceItem.ProrationDetails.DiscountAmount> discountAmounts) Discount amounts applied when the proration was created.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
ProrationDetails
public ProrationDetails()
-
-
Method Details
-
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
Discount amounts applied when the proration was created. This field is only populated for prorations created from subscriptions withbilling_mode=flexible. -
setCreditedItems
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
Discount amounts applied when the proration was created. This field is only populated for prorations created from subscriptions withbilling_mode=flexible. -
equals
-
canEqual
-
hashCode
public int hashCode()
-