Class ShippingRate.CurrencyOption

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.ShippingRate.CurrencyOption
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
ShippingRate

public static class ShippingRate.CurrencyOption extends StripeObject
  • Constructor Details

    • CurrencyOption

      public CurrencyOption()
  • Method Details

    • getAmount

      public Long getAmount()
      A non-negative integer in cents representing how much to charge.
    • getTaxBehavior

      public String getTaxBehavior()
      Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of inclusive, exclusive, or unspecified.
    • setAmount

      public void setAmount(Long amount)
      A non-negative integer in cents representing how much to charge.
    • setTaxBehavior

      public void setTaxBehavior(String taxBehavior)
      Specifies whether the rate is considered inclusive of taxes or exclusive of taxes. One of inclusive, exclusive, or unspecified.
    • 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