Class PaymentLink.ShippingOption

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

public static class PaymentLink.ShippingOption extends StripeObject
  • 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