Class: MetronomeSDK::Models::V2::ContractRetrieveParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MetronomeSDK::Models::V2::ContractRetrieveParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/metronome_sdk/models/v2/contract_retrieve_params.rb
Overview
Instance Attribute Summary collapse
-
#as_of_date ⇒ Time?
Optional RFC 3339 timestamp.
- #contract_id ⇒ String
- #customer_id ⇒ String
-
#include_balance ⇒ Boolean?
Include the balance of credits and commits in the response.
-
#include_ledgers ⇒ Boolean?
Include commit/credit ledgers in the response.
Attributes included from Internal::Type::RequestParameters
Instance Method Summary collapse
-
#initialize(contract_id: , customer_id: , as_of_date: nil, include_balance: nil, include_ledgers: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see ContractRetrieveParams for more details.
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
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(contract_id: , customer_id: , as_of_date: nil, include_balance: nil, include_ledgers: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see MetronomeSDK::Models::V2::ContractRetrieveParams for more details.
|
|
# File 'lib/metronome_sdk/models/v2/contract_retrieve_params.rb', line 42
|
Instance Attribute Details
#as_of_date ⇒ Time?
Optional RFC 3339 timestamp. Return the contract as of this date. Cannot be used with include_ledgers parameter.
26 |
# File 'lib/metronome_sdk/models/v2/contract_retrieve_params.rb', line 26 optional :as_of_date, Time |
#contract_id ⇒ String
14 |
# File 'lib/metronome_sdk/models/v2/contract_retrieve_params.rb', line 14 required :contract_id, String |
#customer_id ⇒ String
19 |
# File 'lib/metronome_sdk/models/v2/contract_retrieve_params.rb', line 19 required :customer_id, String |
#include_balance ⇒ Boolean?
Include the balance of credits and commits in the response. Setting this flag may cause the query to be slower.
33 |
# File 'lib/metronome_sdk/models/v2/contract_retrieve_params.rb', line 33 optional :include_balance, MetronomeSDK::Internal::Type::Boolean |
#include_ledgers ⇒ Boolean?
Include commit/credit ledgers in the response. Setting this flag may cause the query to be slower. Cannot be used with as_of_date parameter.
40 |
# File 'lib/metronome_sdk/models/v2/contract_retrieve_params.rb', line 40 optional :include_ledgers, MetronomeSDK::Internal::Type::Boolean |