Class: Orb::Models::DimensionalPriceGroups::ExternalDimensionalPriceGroupIDUpdateParams

Inherits:
Internal::Type::BaseModel show all
Extended by:
Internal::Type::RequestParameters::Converter
Includes:
Internal::Type::RequestParameters
Defined in:
lib/orb/models/dimensional_price_groups/external_dimensional_price_group_id_update_params.rb

Overview

Instance Attribute Summary collapse

Attributes included from Internal::Type::RequestParameters

#request_options

Instance Method Summary collapse

Methods included from Internal::Type::RequestParameters::Converter

dump_request

Methods included from Internal::Type::RequestParameters

included

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(body_external_dimensional_price_group_id: nil, metadata: nil, request_options: {}) ⇒ Object

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

Parameters:

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

    An optional user-defined ID for this dimensional price group resource, used thro

  • metadata (Hash{Symbol=>String, nil}, nil) (defaults to: nil)

    User-specified key/value pairs for the resource. Individual keys can be removed

  • request_options (Orb::RequestOptions, Hash{Symbol=>Object}) (defaults to: {})


# File 'lib/orb/models/dimensional_price_groups/external_dimensional_price_group_id_update_params.rb', line 31

Instance Attribute Details

#body_external_dimensional_price_group_idString?

An optional user-defined ID for this dimensional price group resource, used throughout the system as an alias for this dimensional price group. Use this field to identify a dimensional price group by an existing identifier in your system.

Returns:

  • (String, nil)


18
19
20
21
# File 'lib/orb/models/dimensional_price_groups/external_dimensional_price_group_id_update_params.rb', line 18

optional :body_external_dimensional_price_group_id,
String,
api_name: :external_dimensional_price_group_id,
nil?: true

#metadataHash{Symbol=>String, nil}?

User-specified key/value pairs for the resource. Individual keys can be removed by setting the value to ‘null`, and the entire metadata mapping can be cleared by setting `metadata` to `null`.

Returns:

  • (Hash{Symbol=>String, nil}, nil)


29
# File 'lib/orb/models/dimensional_price_groups/external_dimensional_price_group_id_update_params.rb', line 29

optional :metadata, Orb::Internal::Type::HashOf[String, nil?: true], nil?: true