Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Method is used for validating the gift cards.
Syntax
client server public static container validateGiftCard(
RetailGiftCardId _dataEntryId,
RetailChannelRecId _channelId,
RetailTerminalId _terminalId,
[boolean _skipReserveValidation])
Run On
Called
Parameters
- _dataEntryId
Type: RetailGiftCardId Extended Data Type
ID of the RetailGiftCardTable.entryId field.
- _channelId
Type: RetailChannelRecId Extended Data Type
ID of the RetailGiftCardTable.channel field.
- _terminalId
Type: RetailTerminalId Extended Data Type
ID of the RetailGiftCardTable.reservedByTerminalId field.
- _skipReserveValidation
Type: boolean
Skip gift card reserve validation sign.
Return Value
Type: container
The status as a container.
Exceptions
Exception | Condition |
---|---|
UpdateConflictNotRecovered | A conflict occurred that could not be recovered from when updating. |
UpdateConflict | An update conflict occurred. |