Class ShippingRate.DeliveryEstimate.Maximum

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

public static class ShippingRate.DeliveryEstimate.Maximum extends StripeObject
  • Constructor Details

    • Maximum

      public Maximum()
  • Method Details

    • getUnit

      public String getUnit()
      A unit of time.

      One of business_day, day, hour, month, or week.

    • getValue

      public Long getValue()
      Must be greater than 0.
    • setUnit

      public void setUnit(String unit)
      A unit of time.

      One of business_day, day, hour, month, or week.

    • setValue

      public void setValue(Long value)
      Must be greater than 0.
    • 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