The WalletItem noun is used to model an item in a digital wallet.
It has a Type element to identify the type of item it is, and a Data element to hold type-specific data.
BOD | Action Code / Access Profile | Action Expression | Service Provided | Sample XML Message | Client Library / Expression Builder |
---|---|---|---|---|---|
ProcessWalletItem | Add | /WalletItem[1] | Creates a wallet item. |
Request
Response |
WalletFacadeClient.processWalletItem(ProcessWalletItemType) |
Delete | /WalletItem[1] | Deletes a wallet item. |
Request
Response |
WalletFacadeClient.deleteWalletItem(Map) | |
GetWalletItem | IBM_Store_Details | /WalletItem[WalletItemIdentifier[(UniqueID=)]] | Locates a wallet item by its unique ID. |
Request
Response |
findWalletItemByWalletItemId |
IBM_Store_Details | /WalletItem[WalletItemIdentifier/ExternalIdentifier[Name= and WalletIdentifier[UniqueID=]]] | Locates a wallet item by its name and the unique ID of the digital wallet. |
Request
Response |
findWalletItemByWalletIdAndName | |
IBM_Store_Details | /WalletItem[WalletItemIdentifier/ExternalIdentifier/WalletIdentifier[UniqueID=]] | Locates wallet items by the unique ID of the digital wallet. |
Request
Response |
findWalletItemsByWalletId | |
IBM_Store_Details | /WalletItem[Type= and WalletItemIdentifier/ExternalIdentifier/WalletIdentifier[UniqueID=]] | Locates wallet items of a particular type by the unique ID of the digital wallet. |
Request
Response |
findWalletItemsByWalletIdAndType | |
IBM_Store_Details | /WalletItem[Data[Status=] and Type='Coupon' and WalletItemIdentifier/ExternalIdentifier/WalletIdentifier[UniqueID=]] | Locates digital coupons (wallet items of type 'Coupon') of a particular status by the unique ID of the digital wallet. |
Request
Response |
findCouponsByWalletIdAndStatus | |
IBM_Store_Details | /WalletItem[Data/OrderIdentifier[UniqueID=] and Type='Coupon' and WalletItemIdentifier/ExternalIdentifier/WalletIdentifier[UniqueID=]] | Locates digital coupons (wallet items of type 'Coupon') applied to an order by the unique ID of the digital wallet and the unique ID of the order. |
Request
Response |
findCouponsByWalletIdAndOrderId |
Some sample XML request and response web service messages are provided for each noun. These sample messages might not include all properties or attributes. To view a sample message that includes other properties or attributes, enable logging and tracing for the appropriate component and then call the web service to set or change the properties or attributes. Review the corresponding log file to see the request or response information.
Access Profile | Data Returned | |
---|---|---|
IBM_Store_Details |
|
This access profile returns the detailed information of a wallet item. |