Class: Stigg::Models::V1::SubscriptionPreviewResponse::Data::BillingPeriodRange
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Stigg::Models::V1::SubscriptionPreviewResponse::Data::BillingPeriodRange
- Defined in:
- lib/stigg/models/v1/subscription_preview_response.rb,
sig/stigg/models/v1/subscription_preview_response.rbs
Overview
Instance Attribute Summary collapse
-
#end_ ⇒ Time?
Billing period end date.
-
#start ⇒ Time?
Billing period start date.
Instance Method Summary collapse
-
#initialize ⇒ BillingPeriodRange
constructor
A new instance of BillingPeriodRange.
- #to_hash ⇒ { end_: Time, start: Time }
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize ⇒ BillingPeriodRange
Returns a new instance of BillingPeriodRange.
266 |
# File 'sig/stigg/models/v1/subscription_preview_response.rbs', line 266
def initialize: (?end_: Time, ?start: Time) -> void
|
Instance Attribute Details
#end_ ⇒ Time?
Billing period end date
296 |
# File 'lib/stigg/models/v1/subscription_preview_response.rb', line 296 optional :end_, Time, api_name: :end |
#start ⇒ Time?
Billing period start date
302 |
# File 'lib/stigg/models/v1/subscription_preview_response.rb', line 302 optional :start, Time |
Instance Method Details
#to_hash ⇒ { end_: Time, start: Time }
268 |
# File 'sig/stigg/models/v1/subscription_preview_response.rbs', line 268
def to_hash: -> { end_: Time, start: Time }
|