Class RequestedSession.LineItemDetail
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.delegatedcheckout.RequestedSession.LineItemDetail
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- RequestedSession
For more details about LineItemDetail, 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 booleanbooleanThe total discount for this line item.The total before any discounts or taxes are applied.The description of the line item.The images of the line item.getKey()The key of the line item.getName()The name of the line item.The quantity of the line item.getSkuId()The SKU ID of the line item.The per-unit amount of the item before any discounts or taxes are applied.inthashCode()voidsetAmountDiscount(Long amountDiscount) The total discount for this line item.voidsetAmountSubtotal(Long amountSubtotal) The total before any discounts or taxes are applied.voidsetDescription(String description) The description of the line item.voidThe images of the line item.voidThe key of the line item.voidThe name of the line item.voidsetQuantity(Long quantity) The quantity of the line item.voidThe SKU ID of the line item.voidsetUnitAmount(Long unitAmount) The per-unit amount of the item before any discounts or taxes are applied.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
LineItemDetail
public LineItemDetail()
-
-
Method Details
-
getAmountDiscount
The total discount for this line item. If no discount were applied, defaults to 0. -
getAmountSubtotal
The total before any discounts or taxes are applied. -
getDescription
The description of the line item. -
getImages
The images of the line item. -
getKey
The key of the line item. -
getName
The name of the line item. -
getQuantity
The quantity of the line item. -
getSkuId
The SKU ID of the line item. -
getUnitAmount
The per-unit amount of the item before any discounts or taxes are applied. -
setAmountDiscount
The total discount for this line item. If no discount were applied, defaults to 0. -
setAmountSubtotal
The total before any discounts or taxes are applied. -
setDescription
The description of the line item. -
setImages
The images of the line item. -
setKey
The key of the line item. -
setName
The name of the line item. -
setQuantity
The quantity of the line item. -
setSkuId
The SKU ID of the line item. -
setUnitAmount
The per-unit amount of the item before any discounts or taxes are applied. -
equals
-
canEqual
-
hashCode
public int hashCode()
-