Search
Preparing search index...
The search index is not available
@voucherify/sdk - v2.9.0
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@voucherify/sdk - v2.9.0
ClientSideValidateResponse
Interface ClientSideValidateResponse
Hierarchy
ClientSideValidateResponse
Index
Properties
applicable_
to
campaign_
id
code
discount
gift
loyalty
order
promotions
tracking_
id
valid
Properties
Optional
applicable_
to
applicable_
to
:
ApplicableToResultList
Optional
campaign_
id
campaign_
id
:
string
Optional
code
code
:
string
Optional
discount
discount
:
DiscountAmount
|
DiscountPercent
|
DiscountUnit
|
DiscountFixed
Optional
gift
gift
:
{
amount
:
number
;
balance
:
number
}
Type declaration
amount
:
number
balance
:
number
Optional
loyalty
loyalty
:
{
points_cost
:
number
}
Type declaration
points_
cost
:
number
Optional
order
order
:
{
amount
:
number
;
discount_amount
:
number
;
items
?:
Pick
<
OrdersItem
,
"source_id"
|
"amount"
|
"sku"
|
"sku_id"
|
"product_id"
|
"quantity"
|
"related_object"
>
[]
;
total_amount
:
number
;
total_discount_amount
:
number
}
Type declaration
amount
:
number
discount_
amount
:
number
Optional
items
?:
Pick
<
OrdersItem
,
"source_id"
|
"amount"
|
"sku"
|
"sku_id"
|
"product_id"
|
"quantity"
|
"related_object"
>
[]
total_
amount
:
number
total_
discount_
amount
:
number
Optional
promotions
promotions
:
SimplePromotionTier
[]
Optional
tracking_
id
tracking_
id
:
string
valid
valid
:
boolean
Exports
Client
Side
Validate
Response
applicable_
to
campaign_
id
code
discount
gift
loyalty
order
promotions
tracking_
id
valid