Class: Inttegro::Product::SetDefaultUnitPriceRequest

Inherits:
T::Struct
  • Object
show all
Defined in:
lib/inttegro/product/set_default_unit_price_request.rb

Overview

Request body for selecting a product's default unit price.

Both fields are required and serialize with their snake-case API names.

Instance Attribute Summary collapse

Instance Attribute Details

#price_id ⇒ String (readonly)

Identifier of the catalog price to make the default.

Returns:

  • (String)


17
18
19
20
# File 'lib/inttegro/product/set_default_unit_price_request.rb', line 17

class SetDefaultUnitPriceRequest < T::Struct
  const :product_id, String
  const :price_id, String
end

#product_id ⇒ String (readonly)

Identifier of the product whose default price is changing.

Returns:

  • (String)


17
18
19
20
# File 'lib/inttegro/product/set_default_unit_price_request.rb', line 17

class SetDefaultUnitPriceRequest < T::Struct
  const :product_id, String
  const :price_id, String
end