Frontend | Backend | Api

Discounts\Models\Api\UserGroupCondition

User group condition describes the conditions that need to be met for the discount to be applied; based on a specific user group. The discount will only be applicable to users in the selected group and can either allow or forbid the discount application.

Property Description Returns
userGroupId Gets the user group ID for this condition. int
action Gets the action type for this condition (allow or forbid). string
id int
name string
data string
active bool
created Date the record was created. DateTime
modified Last modification date for the record. DateTime
rule Rule