Class: Stripe::V2::Billing::CadenceCreateParams::BillingCycle::Week::Time
- Inherits:
-
RequestParams
- Object
- RequestParams
- Stripe::V2::Billing::CadenceCreateParams::BillingCycle::Week::Time
- Defined in:
- lib/stripe/params/v2/billing/cadence_create_params.rb
Instance Attribute Summary collapse
-
#hour ⇒ Object
The hour at which the billing cycle ends.
-
#minute ⇒ Object
The minute at which the billing cycle ends.
-
#second ⇒ Object
The second at which the billing cycle ends.
Instance Method Summary collapse
-
#initialize(hour: nil, minute: nil, second: nil) ⇒ Time
constructor
A new instance of Time.
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.
92 93 94 95 96 |
# File 'lib/stripe/params/v2/billing/cadence_create_params.rb', line 92 def initialize(hour: nil, minute: nil, second: nil) @hour = hour @minute = minute @second = second end |
Instance Attribute Details
#hour ⇒ Object
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.
84 85 86 |
# File 'lib/stripe/params/v2/billing/cadence_create_params.rb', line 84 def hour @hour end |
#minute ⇒ Object
The minute at which the billing cycle ends. Must be an integer between 0 and 59, inclusive.
87 88 89 |
# File 'lib/stripe/params/v2/billing/cadence_create_params.rb', line 87 def minute @minute end |
#second ⇒ Object
The second at which the billing cycle ends. Must be an integer between 0 and 59, inclusive.
90 91 92 |
# File 'lib/stripe/params/v2/billing/cadence_create_params.rb', line 90 def second @second end |