Class: Vatsense::Models::CurrencyCalculateVatPriceResponse
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/vatsense/models/currency_calculate_vat_price_response.rb,
sig/vatsense/models/currency_calculate_vat_price_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/currency_calculate_vat_price_response.rb', line 22
|
Instance Attribute Details
#code ⇒ Integer?
10
|
# File 'lib/vatsense/models/currency_calculate_vat_price_response.rb', line 10
optional :code, Integer
|
15
|
# File 'lib/vatsense/models/currency_calculate_vat_price_response.rb', line 15
optional :data, -> { Vatsense::VatPrice }
|
#success ⇒ Boolean?
20
|
# File 'lib/vatsense/models/currency_calculate_vat_price_response.rb', line 20
optional :success, Vatsense::Internal::Type::Boolean
|
Instance Method Details
#to_hash ⇒ { code: Integer, data: Vatsense::VatPrice, success: bool }
25
|
# File 'sig/vatsense/models/currency_calculate_vat_price_response.rbs', line 25
def to_hash: -> { code: Integer, data: Vatsense::VatPrice, success: bool }
|