SpendingRulesSdkResultDTO
Spending rules data transfer object containing rule metadata and available rewards
Properties
| Property | Type | Description |
|---|---|---|
metadata | object | Metadata for the spending rule including icons and product information |
metadata.collectionProducts | object[] | Products from collections with their variants |
metadata.icons | object[] | Icons for different sizes |
metadata.products | object[] | Product information |
metadata.variants | object[] | Product variant information |
rewards | SpendingRulesRewardDTO | Available rewards that can be redeemed |
rule | Omit<SpendingRulesEntity["rule"], "versionId" | "customerTags"> | Rule configuration and settings |