Class Name |
|
---|---|
Component(s) |
|
This droplet can be used to determine the available product and SKU choices available for a given gift selection still to be made by a shopper.
The input can either be a GiftWithPurchaseSelection
bean or alternatively the giftType
and giftDetail
for the gift selection.
The choices are output as a collection of GiftWithPurchaseSelectionChoice
beans.
Input Parameters
selection
An optional GiftWithPurchaseSelection
bean parameter to provide the giftType
and giftDetail
. If not provided, the giftType
and giftDetail
input parameters must be provided instead.
giftType
An optional String parameter to pass in the giftType
. If not provided, the selection
input parameter must be provided instead.
giftDetail
An optional String parameter to pass in the giftDetail
. If not provided, the selection
input parameter must be provided instead.
Output Parameters
choices
A collection of GiftWithPurchaseSelectionChoice
beans.
errorMessage
Error message, if any error occurred.
Open Parameters
output
Rendered if the choices
output parameter is not empty.
empty
Rendered the choices
output parameter is empty.
error
Rendered if an error occurred.