Package com.stripe.model
Class Invoice.ShippingCost
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Invoice.ShippingCost
- All Implemented Interfaces:
- StripeObjectInterface
- Enclosing class:
- Invoice
For more details about ShippingCost, please refer to the API Reference.
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classFor more details about Tax, please refer to the API Reference.
- 
Field SummaryFields inherited from class com.stripe.model.StripeObjectPRETTY_PRINT_GSON
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected booleanbooleanTotal shipping cost before any taxes are applied.Total tax amount applied due to shipping costs.Total shipping cost after taxes are applied.Get ID of expandableshippingRateobject.Get expandedshippingRate.getTaxes()The taxes applied to the shipping rate.inthashCode()voidsetAmountSubtotal(Long amountSubtotal) Total shipping cost before any taxes are applied.voidsetAmountTax(Long amountTax) Total tax amount applied due to shipping costs.voidsetAmountTotal(Long amountTotal) Total shipping cost after taxes are applied.voidvoidsetShippingRateObject(ShippingRate expandableObject) voidsetTaxes(List<Invoice.ShippingCost.Tax> taxes) The taxes applied to the shipping rate.Methods inherited from class com.stripe.model.StripeObjectdeserializeStripeObject, deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
- 
Constructor Details- 
ShippingCostpublic ShippingCost()
 
- 
- 
Method Details- 
getShippingRateGet ID of expandableshippingRateobject.
- 
setShippingRate
- 
getShippingRateObjectGet expandedshippingRate.
- 
setShippingRateObject
- 
getAmountSubtotalTotal shipping cost before any taxes are applied.
- 
getAmountTaxTotal tax amount applied due to shipping costs. If no tax was applied, defaults to 0.
- 
getAmountTotalTotal shipping cost after taxes are applied.
- 
getTaxesThe taxes applied to the shipping rate.
- 
setAmountSubtotalTotal shipping cost before any taxes are applied.
- 
setAmountTaxTotal tax amount applied due to shipping costs. If no tax was applied, defaults to 0.
- 
setAmountTotalTotal shipping cost after taxes are applied.
- 
setTaxesThe taxes applied to the shipping rate.
- 
equals
- 
canEqual
- 
hashCodepublic int hashCode()
 
-