Package com.stripe.model
Class InvoiceItem.ProrationDetails
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.InvoiceItem.ProrationDetails
- All Implemented Interfaces:
StripeActiveObject,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.voidsetResponseGetter(StripeResponseGetter responseGetter) Method is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.stripe.model.StripeActiveObject
trySetResponseGetter
-
Constructor Details
-
ProrationDetails
public ProrationDetails()
-
-
Method Details
-
setResponseGetter
Description copied from interface:StripeActiveObjectMethod is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.- Specified by:
setResponseGetterin interfaceStripeActiveObject- Parameters:
responseGetter- theStripeResponseGetterinstance to use for making further requests.
-
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()
-