Package com.stripe.model
Class InvoiceLineItem.Pricing
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.InvoiceLineItem.Pricing
- All Implemented Interfaces:
StripeActiveObject,StripeObjectInterface
- Enclosing class:
- InvoiceLineItem
For more details about Pricing, please refer to the API
Reference.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classFor more details about PriceDetails, 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 booleanbooleangetType()The type of the pricing details.The unit amount (in thecurrencyspecified) of the item which contains a decimal value with at most 12 decimal places.inthashCode()voidsetPriceDetails(InvoiceLineItem.Pricing.PriceDetails priceDetails) voidsetResponseGetter(StripeResponseGetter responseGetter) Method is used by the containing object orStripeResponseGetterimplementations to set theStripeResponseGetterinstance used to make further requests.voidThe type of the pricing details.voidsetUnitAmountDecimal(BigDecimal unitAmountDecimal) The unit amount (in thecurrencyspecified) of the item which contains a decimal value with at most 12 decimal places.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
-
Pricing
public Pricing()
-
-
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.
-
getPriceDetails
-
getType
The type of the pricing details.Equal to
price_details. -
getUnitAmountDecimal
The unit amount (in thecurrencyspecified) of the item which contains a decimal value with at most 12 decimal places. -
setPriceDetails
-
setType
The type of the pricing details.Equal to
price_details. -
setUnitAmountDecimal
The unit amount (in thecurrencyspecified) of the item which contains a decimal value with at most 12 decimal places. -
equals
-
canEqual
-
hashCode
public int hashCode()
-