Class: Stripe::V2::Billing::CadenceService::CreateParams::BillingCycle::Year::Time

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from RequestParams

#to_h

Constructor Details

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

Returns a new instance of Time.



159
160
161
162
163
# File 'lib/stripe/services/v2/billing/cadence_service.rb', line 159

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.



151
152
153
# File 'lib/stripe/services/v2/billing/cadence_service.rb', line 151

def hour
  @hour
end

#minuteObject

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



154
155
156
# File 'lib/stripe/services/v2/billing/cadence_service.rb', line 154

def minute
  @minute
end

#secondObject

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



157
158
159
# File 'lib/stripe/services/v2/billing/cadence_service.rb', line 157

def second
  @second
end