Class: EInvoiceAPI::Models::LookupRetrieveParticipantsResponse::Participant::Entity::Identifier

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/e_invoice_api/models/lookup_retrieve_participants_response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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(scheme: , value: ) ⇒ Object

Represents a business identifier

Parameters:

  • scheme (String) (defaults to: )

    Identifier scheme

  • value (String) (defaults to: )

    Identifier value



171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
# File 'lib/e_invoice_api/models/lookup_retrieve_participants_response.rb', line 171

class Identifier < EInvoiceAPI::Internal::Type::BaseModel
  # @!attribute scheme
  #   Identifier scheme
  #
  #   @return [String]
  required :scheme, String

  # @!attribute value
  #   Identifier value
  #
  #   @return [String]
  required :value, String

  # @!method initialize(scheme:, value:)
  #   Represents a business identifier
  #
  #   @param scheme [String] Identifier scheme
  #
  #   @param value [String] Identifier value
end

Instance Attribute Details

#schemeString

Identifier scheme

Returns:

  • (String)


176
# File 'lib/e_invoice_api/models/lookup_retrieve_participants_response.rb', line 176

required :scheme, String

#valueString

Identifier value

Returns:

  • (String)


182
# File 'lib/e_invoice_api/models/lookup_retrieve_participants_response.rb', line 182

required :value, String