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 invoice line items or invoice item 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 invoice line items or invoice item 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, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
ProrationDetails
public ProrationDetails()
-
-
Method Details
-
getCreditedItems
For a credit proration, links to the debit invoice line items or invoice item that the credit applies to. -
getDiscountAmounts
Discount amounts applied when the proration was created. -
setCreditedItems
For a credit proration, links to the debit invoice line items or invoice item that the credit applies to. -
setDiscountAmounts
Discount amounts applied when the proration was created. -
equals
-
canEqual
-
hashCode
public int hashCode()
-