Class CreditNote.ShippingCost

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

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