Class Invoice.ShippingCost

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.Invoice.ShippingCost
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
Invoice

public static class Invoice.ShippingCost extends StripeObject
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.

  • Constructor Details

    • ShippingCost

      public ShippingCost()
  • Method Details

    • getShippingRate

      public String getShippingRate()
      Get ID of expandable shippingRate object.
    • setShippingRate

      public void setShippingRate(String id)
    • getShippingRateObject

      public ShippingRate getShippingRateObject()
      Get expanded shippingRate.
    • setShippingRateObject

      public void setShippingRateObject(ShippingRate expandableObject)
    • getAmountSubtotal

      public Long getAmountSubtotal()
      Total shipping cost before any taxes are applied.
    • getAmountTax

      public Long getAmountTax()
      Total tax amount applied due to shipping costs. If no tax was applied, defaults to 0.
    • getAmountTotal

      public Long getAmountTotal()
      Total shipping cost after taxes are applied.
    • getTaxes

      public List<Invoice.ShippingCost.Tax> getTaxes()
      The taxes applied to the shipping rate.
    • setAmountSubtotal

      public void setAmountSubtotal(Long amountSubtotal)
      Total shipping cost before any taxes are applied.
    • setAmountTax

      public void setAmountTax(Long amountTax)
      Total tax amount applied due to shipping costs. If no tax was applied, defaults to 0.
    • setAmountTotal

      public void setAmountTotal(Long amountTotal)
      Total shipping cost after taxes are applied.
    • setTaxes

      public void setTaxes(List<Invoice.ShippingCost.Tax> taxes)
      The taxes applied to the shipping rate.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object