Name | Type | Description | Notes |
---|---|---|---|
id_field | String | The logical field that specifies a record's category, e.g. "product_type". | [optional] |
mapping_field | String | The field that contains a human-readable rendering of a record's category, e.g. "product_type_name". When creating promotions, this field's text value is displayed instead of the `id_field`. If `mapping_field` is not provided, the text value of the record's `id_field` is displayed. | [optional] |
require 'sdk_ruby'
instance = SajariAPIClient::PromotionCategory.new(
id_field: null,
mapping_field: null
)