Package com.stripe.model
Class InvoiceItem.Pricing
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.InvoiceItem.Pricing
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- InvoiceItem
For more details about Pricing, please refer to the API
Reference.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
For 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 boolean
boolean
getType()
The type of the pricing details.The unit amount (in thecurrency
specified) of the item which contains a decimal value with at most 12 decimal places.int
hashCode()
void
setPriceDetails
(InvoiceItem.Pricing.PriceDetails priceDetails) void
The type of the pricing details.void
setUnitAmountDecimal
(BigDecimal unitAmountDecimal) The unit amount (in thecurrency
specified) 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, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
Pricing
public Pricing()
-
-
Method Details
-
getPriceDetails
-
getType
The type of the pricing details.Equal to
price_details
. -
getUnitAmountDecimal
The unit amount (in thecurrency
specified) 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 thecurrency
specified) of the item which contains a decimal value with at most 12 decimal places. -
equals
-
canEqual
-
hashCode
public int hashCode()
-