Class: Orb::Models::BillingCycleAnchorConfiguration
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Orb::Models::BillingCycleAnchorConfiguration
- Defined in:
- lib/orb/models/billing_cycle_anchor_configuration.rb
Instance Attribute Summary collapse
-
#day ⇒ Integer
The day of the month on which the billing cycle is anchored.
-
#month ⇒ Integer?
The month on which the billing cycle is anchored (e.g. a quarterly price anchored in February would have cycles starting February, May, August, and November).
-
#year ⇒ Integer?
The year on which the billing cycle is anchored (e.g. a 2 year billing cycle anchored on 2021 would have cycles starting on 2021, 2023, 2025, etc.).
Instance Method Summary collapse
-
#initialize(day: , month: nil, year: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see BillingCycleAnchorConfiguration for more details.
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(day: , month: nil, year: nil) ⇒ Object
Some parameter documentations has been truncated, see Orb::Models::BillingCycleAnchorConfiguration for more details.
|
|
# File 'lib/orb/models/billing_cycle_anchor_configuration.rb', line 30
|
Instance Attribute Details
#day ⇒ Integer
The day of the month on which the billing cycle is anchored. If the maximum number of days in a month is greater than this value, the last day of the month is the billing cycle day (e.g. billing_cycle_day=31 for April means the billing period begins on the 30th.
13 |
# File 'lib/orb/models/billing_cycle_anchor_configuration.rb', line 13 required :day, Integer |
#month ⇒ Integer?
The month on which the billing cycle is anchored (e.g. a quarterly price anchored in February would have cycles starting February, May, August, and November).
21 |
# File 'lib/orb/models/billing_cycle_anchor_configuration.rb', line 21 optional :month, Integer, nil?: true |
#year ⇒ Integer?
The year on which the billing cycle is anchored (e.g. a 2 year billing cycle anchored on 2021 would have cycles starting on 2021, 2023, 2025, etc.).
28 |
# File 'lib/orb/models/billing_cycle_anchor_configuration.rb', line 28 optional :year, Integer, nil?: true |