Class: Stripe::Checkout::SessionCreateParams::ShippingOption::ShippingRateData::DeliveryEstimate::Minimum

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/checkout/session_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

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

#unitObject

A unit of time.



1951
1952
1953
# File 'lib/stripe/params/checkout/session_create_params.rb', line 1951

def unit
  @unit
end

#valueObject

Must be greater than 0.



1953
1954
1955
# File 'lib/stripe/params/checkout/session_create_params.rb', line 1953

def value
  @value
end