Class: Telnyx::Models::ChargesSummaryRetrieveResponse::Data::Summary::Adjustment
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Telnyx::Models::ChargesSummaryRetrieveResponse::Data::Summary::Adjustment
- Defined in:
- lib/telnyx/models/charges_summary_retrieve_response.rb
Instance Attribute Summary collapse
-
#amount ⇒ String
Adjustment amount as decimal string.
-
#description ⇒ String
Description of the adjustment.
-
#event_date ⇒ Date
Date when the adjustment occurred.
Instance Method Summary collapse
- #initialize(adjustments:, lines:) ⇒ Object constructor
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(adjustments:, lines:) ⇒ Object
93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 |
# File 'lib/telnyx/models/charges_summary_retrieve_response.rb', line 93 class Adjustment < Telnyx::Internal::Type::BaseModel # @!attribute amount # Adjustment amount as decimal string # # @return [String] required :amount, String # @!attribute description # Description of the adjustment # # @return [String] required :description, String # @!attribute event_date # Date when the adjustment occurred # # @return [Date] required :event_date, Date # @!method initialize(amount:, description:, event_date:) # @param amount [String] Adjustment amount as decimal string # # @param description [String] Description of the adjustment # # @param event_date [Date] Date when the adjustment occurred end |
Instance Attribute Details
#amount ⇒ String
Adjustment amount as decimal string
98 |
# File 'lib/telnyx/models/charges_summary_retrieve_response.rb', line 98 required :amount, String |
#description ⇒ String
Description of the adjustment
104 |
# File 'lib/telnyx/models/charges_summary_retrieve_response.rb', line 104 required :description, String |
#event_date ⇒ Date
Date when the adjustment occurred
110 |
# File 'lib/telnyx/models/charges_summary_retrieve_response.rb', line 110 required :event_date, Date |