Class Session.ShippingOption

java.lang.Object
com.stripe.model.StripeObject
com.stripe.model.checkout.Session.ShippingOption
All Implemented Interfaces:
StripeObjectInterface
Enclosing class:
Session

public static class Session.ShippingOption extends StripeObject
The amount on which tax is calculated, in cents (or local equivalent).
  • Constructor Details

    • ShippingOption

      public ShippingOption()
  • 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)
    • getShippingAmount

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

      public void setShippingAmount(Long shippingAmount)
      A non-negative integer in cents representing how much to charge.
    • 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