Class: Orb::Models::Customer::AccountingSyncConfiguration::AccountingProvider
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Orb::Models::Customer::AccountingSyncConfiguration::AccountingProvider
- Defined in:
- lib/orb/models/customer.rb
Defined Under Namespace
Modules: ProviderType
Instance Attribute Summary collapse
- #external_provider_id ⇒ String?
- #provider_type ⇒ Symbol, Orb::Models::Customer::AccountingSyncConfiguration::AccountingProvider::ProviderType
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
403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 |
# File 'lib/orb/models/customer.rb', line 403 class AccountingProvider < Orb::Internal::Type::BaseModel # @!attribute external_provider_id # # @return [String, nil] required :external_provider_id, String, nil?: true # @!attribute provider_type # # @return [Symbol, Orb::Models::Customer::AccountingSyncConfiguration::AccountingProvider::ProviderType] required :provider_type, enum: -> { Orb::Customer::AccountingSyncConfiguration::AccountingProvider::ProviderType } # @!method initialize(external_provider_id:, provider_type:) # @param external_provider_id [String, nil] # @param provider_type [Symbol, Orb::Models::Customer::AccountingSyncConfiguration::AccountingProvider::ProviderType] # @see Orb::Models::Customer::AccountingSyncConfiguration::AccountingProvider#provider_type module ProviderType extend Orb::Internal::Type::Enum QUICKBOOKS = :quickbooks NETSUITE = :netsuite # @!method self.values # @return [Array<Symbol>] end end |
Instance Attribute Details
#external_provider_id ⇒ String?
407 |
# File 'lib/orb/models/customer.rb', line 407 required :external_provider_id, String, nil?: true |
#provider_type ⇒ Symbol, Orb::Models::Customer::AccountingSyncConfiguration::AccountingProvider::ProviderType
412 413 |
# File 'lib/orb/models/customer.rb', line 412 required :provider_type, enum: -> { Orb::Customer::AccountingSyncConfiguration::AccountingProvider::ProviderType } |