Class: Stripe::V2::Billing::IntentCreateParams::CadenceData::BillingCycle::Week::Time

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



512
513
514
515
516
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 512

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.



504
505
506
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 504

def hour
  @hour
end

#minuteObject

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



507
508
509
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 507

def minute
  @minute
end

#secondObject

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



510
511
512
# File 'lib/stripe/params/v2/billing/intent_create_params.rb', line 510

def second
  @second
end