Class: Orb::Models::Customers::CostListByExternalIDParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/orb/models/customers/cost_list_by_external_id_params.rb

Overview

Defined Under Namespace

Modules: ViewMode

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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(currency: nil, timeframe_end: nil, timeframe_start: nil, view_mode: nil, request_options: {}) ⇒ Object

Some parameter documentations has been truncated, see Orb::Models::Customers::CostListByExternalIDParams for more details.



# File 'lib/orb/models/customers/cost_list_by_external_id_params.rb', line 38


Instance Attribute Details

#currencyString?

The currency or custom pricing unit to use.



15
# File 'lib/orb/models/customers/cost_list_by_external_id_params.rb', line 15

optional :currency, String, nil?: true

#timeframe_endTime?

Costs returned are exclusive of ‘timeframe_end`.



21
# File 'lib/orb/models/customers/cost_list_by_external_id_params.rb', line 21

optional :timeframe_end, Time, nil?: true

#timeframe_startTime?

Costs returned are inclusive of ‘timeframe_start`.



27
# File 'lib/orb/models/customers/cost_list_by_external_id_params.rb', line 27

optional :timeframe_start, Time, nil?: true

#view_modeSymbol, ...

Controls whether Orb returns cumulative costs since the start of the billing period, or incremental day-by-day costs. If your customer has minimums or discounts, it’s strongly recommended that you use the default cumulative behavior.



36
# File 'lib/orb/models/customers/cost_list_by_external_id_params.rb', line 36

optional :view_mode, enum: -> { Orb::Customers::CostListByExternalIDParams::ViewMode }, nil?: true