Class: Stripe::Checkout::SessionCreateParams::ShippingOption::ShippingRateData::DeliveryEstimate::Minimum
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::Checkout::SessionCreateParams::ShippingOption::ShippingRateData::DeliveryEstimate::Minimum
- 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) ⇒ Minimum
constructor
A new instance of Minimum.
Methods inherited from RequestParams
Constructor Details
#initialize(unit: nil, value: nil) ⇒ Minimum
1955 1956 1957 1958 |
# File 'lib/stripe/params/checkout/session_create_params.rb', line 1955 def initialize(unit: nil, value: nil) @unit = unit @value = value end |
Instance Attribute Details
#unit ⇒ Object
A unit of time.
1951 1952 1953 |
# File 'lib/stripe/params/checkout/session_create_params.rb', line 1951 def unit @unit end |
#value ⇒ Object
Must be greater than 0.
1953 1954 1955 |
# File 'lib/stripe/params/checkout/session_create_params.rb', line 1953 def value @value end |