Class: Vatsense::Models::InvoiceResponse
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_response.rb', line 22
|
Instance Attribute Details
#code ⇒ Integer?
10
|
# File 'lib/vatsense/models/invoice_response.rb', line 10
optional :code, Integer
|
15
|
# File 'lib/vatsense/models/invoice_response.rb', line 15
optional :data, -> { Vatsense::InvoiceAPI }
|
#success ⇒ Boolean?
20
|
# File 'lib/vatsense/models/invoice_response.rb', line 20
optional :success, Vatsense::Internal::Type::Boolean
|
Instance Method Details
#to_hash ⇒ {
25
|
# File 'sig/vatsense/models/invoice_response.rbs', line 25
def to_hash: -> {
|