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 boolean
boolean
The shipping amount in integer cents.The amount of tax calculated for shipping, in integer cents.The ID of an existing ShippingRate.Specifies whether theamount
includes taxes.Detailed account of taxes relevant to shipping cost.The tax code ID used for shipping.int
hashCode()
void
The shipping amount in integer cents.void
setAmountTax
(Long amountTax) The amount of tax calculated for shipping, in integer cents.void
setShippingRate
(String shippingRate) The ID of an existing ShippingRate.void
setTaxBehavior
(String taxBehavior) Specifies whether theamount
includes taxes.void
setTaxBreakdown
(List<Calculation.ShippingCost.TaxBreakdown> taxBreakdown) Detailed account of taxes relevant to shipping cost.void
setTaxCode
(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 theamount
includes 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 theamount
includes 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()
-