Class: Stripe::Checkout::SessionCreateParams::ShippingOption::ShippingRateData::DeliveryEstimate::Maximum
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Checkout::SessionCreateParams::ShippingOption::ShippingRateData::DeliveryEstimate::Maximum
- Defined in:
- lib/stripe/params/checkout/session_create_params.rb
Instance Attribute Summary collapse
-
#unit ⇒ Object
A unit of time.
-
#value ⇒ Object
Must be greater than 0.
Instance Method Summary collapse
-
#initialize(unit: nil, value: nil) ⇒ Maximum
constructor
A new instance of Maximum.
Methods inherited from RequestParams
Constructor Details
#initialize(unit: nil, value: nil) ⇒ Maximum
Returns a new instance of Maximum.
1943 1944 1945 1946 |
# File 'lib/stripe/params/checkout/session_create_params.rb', line 1943 def initialize(unit: nil, value: nil) @unit = unit @value = value end |
Instance Attribute Details
#unit ⇒ Object
A unit of time.
1939 1940 1941 |
# File 'lib/stripe/params/checkout/session_create_params.rb', line 1939 def unit @unit end |
#value ⇒ Object
Must be greater than 0.
1941 1942 1943 |
# File 'lib/stripe/params/checkout/session_create_params.rb', line 1941 def value @value end |