Class: Orb::Models::CustomerHierarchyConfig

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/orb/models/customer_hierarchy_config.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(child_customer_ids: nil, parent_customer_id: nil) ⇒ Object

Some parameter documentations has been truncated, see Orb::Models::CustomerHierarchyConfig for more details.

Parameters:

  • child_customer_ids (Array<String>) (defaults to: nil)

    A list of child customer IDs to add to the hierarchy. The desired child customer

  • parent_customer_id (String, nil) (defaults to: nil)

    The ID of the parent customer in the hierarchy. The desired parent customer must



# File 'lib/orb/models/customer_hierarchy_config.rb', line 20

Instance Attribute Details

#child_customer_idsArray<String>?

A list of child customer IDs to add to the hierarchy. The desired child customers must not already be part of another hierarchy.

Returns:

  • (Array<String>, nil)


11
# File 'lib/orb/models/customer_hierarchy_config.rb', line 11

optional :child_customer_ids, Orb::Internal::Type::ArrayOf[String]

#parent_customer_idString?

The ID of the parent customer in the hierarchy. The desired parent customer must not be a child of another customer.

Returns:

  • (String, nil)


18
# File 'lib/orb/models/customer_hierarchy_config.rb', line 18

optional :parent_customer_id, String, nil?: true