Package com.stripe.model
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
-
-
Field Summary
-
Fields inherited from class com.stripe.model.StripeObject
PRETTY_PRINT_GSON
-
-
Constructor Summary
Constructors Constructor Description Maximum()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.lang.String
getUnit()
A unit of time.java.lang.Long
getValue()
Must be greater than 0.int
hashCode()
void
setUnit(java.lang.String unit)
A unit of time.void
setValue(java.lang.Long value)
Must be greater than 0.-
Methods inherited from class com.stripe.model.StripeObject
equals, getLastResponse, getRawJsonObject, setLastResponse, toJson, toString
-
-
-
-
Method Detail
-
getUnit
public java.lang.String getUnit()
A unit of time.One of
business_day
,day
,hour
,month
, orweek
.
-
getValue
public java.lang.Long getValue()
Must be greater than 0.
-
setUnit
public void setUnit(java.lang.String unit)
A unit of time.One of
business_day
,day
,hour
,month
, orweek
.
-
setValue
public void setValue(java.lang.Long value)
Must be greater than 0.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-