Skip to content

Latest commit

 

History

History
20 lines (14 loc) · 486 Bytes

CreatePromotionRuleParamsPromotionRule.md

File metadata and controls

20 lines (14 loc) · 486 Bytes

SpreeClient::CreatePromotionRuleParamsPromotionRule

Properties

Name Type Description Notes
promotion_id String Set the ID of the promotion this Promotion Rule belongs to.
type String Set the Promotion Rule type.

Example

require 'spree_client'

instance = SpreeClient::CreatePromotionRuleParamsPromotionRule.new(
  promotion_id: 22,
  type: Spree::Promotion::Rules::Country
)