Class: Orb::Models::Item::ExternalConnection
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Orb::Models::Item::ExternalConnection
- Defined in:
- lib/orb/models/item.rb
Defined Under Namespace
Modules: ExternalConnectionName
Instance Attribute Summary collapse
- #external_connection_name ⇒ Symbol, Orb::Models::Item::ExternalConnection::ExternalConnectionName
- #external_entity_id ⇒ String
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_connection_name: , external_entity_id: ) ⇒ Object
54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 |
# File 'lib/orb/models/item.rb', line 54 class ExternalConnection < Orb::Internal::Type::BaseModel # @!attribute external_connection_name # # @return [Symbol, Orb::Models::Item::ExternalConnection::ExternalConnectionName] required :external_connection_name, enum: -> { Orb::Item::ExternalConnection::ExternalConnectionName } # @!attribute external_entity_id # # @return [String] required :external_entity_id, String # @!method initialize(external_connection_name:, external_entity_id:) # @param external_connection_name [Symbol, Orb::Models::Item::ExternalConnection::ExternalConnectionName] # @param external_entity_id [String] # @see Orb::Models::Item::ExternalConnection#external_connection_name module ExternalConnectionName extend Orb::Internal::Type::Enum STRIPE = :stripe QUICKBOOKS = :quickbooks BILL_COM = :"bill.com" NETSUITE = :netsuite TAXJAR = :taxjar AVALARA = :avalara ANROK = :anrok # @!method self.values # @return [Array<Symbol>] end end |
Instance Attribute Details
#external_connection_name ⇒ Symbol, Orb::Models::Item::ExternalConnection::ExternalConnectionName
58 |
# File 'lib/orb/models/item.rb', line 58 required :external_connection_name, enum: -> { Orb::Item::ExternalConnection::ExternalConnectionName } |
#external_entity_id ⇒ String
63 |
# File 'lib/orb/models/item.rb', line 63 required :external_entity_id, String |