Class: MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::AddRecurringCredit::ProrationRounding::Access
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::AddRecurringCredit::ProrationRounding::Access
- Defined in:
- lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb,
sig/metronome_sdk/models/v2/contract_get_edit_history_response.rbs
Overview
Defined Under Namespace
Modules: RoundingMethod
Instance Attribute Summary collapse
-
#decimal_places ⇒ Float
Number of decimal places to round to.
- #rounding_method ⇒ Symbol, MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::AddRecurringCredit::ProrationRounding::Access::RoundingMethod
Instance Method Summary collapse
-
#initialize(decimal_places:, rounding_method:) ⇒ Object
constructor
Some parameter documentations has been truncated, see Access for more details.
- #to_hash ⇒ {
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(decimal_places:, rounding_method:) ⇒ Object
Some parameter documentations has been truncated, see MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::AddRecurringCredit::ProrationRounding::Access for more details.
|
|
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 1757
|
Instance Attribute Details
#decimal_places ⇒ Float
Number of decimal places to round to. Applied directly to the stored monetary representation. Negative values round to powers of 10 (e.g., -2 rounds to nearest 100 in the stored unit).
1749 |
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 1749 required :decimal_places, Float |
#rounding_method ⇒ Symbol, MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::AddRecurringCredit::ProrationRounding::Access::RoundingMethod
1754 1755 |
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 1754 required :rounding_method, enum: -> { MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::AddRecurringCredit::ProrationRounding::Access::RoundingMethod } |
Instance Method Details
#to_hash ⇒ {
1739 |
# File 'sig/metronome_sdk/models/v2/contract_get_edit_history_response.rbs', line 1739
def to_hash: -> {
|