Class: Inttegro::Product::SetDefaultUnitPriceRequest
- Inherits:
-
T::Struct
- Object
- T::Struct
- Inttegro::Product::SetDefaultUnitPriceRequest
- 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
-
#price_id ⇒ String
readonly
Identifier of the catalog price to make the default.
-
#product_id ⇒ String
readonly
Identifier of the product whose default price is changing.
Instance Attribute Details
#price_id ⇒ String (readonly)
Identifier of the catalog price to make the default.
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.
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 |