Class: Stripe::InvoiceCreateParams::ShippingCost::ShippingRateData::DeliveryEstimate::Minimum

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/invoice_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

Returns a new instance of Minimum.



315
316
317
318
# File 'lib/stripe/params/invoice_create_params.rb', line 315

def initialize(unit: nil, value: nil)
  @unit = unit
  @value = value
end

Instance Attribute Details

#unitObject

A unit of time.



311
312
313
# File 'lib/stripe/params/invoice_create_params.rb', line 311

def unit
  @unit
end

#valueObject

Must be greater than 0.



313
314
315
# File 'lib/stripe/params/invoice_create_params.rb', line 313

def value
  @value
end