Class: Orb::Models::AccountingProviderConfig

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/orb/models/accounting_provider_config.rb,
sig/orb/models/accounting_provider_config.rbs

Defined Under Namespace

Modules: ProviderType

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(external_provider_id:, provider_type:) ⇒ Object

Parameters:



# File 'lib/orb/models/accounting_provider_config.rb', line 16

Instance Attribute Details

#external_provider_idString

Parameters:

  • value (String)

Returns:

  • (String)


9
# File 'lib/orb/models/accounting_provider_config.rb', line 9

required :external_provider_id, String

#provider_typeSymbol, Orb::Models::AccountingProviderConfig::ProviderType

Parameters:

  • value (Orb::Models::AccountingProviderConfig::provider_type)

Returns:



14
# File 'lib/orb/models/accounting_provider_config.rb', line 14

required :provider_type, enum: -> { Orb::AccountingProviderConfig::ProviderType }

Instance Method Details

#to_hash{

Returns:

  • ({)


19
# File 'sig/orb/models/accounting_provider_config.rbs', line 19

def to_hash: -> {