Documentation ¶
Overview ¶
Copyright (c) 2021 AccelByte Inc. All Rights Reserved. This is licensed software from AccelByte Inc, for limitations and restrictions contact your company contract manager.
Copyright (c) 2021 AccelByte Inc. All Rights Reserved. This is licensed software from AccelByte Inc, for limitations and restrictions contact your company contract manager.
Copyright (c) 2021 AccelByte Inc. All Rights Reserved. This is licensed software from AccelByte Inc, for limitations and restrictions contact your company contract manager.
Copyright (c) 2021 AccelByte Inc. All Rights Reserved. This is licensed software from AccelByte Inc, for limitations and restrictions contact your company contract manager.
Index ¶
- type CategoryService
- func (categoryService *CategoryService) CreateCategory(namespace, storeId string, categoryCreate platformclientmodels.CategoryCreate) (*platformclientmodels.FullCategoryInfo, error)
- func (categoryService *CategoryService) DeleteCategory(namespace, storeId, categoryPath string) (*platformclientmodels.FullCategoryInfo, error)
- func (categoryService *CategoryService) DownloadCategories(namespace string, language, storeId *string) ([]*platformclientmodels.HierarchicalCategoryInfo, error)
- func (categoryService *CategoryService) GetCategory(namespace, categoryPath string, storeId *string) (*platformclientmodels.FullCategoryInfo, error)
- func (categoryService *CategoryService) GetChildCategories(namespace, categoryPath string, storeId *string) ([]*platformclientmodels.FullCategoryInfo, error)
- func (categoryService *CategoryService) GetDescendantCategories(namespace, categoryPath string, storeId *string) ([]*platformclientmodels.FullCategoryInfo, error)
- func (categoryService *CategoryService) GetRootCategories(namespace string, storeId *string) ([]*platformclientmodels.FullCategoryInfo, error)
- func (categoryService *CategoryService) ListCategoriesBasic(namespace string, storeId *string) ([]*platformclientmodels.BasicCategoryInfo, error)
- func (categoryService *CategoryService) PublicGetCategory(namespace, categoryPath string, storeId, language *string) (*platformclientmodels.CategoryInfo, error)
- func (categoryService *CategoryService) PublicGetChildCategories(namespace, categoryPath string, storeId *string) ([]*platformclientmodels.CategoryInfo, error)
- func (categoryService *CategoryService) PublicGetDescendantCategories(namespace, categoryPath string, storeId *string) ([]*platformclientmodels.CategoryInfo, error)
- func (categoryService *CategoryService) PublicGetRootCategories(namespace string, storeId *string) ([]*platformclientmodels.CategoryInfo, error)
- func (categoryService *CategoryService) UpdateCategory(namespace, storeId, categoryPath string, ...) (*platformclientmodels.FullCategoryInfo, error)
- type ChatService
- func (s *ChatService) GetPersonalChatHistory(friendID string) error
- func (s *ChatService) JoinDefaultChannel() error
- func (s *ChatService) SendChannelChat(channelSlug, payload string) error
- func (s *ChatService) SendPartyChat(content string) error
- func (s *ChatService) SendPersonalChat(friendID, content string) error
- type CloudSaveService
- func (couldSaveService *CloudSaveService) CreateGameRecord(content map[string]string, key, namespace string) error
- func (couldSaveService *CloudSaveService) CreatePlayerRecord(userId, namespace, key string, content map[string]string) error
- func (couldSaveService *CloudSaveService) DeleteGameRecord(key, namespace string) error
- func (couldSaveService *CloudSaveService) DeletePlayerRecord(userId, namespace, key string) error
- func (couldSaveService *CloudSaveService) GetGameRecord(key, namespace string) (*cloudsaveclientmodels.ModelsGameRecord, error)
- func (couldSaveService *CloudSaveService) GetPlayerRecord(userId, namespace, key string) (*cloudsaveclientmodels.ModelsPlayerRecord, error)
- type CurrencyService
- func (c *CurrencyService) CreateCurrency(namespace string, body *platformclientmodels.CurrencyCreate) (*platformclientmodels.CurrencyInfo, error)
- func (c *CurrencyService) DeleteCurrency(namespace, currencyCode string) (*platformclientmodels.CurrencyInfo, error)
- func (c *CurrencyService) GetCurrencyConfig(namespace, currencyCode string) (*platformclientmodels.CurrencyConfig, error)
- func (c *CurrencyService) GetCurrencySummary(namespace, currencyCode string) (*platformclientmodels.CurrencySummary, error)
- func (c *CurrencyService) ListCurrencies(namespace string) ([]*platformclientmodels.CurrencyInfo, error)
- func (c *CurrencyService) PublicListCurrencies(namespace string) ([]*platformclientmodels.CurrencyInfo, error)
- func (c *CurrencyService) UpdateCurrency(namespace, currencyCode string, content *platformclientmodels.CurrencyUpdate) (*platformclientmodels.CurrencyInfo, error)
- type EntitlementService
- func (entitlementService *EntitlementService) ConsumeUserEntitlement(namespace, userId, entitlementId string, ...) (*platformclientmodels.EntitlementInfo, error)
- func (entitlementService *EntitlementService) CreateUserDistributionReceiver(namespace, userId, extUserId string, ...) error
- func (entitlementService *EntitlementService) DeleteUserDistributionReceiver(namespace, userId, extUserId string) error
- func (entitlementService *EntitlementService) DisableUserEntitlement(namespace, userId, entitlementId string) error
- func (entitlementService *EntitlementService) EnableUserEntitlement(namespace, userId, entitlementId string) (*platformclientmodels.EntitlementInfo, error)
- func (entitlementService *EntitlementService) ExistsAnyUserActiveEntitlement(namespace, userId string, appIds, itemIds, skus []string) (*platformclientmodels.Ownership, error)
- func (entitlementService *EntitlementService) ExistsAnyUserActiveEntitlementByItemIds(namespace, userId string, itemIds []string) (*platformclientmodels.Ownership, error)
- func (entitlementService *EntitlementService) GetEntitlement(namespace, entitlementId string) (*platformclientmodels.EntitlementInfo, error)
- func (entitlementService *EntitlementService) GetUserAppEntitlementByAppID(namespace, userId, appId string, activeOnly *bool) (*platformclientmodels.AppEntitlementInfo, error)
- func (entitlementService *EntitlementService) GetUserAppEntitlementOwnershipByAppID(namespace, userId, appId string) (*platformclientmodels.Ownership, error)
- func (entitlementService *EntitlementService) GetUserDistributionReceivers(namespace, userId string) ([]*platformclientmodels.DistributionReceiverInfo, error)
- func (entitlementService *EntitlementService) GetUserEntitlement(namespace, userId, entitlementId string) (*platformclientmodels.EntitlementInfo, error)
- func (entitlementService *EntitlementService) GetUserEntitlementBySku(namespace, sku, userId string, entitlementClazz *string, activeOnly *bool) (*platformclientmodels.EntitlementInfo, error)
- func (entitlementService *EntitlementService) GetUserEntitlementHistories(namespace, entitlementId, userId string) ([]*platformclientmodels.EntitlementHistoryInfo, error)
- func (entitlementService *EntitlementService) GetUserEntitlementOwnershipBySku(namespace, userId, sku string, entitlementClazz *string) (*platformclientmodels.Ownership, error)
- func (entitlementService *EntitlementService) GrantUserEntitlement(namespace, userId string, ...) ([]*platformclientmodels.StackableEntitlementInfo, error)
- func (entitlementService *EntitlementService) PublicConsumeUserEntitlement(namespace, userId, entitlementId string, ...) (*platformclientmodels.EntitlementInfo, error)
- func (entitlementService *EntitlementService) PublicCreateUserDistributionReceiver(namespace, userId, extUserId string, ...) error
- func (entitlementService *EntitlementService) PublicDeleteUserDistributionReceiver(namespace, userId, extUserId string) error
- func (entitlementService *EntitlementService) PublicDistributeUserDistribution(namespace, userId, entitlementId, extUserId, targetNamespace string, ...) (*platformclientmodels.EntitlementInfo, error)
- func (entitlementService *EntitlementService) PublicExistsAnyUserActiveEntitlement(namespace, userId string, appIds, itemIds, skus []string) (*platformclientmodels.Ownership, error)
- func (entitlementService *EntitlementService) PublicGetMyAppEntitlementOwnershipByAppID(namespace, appId string) (*platformclientmodels.Ownership, error)
- func (entitlementService *EntitlementService) PublicGetMyEntitlementOwnershipBySku(namespace, sku string, entitlementClazz *string) (*platformclientmodels.Ownership, error)
- func (entitlementService *EntitlementService) PublicGetUserAppEntitlementByAppID(namespace, userId, appId string) (*platformclientmodels.AppEntitlementInfo, error)
- func (entitlementService *EntitlementService) PublicGetUserAppEntitlementOwnershipByAppID(namespace, userId, appId string) (*platformclientmodels.Ownership, error)
- func (entitlementService *EntitlementService) PublicGetUserDistributionReceivers(namespace, userId, targetNamespace string) ([]*platformclientmodels.DistributionReceiverInfo, error)
- func (entitlementService *EntitlementService) PublicGetUserEntitlement(namespace, userId, entitlementId string) (*platformclientmodels.EntitlementInfo, error)
- func (entitlementService *EntitlementService) PublicGetUserEntitlementBySku(namespace, userId, sku string, entitlementClazz *string) (*platformclientmodels.EntitlementInfo, error)
- func (entitlementService *EntitlementService) PublicGetUserEntitlementOwnershipBySku(namespace, userId, sku string, entitlementClazz *string) (*platformclientmodels.Ownership, error)
- func (entitlementService *EntitlementService) PublicQueryUserEntitlements(namespace, userId string, ...) (*platformclientmodels.EntitlementPagingSlicedResult, error)
- func (entitlementService *EntitlementService) PublicQueryUserEntitlementsByAppType(namespace, userId, appType string, limit, offset *int32) (*platformclientmodels.AppEntitlementPagingSlicedResult, error)
- func (entitlementService *EntitlementService) PublicUpdateUserDistributionReceiver(namespace, userId, extUserId string, ...) error
- func (entitlementService *EntitlementService) QueryEntitlement(namespace string, ...) (*platformclientmodels.EntitlementPagingSlicedResult, error)
- func (entitlementService *EntitlementService) QueryUserEntitlements(namespace, userId string, ...) (*platformclientmodels.EntitlementPagingSlicedResult, error)
- func (entitlementService *EntitlementService) QueryUserEntitlementsByAppType(namespace, userId, appType string, activeOnly *bool, limit, offset *int32) (*platformclientmodels.AppEntitlementPagingSlicedResult, error)
- func (entitlementService *EntitlementService) RevokeUserEntitlement(namespace, userId, entitlementId string) (*platformclientmodels.EntitlementInfo, error)
- func (entitlementService *EntitlementService) RevokeUserEntitlements(namespace, userId, entitlementIds string) (*platformclientmodels.BulkOperationResult, error)
- func (entitlementService *EntitlementService) UpdateUserDistributionReceiver(namespace, userId, extUserId string, ...) error
- func (entitlementService *EntitlementService) UpdateUserEntitlement(namespace, userId, entitlementId string, ...) (*platformclientmodels.EntitlementInfo, error)
- type FriendService
- type FriendServiceWebsocket
- func (friendService *FriendServiceWebsocket) AcceptFriendRequest(friendID string) error
- func (friendService *FriendServiceWebsocket) Block(namespace, userID, blockedUserID string) error
- func (friendService *FriendServiceWebsocket) CancelFriendRequest(friendID string) error
- func (friendService *FriendServiceWebsocket) GetFriendPresenceStatus() error
- func (friendService *FriendServiceWebsocket) GetFriends() error
- func (friendService *FriendServiceWebsocket) GetFriendshipStatus(friendID string) error
- func (friendService *FriendServiceWebsocket) GetIncomingFriendRequest() error
- func (friendService *FriendServiceWebsocket) GetOfflineNotification() error
- func (friendService *FriendServiceWebsocket) GetOnlineFriends() error
- func (friendService *FriendServiceWebsocket) GetOutgoingFriendRequest() error
- func (friendService *FriendServiceWebsocket) RejectFriendRequest(friendID string) error
- func (friendService *FriendServiceWebsocket) RequestFriend(friendID string) error
- func (friendService *FriendServiceWebsocket) SetUserStatus(availability int, activity string) error
- func (friendService *FriendServiceWebsocket) Unblock(namespace, userID, unblockedUserID string) error
- func (friendService *FriendServiceWebsocket) Unfriend(friendID string) error
- type FulfillmentService
- func (fulfillmentService *FulfillmentService) FulfillItem(userId, userNamespace string, ...) (*platformclientmodels.FulfillmentResult, error)
- func (fulfillmentService *FulfillmentService) QueryFulfillmentHistories(namespace string, userId, status *string, limit, offset *int32) (*platformclientmodels.FulfillmentHistoryPagingSlicedResult, error)
- type GameProfileService
- func (s *GameProfileService) GetProfile(namespace, userId, profileId string) (*socialclientmodels.GameProfileInfo, error)
- func (s *GameProfileService) GetUserProfiles(namespace, userId string) ([]*socialclientmodels.GameProfileHeader, error)
- func (s *GameProfileService) PublicCreateProfile(namespace, userId string, content *socialclientmodels.GameProfileRequest) error
- func (s *GameProfileService) PublicDeleteProfile(namespace, userId, profileId string) error
- func (s *GameProfileService) PublicGetProfile(namespace, userId, profileId string) (*socialclientmodels.GameProfileInfo, error)
- func (s *GameProfileService) PublicGetProfileAttribute(namespace, userId, attributeName, profileId string) (*socialclientmodels.Attribute, error)
- func (s *GameProfileService) PublicGetUserGameProfiles(namespace string, userIds []string) ([]*socialclientmodels.UserGameProfiles, error)
- func (s *GameProfileService) PublicGetUserProfiles(namespace, userId string) ([]*socialclientmodels.GameProfileHeader, error)
- func (s *GameProfileService) PublicUpdateAttribute(namespace, userId, attributeName, profileId string, ...) (*socialclientmodels.GameProfileInfo, error)
- func (s *GameProfileService) PublicUpdateProfile(namespace, userId, profileId string, ...) (*socialclientmodels.GameProfileInfo, error)
- type GroupConfigService
- func (s *GroupConfigService) CreateGroupConfigurationAdminV1(namespace string, ...) (*groupclientmodels.ModelsCreateGroupConfigurationResponseV1, error)
- func (s *GroupConfigService) DeleteGroupConfigurationAdminV1(namespace, configCode string) (*groupclientmodels.ModelsGetGroupConfigurationResponseV1, error)
- func (s *GroupConfigService) DeleteGroupConfigurationGlobalRuleAdminV1(namespace, configCode, allowedAction string) (*groupclientmodels.ModelsUpdateGroupConfigurationResponseV1, error)
- func (s *GroupConfigService) GetGroupConfigurationAdminV1(namespace, configCode string) (*groupclientmodels.ModelsGetGroupConfigurationResponseV1, error)
- func (s *GroupConfigService) InitiateGroupConfigurationAdminV1(namespace string) (*groupclientmodels.ModelsCreateGroupConfigurationResponseV1, error)
- func (s *GroupConfigService) ListGroupConfigurationAdminV1(namespace string, limit, offset *int64) (*groupclientmodels.ModelsGetGroupConfigurationResponseV1, error)
- func (s *GroupConfigService) UpdateGroupConfigurationAdminV1(namespace, configCode string, ...) (*groupclientmodels.ModelsUpdateGroupConfigurationResponseV1, error)
- func (s *GroupConfigService) UpdateGroupConfigurationGlobalRuleAdminV1(namespace, configCode, allowedAction string, ...) (*groupclientmodels.ModelsUpdateGroupConfigurationResponseV1, error)
- type GroupMemberConfigService
- func (s *GroupMemberConfigService) GetGroupMembersListV1(namespace, groupId string, order *string, limit, offset *int64) (*groupclientmodels.ModelsGetGroupMemberListResponseV1, error)
- func (s *GroupMemberConfigService) PublicAcceptGroupInvitationV1(namespace, groupId string) (*groupclientmodels.ModelsMemberRequestGroupResponseV1, error)
- func (s *GroupMemberConfigService) PublicAcceptGroupJoinRequestV1(namespace, userId string) (*groupclientmodels.ModelsMemberRequestGroupResponseV1, error)
- func (s *GroupMemberConfigService) PublicCancelGroupJoinRequestV1(namespace, groupId string) (*groupclientmodels.ModelsMemberRequestGroupResponseV1, error)
- func (s *GroupMemberConfigService) PublicGetGroupInvitationRequestV1(namespace string, limit, offset *int64) (*groupclientmodels.ModelsGetMemberRequestsListResponseV1, error)
- func (s *GroupMemberConfigService) PublicGetGroupJoinRequestV1(namespace, groupId string, limit, offset *int64) (*groupclientmodels.ModelsGetMemberRequestsListResponseV1, error)
- func (s *GroupMemberConfigService) PublicGetGroupMembersListV1(namespace, groupId string, order *string, limit, offset *int64) (*groupclientmodels.ModelsGetGroupMemberListResponseV1, error)
- func (s *GroupMemberConfigService) PublicGetUserGroupInformationV1(namespace, userId string) (*groupclientmodels.ModelsGetUserGroupInformationResponseV1, error)
- func (s *GroupMemberConfigService) PublicInviteGroupV1(namespace, userId string) (*groupclientmodels.ModelsUserInvitationResponseV1, error)
- func (s *GroupMemberConfigService) PublicJoinGroupV1(namespace, groupId string) (*groupclientmodels.ModelsJoinGroupResponseV1, error)
- func (s *GroupMemberConfigService) PublicKickGroupMemberV1(namespace, userId string) (*groupclientmodels.ModelsKickGroupMemberResponseV1, error)
- func (s *GroupMemberConfigService) PublicLeaveGroupV1(namespace string) (*groupclientmodels.ModelsLeaveGroupResponseV1, error)
- func (s *GroupMemberConfigService) PublicRejectGroupInvitationV1(namespace, groupId string) (*groupclientmodels.ModelsMemberRequestGroupResponseV1, error)
- func (s *GroupMemberConfigService) PublicRejectGroupJoinRequestV1(namespace, userId string) (*groupclientmodels.ModelsMemberRequestGroupResponseV1, error)
- type GroupRoleConfigService
- func (s *GroupRoleConfigService) CreateMemberRoleAdminV1(namespace string, content *groupclientmodels.ModelsCreateMemberRoleRequestV1) (*groupclientmodels.ModelsCreateMemberRoleResponseV1, error)
- func (s *GroupRoleConfigService) DeleteMemberRoleAdminV1(namespace, memberRoleId string) error
- func (s *GroupRoleConfigService) GetMemberRolesListAdminV1(namespace string, limit, offset *int64) (*groupclientmodels.ModelsGetMemberRolesListResponseV1, error)
- func (s *GroupRoleConfigService) GetSingleMemberRoleAdminV1(namespace, memberRoleId string) (*groupclientmodels.ModelsGetMemberRoleResponseV1, error)
- func (s *GroupRoleConfigService) PublicAssignRoleToGroupMemberAdminV1(namespace, memberRoleId string, ...) (*groupclientmodels.ModelsUpdateMemberRoleResponseV1, error)
- func (s *GroupRoleConfigService) PublicDeleteMemberRoleV1(namespace, memberRoleId string, ...) (*groupclientmodels.ModelsUpdateMemberRoleResponseV1, error)
- func (s *GroupRoleConfigService) PublicGetMemberRolesListV1(namespace string, limit, offset *int64) (*groupclientmodels.ModelsGetMemberRolesListResponseV1, error)
- func (s *GroupRoleConfigService) UpdateMemberRoleAdminV1(namespace, memberRoleId string, ...) (*groupclientmodels.ModelsUpdateMemberRoleResponseV1, error)
- func (s *GroupRoleConfigService) UpdateMemberRolePermissionAdminV1(namespace, memberRoleId string, ...) (*groupclientmodels.ModelsUpdateMemberRoleResponseV1, error)
- type GroupService
- func (s *GroupService) DeleteGroupAdminV1(namespace, groupId string) error
- func (s *GroupService) GetGroupListAdminV1(namespace string, groupName, groupRegion, configCode *string, ...) (*groupclientmodels.ModelsGetGroupsListResponseV1, error)
- func (s *GroupService) GetSingleGroupAdminV1(namespace, groupId string) (*groupclientmodels.ModelsGroupResponseV1, error)
- func (s *GroupService) PublicCreateNewGroupV1(namespace string, ...) error
- func (s *GroupService) PublicDeleteGroupPredefinedRuleV1(namespace, groupId, allowedAction string) error
- func (s *GroupService) PublicDeleteGroupV1(namespace, groupId string) error
- func (s *GroupService) PublicGetGroupListV1(namespace string, groupName, groupRegion *string, limit, offset *int64) (*groupclientmodels.ModelsGetGroupsListResponseV1, error)
- func (s *GroupService) PublicGetSingleGroupV1(namespace, groupId string) (*groupclientmodels.ModelsGroupResponseV1, error)
- func (s *GroupService) PublicUpdateGroupCustomAttributesV1(namespace, groupId string, ...) (*groupclientmodels.ModelsGroupResponseV1, error)
- func (s *GroupService) PublicUpdateGroupCustomRuleV1(namespace, groupId string, ...) (*groupclientmodels.ModelsGroupResponseV1, error)
- func (s *GroupService) PublicUpdateGroupPredefinedRuleV1(namespace, groupId, allowedAction string, ...) (*groupclientmodels.ModelsGroupResponseV1, error)
- func (s *GroupService) PublicUpdateSingleGroupPartialV1(namespace, groupId string, ...) (*groupclientmodels.ModelsGroupResponseV1, error)
- func (s *GroupService) PublicUpdateSingleGroupV1(namespace, groupId string, ...) (*groupclientmodels.ModelsGroupResponseV1, error)
- type IAPService
- func (s *IAPService) DeleteAppleIAPConfig(namespace string) error
- func (s *IAPService) DeleteEpicGamesIAPConfig(namespace string) error
- func (s *IAPService) DeleteGoogleIAPConfig(namespace string) error
- func (s *IAPService) DeletePlaystationIAPConfig(namespace string) error
- func (s *IAPService) DeleteStadiaIAPConfig(namespace string) error
- func (s *IAPService) DeleteSteamIAPConfig(namespace string) error
- func (s *IAPService) DeleteXblAPConfig(namespace string) error
- func (s *IAPService) GetAppleIAPConfig(namespace string) (*platformclientmodels.AppleIAPConfigInfo, error)
- func (s *IAPService) GetEpicGamesIAPConfig(namespace string) (*platformclientmodels.EpicGamesIAPConfigInfo, error)
- func (s *IAPService) GetGoogleIAPConfig(namespace string) (*platformclientmodels.GoogleIAPConfigInfo, error)
- func (s *IAPService) GetPlayStationIAPConfig(namespace string) (*platformclientmodels.PlayStationIAPConfigInfo, error)
- func (s *IAPService) GetStadiaIAPConfig(namespace string) (*platformclientmodels.StadiaIAPConfigInfo, error)
- func (s *IAPService) GetSteamIAPConfig(namespace string) (*platformclientmodels.SteamIAPConfig, error)
- func (s *IAPService) GetXblIAPConfig(namespace string) (*platformclientmodels.XblIAPConfigInfo, error)
- func (s *IAPService) MockFulfillIAPItem(namespace, userId string, content *platformclientmodels.MockIAPReceipt) error
- func (s *IAPService) PublicFulfillAppleIAPItem(namespace, userId string, content *platformclientmodels.AppleIAPReceipt) error
- func (s *IAPService) PublicFulfillGoogleIAPItem(namespace, userId string, content *platformclientmodels.GoogleIAPReceipt) error
- func (s *IAPService) PublicReconcilePlayStationStore(namespace, userId string) ([]*platformclientmodels.PlayStationReconcileResult, error)
- func (s *IAPService) QueryUserIAPOrders(namespace, userId string, ...) (*platformclientmodels.IAPOrderPagingSlicedResult, error)
- func (s *IAPService) SyncEpicGamesInventory(namespace, userId string, ...) error
- func (s *IAPService) SyncStadiaEntitlement(namespace, userId string, content *platformclientmodels.StadiaSyncRequest) error
- func (s *IAPService) SyncSteamInventory(namespace, userId string, content *platformclientmodels.SteamSyncRequest) error
- func (s *IAPService) SyncXboxInventory(namespace, userId string, content *platformclientmodels.XblReconcileRequest) error
- func (s *IAPService) UpdateAppleIAPConfig(namespace string, content *platformclientmodels.AppleIAPConfigRequest) (*platformclientmodels.AppleIAPConfigInfo, error)
- func (s *IAPService) UpdateEpicGamesIAPConfig(namespace string, content *platformclientmodels.EpicGamesIAPConfigRequest) (*platformclientmodels.EpicGamesIAPConfigInfo, error)
- func (s *IAPService) UpdateGoogleIAPConfig(namespace string, content *platformclientmodels.GoogleIAPConfigRequest) (*platformclientmodels.GoogleIAPConfigInfo, error)
- func (s *IAPService) UpdateGoogleP12File(namespace string, file runtime.NamedReadCloser) (*platformclientmodels.GoogleIAPConfigInfo, error)
- func (s *IAPService) UpdatePlaystationIAPConfig(namespace string, content *platformclientmodels.PlaystationIAPConfigRequest) (*platformclientmodels.PlayStationIAPConfigInfo, error)
- func (s *IAPService) UpdateStadiaJSONConfigFile(namespace string, file runtime.NamedReadCloser) (*platformclientmodels.StadiaIAPConfigInfo, error)
- func (s *IAPService) UpdateSteamIAPConfig(namespace string, content *platformclientmodels.SteamIAPConfigRequest) (*platformclientmodels.SteamIAPConfigInfo, error)
- func (s *IAPService) UpdateXblBPCertFile(namespace string, password *string, file runtime.NamedReadCloser) (*platformclientmodels.XblIAPConfigInfo, error)
- func (s *IAPService) UpdateXblIAPConfig(namespace string, content *platformclientmodels.XblIAPConfigRequest) (*platformclientmodels.XblIAPConfigInfo, error)
- type ItemService
- func (itemService *ItemService) AcquireItem(namespace, itemId string, ...) (*platformclientmodels.ItemAcquireResult, error)
- func (itemService *ItemService) BulkGetLocaleItem(namespace, itemIds string, language, region, storeId *string, activeOnly *bool) ([]*platformclientmodels.ItemInfo, error)
- func (itemService *ItemService) CreateItem(namespace, storeId string, itemCreate platformclientmodels.ItemCreate) (*platformclientmodels.FullItemInfo, error)
- func (itemService *ItemService) DefeatureItem(namespace, itemId, storeId, feature string) error
- func (itemService *ItemService) DeleteItem(namespace, itemId string, storeId *string) error
- func (itemService *ItemService) DisableItem(namespace, itemId, storeId string) (*platformclientmodels.FullItemInfo, error)
- func (itemService *ItemService) EnableItem(namespace, itemId, storeId string) (*platformclientmodels.FullItemInfo, error)
- func (itemService *ItemService) FeatureItem(namespace, itemId, storeId, feature string) error
- func (itemService *ItemService) GetApp(namespace, itemId, storeId string, activeOnly *bool) (*platformclientmodels.FullAppInfo, error)
- func (itemService *ItemService) GetBasicItemByFeature(namespace string, features []string, activeOnly *bool) ([]*platformclientmodels.BasicItem, error)
- func (itemService *ItemService) GetItem(namespace, itemId string, storeId *string, activeOnly *bool) (*platformclientmodels.FullItemInfo, error)
- func (itemService *ItemService) GetItemByAppId(namespace, appId, storeId string, activeOnly *bool) (*platformclientmodels.FullItemInfo, error)
- func (itemService *ItemService) GetItemByCriteria(namespace string, ...) (*platformclientmodels.FullItemPagingSlicedResult, error)
- func (itemService *ItemService) GetItemBySku(namespace, sku string, storeId *string, activeOnly *bool) (*platformclientmodels.FullItemInfo, error)
- func (itemService *ItemService) GetItemDynamicData(namespace, itemId string) (*platformclientmodels.ItemDynamicDataInfo, error)
- func (itemService *ItemService) GetItemIdBySku(namespace, sku, storeId string, activeOnly *bool) (*platformclientmodels.ItemID, error)
- func (itemService *ItemService) GetLocaleItem(namespace, itemId string, region, language, storeId *string, ...) (*platformclientmodels.PopulatedItemInfo, error)
- func (itemService *ItemService) GetLocaleItemBySku(namespace, sku string, storeId, region, language *string, ...) (*platformclientmodels.PopulatedItemInfo, error)
- func (itemService *ItemService) GetUncategorizedItem(namespace string, storeId, sortBy *string, activeOnly *bool, ...) (*platformclientmodels.FullItemPagingSlicedResult, error)
- func (itemService *ItemService) PublicGetApp(namespace, itemId string, storeId, language, region *string) (*platformclientmodels.AppInfo, error)
- func (itemService *ItemService) PublicGetBulkItems(namespace, itemIds string, language, region, storeId *string) ([]*platformclientmodels.ItemInfo, error)
- func (itemService *ItemService) PublicGetItem(namespace, itemId string, region, storeId, language *string, ...) (*platformclientmodels.PopulatedItemInfo, error)
- func (itemService *ItemService) PublicGetItemByAppId(namespace, appId string, storeId, language, region *string) (*platformclientmodels.ItemInfo, error)
- func (itemService *ItemService) PublicGetItemBySku(namespace, sku string, storeId, region, language *string) (*platformclientmodels.ItemInfo, error)
- func (itemService *ItemService) PublicGetItemDynamicData(namespace, itemId string) (*platformclientmodels.ItemDynamicDataInfo, error)
- func (itemService *ItemService) PublicQueryItems(namespace string, ...) (*platformclientmodels.ItemPagingSlicedResult, error)
- func (itemService *ItemService) PublicSearchItem(namespace, keyword, language string, storeId, region *string, ...) (*platformclientmodels.ItemPagingSlicedResult, error)
- func (itemService *ItemService) ReturnItem(namespace, itemId string, ...) error
- func (itemService *ItemService) SearchItem(namespace, keyword, language string, storeId *string, activeOnly *bool, ...) (*platformclientmodels.FullItemPagingSlicedResult, error)
- func (itemService *ItemService) SyncInGameItem(namespace, storeId string, inGameItemSync platformclientmodels.InGameItemSync) (*platformclientmodels.FullItemInfo, error)
- func (itemService *ItemService) UpdateApp(namespace, itemId, storeId string, appUpdate platformclientmodels.AppUpdate) (*platformclientmodels.FullAppInfo, error)
- func (itemService *ItemService) UpdateItem(namespace, itemId, storeId string, itemUpdate platformclientmodels.ItemUpdate) (*platformclientmodels.FullItemInfo, error)
- type OauthService
- func (oauthService *OauthService) Authenticate(requestId, username, password string) (string, error)
- func (oauthService *OauthService) Authorize(scope, challenge, challengeMethod string) (string, error)
- func (oauthService *OauthService) GetToken() (string, error)
- func (oauthService *OauthService) GrantTokenAuthorizationCode(code, codeVerifier, redirectUri string) error
- func (oauthService *OauthService) GrantTokenCredentials(code, codeVerifier string) error
- func (oauthService *OauthService) GrantTokenRefreshToken(code, codeVerifier, refreshToken string) error
- type OrderService
- func (o *OrderService) CountOfPurchasedItem(namespace, userId, itemId string) (*platformclientmodels.PurchasedItemCount, error)
- func (o *OrderService) DownloadUserOrderReceipt(namespace, orderNo, userId string) error
- func (o *OrderService) FulfillUserOrder(namespace, userId, orderNo string) (*platformclientmodels.OrderInfo, error)
- func (o *OrderService) GetOrder(namespace, orderNo string) (*platformclientmodels.OrderInfo, error)
- func (o *OrderService) GetOrderStatistics(namespace string) (*platformclientmodels.OrderStatistics, error)
- func (o *OrderService) GetUserOrder(namespace, userId, orderNo string) (*platformclientmodels.OrderInfo, error)
- func (o *OrderService) GetUserOrderGrant(namespace, userId, orderNo string) (*platformclientmodels.OrderGrantInfo, error)
- func (o *OrderService) GetUserOrderHistories(namespace, userId, orderNo string) ([]*platformclientmodels.OrderHistoryInfo, error)
- func (o *OrderService) ProcessUserOrderNotification(namespace, userId, orderNo string, ...) error
- func (o *OrderService) PublicCancelUserOrder(namespace, orderNo, userId string) (*platformclientmodels.OrderInfo, error)
- func (o *OrderService) PublicCreateUserOrder(namespace, userId string, content *platformclientmodels.OrderCreate) (*platformclientmodels.OrderInfo, error)
- func (o *OrderService) PublicDownloadUserOrderReceipt(namespace, orderNo, userId string) error
- func (o *OrderService) PublicGetUserOrder(namespace, userId, orderNo string) (*platformclientmodels.OrderInfo, error)
- func (o *OrderService) PublicGetUserOrderHistories(namespace, orderNo, userId string) ([]*platformclientmodels.OrderHistoryInfo, error)
- func (o *OrderService) PublicQueryUserOrders(namespace, userId string, itemId, status *string, limit, offset *int32) (*platformclientmodels.OrderPagingSlicedResult, error)
- func (o *OrderService) QueryOrders(namespace string, sort, status, startTime, endTime *string, orderNos []string, ...) (*platformclientmodels.OrderPagingResult, error)
- func (o *OrderService) QueryUserOrders(namespace, userId string, itemId, status *string, limit, offset *int32) (*platformclientmodels.OrderPagingSlicedResult, error)
- func (o *OrderService) RefundOrder(namespace, orderNo string, content *platformclientmodels.OrderRefundCreate) (*platformclientmodels.OrderInfo, error)
- func (o *OrderService) SyncOrders(start, end string, nextEvaluatedKey *string) (*platformclientmodels.OrderSyncResult, error)
- func (o *OrderService) UpdateUserOrderStatus(namespace, userId, orderNo string, content *platformclientmodels.OrderUpdate) (*platformclientmodels.OrderInfo, error)
- type PartyService
- func (s *PartyService) CreateParty() error
- func (s *PartyService) GetPartyInfo() error
- func (s *PartyService) InviteParty(friendId string) error
- func (s *PartyService) JoinParty(partyID, token string) error
- func (s *PartyService) KickPartyMember(id string) error
- func (s *PartyService) LeaveParty() error
- func (s *PartyService) PromotePartyLeader(leaderUserId string) error
- func (s *PartyService) RejectPartyInvitation(partyID, token string) error
- type PaymentAccount
- type PaymentConfig
- func (p *PaymentConfig) CreatePaymentProviderConfig(content *platformclientmodels.PaymentProviderConfigEdit) (*platformclientmodels.PaymentProviderConfigInfo, error)
- func (p *PaymentConfig) DebugMatchedPaymentMerchantConfig(namespace, region *string) (*platformclientmodels.PaymentMerchantConfigInfo, error)
- func (p *PaymentConfig) DebugMatchedPaymentProviderConfig(namespace, region *string) (*platformclientmodels.PaymentProviderConfigInfo, error)
- func (p *PaymentConfig) DeletePaymentProviderConfig(id string) error
- func (p *PaymentConfig) GetAggregatePaymentProviders() ([]string, error)
- func (p *PaymentConfig) GetPaymentMerchantConfig(id string) (*platformclientmodels.PaymentMerchantConfigInfo, error)
- func (p *PaymentConfig) GetPaymentTaxConfig() (*platformclientmodels.PaymentTaxConfigInfo, error)
- func (p *PaymentConfig) GetSpecialPaymentProviders() ([]string, error)
- func (p *PaymentConfig) QueryPaymentProviderConfig(namespace, region *string, limit, offset *int32) (*platformclientmodels.PaymentProviderConfigPagingSlicedResult, error)
- func (p *PaymentConfig) TestAdyenConfig(content *platformclientmodels.AdyenConfig, sandbox *bool) (*platformclientmodels.TestResult, error)
- func (p *PaymentConfig) TestAdyenConfigByID(id string, sandbox *bool) (*platformclientmodels.TestResult, error)
- func (p *PaymentConfig) TestAliPayConfig(content *platformclientmodels.AliPayConfig, sandbox *bool) (*platformclientmodels.TestResult, error)
- func (p *PaymentConfig) TestAliPayConfigByID(id string, sandbox *bool) (*platformclientmodels.TestResult, error)
- func (p *PaymentConfig) TestCheckoutConfig(content *platformclientmodels.CheckoutConfig, sandbox *bool) (*platformclientmodels.TestResult, error)
- func (p *PaymentConfig) TestCheckoutConfigByID(id string) (*platformclientmodels.TestResult, error)
- func (p *PaymentConfig) TestPayPalConfig(content *platformclientmodels.PayPalConfig, sandbox *bool) (*platformclientmodels.TestResult, error)
- func (p *PaymentConfig) TestPayPalConfigByID(id string, sandbox *bool) (*platformclientmodels.TestResult, error)
- func (p *PaymentConfig) TestStripeConfig(content *platformclientmodels.StripeConfig, sandbox *bool) (*platformclientmodels.TestResult, error)
- func (p *PaymentConfig) TestStripeConfigByID(id string, sandbox *bool) (*platformclientmodels.TestResult, error)
- func (p *PaymentConfig) TestWxPayConfig(content *platformclientmodels.WxPayConfigRequest) (*platformclientmodels.TestResult, error)
- func (p *PaymentConfig) TestWxPayConfigByID(id string) (*platformclientmodels.TestResult, error)
- func (p *PaymentConfig) TestXsollaConfig(content *platformclientmodels.XsollaConfig) (*platformclientmodels.TestResult, error)
- func (p *PaymentConfig) TestXsollaConfigByID(id string) (*platformclientmodels.TestResult, error)
- func (p *PaymentConfig) UpdateAdyenConfig(id string, sandbox, validate *bool, content *platformclientmodels.AdyenConfig) (*platformclientmodels.PaymentMerchantConfigInfo, error)
- func (p *PaymentConfig) UpdateAliPayConfig(id string, sandbox, validate *bool, content *platformclientmodels.AliPayConfig) (*platformclientmodels.PaymentMerchantConfigInfo, error)
- func (p *PaymentConfig) UpdateCheckoutConfig(id string, sandbox, validate *bool, ...) (*platformclientmodels.PaymentMerchantConfigInfo, error)
- func (p *PaymentConfig) UpdatePayPalConfig(id string, sandbox, validate *bool, content *platformclientmodels.PayPalConfig) (*platformclientmodels.PaymentMerchantConfigInfo, error)
- func (p *PaymentConfig) UpdatePaymentProviderConfig(id string, content *platformclientmodels.PaymentProviderConfigEdit) (*platformclientmodels.PaymentProviderConfigInfo, error)
- func (p *PaymentConfig) UpdatePaymentTaxConfig(content *platformclientmodels.PaymentTaxConfigEdit) (*platformclientmodels.PaymentTaxConfigInfo, error)
- func (p *PaymentConfig) UpdateStripeConfig(id string, sandbox, validate *bool, content *platformclientmodels.StripeConfig) (*platformclientmodels.PaymentMerchantConfigInfo, error)
- func (p *PaymentConfig) UpdateWxPayConfig(id string, validate *bool, content *platformclientmodels.WxPayConfigRequest) (*platformclientmodels.PaymentMerchantConfigInfo, error)
- func (p *PaymentConfig) UpdateWxPayConfigCert(id string, file runtime.NamedReadCloser) (*platformclientmodels.PaymentMerchantConfigInfo, error)
- func (p *PaymentConfig) UpdateXsollaConfig(id string, validate *bool, content *platformclientmodels.XsollaConfig) (*platformclientmodels.PaymentMerchantConfigInfo, error)
- func (p *PaymentConfig) UpdateXsollaUIConfig(id string, content *platformclientmodels.XsollaPaywallConfigRequest) (*platformclientmodels.PaymentMerchantConfigInfo, error)
- type PaymentService
- func (p *PaymentService) ChargePaymentOrder(namespace, paymentOrderNo string) (*platformclientmodels.PaymentOrderInfo, error)
- func (p *PaymentService) CreatePaymentOrderByDedicated(namespace string, content *platformclientmodels.ExternalPaymentOrderCreate) (*platformclientmodels.PaymentOrderCreateResult, error)
- func (p *PaymentService) CreateUserPaymentOrder(namespace, userId string, content *platformclientmodels.PaymentOrderCreate) (*platformclientmodels.PaymentOrderInfo, error)
- func (p *PaymentService) GetPaymentOrder(namespace, paymentOrderNo string) (*platformclientmodels.PaymentOrderInfo, error)
- func (p *PaymentService) GetPaymentOrderChargeStatus(namespace, paymentOrderNo string) (*platformclientmodels.PaymentOrderChargeStatus, error)
- func (p *PaymentService) ListExtOrderNoByExtTxID(namespace, extTxId string) ([]string, error)
- func (p *PaymentService) QueryPaymentNotification(namespace string, ...) (*platformclientmodels.PaymentNotificationPagingSlicedResult, error)
- func (p *PaymentService) QueryPaymentOrders(namespace string, channel, extTxId, status *string, limit, offset *int32) (*platformclientmodels.PaymentOrderPagingSlicedResult, error)
- func (p *PaymentService) RefundPaymentOrderByDedicated(namespace, paymentOrderNo string, ...) (*platformclientmodels.PaymentOrderRefundResult, error)
- func (p *PaymentService) RefundUserPaymentOrder(namespace, userId, paymentOrderNo string, ...) (*platformclientmodels.PaymentOrderInfo, error)
- func (p *PaymentService) SyncPaymentOrders(startDate, endDate string, nextEvaluatedKey *string) (*platformclientmodels.PaymentOrderSyncResult, error)
- type PaymentStation
- func (p *PaymentStation) GetPaymentCustomization(namespace, paymentProvider, region string, sandbox *bool) (*platformclientmodels.Customization, error)
- func (p *PaymentStation) GetPaymentPublicConfig(namespace, paymentProvider string) (map[string]interface{}, error)
- func (p *PaymentStation) GetPaymentTaxValue(namespace, paymentOrderNo, paymentProvider string, zipCode *string) (*platformclientmodels.TaxResult, error)
- func (p *PaymentStation) Pay(namespace, paymentOrderNo string, paymentProvider, zipCode *string) (*platformclientmodels.PaymentProcessResult, error)
- func (p *PaymentStation) PublicCheckPaymentOrderPaidStatus(namespace, paymentOrderNo string) (*platformclientmodels.PaymentOrderPaidResult, error)
- func (p *PaymentStation) PublicGetPaymentMethods(namespace, paymentOrderNo string) ([]*platformclientmodels.PaymentMethod, error)
- func (p *PaymentStation) PublicGetPaymentURL(namespace string, content *platformclientmodels.PaymentURLCreate) (*platformclientmodels.PaymentURL, error)
- func (p *PaymentStation) PublicGetQRCode(namespace, code string, writer io.Writer) (io.Writer, error)
- func (p *PaymentStation) PublicGetUnpaidPaymentOrder(namespace, paymentOrderNo string) (*platformclientmodels.PaymentOrderDetails, error)
- func (p *PaymentStation) PublicNormalizePaymentReturnURL(namespace, paymentProvider, orderNo, paymentOrderNo, returnUrl string, ...) error
- type RewardService
- func (r *RewardService) CreateReward(namespace string, content *platformclientmodels.RewardCreate) (*platformclientmodels.RewardInfo, error)
- func (r *RewardService) DeleteReward(namespace, rewardId string) (*platformclientmodels.RewardInfo, error)
- func (r *RewardService) ExportRewards(namespace string) error
- func (r *RewardService) GetReward(namespace, rewardId string) (*platformclientmodels.RewardInfo, error)
- func (r *RewardService) ImportRewards(namespace string, replaceExisting bool, file runtime.NamedReadCloser) error
- func (r *RewardService) PublicGetReward(namespace, rewardId string) (*platformclientmodels.RewardInfo, error)
- func (r *RewardService) PublicQueryRewards(namespace string, eventTopic, sort *string, limit, offset *int32) (*platformclientmodels.RewardPagingSlicedResult, error)
- func (r *RewardService) QueryRewards(namespace string, eventTopic, sort *string, limit, offset *int32) (*platformclientmodels.RewardPagingSlicedResult, error)
- func (r *RewardService) UpdateReward(namespace, rewardId string) (*platformclientmodels.RewardInfo, error)
- type RoleService
- type SlotConfigService
- func (s *SlotConfigService) DeleteNamespaceSlotConfig(namespace string) error
- func (s *SlotConfigService) DeleteUserSlotConfig(namespace, userId string) error
- func (s *SlotConfigService) GetNamespaceSlotConfig(namespace string) (*socialclientmodels.NamespaceSlotConfigInfo, error)
- func (s *SlotConfigService) GetUserSlotConfig(namespace, userId string) (*socialclientmodels.UserSlotConfigInfo, error)
- func (s *SlotConfigService) UpdateNamespaceSlotConfig(namespace string, content *socialclientmodels.SlotConfigUpdate) (*socialclientmodels.NamespaceSlotConfigInfo, error)
- func (s *SlotConfigService) UpdateUserSlotConfig(namespace, userId string, content *socialclientmodels.SlotConfigUpdate) (*socialclientmodels.UserSlotConfigInfo, error)
- type SlotService
- func (s *SlotService) GetSlotData(namespace, userId, slotId string, writer io.Writer) (io.Writer, error)
- func (s *SlotService) GetUserNamespaceSlots(namespace, userId string) ([]*socialclientmodels.SlotInfo, error)
- func (s *SlotService) PublicCreateUserNamespaceSlot(namespace, userId string, checksum, customAttribute, label *string, ...) error
- func (s *SlotService) PublicDeleteUserNamespaceSlot(namespace, userId, slotId string) error
- func (s *SlotService) PublicGetSlotData(namespace, userId, slotId string, writer io.Writer) (io.Writer, error)
- func (s *SlotService) PublicGetUserNamespaceSlots(namespace, userId string) ([]*socialclientmodels.SlotInfo, error)
- func (s *SlotService) PublicUpdateUserNamespaceSlot(namespace, userId, slotId string, checksum, customAttribute, label *string, ...) (*socialclientmodels.SlotInfo, error)
- func (s *SlotService) PublicUpdateUserNamespaceSlotMetadata(namespace, userId, slotId string, ...) (*socialclientmodels.SlotInfo, error)
- type StatisticConfigService
- func (s *StatisticConfigService) CreateStat(namespace string, content *socialclientmodels.StatCreate) (*socialclientmodels.StatInfo, error)
- func (s *StatisticConfigService) DeleteStat(namespace, statCode string) error
- func (s *StatisticConfigService) ExportStats(namespace string) error
- func (s *StatisticConfigService) GetStat(namespace, statCode string) (*socialclientmodels.StatInfo, error)
- func (s *StatisticConfigService) GetStats(namespace string, limit, offset *int32) (*socialclientmodels.StatPagingSlicedResult, error)
- func (s *StatisticConfigService) ImportStats(namespace string, file runtime.NamedReadCloser, replaceExisting *bool) (*socialclientmodels.StatImportInfo, error)
- func (s *StatisticConfigService) PublicCreateStat(namespace string, content *socialclientmodels.StatCreate) (*socialclientmodels.StatInfo, error)
- func (s *StatisticConfigService) QueryStats(namespace, keyword string, limit, offset *int32) (*socialclientmodels.StatPagingSlicedResult, error)
- func (s *StatisticConfigService) UpdateStat(namespace, statCode string, content *socialclientmodels.StatUpdate) (*socialclientmodels.StatInfo, error)
- type StatisticService
- func (s *StatisticService) BulkCreateUserStatItems(namespace, userId string, content []*socialclientmodels.BulkStatItemCreate) ([]*socialclientmodels.BulkStatItemOperationResult, error)
- func (s *StatisticService) BulkFetchStatItems(namespace, statCode, userIds string) ([]*socialclientmodels.UserStatItemInfo, error)
- func (s *StatisticService) BulkResetMultipleUserStatItem(namespace string, content []*socialclientmodels.BulkUserStatItemReset) ([]*socialclientmodels.BulkStatItemOperationResult, error)
- func (s *StatisticService) BulkResetUserStatItem(namespace, userId string, content []*socialclientmodels.BulkStatItemReset) ([]*socialclientmodels.BulkStatItemOperationResult, error)
- func (s *StatisticService) BulkUpdateMultipleUserStatItem(namespace string, content []*socialclientmodels.BulkUserStatItemInc) ([]*socialclientmodels.BulkStatItemOperationResult, error)
- func (s *StatisticService) BulkUpdateMultipleUserStatItemV2(namespace string, content []*socialclientmodels.BulkUserStatItemUpdate) ([]*socialclientmodels.BulkStatItemOperationResult, error)
- func (s *StatisticService) BulkUpdateUserStatItem(namespace string, content []*socialclientmodels.BulkStatItemInc) ([]*socialclientmodels.BulkStatItemOperationResult, error)
- func (s *StatisticService) BulkUpdateUserStatItemV2(namespace string, content []*socialclientmodels.BulkStatItemUpdate) ([]*socialclientmodels.BulkStatItemOperationResult, error)
- func (s *StatisticService) CreateUserStatItem(namespace, userId, statCode string) error
- func (s *StatisticService) DeleteUserStatItems(namespace, userId, statCode string) error
- func (s *StatisticService) DeleteUserStatItemsV2(namespace, userId, statCode string) error
- func (s *StatisticService) GetGlobalStatItems(namespace string, limit, offset *int32) (*socialclientmodels.GlobalStatItemPagingSlicedResult, error)
- func (s *StatisticService) GetUserStatItems(namespace, userId string, statCodes, tags *string, limit, offset *int32) (*socialclientmodels.UserStatItemPagingSlicedResult, error)
- func (s *StatisticService) IncUserStatItemValue(namespace, statCode, userId string, content *socialclientmodels.StatItemInc) (*socialclientmodels.StatItemIncResult, error)
- func (s *StatisticService) IncUserStatItemValueV2(namespace string, content *socialclientmodels.StatItemUpdate) (*socialclientmodels.StatItemIncResult, error)
- func (s *StatisticService) PublicBulkCreateUserStatItems(namespace, userId string, content []*socialclientmodels.BulkStatItemCreate) ([]*socialclientmodels.BulkStatItemOperationResult, error)
- func (s *StatisticService) PublicBulkFetchStatItems(namespace, statCode, userIds string) ([]*socialclientmodels.UserStatItemInfo, error)
- func (s *StatisticService) PublicBulkIncMultipleUserStatItem(namespace string, content []*socialclientmodels.BulkUserStatItemInc) ([]*socialclientmodels.BulkStatItemOperationResult, error)
- func (s *StatisticService) PublicBulkIncMultipleUserStatItemV2(namespace string, content []*socialclientmodels.BulkUserStatItemUpdate) ([]*socialclientmodels.BulkStatItemOperationResult, error)
- func (s *StatisticService) PublicBulkIncUserStatItem(namespace, userId string, content []*socialclientmodels.BulkStatItemInc) ([]*socialclientmodels.BulkStatItemOperationResult, error)
- func (s *StatisticService) PublicBulkIncUserStatItemV2(namespace string, content []*socialclientmodels.BulkStatItemUpdate) ([]*socialclientmodels.BulkStatItemOperationResult, error)
- func (s *StatisticService) PublicBulkResetMultipleUserStatItem(namespace string, content []*socialclientmodels.BulkUserStatItemReset) ([]*socialclientmodels.BulkStatItemOperationResult, error)
- func (s *StatisticService) PublicBulkResetUserStatItem(namespace, userId string, content []*socialclientmodels.BulkStatItemReset) ([]*socialclientmodels.BulkStatItemOperationResult, error)
- func (s *StatisticService) PublicCreateUserStatItem(namespace, userId, statCode string) error
- func (s *StatisticService) PublicDeleteUserStatItem(namespace, userId, statCode string) error
- func (s *StatisticService) PublicIncUserStatItem(namespace, userId string, content *socialclientmodels.StatItemInc) (*socialclientmodels.StatItemIncResult, error)
- func (s *StatisticService) PublicIncUserStatItemV2(namespace string, content *socialclientmodels.StatItemUpdate) (*socialclientmodels.StatItemIncResult, error)
- func (s *StatisticService) PublicQueryUserStatItems(namespace, userId string, tags, statCodes *string, limit, offset *int32) (*socialclientmodels.UserStatItemPagingSlicedResult, error)
- func (s *StatisticService) PublicResetUserStatItemValue(namespace, userId, statCode string) (*socialclientmodels.StatItemIncResult, error)
- func (s *StatisticService) ResetUserStatItemValue(namespace, statCode, userId string) (*socialclientmodels.StatItemIncResult, error)
- type StoreService
- func (storeService *StoreService) BackupStore(namespace string) (*platformclientmodels.StoreBackupInfo, error)
- func (storeService *StoreService) CloneStore(namespace, storeId, targetStoreId string) (*platformclientmodels.StoreInfo, error)
- func (storeService *StoreService) CreateStore(namespace string, storeCreate platformclientmodels.StoreCreate) (*platformclientmodels.StoreInfo, error)
- func (storeService *StoreService) DeletePublishedStore(namespace string) (*platformclientmodels.StoreInfo, error)
- func (storeService *StoreService) DeleteStore(namespace, storeId string) (*platformclientmodels.StoreInfo, error)
- func (storeService *StoreService) ExportStore(namespace, storeId string) error
- func (storeService *StoreService) GetPublishedStore(namespace string) (*platformclientmodels.StoreInfo, error)
- func (storeService *StoreService) GetStore(namespace, storeId string) (*platformclientmodels.StoreInfo, error)
- func (storeService *StoreService) ImportStore(namespace string, storeId *string, fileAbsolutePath string) (*platformclientmodels.StoreInfo, error)
- func (storeService *StoreService) ListStore(namespace string) ([]*platformclientmodels.StoreInfo, error)
- func (storeService *StoreService) PublicListStore(namespace string) ([]*platformclientmodels.StoreInfo, error)
- func (storeService *StoreService) RollbackPublishedStore(namespace string) (*platformclientmodels.StoreInfo, error)
- func (storeService *StoreService) UpdateStore(namespace, storeId string, storeUpdate platformclientmodels.StoreUpdate) (*platformclientmodels.StoreInfo, error)
- type UserService
- func (userService *UserService) AddUserRole(namespace, userId, roleId string) error
- func (userService *UserService) CreateProfile(namespace string) error
- func (userService *UserService) GetProfile(namespace string) (*basicclientmodels.UserProfilePrivateInfo, error)
- func (userService *UserService) Login(username, password string) error
- func (userService *UserService) Logout() error
- func (userService *UserService) RegisterUser(namespace, displayName, birthDate, email, countryId, password string) (*iamclientmodels.ModelUserCreateResponseV3, error)
- func (userService *UserService) VerifyToken(code, contactType, namespace string) error
- type WalletService
- func (w *WalletService) CheckTransactionCreditLimit(namespace, userId, currencyCode string, ...) error
- func (w *WalletService) CreditUserWallet(namespace, userId, currencyCode string, ...) (*platformclientmodels.WalletInfo, error)
- func (w *WalletService) DebitUserWallet(namespace, userId, walletId string, content *platformclientmodels.DebitRequest) (*platformclientmodels.WalletInfo, error)
- func (w *WalletService) DisableUserWallet(namespace, userId, walletId string) (*platformclientmodels.ErrorEntity, error)
- func (w *WalletService) EnableUserWallet(namespace, userId, walletId string) error
- func (w *WalletService) GetUserWallet(namespace, userId, walletId string) (*platformclientmodels.WalletInfo, error)
- func (w *WalletService) GetWallet(namespace, walletId string) (*platformclientmodels.WalletInfo, error)
- func (w *WalletService) ListUserWalletTransactions(namespace, userId, walletId string, limit, offset *int32) (*platformclientmodels.WalletTransactionPagingSlicedResult, error)
- func (w *WalletService) PayWithUserWallet(namespace, userId, currencyCode string, ...) (*platformclientmodels.WalletInfo, error)
- func (w *WalletService) PublicGetMyWallet(namespace, currencyCode string) (*platformclientmodels.WalletInfo, error)
- func (w *WalletService) PublicGetWallet(namespace, userId, currencyCode string) (*platformclientmodels.WalletInfo, error)
- func (w *WalletService) PublicListUserWalletTransactions(namespace, userId, currencyCode string, limit, offset *int32) (*platformclientmodels.WalletTransactionPagingSlicedResult, error)
- func (w *WalletService) QueryWallets(namespace string, currencyCode, userId *string) (*platformclientmodels.WalletPagingSlicedResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CategoryService ¶
type CategoryService struct { OauthService *OauthService PlatformService *platformclient.JusticePlatformService }
func (*CategoryService) CreateCategory ¶
func (categoryService *CategoryService) CreateCategory(namespace, storeId string, categoryCreate platformclientmodels.CategoryCreate) (*platformclientmodels.FullCategoryInfo, error)
func (*CategoryService) DeleteCategory ¶
func (categoryService *CategoryService) DeleteCategory(namespace, storeId, categoryPath string) (*platformclientmodels.FullCategoryInfo, error)
func (*CategoryService) DownloadCategories ¶
func (categoryService *CategoryService) DownloadCategories(namespace string, language, storeId *string) ([]*platformclientmodels.HierarchicalCategoryInfo, error)
func (*CategoryService) GetCategory ¶
func (categoryService *CategoryService) GetCategory(namespace, categoryPath string, storeId *string) (*platformclientmodels.FullCategoryInfo, error)
func (*CategoryService) GetChildCategories ¶
func (categoryService *CategoryService) GetChildCategories(namespace, categoryPath string, storeId *string) ([]*platformclientmodels.FullCategoryInfo, error)
func (*CategoryService) GetDescendantCategories ¶
func (categoryService *CategoryService) GetDescendantCategories(namespace, categoryPath string, storeId *string) ([]*platformclientmodels.FullCategoryInfo, error)
func (*CategoryService) GetRootCategories ¶
func (categoryService *CategoryService) GetRootCategories(namespace string, storeId *string) ([]*platformclientmodels.FullCategoryInfo, error)
func (*CategoryService) ListCategoriesBasic ¶
func (categoryService *CategoryService) ListCategoriesBasic(namespace string, storeId *string) ([]*platformclientmodels.BasicCategoryInfo, error)
func (*CategoryService) PublicGetCategory ¶
func (categoryService *CategoryService) PublicGetCategory(namespace, categoryPath string, storeId, language *string) (*platformclientmodels.CategoryInfo, error)
func (*CategoryService) PublicGetChildCategories ¶
func (categoryService *CategoryService) PublicGetChildCategories(namespace, categoryPath string, storeId *string) ([]*platformclientmodels.CategoryInfo, error)
func (*CategoryService) PublicGetDescendantCategories ¶
func (categoryService *CategoryService) PublicGetDescendantCategories(namespace, categoryPath string, storeId *string) ([]*platformclientmodels.CategoryInfo, error)
func (*CategoryService) PublicGetRootCategories ¶
func (categoryService *CategoryService) PublicGetRootCategories(namespace string, storeId *string) ([]*platformclientmodels.CategoryInfo, error)
func (*CategoryService) UpdateCategory ¶
func (categoryService *CategoryService) UpdateCategory(namespace, storeId, categoryPath string, categoryUpdate platformclientmodels.CategoryUpdate) (*platformclientmodels.FullCategoryInfo, error)
type ChatService ¶
type ChatService struct { ConfigRepository repository.ConfigRepository TokenRepository repository.TokenRepository ConnectionManager connectionutils.ConnectionManager }
func (*ChatService) GetPersonalChatHistory ¶
func (s *ChatService) GetPersonalChatHistory(friendID string) error
func (*ChatService) JoinDefaultChannel ¶
func (s *ChatService) JoinDefaultChannel() error
func (*ChatService) SendChannelChat ¶
func (s *ChatService) SendChannelChat(channelSlug, payload string) error
func (*ChatService) SendPartyChat ¶
func (s *ChatService) SendPartyChat(content string) error
func (*ChatService) SendPersonalChat ¶
func (s *ChatService) SendPersonalChat(friendID, content string) error
type CloudSaveService ¶
type CloudSaveService struct { CloudSaveServiceClient *cloudsaveclient.JusticeCloudsaveService TokenRepository repository.TokenRepository }
func (*CloudSaveService) CreateGameRecord ¶
func (couldSaveService *CloudSaveService) CreateGameRecord(content map[string]string, key, namespace string) error
func (*CloudSaveService) CreatePlayerRecord ¶
func (couldSaveService *CloudSaveService) CreatePlayerRecord(userId, namespace, key string, content map[string]string) error
func (*CloudSaveService) DeleteGameRecord ¶
func (couldSaveService *CloudSaveService) DeleteGameRecord(key, namespace string) error
func (*CloudSaveService) DeletePlayerRecord ¶
func (couldSaveService *CloudSaveService) DeletePlayerRecord(userId, namespace, key string) error
func (*CloudSaveService) GetGameRecord ¶
func (couldSaveService *CloudSaveService) GetGameRecord(key, namespace string) (*cloudsaveclientmodels.ModelsGameRecord, error)
func (*CloudSaveService) GetPlayerRecord ¶
func (couldSaveService *CloudSaveService) GetPlayerRecord(userId, namespace, key string) (*cloudsaveclientmodels.ModelsPlayerRecord, error)
type CurrencyService ¶
type CurrencyService struct { PlatformServiceClient *platformclient.JusticePlatformService TokenRepository repository.TokenRepository }
func (*CurrencyService) CreateCurrency ¶
func (c *CurrencyService) CreateCurrency(namespace string, body *platformclientmodels.CurrencyCreate) (*platformclientmodels.CurrencyInfo, error)
func (*CurrencyService) DeleteCurrency ¶
func (c *CurrencyService) DeleteCurrency(namespace, currencyCode string) (*platformclientmodels.CurrencyInfo, error)
func (*CurrencyService) GetCurrencyConfig ¶
func (c *CurrencyService) GetCurrencyConfig(namespace, currencyCode string) (*platformclientmodels.CurrencyConfig, error)
func (*CurrencyService) GetCurrencySummary ¶
func (c *CurrencyService) GetCurrencySummary(namespace, currencyCode string) (*platformclientmodels.CurrencySummary, error)
func (*CurrencyService) ListCurrencies ¶
func (c *CurrencyService) ListCurrencies(namespace string) ([]*platformclientmodels.CurrencyInfo, error)
func (*CurrencyService) PublicListCurrencies ¶
func (c *CurrencyService) PublicListCurrencies(namespace string) ([]*platformclientmodels.CurrencyInfo, error)
func (*CurrencyService) UpdateCurrency ¶
func (c *CurrencyService) UpdateCurrency(namespace, currencyCode string, content *platformclientmodels.CurrencyUpdate) (*platformclientmodels.CurrencyInfo, error)
type EntitlementService ¶
type EntitlementService struct { PlatformService *platformclient.JusticePlatformService TokenRepository repository.TokenRepository }
func (*EntitlementService) ConsumeUserEntitlement ¶
func (entitlementService *EntitlementService) ConsumeUserEntitlement(namespace, userId, entitlementId string, entitlementDecrement platformclientmodels.EntitlementDecrement) (*platformclientmodels.EntitlementInfo, error)
func (*EntitlementService) CreateUserDistributionReceiver ¶
func (entitlementService *EntitlementService) CreateUserDistributionReceiver(namespace, userId, extUserId string, distributionReceiverCreate platformclientmodels.DistributionReceiverCreate) error
func (*EntitlementService) DeleteUserDistributionReceiver ¶
func (entitlementService *EntitlementService) DeleteUserDistributionReceiver(namespace, userId, extUserId string) error
func (*EntitlementService) DisableUserEntitlement ¶
func (entitlementService *EntitlementService) DisableUserEntitlement(namespace, userId, entitlementId string) error
func (*EntitlementService) EnableUserEntitlement ¶
func (entitlementService *EntitlementService) EnableUserEntitlement(namespace, userId, entitlementId string) (*platformclientmodels.EntitlementInfo, error)
func (*EntitlementService) ExistsAnyUserActiveEntitlement ¶
func (entitlementService *EntitlementService) ExistsAnyUserActiveEntitlement(namespace, userId string, appIds, itemIds, skus []string) (*platformclientmodels.Ownership, error)
func (*EntitlementService) ExistsAnyUserActiveEntitlementByItemIds ¶
func (entitlementService *EntitlementService) ExistsAnyUserActiveEntitlementByItemIds(namespace, userId string, itemIds []string) (*platformclientmodels.Ownership, error)
func (*EntitlementService) GetEntitlement ¶
func (entitlementService *EntitlementService) GetEntitlement(namespace, entitlementId string) (*platformclientmodels.EntitlementInfo, error)
func (*EntitlementService) GetUserAppEntitlementByAppID ¶
func (entitlementService *EntitlementService) GetUserAppEntitlementByAppID(namespace, userId, appId string, activeOnly *bool) (*platformclientmodels.AppEntitlementInfo, error)
func (*EntitlementService) GetUserAppEntitlementOwnershipByAppID ¶
func (entitlementService *EntitlementService) GetUserAppEntitlementOwnershipByAppID(namespace, userId, appId string) (*platformclientmodels.Ownership, error)
func (*EntitlementService) GetUserDistributionReceivers ¶
func (entitlementService *EntitlementService) GetUserDistributionReceivers(namespace, userId string) ([]*platformclientmodels.DistributionReceiverInfo, error)
func (*EntitlementService) GetUserEntitlement ¶
func (entitlementService *EntitlementService) GetUserEntitlement(namespace, userId, entitlementId string) (*platformclientmodels.EntitlementInfo, error)
func (*EntitlementService) GetUserEntitlementBySku ¶
func (entitlementService *EntitlementService) GetUserEntitlementBySku(namespace, sku, userId string, entitlementClazz *string, activeOnly *bool) (*platformclientmodels.EntitlementInfo, error)
func (*EntitlementService) GetUserEntitlementHistories ¶
func (entitlementService *EntitlementService) GetUserEntitlementHistories(namespace, entitlementId, userId string) ([]*platformclientmodels.EntitlementHistoryInfo, error)
func (*EntitlementService) GetUserEntitlementOwnershipBySku ¶
func (entitlementService *EntitlementService) GetUserEntitlementOwnershipBySku(namespace, userId, sku string, entitlementClazz *string) (*platformclientmodels.Ownership, error)
func (*EntitlementService) GrantUserEntitlement ¶
func (entitlementService *EntitlementService) GrantUserEntitlement(namespace, userId string, entitlementGrants []platformclientmodels.EntitlementGrant) ([]*platformclientmodels.StackableEntitlementInfo, error)
func (*EntitlementService) PublicConsumeUserEntitlement ¶
func (entitlementService *EntitlementService) PublicConsumeUserEntitlement(namespace, userId, entitlementId string, entitlementDecrement platformclientmodels.EntitlementDecrement) (*platformclientmodels.EntitlementInfo, error)
func (*EntitlementService) PublicCreateUserDistributionReceiver ¶
func (entitlementService *EntitlementService) PublicCreateUserDistributionReceiver(namespace, userId, extUserId string, distributionReceiverCreate platformclientmodels.DistributionReceiverCreate) error
func (*EntitlementService) PublicDeleteUserDistributionReceiver ¶
func (entitlementService *EntitlementService) PublicDeleteUserDistributionReceiver(namespace, userId, extUserId string) error
func (*EntitlementService) PublicDistributeUserDistribution ¶
func (entitlementService *EntitlementService) PublicDistributeUserDistribution(namespace, userId, entitlementId, extUserId, targetNamespace string, quantity *int32) (*platformclientmodels.EntitlementInfo, error)
func (*EntitlementService) PublicExistsAnyUserActiveEntitlement ¶
func (entitlementService *EntitlementService) PublicExistsAnyUserActiveEntitlement(namespace, userId string, appIds, itemIds, skus []string) (*platformclientmodels.Ownership, error)
func (*EntitlementService) PublicGetMyAppEntitlementOwnershipByAppID ¶
func (entitlementService *EntitlementService) PublicGetMyAppEntitlementOwnershipByAppID(namespace, appId string) (*platformclientmodels.Ownership, error)
func (*EntitlementService) PublicGetMyEntitlementOwnershipBySku ¶
func (entitlementService *EntitlementService) PublicGetMyEntitlementOwnershipBySku(namespace, sku string, entitlementClazz *string) (*platformclientmodels.Ownership, error)
func (*EntitlementService) PublicGetUserAppEntitlementByAppID ¶
func (entitlementService *EntitlementService) PublicGetUserAppEntitlementByAppID(namespace, userId, appId string) (*platformclientmodels.AppEntitlementInfo, error)
func (*EntitlementService) PublicGetUserAppEntitlementOwnershipByAppID ¶
func (entitlementService *EntitlementService) PublicGetUserAppEntitlementOwnershipByAppID(namespace, userId, appId string) (*platformclientmodels.Ownership, error)
func (*EntitlementService) PublicGetUserDistributionReceivers ¶
func (entitlementService *EntitlementService) PublicGetUserDistributionReceivers(namespace, userId, targetNamespace string) ([]*platformclientmodels.DistributionReceiverInfo, error)
func (*EntitlementService) PublicGetUserEntitlement ¶
func (entitlementService *EntitlementService) PublicGetUserEntitlement(namespace, userId, entitlementId string) (*platformclientmodels.EntitlementInfo, error)
func (*EntitlementService) PublicGetUserEntitlementBySku ¶
func (entitlementService *EntitlementService) PublicGetUserEntitlementBySku(namespace, userId, sku string, entitlementClazz *string) (*platformclientmodels.EntitlementInfo, error)
func (*EntitlementService) PublicGetUserEntitlementOwnershipBySku ¶
func (entitlementService *EntitlementService) PublicGetUserEntitlementOwnershipBySku(namespace, userId, sku string, entitlementClazz *string) (*platformclientmodels.Ownership, error)
func (*EntitlementService) PublicQueryUserEntitlements ¶
func (entitlementService *EntitlementService) PublicQueryUserEntitlements(namespace, userId string, appType, entitlementName, itemId, entitlementClazz *string, limit, offset *int32) (*platformclientmodels.EntitlementPagingSlicedResult, error)
func (*EntitlementService) PublicQueryUserEntitlementsByAppType ¶
func (entitlementService *EntitlementService) PublicQueryUserEntitlementsByAppType(namespace, userId, appType string, limit, offset *int32) (*platformclientmodels.AppEntitlementPagingSlicedResult, error)
func (*EntitlementService) PublicUpdateUserDistributionReceiver ¶
func (entitlementService *EntitlementService) PublicUpdateUserDistributionReceiver(namespace, userId, extUserId string, distributionReceiverCreate platformclientmodels.DistributionReceiverCreate) error
func (*EntitlementService) QueryEntitlement ¶
func (entitlementService *EntitlementService) QueryEntitlement(namespace string, userId, appType, entitlementClazz, entitlementName, itemId *string, limit, offset *int32, activeOnly *bool) (*platformclientmodels.EntitlementPagingSlicedResult, error)
func (*EntitlementService) QueryUserEntitlements ¶
func (entitlementService *EntitlementService) QueryUserEntitlements(namespace, userId string, appType, entitlementClazz, entitlementName, itemId *string, limit, offset *int32, activeOnly *bool) (*platformclientmodels.EntitlementPagingSlicedResult, error)
func (*EntitlementService) QueryUserEntitlementsByAppType ¶
func (entitlementService *EntitlementService) QueryUserEntitlementsByAppType(namespace, userId, appType string, activeOnly *bool, limit, offset *int32) (*platformclientmodels.AppEntitlementPagingSlicedResult, error)
func (*EntitlementService) RevokeUserEntitlement ¶
func (entitlementService *EntitlementService) RevokeUserEntitlement(namespace, userId, entitlementId string) (*platformclientmodels.EntitlementInfo, error)
func (*EntitlementService) RevokeUserEntitlements ¶
func (entitlementService *EntitlementService) RevokeUserEntitlements(namespace, userId, entitlementIds string) (*platformclientmodels.BulkOperationResult, error)
func (*EntitlementService) UpdateUserDistributionReceiver ¶
func (entitlementService *EntitlementService) UpdateUserDistributionReceiver(namespace, userId, extUserId string, distributionReceiverCreate platformclientmodels.DistributionReceiverCreate) error
func (*EntitlementService) UpdateUserEntitlement ¶
func (entitlementService *EntitlementService) UpdateUserEntitlement(namespace, userId, entitlementId string, entitlementUpdate platformclientmodels.EntitlementUpdate) (*platformclientmodels.EntitlementInfo, error)
type FriendService ¶
type FriendService struct { LobbyClient *lobbyclient.JusticeLobbyService TokenRepository repository.TokenRepository }
func (*FriendService) AddFriends ¶
func (friendService *FriendService) AddFriends(friendIds []string, namespace, userId string) error
func (*FriendService) GetFriends ¶
func (friendService *FriendService) GetFriends(namespace, userId, limit, offset string) (*lobbyclientmodels.ModelGetFriendsResponse, error)
type FriendServiceWebsocket ¶
type FriendServiceWebsocket struct { ConfigRepository repository.ConfigRepository TokenRepository repository.TokenRepository ConnectionManager connectionutils.ConnectionManager }
func (*FriendServiceWebsocket) AcceptFriendRequest ¶
func (friendService *FriendServiceWebsocket) AcceptFriendRequest(friendID string) error
func (*FriendServiceWebsocket) Block ¶
func (friendService *FriendServiceWebsocket) Block(namespace, userID, blockedUserID string) error
func (*FriendServiceWebsocket) CancelFriendRequest ¶
func (friendService *FriendServiceWebsocket) CancelFriendRequest(friendID string) error
func (*FriendServiceWebsocket) GetFriendPresenceStatus ¶
func (friendService *FriendServiceWebsocket) GetFriendPresenceStatus() error
func (*FriendServiceWebsocket) GetFriends ¶
func (friendService *FriendServiceWebsocket) GetFriends() error
func (*FriendServiceWebsocket) GetFriendshipStatus ¶
func (friendService *FriendServiceWebsocket) GetFriendshipStatus(friendID string) error
func (*FriendServiceWebsocket) GetIncomingFriendRequest ¶
func (friendService *FriendServiceWebsocket) GetIncomingFriendRequest() error
func (*FriendServiceWebsocket) GetOfflineNotification ¶
func (friendService *FriendServiceWebsocket) GetOfflineNotification() error
func (*FriendServiceWebsocket) GetOnlineFriends ¶
func (friendService *FriendServiceWebsocket) GetOnlineFriends() error
func (*FriendServiceWebsocket) GetOutgoingFriendRequest ¶
func (friendService *FriendServiceWebsocket) GetOutgoingFriendRequest() error
func (*FriendServiceWebsocket) RejectFriendRequest ¶
func (friendService *FriendServiceWebsocket) RejectFriendRequest(friendID string) error
func (*FriendServiceWebsocket) RequestFriend ¶
func (friendService *FriendServiceWebsocket) RequestFriend(friendID string) error
func (*FriendServiceWebsocket) SetUserStatus ¶
func (friendService *FriendServiceWebsocket) SetUserStatus(availability int, activity string) error
func (*FriendServiceWebsocket) Unblock ¶
func (friendService *FriendServiceWebsocket) Unblock(namespace, userID, unblockedUserID string) error
func (*FriendServiceWebsocket) Unfriend ¶
func (friendService *FriendServiceWebsocket) Unfriend(friendID string) error
type FulfillmentService ¶
type FulfillmentService struct { PlatformService *platformclient.JusticePlatformService TokenRepository repository.TokenRepository }
func (*FulfillmentService) FulfillItem ¶
func (fulfillmentService *FulfillmentService) FulfillItem(userId, userNamespace string, fulfillmentRequest platformclientmodels.FulfillmentRequest) (*platformclientmodels.FulfillmentResult, error)
func (*FulfillmentService) QueryFulfillmentHistories ¶
func (fulfillmentService *FulfillmentService) QueryFulfillmentHistories(namespace string, userId, status *string, limit, offset *int32) (*platformclientmodels.FulfillmentHistoryPagingSlicedResult, error)
type GameProfileService ¶
type GameProfileService struct { SocialServiceClient *socialclient.JusticeSocialService TokenRepository repository.TokenRepository }
func (*GameProfileService) GetProfile ¶
func (s *GameProfileService) GetProfile(namespace, userId, profileId string) (*socialclientmodels.GameProfileInfo, error)
func (*GameProfileService) GetUserProfiles ¶
func (s *GameProfileService) GetUserProfiles(namespace, userId string) ([]*socialclientmodels.GameProfileHeader, error)
func (*GameProfileService) PublicCreateProfile ¶
func (s *GameProfileService) PublicCreateProfile(namespace, userId string, content *socialclientmodels.GameProfileRequest) error
func (*GameProfileService) PublicDeleteProfile ¶
func (s *GameProfileService) PublicDeleteProfile(namespace, userId, profileId string) error
func (*GameProfileService) PublicGetProfile ¶
func (s *GameProfileService) PublicGetProfile(namespace, userId, profileId string) (*socialclientmodels.GameProfileInfo, error)
func (*GameProfileService) PublicGetProfileAttribute ¶
func (s *GameProfileService) PublicGetProfileAttribute(namespace, userId, attributeName, profileId string) (*socialclientmodels.Attribute, error)
func (*GameProfileService) PublicGetUserGameProfiles ¶
func (s *GameProfileService) PublicGetUserGameProfiles(namespace string, userIds []string) ([]*socialclientmodels.UserGameProfiles, error)
func (*GameProfileService) PublicGetUserProfiles ¶
func (s *GameProfileService) PublicGetUserProfiles(namespace, userId string) ([]*socialclientmodels.GameProfileHeader, error)
func (*GameProfileService) PublicUpdateAttribute ¶
func (s *GameProfileService) PublicUpdateAttribute(namespace, userId, attributeName, profileId string, content *socialclientmodels.Attribute) (*socialclientmodels.GameProfileInfo, error)
func (*GameProfileService) PublicUpdateProfile ¶
func (s *GameProfileService) PublicUpdateProfile(namespace, userId, profileId string, content *socialclientmodels.GameProfileRequest) (*socialclientmodels.GameProfileInfo, error)
type GroupConfigService ¶
type GroupConfigService struct { GroupClient *groupclient.JusticeGroupService TokenRepository repository.TokenRepository }
func (*GroupConfigService) CreateGroupConfigurationAdminV1 ¶
func (s *GroupConfigService) CreateGroupConfigurationAdminV1(namespace string, content *groupclientmodels.ModelsCreateGroupConfigurationRequestV1) (*groupclientmodels.ModelsCreateGroupConfigurationResponseV1, error)
func (*GroupConfigService) DeleteGroupConfigurationAdminV1 ¶
func (s *GroupConfigService) DeleteGroupConfigurationAdminV1(namespace, configCode string) (*groupclientmodels.ModelsGetGroupConfigurationResponseV1, error)
func (*GroupConfigService) DeleteGroupConfigurationGlobalRuleAdminV1 ¶
func (s *GroupConfigService) DeleteGroupConfigurationGlobalRuleAdminV1(namespace, configCode, allowedAction string) (*groupclientmodels.ModelsUpdateGroupConfigurationResponseV1, error)
func (*GroupConfigService) GetGroupConfigurationAdminV1 ¶
func (s *GroupConfigService) GetGroupConfigurationAdminV1(namespace, configCode string) (*groupclientmodels.ModelsGetGroupConfigurationResponseV1, error)
func (*GroupConfigService) InitiateGroupConfigurationAdminV1 ¶
func (s *GroupConfigService) InitiateGroupConfigurationAdminV1(namespace string) (*groupclientmodels.ModelsCreateGroupConfigurationResponseV1, error)
func (*GroupConfigService) ListGroupConfigurationAdminV1 ¶
func (s *GroupConfigService) ListGroupConfigurationAdminV1(namespace string, limit, offset *int64) (*groupclientmodels.ModelsGetGroupConfigurationResponseV1, error)
func (*GroupConfigService) UpdateGroupConfigurationAdminV1 ¶
func (s *GroupConfigService) UpdateGroupConfigurationAdminV1(namespace, configCode string, content *groupclientmodels.ModelsUpdateGroupConfigurationRequestV1) (*groupclientmodels.ModelsUpdateGroupConfigurationResponseV1, error)
func (*GroupConfigService) UpdateGroupConfigurationGlobalRuleAdminV1 ¶
func (s *GroupConfigService) UpdateGroupConfigurationGlobalRuleAdminV1(namespace, configCode, allowedAction string, content *groupclientmodels.ModelsUpdateGroupConfigurationGlobalRulesRequestV1) (*groupclientmodels.ModelsUpdateGroupConfigurationResponseV1, error)
type GroupMemberConfigService ¶
type GroupMemberConfigService struct { GroupClient *groupclient.JusticeGroupService TokenRepository repository.TokenRepository }
func (*GroupMemberConfigService) GetGroupMembersListV1 ¶
func (s *GroupMemberConfigService) GetGroupMembersListV1(namespace, groupId string, order *string, limit, offset *int64) (*groupclientmodels.ModelsGetGroupMemberListResponseV1, error)
func (*GroupMemberConfigService) PublicAcceptGroupInvitationV1 ¶
func (s *GroupMemberConfigService) PublicAcceptGroupInvitationV1(namespace, groupId string) (*groupclientmodels.ModelsMemberRequestGroupResponseV1, error)
func (*GroupMemberConfigService) PublicAcceptGroupJoinRequestV1 ¶
func (s *GroupMemberConfigService) PublicAcceptGroupJoinRequestV1(namespace, userId string) (*groupclientmodels.ModelsMemberRequestGroupResponseV1, error)
func (*GroupMemberConfigService) PublicCancelGroupJoinRequestV1 ¶
func (s *GroupMemberConfigService) PublicCancelGroupJoinRequestV1(namespace, groupId string) (*groupclientmodels.ModelsMemberRequestGroupResponseV1, error)
func (*GroupMemberConfigService) PublicGetGroupInvitationRequestV1 ¶
func (s *GroupMemberConfigService) PublicGetGroupInvitationRequestV1(namespace string, limit, offset *int64) (*groupclientmodels.ModelsGetMemberRequestsListResponseV1, error)
func (*GroupMemberConfigService) PublicGetGroupJoinRequestV1 ¶
func (s *GroupMemberConfigService) PublicGetGroupJoinRequestV1(namespace, groupId string, limit, offset *int64) (*groupclientmodels.ModelsGetMemberRequestsListResponseV1, error)
func (*GroupMemberConfigService) PublicGetGroupMembersListV1 ¶
func (s *GroupMemberConfigService) PublicGetGroupMembersListV1(namespace, groupId string, order *string, limit, offset *int64) (*groupclientmodels.ModelsGetGroupMemberListResponseV1, error)
func (*GroupMemberConfigService) PublicGetUserGroupInformationV1 ¶
func (s *GroupMemberConfigService) PublicGetUserGroupInformationV1(namespace, userId string) (*groupclientmodels.ModelsGetUserGroupInformationResponseV1, error)
func (*GroupMemberConfigService) PublicInviteGroupV1 ¶
func (s *GroupMemberConfigService) PublicInviteGroupV1(namespace, userId string) (*groupclientmodels.ModelsUserInvitationResponseV1, error)
func (*GroupMemberConfigService) PublicJoinGroupV1 ¶
func (s *GroupMemberConfigService) PublicJoinGroupV1(namespace, groupId string) (*groupclientmodels.ModelsJoinGroupResponseV1, error)
func (*GroupMemberConfigService) PublicKickGroupMemberV1 ¶
func (s *GroupMemberConfigService) PublicKickGroupMemberV1(namespace, userId string) (*groupclientmodels.ModelsKickGroupMemberResponseV1, error)
func (*GroupMemberConfigService) PublicLeaveGroupV1 ¶
func (s *GroupMemberConfigService) PublicLeaveGroupV1(namespace string) (*groupclientmodels.ModelsLeaveGroupResponseV1, error)
func (*GroupMemberConfigService) PublicRejectGroupInvitationV1 ¶
func (s *GroupMemberConfigService) PublicRejectGroupInvitationV1(namespace, groupId string) (*groupclientmodels.ModelsMemberRequestGroupResponseV1, error)
func (*GroupMemberConfigService) PublicRejectGroupJoinRequestV1 ¶
func (s *GroupMemberConfigService) PublicRejectGroupJoinRequestV1(namespace, userId string) (*groupclientmodels.ModelsMemberRequestGroupResponseV1, error)
type GroupRoleConfigService ¶
type GroupRoleConfigService struct { GroupClient *groupclient.JusticeGroupService TokenRepository repository.TokenRepository }
func (*GroupRoleConfigService) CreateMemberRoleAdminV1 ¶
func (s *GroupRoleConfigService) CreateMemberRoleAdminV1(namespace string, content *groupclientmodels.ModelsCreateMemberRoleRequestV1) (*groupclientmodels.ModelsCreateMemberRoleResponseV1, error)
func (*GroupRoleConfigService) DeleteMemberRoleAdminV1 ¶
func (s *GroupRoleConfigService) DeleteMemberRoleAdminV1(namespace, memberRoleId string) error
func (*GroupRoleConfigService) GetMemberRolesListAdminV1 ¶
func (s *GroupRoleConfigService) GetMemberRolesListAdminV1(namespace string, limit, offset *int64) (*groupclientmodels.ModelsGetMemberRolesListResponseV1, error)
func (*GroupRoleConfigService) GetSingleMemberRoleAdminV1 ¶
func (s *GroupRoleConfigService) GetSingleMemberRoleAdminV1(namespace, memberRoleId string) (*groupclientmodels.ModelsGetMemberRoleResponseV1, error)
func (*GroupRoleConfigService) PublicAssignRoleToGroupMemberAdminV1 ¶
func (s *GroupRoleConfigService) PublicAssignRoleToGroupMemberAdminV1(namespace, memberRoleId string, content *groupclientmodels.ModelsAssignRoleToMemberRequestV1) (*groupclientmodels.ModelsUpdateMemberRoleResponseV1, error)
func (*GroupRoleConfigService) PublicDeleteMemberRoleV1 ¶
func (s *GroupRoleConfigService) PublicDeleteMemberRoleV1(namespace, memberRoleId string, content *groupclientmodels.ModelsRemoveRoleFromMemberRequestV1) (*groupclientmodels.ModelsUpdateMemberRoleResponseV1, error)
func (*GroupRoleConfigService) PublicGetMemberRolesListV1 ¶
func (s *GroupRoleConfigService) PublicGetMemberRolesListV1(namespace string, limit, offset *int64) (*groupclientmodels.ModelsGetMemberRolesListResponseV1, error)
func (*GroupRoleConfigService) UpdateMemberRoleAdminV1 ¶
func (s *GroupRoleConfigService) UpdateMemberRoleAdminV1(namespace, memberRoleId string, content *groupclientmodels.ModelsUpdateMemberRoleRequestV1) (*groupclientmodels.ModelsUpdateMemberRoleResponseV1, error)
func (*GroupRoleConfigService) UpdateMemberRolePermissionAdminV1 ¶
func (s *GroupRoleConfigService) UpdateMemberRolePermissionAdminV1(namespace, memberRoleId string, content *groupclientmodels.ModelsUpdateMemberRolePermissionsRequestV1) (*groupclientmodels.ModelsUpdateMemberRoleResponseV1, error)
type GroupService ¶
type GroupService struct { GroupClient *groupclient.JusticeGroupService TokenRepository repository.TokenRepository }
func (*GroupService) DeleteGroupAdminV1 ¶
func (s *GroupService) DeleteGroupAdminV1(namespace, groupId string) error
func (*GroupService) GetGroupListAdminV1 ¶
func (s *GroupService) GetGroupListAdminV1(namespace string, groupName, groupRegion, configCode *string, limit, offset *int64) (*groupclientmodels.ModelsGetGroupsListResponseV1, error)
func (*GroupService) GetSingleGroupAdminV1 ¶
func (s *GroupService) GetSingleGroupAdminV1(namespace, groupId string) (*groupclientmodels.ModelsGroupResponseV1, error)
func (*GroupService) PublicCreateNewGroupV1 ¶
func (s *GroupService) PublicCreateNewGroupV1(namespace string, content *groupclientmodels.ModelsPublicCreateNewGroupRequestV1) error
func (*GroupService) PublicDeleteGroupPredefinedRuleV1 ¶
func (s *GroupService) PublicDeleteGroupPredefinedRuleV1(namespace, groupId, allowedAction string) error
func (*GroupService) PublicDeleteGroupV1 ¶
func (s *GroupService) PublicDeleteGroupV1(namespace, groupId string) error
func (*GroupService) PublicGetGroupListV1 ¶
func (s *GroupService) PublicGetGroupListV1(namespace string, groupName, groupRegion *string, limit, offset *int64) (*groupclientmodels.ModelsGetGroupsListResponseV1, error)
func (*GroupService) PublicGetSingleGroupV1 ¶
func (s *GroupService) PublicGetSingleGroupV1(namespace, groupId string) (*groupclientmodels.ModelsGroupResponseV1, error)
func (*GroupService) PublicUpdateGroupCustomAttributesV1 ¶
func (s *GroupService) PublicUpdateGroupCustomAttributesV1(namespace, groupId string, content *groupclientmodels.ModelsUpdateGroupCustomAttributesRequestV1) (*groupclientmodels.ModelsGroupResponseV1, error)
func (*GroupService) PublicUpdateGroupCustomRuleV1 ¶
func (s *GroupService) PublicUpdateGroupCustomRuleV1(namespace, groupId string, content *groupclientmodels.ModelsUpdateGroupCustomRuleRequestV1) (*groupclientmodels.ModelsGroupResponseV1, error)
func (*GroupService) PublicUpdateGroupPredefinedRuleV1 ¶
func (s *GroupService) PublicUpdateGroupPredefinedRuleV1(namespace, groupId, allowedAction string, content *groupclientmodels.ModelsUpdateGroupPredefinedRuleRequestV1) (*groupclientmodels.ModelsGroupResponseV1, error)
func (*GroupService) PublicUpdateSingleGroupPartialV1 ¶
func (s *GroupService) PublicUpdateSingleGroupPartialV1(namespace, groupId string, content *groupclientmodels.ModelsUpdateGroupRequestV1) (*groupclientmodels.ModelsGroupResponseV1, error)
func (*GroupService) PublicUpdateSingleGroupV1 ¶
func (s *GroupService) PublicUpdateSingleGroupV1(namespace, groupId string, content *groupclientmodels.ModelsUpdateGroupRequestV1) (*groupclientmodels.ModelsGroupResponseV1, error)
type IAPService ¶
type IAPService struct { PlatformServiceClient *platformclient.JusticePlatformService TokenRepository repository.TokenRepository }
func (*IAPService) DeleteAppleIAPConfig ¶
func (s *IAPService) DeleteAppleIAPConfig(namespace string) error
func (*IAPService) DeleteEpicGamesIAPConfig ¶
func (s *IAPService) DeleteEpicGamesIAPConfig(namespace string) error
func (*IAPService) DeleteGoogleIAPConfig ¶
func (s *IAPService) DeleteGoogleIAPConfig(namespace string) error
func (*IAPService) DeletePlaystationIAPConfig ¶
func (s *IAPService) DeletePlaystationIAPConfig(namespace string) error
func (*IAPService) DeleteStadiaIAPConfig ¶
func (s *IAPService) DeleteStadiaIAPConfig(namespace string) error
func (*IAPService) DeleteSteamIAPConfig ¶
func (s *IAPService) DeleteSteamIAPConfig(namespace string) error
func (*IAPService) DeleteXblAPConfig ¶
func (s *IAPService) DeleteXblAPConfig(namespace string) error
func (*IAPService) GetAppleIAPConfig ¶
func (s *IAPService) GetAppleIAPConfig(namespace string) (*platformclientmodels.AppleIAPConfigInfo, error)
func (*IAPService) GetEpicGamesIAPConfig ¶
func (s *IAPService) GetEpicGamesIAPConfig(namespace string) (*platformclientmodels.EpicGamesIAPConfigInfo, error)
func (*IAPService) GetGoogleIAPConfig ¶
func (s *IAPService) GetGoogleIAPConfig(namespace string) (*platformclientmodels.GoogleIAPConfigInfo, error)
func (*IAPService) GetPlayStationIAPConfig ¶
func (s *IAPService) GetPlayStationIAPConfig(namespace string) (*platformclientmodels.PlayStationIAPConfigInfo, error)
func (*IAPService) GetStadiaIAPConfig ¶
func (s *IAPService) GetStadiaIAPConfig(namespace string) (*platformclientmodels.StadiaIAPConfigInfo, error)
func (*IAPService) GetSteamIAPConfig ¶
func (s *IAPService) GetSteamIAPConfig(namespace string) (*platformclientmodels.SteamIAPConfig, error)
func (*IAPService) GetXblIAPConfig ¶
func (s *IAPService) GetXblIAPConfig(namespace string) (*platformclientmodels.XblIAPConfigInfo, error)
func (*IAPService) MockFulfillIAPItem ¶
func (s *IAPService) MockFulfillIAPItem(namespace, userId string, content *platformclientmodels.MockIAPReceipt) error
func (*IAPService) PublicFulfillAppleIAPItem ¶
func (s *IAPService) PublicFulfillAppleIAPItem(namespace, userId string, content *platformclientmodels.AppleIAPReceipt) error
func (*IAPService) PublicFulfillGoogleIAPItem ¶
func (s *IAPService) PublicFulfillGoogleIAPItem(namespace, userId string, content *platformclientmodels.GoogleIAPReceipt) error
func (*IAPService) PublicReconcilePlayStationStore ¶
func (s *IAPService) PublicReconcilePlayStationStore(namespace, userId string) ([]*platformclientmodels.PlayStationReconcileResult, error)
func (*IAPService) QueryUserIAPOrders ¶
func (s *IAPService) QueryUserIAPOrders(namespace, userId string, productId, status, orderType, startTime, endTime *string, limit, offset *int32) (*platformclientmodels.IAPOrderPagingSlicedResult, error)
func (*IAPService) SyncEpicGamesInventory ¶
func (s *IAPService) SyncEpicGamesInventory(namespace, userId string, content *platformclientmodels.EpicGamesReconcileRequest) error
func (*IAPService) SyncStadiaEntitlement ¶
func (s *IAPService) SyncStadiaEntitlement(namespace, userId string, content *platformclientmodels.StadiaSyncRequest) error
func (*IAPService) SyncSteamInventory ¶
func (s *IAPService) SyncSteamInventory(namespace, userId string, content *platformclientmodels.SteamSyncRequest) error
func (*IAPService) SyncXboxInventory ¶
func (s *IAPService) SyncXboxInventory(namespace, userId string, content *platformclientmodels.XblReconcileRequest) error
func (*IAPService) UpdateAppleIAPConfig ¶
func (s *IAPService) UpdateAppleIAPConfig(namespace string, content *platformclientmodels.AppleIAPConfigRequest) (*platformclientmodels.AppleIAPConfigInfo, error)
func (*IAPService) UpdateEpicGamesIAPConfig ¶
func (s *IAPService) UpdateEpicGamesIAPConfig(namespace string, content *platformclientmodels.EpicGamesIAPConfigRequest) (*platformclientmodels.EpicGamesIAPConfigInfo, error)
func (*IAPService) UpdateGoogleIAPConfig ¶
func (s *IAPService) UpdateGoogleIAPConfig(namespace string, content *platformclientmodels.GoogleIAPConfigRequest) (*platformclientmodels.GoogleIAPConfigInfo, error)
func (*IAPService) UpdateGoogleP12File ¶
func (s *IAPService) UpdateGoogleP12File(namespace string, file runtime.NamedReadCloser) (*platformclientmodels.GoogleIAPConfigInfo, error)
func (*IAPService) UpdatePlaystationIAPConfig ¶
func (s *IAPService) UpdatePlaystationIAPConfig(namespace string, content *platformclientmodels.PlaystationIAPConfigRequest) (*platformclientmodels.PlayStationIAPConfigInfo, error)
func (*IAPService) UpdateStadiaJSONConfigFile ¶
func (s *IAPService) UpdateStadiaJSONConfigFile(namespace string, file runtime.NamedReadCloser) (*platformclientmodels.StadiaIAPConfigInfo, error)
func (*IAPService) UpdateSteamIAPConfig ¶
func (s *IAPService) UpdateSteamIAPConfig(namespace string, content *platformclientmodels.SteamIAPConfigRequest) (*platformclientmodels.SteamIAPConfigInfo, error)
func (*IAPService) UpdateXblBPCertFile ¶
func (s *IAPService) UpdateXblBPCertFile(namespace string, password *string, file runtime.NamedReadCloser) (*platformclientmodels.XblIAPConfigInfo, error)
func (*IAPService) UpdateXblIAPConfig ¶
func (s *IAPService) UpdateXblIAPConfig(namespace string, content *platformclientmodels.XblIAPConfigRequest) (*platformclientmodels.XblIAPConfigInfo, error)
type ItemService ¶
type ItemService struct { PlatformService *platformclient.JusticePlatformService OauthService *OauthService }
func (*ItemService) AcquireItem ¶
func (itemService *ItemService) AcquireItem(namespace, itemId string, itemAcqRequest platformclientmodels.ItemAcquireRequest) (*platformclientmodels.ItemAcquireResult, error)
func (*ItemService) BulkGetLocaleItem ¶
func (itemService *ItemService) BulkGetLocaleItem(namespace, itemIds string, language, region, storeId *string, activeOnly *bool) ([]*platformclientmodels.ItemInfo, error)
func (*ItemService) CreateItem ¶
func (itemService *ItemService) CreateItem(namespace, storeId string, itemCreate platformclientmodels.ItemCreate) (*platformclientmodels.FullItemInfo, error)
func (*ItemService) DefeatureItem ¶
func (itemService *ItemService) DefeatureItem(namespace, itemId, storeId, feature string) error
func (*ItemService) DeleteItem ¶
func (itemService *ItemService) DeleteItem(namespace, itemId string, storeId *string) error
func (*ItemService) DisableItem ¶
func (itemService *ItemService) DisableItem(namespace, itemId, storeId string) (*platformclientmodels.FullItemInfo, error)
func (*ItemService) EnableItem ¶
func (itemService *ItemService) EnableItem(namespace, itemId, storeId string) (*platformclientmodels.FullItemInfo, error)
func (*ItemService) FeatureItem ¶
func (itemService *ItemService) FeatureItem(namespace, itemId, storeId, feature string) error
func (*ItemService) GetApp ¶
func (itemService *ItemService) GetApp(namespace, itemId, storeId string, activeOnly *bool) (*platformclientmodels.FullAppInfo, error)
func (*ItemService) GetBasicItemByFeature ¶
func (itemService *ItemService) GetBasicItemByFeature(namespace string, features []string, activeOnly *bool) ([]*platformclientmodels.BasicItem, error)
func (*ItemService) GetItem ¶
func (itemService *ItemService) GetItem(namespace, itemId string, storeId *string, activeOnly *bool) (*platformclientmodels.FullItemInfo, error)
func (*ItemService) GetItemByAppId ¶
func (itemService *ItemService) GetItemByAppId(namespace, appId, storeId string, activeOnly *bool) (*platformclientmodels.FullItemInfo, error)
func (*ItemService) GetItemByCriteria ¶
func (itemService *ItemService) GetItemByCriteria(namespace string, targetNamespace, appType, baseAppId, categoryPath, features, itemType, region, sortBy, tags, storeId, availableDate *string, activeOnly *bool, limit, offset *int32) (*platformclientmodels.FullItemPagingSlicedResult, error)
func (*ItemService) GetItemBySku ¶
func (itemService *ItemService) GetItemBySku(namespace, sku string, storeId *string, activeOnly *bool) (*platformclientmodels.FullItemInfo, error)
func (*ItemService) GetItemDynamicData ¶
func (itemService *ItemService) GetItemDynamicData(namespace, itemId string) (*platformclientmodels.ItemDynamicDataInfo, error)
func (*ItemService) GetItemIdBySku ¶
func (itemService *ItemService) GetItemIdBySku(namespace, sku, storeId string, activeOnly *bool) (*platformclientmodels.ItemID, error)
func (*ItemService) GetLocaleItem ¶
func (itemService *ItemService) GetLocaleItem(namespace, itemId string, region, language, storeId *string, activeOnly, populateBundle *bool) (*platformclientmodels.PopulatedItemInfo, error)
func (*ItemService) GetLocaleItemBySku ¶
func (itemService *ItemService) GetLocaleItemBySku(namespace, sku string, storeId, region, language *string, activeOnly, populateBundle *bool) (*platformclientmodels.PopulatedItemInfo, error)
func (*ItemService) GetUncategorizedItem ¶
func (itemService *ItemService) GetUncategorizedItem(namespace string, storeId, sortBy *string, activeOnly *bool, limit, offset *int32) (*platformclientmodels.FullItemPagingSlicedResult, error)
func (*ItemService) PublicGetApp ¶
func (itemService *ItemService) PublicGetApp(namespace, itemId string, storeId, language, region *string) (*platformclientmodels.AppInfo, error)
func (*ItemService) PublicGetBulkItems ¶
func (itemService *ItemService) PublicGetBulkItems(namespace, itemIds string, language, region, storeId *string) ([]*platformclientmodels.ItemInfo, error)
func (*ItemService) PublicGetItem ¶
func (itemService *ItemService) PublicGetItem(namespace, itemId string, region, storeId, language *string, populateBundle *bool) (*platformclientmodels.PopulatedItemInfo, error)
func (*ItemService) PublicGetItemByAppId ¶
func (itemService *ItemService) PublicGetItemByAppId(namespace, appId string, storeId, language, region *string) (*platformclientmodels.ItemInfo, error)
func (*ItemService) PublicGetItemBySku ¶
func (itemService *ItemService) PublicGetItemBySku(namespace, sku string, storeId, region, language *string) (*platformclientmodels.ItemInfo, error)
func (*ItemService) PublicGetItemDynamicData ¶
func (itemService *ItemService) PublicGetItemDynamicData(namespace, itemId string) (*platformclientmodels.ItemDynamicDataInfo, error)
func (*ItemService) PublicQueryItems ¶
func (itemService *ItemService) PublicQueryItems(namespace string, language, appType, baseAppId, categoryPath, features, itemType, region, sortBy, tags, storeId *string, limit, offset *int32) (*platformclientmodels.ItemPagingSlicedResult, error)
func (*ItemService) PublicSearchItem ¶
func (itemService *ItemService) PublicSearchItem(namespace, keyword, language string, storeId, region *string, limit, offset *int32) (*platformclientmodels.ItemPagingSlicedResult, error)
func (*ItemService) ReturnItem ¶
func (itemService *ItemService) ReturnItem(namespace, itemId string, itemReturnRequest platformclientmodels.ItemReturnRequest) error
func (*ItemService) SearchItem ¶
func (itemService *ItemService) SearchItem(namespace, keyword, language string, storeId *string, activeOnly *bool, limit, offset *int32) (*platformclientmodels.FullItemPagingSlicedResult, error)
func (*ItemService) SyncInGameItem ¶
func (itemService *ItemService) SyncInGameItem(namespace, storeId string, inGameItemSync platformclientmodels.InGameItemSync) (*platformclientmodels.FullItemInfo, error)
func (*ItemService) UpdateApp ¶
func (itemService *ItemService) UpdateApp(namespace, itemId, storeId string, appUpdate platformclientmodels.AppUpdate) (*platformclientmodels.FullAppInfo, error)
func (*ItemService) UpdateItem ¶
func (itemService *ItemService) UpdateItem(namespace, itemId, storeId string, itemUpdate platformclientmodels.ItemUpdate) (*platformclientmodels.FullItemInfo, error)
type OauthService ¶
type OauthService struct { IamService *iamclient.JusticeIamService ConfigRepository repository.ConfigRepository TokenRepository repository.TokenRepository }
func (*OauthService) Authenticate ¶
func (oauthService *OauthService) Authenticate(requestId, username, password string) (string, error)
func (*OauthService) Authorize ¶
func (oauthService *OauthService) Authorize(scope, challenge, challengeMethod string) (string, error)
func (*OauthService) GetToken ¶
func (oauthService *OauthService) GetToken() (string, error)
func (*OauthService) GrantTokenAuthorizationCode ¶
func (oauthService *OauthService) GrantTokenAuthorizationCode(code, codeVerifier, redirectUri string) error
func (*OauthService) GrantTokenCredentials ¶
func (oauthService *OauthService) GrantTokenCredentials(code, codeVerifier string) error
func (*OauthService) GrantTokenRefreshToken ¶
func (oauthService *OauthService) GrantTokenRefreshToken(code, codeVerifier, refreshToken string) error
type OrderService ¶
type OrderService struct { PlatformServiceClient *platformclient.JusticePlatformService TokenRepository repository.TokenRepository }
func (*OrderService) CountOfPurchasedItem ¶
func (o *OrderService) CountOfPurchasedItem(namespace, userId, itemId string) (*platformclientmodels.PurchasedItemCount, error)
func (*OrderService) DownloadUserOrderReceipt ¶
func (o *OrderService) DownloadUserOrderReceipt(namespace, orderNo, userId string) error
func (*OrderService) FulfillUserOrder ¶
func (o *OrderService) FulfillUserOrder(namespace, userId, orderNo string) (*platformclientmodels.OrderInfo, error)
func (*OrderService) GetOrder ¶
func (o *OrderService) GetOrder(namespace, orderNo string) (*platformclientmodels.OrderInfo, error)
func (*OrderService) GetOrderStatistics ¶
func (o *OrderService) GetOrderStatistics(namespace string) (*platformclientmodels.OrderStatistics, error)
func (*OrderService) GetUserOrder ¶
func (o *OrderService) GetUserOrder(namespace, userId, orderNo string) (*platformclientmodels.OrderInfo, error)
func (*OrderService) GetUserOrderGrant ¶
func (o *OrderService) GetUserOrderGrant(namespace, userId, orderNo string) (*platformclientmodels.OrderGrantInfo, error)
func (*OrderService) GetUserOrderHistories ¶
func (o *OrderService) GetUserOrderHistories(namespace, userId, orderNo string) ([]*platformclientmodels.OrderHistoryInfo, error)
func (*OrderService) ProcessUserOrderNotification ¶
func (o *OrderService) ProcessUserOrderNotification(namespace, userId, orderNo string, content *platformclientmodels.TradeNotification) error
func (*OrderService) PublicCancelUserOrder ¶
func (o *OrderService) PublicCancelUserOrder(namespace, orderNo, userId string) (*platformclientmodels.OrderInfo, error)
func (*OrderService) PublicCreateUserOrder ¶
func (o *OrderService) PublicCreateUserOrder(namespace, userId string, content *platformclientmodels.OrderCreate) (*platformclientmodels.OrderInfo, error)
func (*OrderService) PublicDownloadUserOrderReceipt ¶
func (o *OrderService) PublicDownloadUserOrderReceipt(namespace, orderNo, userId string) error
func (*OrderService) PublicGetUserOrder ¶
func (o *OrderService) PublicGetUserOrder(namespace, userId, orderNo string) (*platformclientmodels.OrderInfo, error)
func (*OrderService) PublicGetUserOrderHistories ¶
func (o *OrderService) PublicGetUserOrderHistories(namespace, orderNo, userId string) ([]*platformclientmodels.OrderHistoryInfo, error)
func (*OrderService) PublicQueryUserOrders ¶
func (o *OrderService) PublicQueryUserOrders(namespace, userId string, itemId, status *string, limit, offset *int32) (*platformclientmodels.OrderPagingSlicedResult, error)
func (*OrderService) QueryOrders ¶
func (o *OrderService) QueryOrders(namespace string, sort, status, startTime, endTime *string, orderNos []string, withTotal *bool, limit, offset *int32) (*platformclientmodels.OrderPagingResult, error)
func (*OrderService) QueryUserOrders ¶
func (o *OrderService) QueryUserOrders(namespace, userId string, itemId, status *string, limit, offset *int32) (*platformclientmodels.OrderPagingSlicedResult, error)
func (*OrderService) RefundOrder ¶
func (o *OrderService) RefundOrder(namespace, orderNo string, content *platformclientmodels.OrderRefundCreate) (*platformclientmodels.OrderInfo, error)
func (*OrderService) SyncOrders ¶
func (o *OrderService) SyncOrders(start, end string, nextEvaluatedKey *string) (*platformclientmodels.OrderSyncResult, error)
func (*OrderService) UpdateUserOrderStatus ¶
func (o *OrderService) UpdateUserOrderStatus(namespace, userId, orderNo string, content *platformclientmodels.OrderUpdate) (*platformclientmodels.OrderInfo, error)
type PartyService ¶
type PartyService struct { ConfigRepository repository.ConfigRepository TokenRepository repository.TokenRepository ConnectionManager connectionutils.ConnectionManager }
func (*PartyService) CreateParty ¶
func (s *PartyService) CreateParty() error
func (*PartyService) GetPartyInfo ¶
func (s *PartyService) GetPartyInfo() error
func (*PartyService) InviteParty ¶
func (s *PartyService) InviteParty(friendId string) error
func (*PartyService) JoinParty ¶
func (s *PartyService) JoinParty(partyID, token string) error
func (*PartyService) KickPartyMember ¶
func (s *PartyService) KickPartyMember(id string) error
func (*PartyService) LeaveParty ¶
func (s *PartyService) LeaveParty() error
func (*PartyService) PromotePartyLeader ¶
func (s *PartyService) PromotePartyLeader(leaderUserId string) error
func (*PartyService) RejectPartyInvitation ¶
func (s *PartyService) RejectPartyInvitation(partyID, token string) error
type PaymentAccount ¶
type PaymentAccount struct { PlatformServiceClient *platformclient.JusticePlatformService TokenRepository repository.TokenRepository }
func (*PaymentAccount) PublicDeletePaymentAccount ¶
func (p *PaymentAccount) PublicDeletePaymentAccount(namespace, userId, id, paymentAccountType string) error
func (*PaymentAccount) PublicGetPaymentAccounts ¶
func (p *PaymentAccount) PublicGetPaymentAccounts(namespace, userId string) ([]*platformclientmodels.PaymentAccount, error)
type PaymentConfig ¶
type PaymentConfig struct { PlatformServiceClient *platformclient.JusticePlatformService TokenRepository repository.TokenRepository }
func (*PaymentConfig) CreatePaymentProviderConfig ¶
func (p *PaymentConfig) CreatePaymentProviderConfig(content *platformclientmodels.PaymentProviderConfigEdit) (*platformclientmodels.PaymentProviderConfigInfo, error)
func (*PaymentConfig) DebugMatchedPaymentMerchantConfig ¶
func (p *PaymentConfig) DebugMatchedPaymentMerchantConfig(namespace, region *string) (*platformclientmodels.PaymentMerchantConfigInfo, error)
func (*PaymentConfig) DebugMatchedPaymentProviderConfig ¶
func (p *PaymentConfig) DebugMatchedPaymentProviderConfig(namespace, region *string) (*platformclientmodels.PaymentProviderConfigInfo, error)
func (*PaymentConfig) DeletePaymentProviderConfig ¶
func (p *PaymentConfig) DeletePaymentProviderConfig(id string) error
func (*PaymentConfig) GetAggregatePaymentProviders ¶
func (p *PaymentConfig) GetAggregatePaymentProviders() ([]string, error)
func (*PaymentConfig) GetPaymentMerchantConfig ¶
func (p *PaymentConfig) GetPaymentMerchantConfig(id string) (*platformclientmodels.PaymentMerchantConfigInfo, error)
func (*PaymentConfig) GetPaymentTaxConfig ¶
func (p *PaymentConfig) GetPaymentTaxConfig() (*platformclientmodels.PaymentTaxConfigInfo, error)
func (*PaymentConfig) GetSpecialPaymentProviders ¶
func (p *PaymentConfig) GetSpecialPaymentProviders() ([]string, error)
func (*PaymentConfig) QueryPaymentProviderConfig ¶
func (p *PaymentConfig) QueryPaymentProviderConfig(namespace, region *string, limit, offset *int32) (*platformclientmodels.PaymentProviderConfigPagingSlicedResult, error)
func (*PaymentConfig) TestAdyenConfig ¶
func (p *PaymentConfig) TestAdyenConfig(content *platformclientmodels.AdyenConfig, sandbox *bool) (*platformclientmodels.TestResult, error)
func (*PaymentConfig) TestAdyenConfigByID ¶
func (p *PaymentConfig) TestAdyenConfigByID(id string, sandbox *bool) (*platformclientmodels.TestResult, error)
func (*PaymentConfig) TestAliPayConfig ¶
func (p *PaymentConfig) TestAliPayConfig(content *platformclientmodels.AliPayConfig, sandbox *bool) (*platformclientmodels.TestResult, error)
func (*PaymentConfig) TestAliPayConfigByID ¶
func (p *PaymentConfig) TestAliPayConfigByID(id string, sandbox *bool) (*platformclientmodels.TestResult, error)
func (*PaymentConfig) TestCheckoutConfig ¶
func (p *PaymentConfig) TestCheckoutConfig(content *platformclientmodels.CheckoutConfig, sandbox *bool) (*platformclientmodels.TestResult, error)
func (*PaymentConfig) TestCheckoutConfigByID ¶
func (p *PaymentConfig) TestCheckoutConfigByID(id string) (*platformclientmodels.TestResult, error)
func (*PaymentConfig) TestPayPalConfig ¶
func (p *PaymentConfig) TestPayPalConfig(content *platformclientmodels.PayPalConfig, sandbox *bool) (*platformclientmodels.TestResult, error)
func (*PaymentConfig) TestPayPalConfigByID ¶
func (p *PaymentConfig) TestPayPalConfigByID(id string, sandbox *bool) (*platformclientmodels.TestResult, error)
func (*PaymentConfig) TestStripeConfig ¶
func (p *PaymentConfig) TestStripeConfig(content *platformclientmodels.StripeConfig, sandbox *bool) (*platformclientmodels.TestResult, error)
func (*PaymentConfig) TestStripeConfigByID ¶
func (p *PaymentConfig) TestStripeConfigByID(id string, sandbox *bool) (*platformclientmodels.TestResult, error)
func (*PaymentConfig) TestWxPayConfig ¶
func (p *PaymentConfig) TestWxPayConfig(content *platformclientmodels.WxPayConfigRequest) (*platformclientmodels.TestResult, error)
func (*PaymentConfig) TestWxPayConfigByID ¶
func (p *PaymentConfig) TestWxPayConfigByID(id string) (*platformclientmodels.TestResult, error)
func (*PaymentConfig) TestXsollaConfig ¶
func (p *PaymentConfig) TestXsollaConfig(content *platformclientmodels.XsollaConfig) (*platformclientmodels.TestResult, error)
func (*PaymentConfig) TestXsollaConfigByID ¶
func (p *PaymentConfig) TestXsollaConfigByID(id string) (*platformclientmodels.TestResult, error)
func (*PaymentConfig) UpdateAdyenConfig ¶
func (p *PaymentConfig) UpdateAdyenConfig(id string, sandbox, validate *bool, content *platformclientmodels.AdyenConfig) (*platformclientmodels.PaymentMerchantConfigInfo, error)
func (*PaymentConfig) UpdateAliPayConfig ¶
func (p *PaymentConfig) UpdateAliPayConfig(id string, sandbox, validate *bool, content *platformclientmodels.AliPayConfig) (*platformclientmodels.PaymentMerchantConfigInfo, error)
func (*PaymentConfig) UpdateCheckoutConfig ¶
func (p *PaymentConfig) UpdateCheckoutConfig(id string, sandbox, validate *bool, content *platformclientmodels.CheckoutConfig) (*platformclientmodels.PaymentMerchantConfigInfo, error)
func (*PaymentConfig) UpdatePayPalConfig ¶
func (p *PaymentConfig) UpdatePayPalConfig(id string, sandbox, validate *bool, content *platformclientmodels.PayPalConfig) (*platformclientmodels.PaymentMerchantConfigInfo, error)
func (*PaymentConfig) UpdatePaymentProviderConfig ¶
func (p *PaymentConfig) UpdatePaymentProviderConfig(id string, content *platformclientmodels.PaymentProviderConfigEdit) (*platformclientmodels.PaymentProviderConfigInfo, error)
func (*PaymentConfig) UpdatePaymentTaxConfig ¶
func (p *PaymentConfig) UpdatePaymentTaxConfig(content *platformclientmodels.PaymentTaxConfigEdit) (*platformclientmodels.PaymentTaxConfigInfo, error)
func (*PaymentConfig) UpdateStripeConfig ¶
func (p *PaymentConfig) UpdateStripeConfig(id string, sandbox, validate *bool, content *platformclientmodels.StripeConfig) (*platformclientmodels.PaymentMerchantConfigInfo, error)
func (*PaymentConfig) UpdateWxPayConfig ¶
func (p *PaymentConfig) UpdateWxPayConfig(id string, validate *bool, content *platformclientmodels.WxPayConfigRequest) (*platformclientmodels.PaymentMerchantConfigInfo, error)
func (*PaymentConfig) UpdateWxPayConfigCert ¶
func (p *PaymentConfig) UpdateWxPayConfigCert(id string, file runtime.NamedReadCloser) (*platformclientmodels.PaymentMerchantConfigInfo, error)
func (*PaymentConfig) UpdateXsollaConfig ¶
func (p *PaymentConfig) UpdateXsollaConfig(id string, validate *bool, content *platformclientmodels.XsollaConfig) (*platformclientmodels.PaymentMerchantConfigInfo, error)
func (*PaymentConfig) UpdateXsollaUIConfig ¶
func (p *PaymentConfig) UpdateXsollaUIConfig(id string, content *platformclientmodels.XsollaPaywallConfigRequest) (*platformclientmodels.PaymentMerchantConfigInfo, error)
type PaymentService ¶
type PaymentService struct { PlatformServiceClient *platformclient.JusticePlatformService TokenRepository repository.TokenRepository }
func (*PaymentService) ChargePaymentOrder ¶
func (p *PaymentService) ChargePaymentOrder(namespace, paymentOrderNo string) (*platformclientmodels.PaymentOrderInfo, error)
func (*PaymentService) CreatePaymentOrderByDedicated ¶
func (p *PaymentService) CreatePaymentOrderByDedicated(namespace string, content *platformclientmodels.ExternalPaymentOrderCreate) (*platformclientmodels.PaymentOrderCreateResult, error)
func (*PaymentService) CreateUserPaymentOrder ¶
func (p *PaymentService) CreateUserPaymentOrder(namespace, userId string, content *platformclientmodels.PaymentOrderCreate) (*platformclientmodels.PaymentOrderInfo, error)
func (*PaymentService) GetPaymentOrder ¶
func (p *PaymentService) GetPaymentOrder(namespace, paymentOrderNo string) (*platformclientmodels.PaymentOrderInfo, error)
func (*PaymentService) GetPaymentOrderChargeStatus ¶
func (p *PaymentService) GetPaymentOrderChargeStatus(namespace, paymentOrderNo string) (*platformclientmodels.PaymentOrderChargeStatus, error)
func (*PaymentService) ListExtOrderNoByExtTxID ¶
func (p *PaymentService) ListExtOrderNoByExtTxID(namespace, extTxId string) ([]string, error)
func (*PaymentService) QueryPaymentNotification ¶
func (p *PaymentService) QueryPaymentNotification(namespace string, paymentOrderNo, status, externalId, notificationType, notificationSource, startDate, endDate *string, limit, offset *int32) (*platformclientmodels.PaymentNotificationPagingSlicedResult, error)
func (*PaymentService) QueryPaymentOrders ¶
func (p *PaymentService) QueryPaymentOrders(namespace string, channel, extTxId, status *string, limit, offset *int32) (*platformclientmodels.PaymentOrderPagingSlicedResult, error)
func (*PaymentService) RefundPaymentOrderByDedicated ¶
func (p *PaymentService) RefundPaymentOrderByDedicated(namespace, paymentOrderNo string, content *platformclientmodels.PaymentOrderRefund) (*platformclientmodels.PaymentOrderRefundResult, error)
func (*PaymentService) RefundUserPaymentOrder ¶
func (p *PaymentService) RefundUserPaymentOrder(namespace, userId, paymentOrderNo string, content *platformclientmodels.PaymentOrderRefund) (*platformclientmodels.PaymentOrderInfo, error)
func (*PaymentService) SyncPaymentOrders ¶
func (p *PaymentService) SyncPaymentOrders(startDate, endDate string, nextEvaluatedKey *string) (*platformclientmodels.PaymentOrderSyncResult, error)
type PaymentStation ¶
type PaymentStation struct { PlatformServiceClient *platformclient.JusticePlatformService TokenRepository repository.TokenRepository }
func (*PaymentStation) GetPaymentCustomization ¶
func (p *PaymentStation) GetPaymentCustomization(namespace, paymentProvider, region string, sandbox *bool) (*platformclientmodels.Customization, error)
func (*PaymentStation) GetPaymentPublicConfig ¶
func (p *PaymentStation) GetPaymentPublicConfig(namespace, paymentProvider string) (map[string]interface{}, error)
func (*PaymentStation) GetPaymentTaxValue ¶
func (p *PaymentStation) GetPaymentTaxValue(namespace, paymentOrderNo, paymentProvider string, zipCode *string) (*platformclientmodels.TaxResult, error)
func (*PaymentStation) Pay ¶
func (p *PaymentStation) Pay(namespace, paymentOrderNo string, paymentProvider, zipCode *string) (*platformclientmodels.PaymentProcessResult, error)
func (*PaymentStation) PublicCheckPaymentOrderPaidStatus ¶
func (p *PaymentStation) PublicCheckPaymentOrderPaidStatus(namespace, paymentOrderNo string) (*platformclientmodels.PaymentOrderPaidResult, error)
func (*PaymentStation) PublicGetPaymentMethods ¶
func (p *PaymentStation) PublicGetPaymentMethods(namespace, paymentOrderNo string) ([]*platformclientmodels.PaymentMethod, error)
func (*PaymentStation) PublicGetPaymentURL ¶
func (p *PaymentStation) PublicGetPaymentURL(namespace string, content *platformclientmodels.PaymentURLCreate) (*platformclientmodels.PaymentURL, error)
func (*PaymentStation) PublicGetQRCode ¶
func (*PaymentStation) PublicGetUnpaidPaymentOrder ¶
func (p *PaymentStation) PublicGetUnpaidPaymentOrder(namespace, paymentOrderNo string) (*platformclientmodels.PaymentOrderDetails, error)
func (*PaymentStation) PublicNormalizePaymentReturnURL ¶
func (p *PaymentStation) PublicNormalizePaymentReturnURL(namespace, paymentProvider, orderNo, paymentOrderNo, returnUrl string, payerId, foreignInvoice, invoiceId, resultCode, status, token, paymentType, userId, payload *string) error
type RewardService ¶
type RewardService struct { PlatformServiceClient *platformclient.JusticePlatformService TokenRepository repository.TokenRepository }
func (*RewardService) CreateReward ¶
func (r *RewardService) CreateReward(namespace string, content *platformclientmodels.RewardCreate) (*platformclientmodels.RewardInfo, error)
func (*RewardService) DeleteReward ¶
func (r *RewardService) DeleteReward(namespace, rewardId string) (*platformclientmodels.RewardInfo, error)
func (*RewardService) ExportRewards ¶
func (r *RewardService) ExportRewards(namespace string) error
func (*RewardService) GetReward ¶
func (r *RewardService) GetReward(namespace, rewardId string) (*platformclientmodels.RewardInfo, error)
func (*RewardService) ImportRewards ¶
func (r *RewardService) ImportRewards(namespace string, replaceExisting bool, file runtime.NamedReadCloser) error
func (*RewardService) PublicGetReward ¶
func (r *RewardService) PublicGetReward(namespace, rewardId string) (*platformclientmodels.RewardInfo, error)
func (*RewardService) PublicQueryRewards ¶
func (r *RewardService) PublicQueryRewards(namespace string, eventTopic, sort *string, limit, offset *int32) (*platformclientmodels.RewardPagingSlicedResult, error)
func (*RewardService) QueryRewards ¶
func (r *RewardService) QueryRewards(namespace string, eventTopic, sort *string, limit, offset *int32) (*platformclientmodels.RewardPagingSlicedResult, error)
func (*RewardService) UpdateReward ¶
func (r *RewardService) UpdateReward(namespace, rewardId string) (*platformclientmodels.RewardInfo, error)
type RoleService ¶
type RoleService struct { IamService *iamclient.JusticeIamService TokenRepository repository.TokenRepository }
func (*RoleService) GetRoles ¶
func (roleService *RoleService) GetRoles() (*iamclientmodels.ModelRoleResponseWithManagersAndPaginationV3, error)
type SlotConfigService ¶
type SlotConfigService struct { SocialServiceClient *socialclient.JusticeSocialService TokenRepository repository.TokenRepository }
func (*SlotConfigService) DeleteNamespaceSlotConfig ¶
func (s *SlotConfigService) DeleteNamespaceSlotConfig(namespace string) error
func (*SlotConfigService) DeleteUserSlotConfig ¶
func (s *SlotConfigService) DeleteUserSlotConfig(namespace, userId string) error
func (*SlotConfigService) GetNamespaceSlotConfig ¶
func (s *SlotConfigService) GetNamespaceSlotConfig(namespace string) (*socialclientmodels.NamespaceSlotConfigInfo, error)
func (*SlotConfigService) GetUserSlotConfig ¶
func (s *SlotConfigService) GetUserSlotConfig(namespace, userId string) (*socialclientmodels.UserSlotConfigInfo, error)
func (*SlotConfigService) UpdateNamespaceSlotConfig ¶
func (s *SlotConfigService) UpdateNamespaceSlotConfig(namespace string, content *socialclientmodels.SlotConfigUpdate) (*socialclientmodels.NamespaceSlotConfigInfo, error)
func (*SlotConfigService) UpdateUserSlotConfig ¶
func (s *SlotConfigService) UpdateUserSlotConfig(namespace, userId string, content *socialclientmodels.SlotConfigUpdate) (*socialclientmodels.UserSlotConfigInfo, error)
type SlotService ¶
type SlotService struct { SocialServiceClient *socialclient.JusticeSocialService TokenRepository repository.TokenRepository }
func (*SlotService) GetSlotData ¶
func (*SlotService) GetUserNamespaceSlots ¶
func (s *SlotService) GetUserNamespaceSlots(namespace, userId string) ([]*socialclientmodels.SlotInfo, error)
func (*SlotService) PublicCreateUserNamespaceSlot ¶
func (s *SlotService) PublicCreateUserNamespaceSlot(namespace, userId string, checksum, customAttribute, label *string, tags []string, file runtime.NamedReadCloser) error
func (*SlotService) PublicDeleteUserNamespaceSlot ¶
func (s *SlotService) PublicDeleteUserNamespaceSlot(namespace, userId, slotId string) error
func (*SlotService) PublicGetSlotData ¶
func (*SlotService) PublicGetUserNamespaceSlots ¶
func (s *SlotService) PublicGetUserNamespaceSlots(namespace, userId string) ([]*socialclientmodels.SlotInfo, error)
func (*SlotService) PublicUpdateUserNamespaceSlot ¶
func (s *SlotService) PublicUpdateUserNamespaceSlot(namespace, userId, slotId string, checksum, customAttribute, label *string, tags []string, file runtime.NamedReadCloser) (*socialclientmodels.SlotInfo, error)
func (*SlotService) PublicUpdateUserNamespaceSlotMetadata ¶
func (s *SlotService) PublicUpdateUserNamespaceSlotMetadata(namespace, userId, slotId string, content *socialclientmodels.SlotMetadataUpdate) (*socialclientmodels.SlotInfo, error)
type StatisticConfigService ¶
type StatisticConfigService struct { SocialServiceClient *socialclient.JusticeSocialService TokenRepository repository.TokenRepository }
func (*StatisticConfigService) CreateStat ¶
func (s *StatisticConfigService) CreateStat(namespace string, content *socialclientmodels.StatCreate) (*socialclientmodels.StatInfo, error)
func (*StatisticConfigService) DeleteStat ¶
func (s *StatisticConfigService) DeleteStat(namespace, statCode string) error
func (*StatisticConfigService) ExportStats ¶
func (s *StatisticConfigService) ExportStats(namespace string) error
func (*StatisticConfigService) GetStat ¶
func (s *StatisticConfigService) GetStat(namespace, statCode string) (*socialclientmodels.StatInfo, error)
func (*StatisticConfigService) GetStats ¶
func (s *StatisticConfigService) GetStats(namespace string, limit, offset *int32) (*socialclientmodels.StatPagingSlicedResult, error)
func (*StatisticConfigService) ImportStats ¶
func (s *StatisticConfigService) ImportStats(namespace string, file runtime.NamedReadCloser, replaceExisting *bool) (*socialclientmodels.StatImportInfo, error)
func (*StatisticConfigService) PublicCreateStat ¶
func (s *StatisticConfigService) PublicCreateStat(namespace string, content *socialclientmodels.StatCreate) (*socialclientmodels.StatInfo, error)
func (*StatisticConfigService) QueryStats ¶
func (s *StatisticConfigService) QueryStats(namespace, keyword string, limit, offset *int32) (*socialclientmodels.StatPagingSlicedResult, error)
func (*StatisticConfigService) UpdateStat ¶
func (s *StatisticConfigService) UpdateStat(namespace, statCode string, content *socialclientmodels.StatUpdate) (*socialclientmodels.StatInfo, error)
type StatisticService ¶
type StatisticService struct { SocialServiceClient *socialclient.JusticeSocialService TokenRepository repository.TokenRepository }
func (*StatisticService) BulkCreateUserStatItems ¶
func (s *StatisticService) BulkCreateUserStatItems(namespace, userId string, content []*socialclientmodels.BulkStatItemCreate) ([]*socialclientmodels.BulkStatItemOperationResult, error)
func (*StatisticService) BulkFetchStatItems ¶
func (s *StatisticService) BulkFetchStatItems(namespace, statCode, userIds string) ([]*socialclientmodels.UserStatItemInfo, error)
func (*StatisticService) BulkResetMultipleUserStatItem ¶
func (s *StatisticService) BulkResetMultipleUserStatItem(namespace string, content []*socialclientmodels.BulkUserStatItemReset) ([]*socialclientmodels.BulkStatItemOperationResult, error)
func (*StatisticService) BulkResetUserStatItem ¶
func (s *StatisticService) BulkResetUserStatItem(namespace, userId string, content []*socialclientmodels.BulkStatItemReset) ([]*socialclientmodels.BulkStatItemOperationResult, error)
func (*StatisticService) BulkUpdateMultipleUserStatItem ¶
func (s *StatisticService) BulkUpdateMultipleUserStatItem(namespace string, content []*socialclientmodels.BulkUserStatItemInc) ([]*socialclientmodels.BulkStatItemOperationResult, error)
func (*StatisticService) BulkUpdateMultipleUserStatItemV2 ¶
func (s *StatisticService) BulkUpdateMultipleUserStatItemV2(namespace string, content []*socialclientmodels.BulkUserStatItemUpdate) ([]*socialclientmodels.BulkStatItemOperationResult, error)
func (*StatisticService) BulkUpdateUserStatItem ¶
func (s *StatisticService) BulkUpdateUserStatItem(namespace string, content []*socialclientmodels.BulkStatItemInc) ([]*socialclientmodels.BulkStatItemOperationResult, error)
func (*StatisticService) BulkUpdateUserStatItemV2 ¶
func (s *StatisticService) BulkUpdateUserStatItemV2(namespace string, content []*socialclientmodels.BulkStatItemUpdate) ([]*socialclientmodels.BulkStatItemOperationResult, error)
func (*StatisticService) CreateUserStatItem ¶
func (s *StatisticService) CreateUserStatItem(namespace, userId, statCode string) error
func (*StatisticService) DeleteUserStatItems ¶
func (s *StatisticService) DeleteUserStatItems(namespace, userId, statCode string) error
func (*StatisticService) DeleteUserStatItemsV2 ¶
func (s *StatisticService) DeleteUserStatItemsV2(namespace, userId, statCode string) error
func (*StatisticService) GetGlobalStatItems ¶
func (s *StatisticService) GetGlobalStatItems(namespace string, limit, offset *int32) (*socialclientmodels.GlobalStatItemPagingSlicedResult, error)
func (*StatisticService) GetUserStatItems ¶
func (s *StatisticService) GetUserStatItems(namespace, userId string, statCodes, tags *string, limit, offset *int32) (*socialclientmodels.UserStatItemPagingSlicedResult, error)
func (*StatisticService) IncUserStatItemValue ¶
func (s *StatisticService) IncUserStatItemValue(namespace, statCode, userId string, content *socialclientmodels.StatItemInc) (*socialclientmodels.StatItemIncResult, error)
func (*StatisticService) IncUserStatItemValueV2 ¶
func (s *StatisticService) IncUserStatItemValueV2(namespace string, content *socialclientmodels.StatItemUpdate) (*socialclientmodels.StatItemIncResult, error)
func (*StatisticService) PublicBulkCreateUserStatItems ¶
func (s *StatisticService) PublicBulkCreateUserStatItems(namespace, userId string, content []*socialclientmodels.BulkStatItemCreate) ([]*socialclientmodels.BulkStatItemOperationResult, error)
func (*StatisticService) PublicBulkFetchStatItems ¶
func (s *StatisticService) PublicBulkFetchStatItems(namespace, statCode, userIds string) ([]*socialclientmodels.UserStatItemInfo, error)
func (*StatisticService) PublicBulkIncMultipleUserStatItem ¶
func (s *StatisticService) PublicBulkIncMultipleUserStatItem(namespace string, content []*socialclientmodels.BulkUserStatItemInc) ([]*socialclientmodels.BulkStatItemOperationResult, error)
func (*StatisticService) PublicBulkIncMultipleUserStatItemV2 ¶
func (s *StatisticService) PublicBulkIncMultipleUserStatItemV2(namespace string, content []*socialclientmodels.BulkUserStatItemUpdate) ([]*socialclientmodels.BulkStatItemOperationResult, error)
func (*StatisticService) PublicBulkIncUserStatItem ¶
func (s *StatisticService) PublicBulkIncUserStatItem(namespace, userId string, content []*socialclientmodels.BulkStatItemInc) ([]*socialclientmodels.BulkStatItemOperationResult, error)
func (*StatisticService) PublicBulkIncUserStatItemV2 ¶
func (s *StatisticService) PublicBulkIncUserStatItemV2(namespace string, content []*socialclientmodels.BulkStatItemUpdate) ([]*socialclientmodels.BulkStatItemOperationResult, error)
func (*StatisticService) PublicBulkResetMultipleUserStatItem ¶
func (s *StatisticService) PublicBulkResetMultipleUserStatItem(namespace string, content []*socialclientmodels.BulkUserStatItemReset) ([]*socialclientmodels.BulkStatItemOperationResult, error)
func (*StatisticService) PublicBulkResetUserStatItem ¶
func (s *StatisticService) PublicBulkResetUserStatItem(namespace, userId string, content []*socialclientmodels.BulkStatItemReset) ([]*socialclientmodels.BulkStatItemOperationResult, error)
func (*StatisticService) PublicCreateUserStatItem ¶
func (s *StatisticService) PublicCreateUserStatItem(namespace, userId, statCode string) error
func (*StatisticService) PublicDeleteUserStatItem ¶
func (s *StatisticService) PublicDeleteUserStatItem(namespace, userId, statCode string) error
func (*StatisticService) PublicIncUserStatItem ¶
func (s *StatisticService) PublicIncUserStatItem(namespace, userId string, content *socialclientmodels.StatItemInc) (*socialclientmodels.StatItemIncResult, error)
func (*StatisticService) PublicIncUserStatItemV2 ¶
func (s *StatisticService) PublicIncUserStatItemV2(namespace string, content *socialclientmodels.StatItemUpdate) (*socialclientmodels.StatItemIncResult, error)
func (*StatisticService) PublicQueryUserStatItems ¶
func (s *StatisticService) PublicQueryUserStatItems(namespace, userId string, tags, statCodes *string, limit, offset *int32) (*socialclientmodels.UserStatItemPagingSlicedResult, error)
func (*StatisticService) PublicResetUserStatItemValue ¶
func (s *StatisticService) PublicResetUserStatItemValue(namespace, userId, statCode string) (*socialclientmodels.StatItemIncResult, error)
func (*StatisticService) ResetUserStatItemValue ¶
func (s *StatisticService) ResetUserStatItemValue(namespace, statCode, userId string) (*socialclientmodels.StatItemIncResult, error)
type StoreService ¶
type StoreService struct { OauthService *OauthService PlatformService *platformclient.JusticePlatformService }
func (*StoreService) BackupStore ¶
func (storeService *StoreService) BackupStore(namespace string) (*platformclientmodels.StoreBackupInfo, error)
func (*StoreService) CloneStore ¶
func (storeService *StoreService) CloneStore(namespace, storeId, targetStoreId string) (*platformclientmodels.StoreInfo, error)
func (*StoreService) CreateStore ¶
func (storeService *StoreService) CreateStore(namespace string, storeCreate platformclientmodels.StoreCreate) (*platformclientmodels.StoreInfo, error)
func (*StoreService) DeletePublishedStore ¶
func (storeService *StoreService) DeletePublishedStore(namespace string) (*platformclientmodels.StoreInfo, error)
func (*StoreService) DeleteStore ¶
func (storeService *StoreService) DeleteStore(namespace, storeId string) (*platformclientmodels.StoreInfo, error)
func (*StoreService) ExportStore ¶
func (storeService *StoreService) ExportStore(namespace, storeId string) error
func (*StoreService) GetPublishedStore ¶
func (storeService *StoreService) GetPublishedStore(namespace string) (*platformclientmodels.StoreInfo, error)
func (*StoreService) GetStore ¶
func (storeService *StoreService) GetStore(namespace, storeId string) (*platformclientmodels.StoreInfo, error)
func (*StoreService) ImportStore ¶
func (storeService *StoreService) ImportStore(namespace string, storeId *string, fileAbsolutePath string) (*platformclientmodels.StoreInfo, error)
func (*StoreService) ListStore ¶
func (storeService *StoreService) ListStore(namespace string) ([]*platformclientmodels.StoreInfo, error)
func (*StoreService) PublicListStore ¶
func (storeService *StoreService) PublicListStore(namespace string) ([]*platformclientmodels.StoreInfo, error)
func (*StoreService) RollbackPublishedStore ¶
func (storeService *StoreService) RollbackPublishedStore(namespace string) (*platformclientmodels.StoreInfo, error)
func (*StoreService) UpdateStore ¶
func (storeService *StoreService) UpdateStore(namespace, storeId string, storeUpdate platformclientmodels.StoreUpdate) (*platformclientmodels.StoreInfo, error)
type UserService ¶
type UserService struct { IamService *iamclient.JusticeIamService BasicService *basicclient.JusticeBasicService OauthService *OauthService TokenRepository repository.TokenRepository }
func (*UserService) AddUserRole ¶
func (userService *UserService) AddUserRole(namespace, userId, roleId string) error
func (*UserService) CreateProfile ¶
func (userService *UserService) CreateProfile(namespace string) error
func (*UserService) GetProfile ¶
func (userService *UserService) GetProfile(namespace string) (*basicclientmodels.UserProfilePrivateInfo, error)
func (*UserService) Login ¶
func (userService *UserService) Login(username, password string) error
func (*UserService) Logout ¶
func (userService *UserService) Logout() error
func (*UserService) RegisterUser ¶
func (userService *UserService) RegisterUser(namespace, displayName, birthDate, email, countryId, password string) (*iamclientmodels.ModelUserCreateResponseV3, error)
func (*UserService) VerifyToken ¶
func (userService *UserService) VerifyToken(code, contactType, namespace string) error
type WalletService ¶
type WalletService struct { PlatformServiceClient *platformclient.JusticePlatformService TokenRepository repository.TokenRepository }
func (*WalletService) CheckTransactionCreditLimit ¶
func (w *WalletService) CheckTransactionCreditLimit(namespace, userId, currencyCode string, content *platformclientmodels.CreditRequest) error
func (*WalletService) CreditUserWallet ¶
func (w *WalletService) CreditUserWallet(namespace, userId, currencyCode string, content *platformclientmodels.CreditRequest) (*platformclientmodels.WalletInfo, error)
func (*WalletService) DebitUserWallet ¶
func (w *WalletService) DebitUserWallet(namespace, userId, walletId string, content *platformclientmodels.DebitRequest) (*platformclientmodels.WalletInfo, error)
func (*WalletService) DisableUserWallet ¶
func (w *WalletService) DisableUserWallet(namespace, userId, walletId string) (*platformclientmodels.ErrorEntity, error)
func (*WalletService) EnableUserWallet ¶
func (w *WalletService) EnableUserWallet(namespace, userId, walletId string) error
func (*WalletService) GetUserWallet ¶
func (w *WalletService) GetUserWallet(namespace, userId, walletId string) (*platformclientmodels.WalletInfo, error)
func (*WalletService) GetWallet ¶
func (w *WalletService) GetWallet(namespace, walletId string) (*platformclientmodels.WalletInfo, error)
func (*WalletService) ListUserWalletTransactions ¶
func (w *WalletService) ListUserWalletTransactions(namespace, userId, walletId string, limit, offset *int32) (*platformclientmodels.WalletTransactionPagingSlicedResult, error)
func (*WalletService) PayWithUserWallet ¶
func (w *WalletService) PayWithUserWallet(namespace, userId, currencyCode string, content *platformclientmodels.PaymentRequest) (*platformclientmodels.WalletInfo, error)
func (*WalletService) PublicGetMyWallet ¶
func (w *WalletService) PublicGetMyWallet(namespace, currencyCode string) (*platformclientmodels.WalletInfo, error)
func (*WalletService) PublicGetWallet ¶
func (w *WalletService) PublicGetWallet(namespace, userId, currencyCode string) (*platformclientmodels.WalletInfo, error)
func (*WalletService) PublicListUserWalletTransactions ¶
func (w *WalletService) PublicListUserWalletTransactions(namespace, userId, currencyCode string, limit, offset *int32) (*platformclientmodels.WalletTransactionPagingSlicedResult, error)
func (*WalletService) QueryWallets ¶
func (w *WalletService) QueryWallets(namespace string, currencyCode, userId *string) (*platformclientmodels.WalletPagingSlicedResult, error)
Source Files ¶
- categoryService.go
- chatService.go
- cloudSaveService.go
- currencyService.go
- entitlementService.go
- friendService.go
- friendServiceWebsocket.go
- fulfillmentService.go
- gameProfileService.go
- groupConfigurationService.go
- groupMemberService.go
- groupRoleService.go
- groupService.go
- iapService.go
- itemService.go
- oauthService.go
- orderService.go
- partyService.go
- paymentAccount.go
- paymentConfig.go
- paymentService.go
- paymentStation.go
- rewardService.go
- roleService.go
- slotConfigService.go
- slotService.go
- statisticConfigService.go
- statisticService.go
- storeService.go
- userService.go
- walletService.go