Record
sales-rule-data-rule-interface
No description available.
record sales-rule-data-rule-interface {
action-condition: option<sales-rule-data-condition-interface>,
apply-to-shipping: bool,
condition: option<sales-rule-data-condition-interface>,
coupon-type: string,
customer-group-ids: list<s32>,
description: option<string>,
discount-amount: f64,
discount-qty: option<f64>,
discount-step: s32,
extension-attributes: option<sales-rule-data-rule-extension-interface>,
from-date: option<string>,
is-active: bool,
is-advanced: bool,
is-rss: bool,
name: option<string>,
product-ids: option<list<s32>>,
rule-id: option<s32>,
simple-action: option<string>,
simple-free-shipping: option<string>,
sort-order: s32,
stop-rules-processing: bool,
store-labels: option<list<sales-rule-data-rule-label-interface>>,
times-used: s32,
to-date: option<string>,
use-auto-generation: bool,
uses-per-coupon: s32,
uses-per-customer: s32,
website-ids: list<s32>,
}Fields
| Name | Type | Description |
|---|---|---|
| action-condition | option<sales-rule-data-condition-interface> | |
| apply-to-shipping | bool | |
| condition | option<sales-rule-data-condition-interface> | |
| coupon-type | string | |
| customer-group-ids | list<s32> | |
| description | option<string> | |
| discount-amount | f64 | |
| discount-qty | option<f64> | |
| discount-step | s32 | |
| extension-attributes | option<sales-rule-data-rule-extension-interface> | |
| from-date | option<string> | |
| is-active | bool | |
| is-advanced | bool | |
| is-rss | bool | |
| name | option<string> | |
| product-ids | option<list<s32>> | |
| rule-id | option<s32> | |
| simple-action | option<string> | |
| simple-free-shipping | option<string> | |
| sort-order | s32 | |
| stop-rules-processing | bool | |
| store-labels | option<list<sales-rule-data-rule-label-interface>> | |
| times-used | s32 | |
| to-date | option<string> | |
| use-auto-generation | bool | |
| uses-per-coupon | s32 | |
| uses-per-customer | s32 | |
| website-ids | list<s32> |