Class: Stripe::V2::Billing::CadenceCreateParams::BillingCycle::Day::Time

Inherits:
RequestParams
  • Object
show all
Defined in:
lib/stripe/params/v2/billing/cadence_create_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

attr_accessor, coerce_params, coerce_value, field_encodings, new, #to_h

Constructor Details

#initialize(hour: nil, minute: nil, second: nil) ⇒ Time

Returns a new instance of Time.



22
23
24
25
26
# File 'lib/stripe/params/v2/billing/cadence_create_params.rb', line 22

def initialize(hour: nil, minute: nil, second: nil)
  @hour = hour
  @minute = minute
  @second = second
end

Instance Attribute Details

#hourObject

The hour at which the billing cycle ends. This must be an integer between 0 and 23, inclusive. 0 represents midnight, and 23 represents 11 PM.



14
15
16
# File 'lib/stripe/params/v2/billing/cadence_create_params.rb', line 14

def hour
  @hour
end

#minuteObject

The minute at which the billing cycle ends. Must be an integer between 0 and 59, inclusive.



17
18
19
# File 'lib/stripe/params/v2/billing/cadence_create_params.rb', line 17

def minute
  @minute
end

#secondObject

The second at which the billing cycle ends. Must be an integer between 0 and 59, inclusive.



20
21
22
# File 'lib/stripe/params/v2/billing/cadence_create_params.rb', line 20

def second
  @second
end