sfcc-dev-mcp
Version:
MCP server for Salesforce B2C Commerce Cloud development assistance including logs, debugging, and development tools
52 lines (28 loc) • 937 B
Markdown
# Package: dw.campaign
Class PercentageDiscount
# Inheritance Hierarchy
- Object
- dw.campaign.Discount
- dw.campaign.PercentageDiscount
# Description
Represents a percentage-off discount in the discount plan, for example "10% off all T-Shirts".
# Properties
## percentage
**Type:** Number (Read Only)
The percentage discount value, for example 10.00 for a "10% off"
discount.
# Constructor Summary
PercentageDiscount(percentage : Number) Create a percentage-discount on the fly.
# Method Summary
## getPercentage
**Signature:** `getPercentage() : Number`
Returns the percentage discount value, for example 10.00 for a "10% off" discount.
# Constructor Detail
# Method Detail
# Method Details
## getPercentage
**Signature:** `getPercentage() : Number`
**Description:** Returns the percentage discount value, for example 10.00 for a "10% off" discount.
**Returns:**
Discount percentage value
---