Salesforce B2C Commerce 23.6
>
B2C Commerce API
>
B2C Commerce Script
>
dw.campaign
Overview
API Versioning
Deprecated
dw.campaign
Class FixedPriceDiscount
Object
dw.campaign.Discount
dw.campaign.FixedPriceDiscount
Represents a
fix price
discount in the discount plan, for example "Shipping only 0.99 all orders $25 or more."
Properties
fixedPrice :
Number
(Read Only)
The fixed price amount, for example 0.99 for a "Shipping only $0.99" discount.
Constructor Summary
FixedPriceDiscount
(amount :
Number
)
Create a fixed-price-discount on the fly.
Method Summary
getFixedPrice
() :
Number
Returns the fixed price amount, for example 0.99 for a "Shipping only $0.99" discount.
Methods inherited from class
Discount
getItemPromotionTiers
,
getPromotion
,
getPromotionTier
,
getQuantity
,
getType
Methods inherited from class
Object
assign
,
create
,
create
,
defineProperties
,
defineProperty
,
entries
,
freeze
,
fromEntries
,
getOwnPropertyDescriptor
,
getOwnPropertyNames
,
getOwnPropertySymbols
,
getPrototypeOf
,
hasOwnProperty
,
is
,
isExtensible
,
isFrozen
,
isPrototypeOf
,
isSealed
,
keys
,
preventExtensions
,
propertyIsEnumerable
,
seal
,
setPrototypeOf
,
toLocaleString
,
toString
,
valueOf
,
values
Constructor Detail
FixedPriceDiscount
public
FixedPriceDiscount
(amount :
Number
)
Create a fixed-price-discount on the fly. Can be used to create a custom price adjustment.
Parameters:
amount
-
fixed price e.g. 10.00
Method Detail
getFixedPrice
getFixedPrice
() :
Number
Returns the fixed price amount, for example 0.99 for a "Shipping only $0.99" discount.
Returns:
Fixed price amount
© Copyright 2000-2023, salesforce.com inc. All rights reserved. Various trademarks held by their respective owners.
X
Privacy Update:
We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this.
Privacy Policy.