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
Page size of invoice pdf. Options include a4, letter, and auto. If set to auto, page size
will be switched to a4 or letter based on customer locale.
One of a4
, auto
, or letter
.
-
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 taxes are applied.Total tax amount applied due to shipping costs.Total shipping cost after 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 taxes are applied.void
setAmountTax
(Long amountTax) Total tax amount applied due to shipping costs.void
setAmountTotal
(Long amountTotal) Total shipping cost after taxes are applied.void
void
setShippingRateObject
(ShippingRate expandableObject) void
setTaxes
(List<Invoice.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 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 taxes are applied. -
getTaxes
The taxes applied to the shipping rate. -
setAmountSubtotal
Total shipping cost before any 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 taxes are applied. -
setTaxes
The taxes applied to the shipping rate. -
equals
-
canEqual
-
hashCode
public int hashCode()
-