Class: Vatsense::Models::Invoice::ItemRetrieveResponse
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/vatsense/models/invoice/item_retrieve_response.rb,
sig/vatsense/models/invoice/item_retrieve_response.rbs
Overview
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(code: nil, data: nil, success: nil) ⇒ Object
|
# File 'lib/vatsense/models/invoice/item_retrieve_response.rb', line 23
|
Instance Attribute Details
#code ⇒ Integer?
11
|
# File 'lib/vatsense/models/invoice/item_retrieve_response.rb', line 11
optional :code, Integer
|
16
|
# File 'lib/vatsense/models/invoice/item_retrieve_response.rb', line 16
optional :data, -> { Vatsense::Invoice::InvoiceItem }
|
#success ⇒ Boolean?
21
|
# File 'lib/vatsense/models/invoice/item_retrieve_response.rb', line 21
optional :success, Vatsense::Internal::Type::Boolean
|
Instance Method Details
#to_hash ⇒ {
28
|
# File 'sig/vatsense/models/invoice/item_retrieve_response.rbs', line 28
def to_hash: -> {
|