Transaction Action of GS2-Showcase
ConsumeAction
Gs2Showcase:IncrementPurchaseCountByUserId
Add up the number of times a product has been purchased by specifying the user ID
Actions for which quantity can be specified: NO
Reversible action: YES
| Type | Description | |
|---|---|---|
| namespaceName | string | Namespace name |
| showcaseName | string | Random Showcase Model Name |
| displayItemName | string | Random Displayed Item Name |
| userId | string | |
Set #{userId} to replace the currently logged in user ID. | ||
| count | int | Number of purchase times to add |
{
"action": "Gs2Showcase:IncrementPurchaseCountByUserId",
"request": {
"namespaceName": "[string]Namespace name",
"showcaseName": "[string]Random Showcase Model Name",
"displayItemName": "[string]Random Displayed Item Name",
"userId": "[string]User Id",
"count": "[int]Number of purchase times to add"
}
}action: Gs2Showcase:IncrementPurchaseCountByUserId
request:
namespaceName: "[string]Namespace name"
showcaseName: "[string]Random Showcase Model Name"
displayItemName: "[string]Random Displayed Item Name"
userId: "[string]User Id"
count: "[int]Number of purchase times to add"AcquireAction
Gs2Showcase:DecrementPurchaseCountByUserId
Sub up the number of times a product has been purchased by specifying the user ID
Actions for which quantity can be specified: NO
Reversible action: YES
| Type | Description | |
|---|---|---|
| namespaceName | string | Namespace name |
| showcaseName | string | Random Showcase Model Name |
| displayItemName | string | Random Displayed Item Name |
| userId | string | Set #{userId} to replace the currently logged in user ID. |
| count | int | Number of purchase times to subtract |
{
"action": "Gs2Showcase:DecrementPurchaseCountByUserId",
"request": {
"namespaceName": "[string]Namespace name",
"showcaseName": "[string]Random Showcase Model Name",
"displayItemName": "[string]Random Displayed Item Name",
"userId": "[string]User Id",
"count": "[int]Number of purchase times to subtract"
}
}action: Gs2Showcase:DecrementPurchaseCountByUserId
request:
namespaceName: "[string]Namespace name"
showcaseName: "[string]Random Showcase Model Name"
displayItemName: "[string]Random Displayed Item Name"
userId: "[string]User Id"
count: "[int]Number of purchase times to subtract"Gs2Showcase:ForceReDrawByUserId
Specify the user ID to re-draw the contents of the random display shelf
Actions for which quantity can be specified: NO
Reversible action: NO
| Type | Description | |
|---|---|---|
| namespaceName | string | Namespace name |
| showcaseName | string | Random Showcase Model Name |
| userId | string | Set #{userId} to replace the currently logged in user ID. |
{
"action": "Gs2Showcase:ForceReDrawByUserId",
"request": {
"namespaceName": "[string]Namespace name",
"showcaseName": "[string]Random Showcase Model Name",
"userId": "[string]User Id"
}
}action: Gs2Showcase:ForceReDrawByUserId
request:
namespaceName: "[string]Namespace name"
showcaseName: "[string]Random Showcase Model Name"
userId: "[string]User Id"