Package com.stripe.model.tax
Class Calculation.ShippingCost
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.tax.Calculation.ShippingCost
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Calculation
The value of the tax ID.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanbooleanThe shipping amount in integer cents.The amount of tax calculated for shipping, in integer cents.The ID of an existing ShippingRate.Specifies whether theamountincludes taxes.Detailed account of taxes relevant to shipping cost.The tax code ID used for shipping.inthashCode()voidThe shipping amount in integer cents.voidsetAmountTax(Long amountTax) The amount of tax calculated for shipping, in integer cents.voidsetShippingRate(String shippingRate) The ID of an existing ShippingRate.voidsetTaxBehavior(String taxBehavior) Specifies whether theamountincludes taxes.voidsetTaxBreakdown(List<Calculation.ShippingCost.TaxBreakdown> taxBreakdown) Detailed account of taxes relevant to shipping cost.voidsetTaxCode(String taxCode) The tax code ID used for shipping.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
ShippingCost
public ShippingCost()
-
-
Method Details
-
getAmount
The shipping amount in integer cents. Iftax_behavior=inclusive, then this amount includes taxes. Otherwise, taxes were calculated on top of this amount. -
getAmountTax
The amount of tax calculated for shipping, in integer cents. -
getShippingRate
The ID of an existing ShippingRate. -
getTaxBehavior
Specifies whether theamountincludes taxes. Iftax_behavior=inclusive, then the amount includes taxes.One of
exclusive, orinclusive. -
getTaxBreakdown
Detailed account of taxes relevant to shipping cost. -
getTaxCode
The tax code ID used for shipping. -
setAmount
The shipping amount in integer cents. Iftax_behavior=inclusive, then this amount includes taxes. Otherwise, taxes were calculated on top of this amount. -
setAmountTax
The amount of tax calculated for shipping, in integer cents. -
setShippingRate
The ID of an existing ShippingRate. -
setTaxBehavior
Specifies whether theamountincludes taxes. Iftax_behavior=inclusive, then the amount includes taxes.One of
exclusive, orinclusive. -
setTaxBreakdown
Detailed account of taxes relevant to shipping cost. -
setTaxCode
The tax code ID used for shipping. -
equals
-
canEqual
-
hashCode
public int hashCode()
-