public class WalletDomain extends Object
| Constructor and Description |
|---|
WalletDomain(CacheDatabase cache,
JobQueueDomain jobQueueDomain,
StampSheetConfiguration stampSheetConfiguration,
Gs2RestSession session,
String namespaceName,
String userId,
Integer slot) |
| Modifier and Type | Method and Description |
|---|---|
static String |
createCacheKey(String slot) |
static String |
createCacheParentKey(String namespaceName,
String userId,
String slot,
String childType) |
WalletDomain |
deposit(DepositByUserIdRequest request) |
String |
getNamespaceName() |
Float |
getPrice() |
Integer |
getSlot() |
String |
getUserId() |
Wallet |
model() |
WalletDomain |
withdraw(WithdrawByUserIdRequest request) |
public WalletDomain(CacheDatabase cache, JobQueueDomain jobQueueDomain, StampSheetConfiguration stampSheetConfiguration, Gs2RestSession session, String namespaceName, String userId, Integer slot)
public Float getPrice()
public String getNamespaceName()
public String getUserId()
public Integer getSlot()
public WalletDomain deposit(DepositByUserIdRequest request)
public WalletDomain withdraw(WithdrawByUserIdRequest request)
public static String createCacheParentKey(String namespaceName, String userId, String slot, String childType)
public Wallet model()
Copyright © 2016-2019 Game Server Services, Inc. AllRights Reserved.