Package com.stripe.model.checkout
Class Session.ShippingCost
java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.checkout.Session.ShippingCost
- All Implemented Interfaces:
StripeObjectInterface
- Enclosing class:
- Session
-
Nested Class Summary
-
Field Summary
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
boolean
Total shipping cost before any discounts or taxes are applied.Total tax amount applied due to shipping costs.Total shipping cost after discounts and taxes are applied.Get ID of expandableshippingRate
object.Get expandedshippingRate
.getTaxes()
The taxes applied to the shipping rate.int
hashCode()
void
setAmountSubtotal
(Long amountSubtotal) Total shipping cost before any discounts or taxes are applied.void
setAmountTax
(Long amountTax) Total tax amount applied due to shipping costs.void
setAmountTotal
(Long amountTotal) Total shipping cost after discounts and taxes are applied.void
void
setShippingRateObject
(ShippingRate expandableObject) void
setTaxes
(List<Session.ShippingCost.Tax> taxes) The taxes applied to the shipping rate.Methods inherited from class com.stripe.model.StripeObject
deserializeStripeObject, deserializeStripeObject, deserializeStripeObject, equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
Constructor Details
-
ShippingCost
public ShippingCost()
-
-
Method Details
-
getShippingRate
Get ID of expandableshippingRate
object. -
setShippingRate
-
getShippingRateObject
Get expandedshippingRate
. -
setShippingRateObject
-
getAmountSubtotal
Total shipping cost before any discounts or taxes are applied. -
getAmountTax
Total tax amount applied due to shipping costs. If no tax was applied, defaults to 0. -
getAmountTotal
Total shipping cost after discounts and taxes are applied. -
getTaxes
The taxes applied to the shipping rate. -
setAmountSubtotal
Total shipping cost before any discounts or taxes are applied. -
setAmountTax
Total tax amount applied due to shipping costs. If no tax was applied, defaults to 0. -
setAmountTotal
Total shipping cost after discounts and taxes are applied. -
setTaxes
The taxes applied to the shipping rate. -
equals
-
canEqual
-
hashCode
public int hashCode()
-