Class: Stigg::Models::V1::SubscriptionUpdateParams::AppliedCoupon::Configuration
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Stigg::Models::V1::SubscriptionUpdateParams::AppliedCoupon::Configuration
- Defined in:
- lib/stigg/models/v1/subscription_update_params.rb,
sig/stigg/models/v1/subscription_update_params.rbs
Overview
Instance Attribute Summary collapse
-
#start_date ⇒ Time?
Coupon start date.
Instance Method Summary collapse
-
#initialize ⇒ Configuration
constructor
A new instance of Configuration.
- #to_hash ⇒ { start_date: 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 ⇒ Configuration
Returns a new instance of Configuration.
236 |
# File 'sig/stigg/models/v1/subscription_update_params.rbs', line 236
def initialize: (?start_date: Time) -> void
|
Instance Attribute Details
#start_date ⇒ Time?
Coupon start date
244 |
# File 'lib/stigg/models/v1/subscription_update_params.rb', line 244 optional :start_date, Time, api_name: :startDate |
Instance Method Details
#to_hash ⇒ { start_date: Time }
238 |
# File 'sig/stigg/models/v1/subscription_update_params.rbs', line 238
def to_hash: -> { start_date: Time }
|