platform

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 20, 2021 License: MIT Imports: 31 Imported by: 0

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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnonymizationService

type AnonymizationService struct {
	Client          *platformclient.JusticePlatformService
	TokenRepository repository.TokenRepository
}

func (*AnonymizationService) AnonymizeCampaign

func (a *AnonymizationService) AnonymizeCampaign(input *anonymization.AnonymizeCampaignParams) error

func (*AnonymizationService) AnonymizeEntitlement

func (a *AnonymizationService) AnonymizeEntitlement(input *anonymization.AnonymizeEntitlementParams) error

AnonymizeEntitlement anonymize entitlement

func (*AnonymizationService) AnonymizeFulfillment

func (a *AnonymizationService) AnonymizeFulfillment(input *anonymization.AnonymizeFulfillmentParams) error

AnonymizeFulfillment anonymize fulfillment

func (*AnonymizationService) AnonymizeIntegration

func (a *AnonymizationService) AnonymizeIntegration(input *anonymization.AnonymizeIntegrationParams) error

func (*AnonymizationService) AnonymizeOrder

func (*AnonymizationService) AnonymizePayment

func (a *AnonymizationService) AnonymizePayment(input *anonymization.AnonymizePaymentParams) error

func (*AnonymizationService) AnonymizeSubscription

func (a *AnonymizationService) AnonymizeSubscription(input *anonymization.AnonymizeSubscriptionParams) error

func (*AnonymizationService) AnonymizeWallet

AnonymizeWallet anonymize wallet

type CampaignService

type CampaignService struct {
	Client          *platformclient.JusticePlatformService
	TokenRepository repository.TokenRepository
}

func (CampaignService) ApplyUserRedemption

func (CampaignService) CreateCampaign

func (CampaignService) CreateCodes

func (CampaignService) DisableCode

func (CampaignService) Download

func (c CampaignService) Download(input *campaign.DownloadParams) error

func (CampaignService) EnableCode

func (CampaignService) GetCampaign

func (CampaignService) GetCode

func (CampaignService) UpdateCampaign

type CategoryService

type CategoryService struct {
	Client          *platformclient.JusticePlatformService
	TokenRepository repository.TokenRepository
}

func (*CategoryService) CreateCategory

func (*CategoryService) DeleteCategory

func (*CategoryService) GetCategory

func (*CategoryService) GetChildCategories

func (*CategoryService) GetDescendantCategories

func (*CategoryService) GetRootCategories

func (*CategoryService) ListCategoriesBasic

func (*CategoryService) PublicGetCategory

func (*CategoryService) PublicGetChildCategories

func (*CategoryService) PublicGetDescendantCategories

func (*CategoryService) PublicGetRootCategories

func (*CategoryService) UpdateCategory

type CurrencyService

type CurrencyService struct {
	Client          *platformclient.JusticePlatformService
	TokenRepository repository.TokenRepository
}

func (*CurrencyService) CreateCurrency

func (*CurrencyService) DeleteCurrency

func (*CurrencyService) GetCurrencyConfig

func (*CurrencyService) GetCurrencySummary

func (*CurrencyService) ListCurrencies

func (*CurrencyService) PublicListCurrencies

func (*CurrencyService) UpdateCurrency

type EntitlementService

type EntitlementService struct {
	Client          *platformclient.JusticePlatformService
	TokenRepository repository.TokenRepository
}

func (*EntitlementService) ConsumeUserEntitlement

func (*EntitlementService) CreateUserDistributionReceiver

func (e *EntitlementService) CreateUserDistributionReceiver(input *entitlement.CreateUserDistributionReceiverParams) error

func (*EntitlementService) DeleteUserDistributionReceiver

func (e *EntitlementService) DeleteUserDistributionReceiver(input *entitlement.DeleteUserDistributionReceiverParams) error

func (*EntitlementService) DisableUserEntitlement

func (e *EntitlementService) DisableUserEntitlement(input *entitlement.DisableUserEntitlementParams) error

func (*EntitlementService) EnableUserEntitlement

func (*EntitlementService) ExistsAnyUserActiveEntitlement

func (*EntitlementService) GetEntitlement

func (*EntitlementService) GetUserEntitlement

func (*EntitlementService) GetUserEntitlementBySku

func (*EntitlementService) PublicCreateUserDistributionReceiver

func (e *EntitlementService) PublicCreateUserDistributionReceiver(input *entitlement.PublicCreateUserDistributionReceiverParams) error

func (*EntitlementService) PublicDeleteUserDistributionReceiver

func (e *EntitlementService) PublicDeleteUserDistributionReceiver(input *entitlement.PublicDeleteUserDistributionReceiverParams) error

func (*EntitlementService) PublicExistsAnyMyActiveEntitlement

func (*EntitlementService) PublicUpdateUserDistributionReceiver

func (e *EntitlementService) PublicUpdateUserDistributionReceiver(input *entitlement.PublicUpdateUserDistributionReceiverParams) error

func (*EntitlementService) RevokeUserEntitlement

func (*EntitlementService) UpdateUserDistributionReceiver

func (e *EntitlementService) UpdateUserDistributionReceiver(input *entitlement.UpdateUserDistributionReceiverParams) error

func (*EntitlementService) UpdateUserEntitlement

type FulfillmentService

type FulfillmentService struct {
	Client          *platformclient.JusticePlatformService
	TokenRepository repository.TokenRepository
}

func (*FulfillmentService) FulfillItem

func (*FulfillmentService) PublicRedeemCode

func (*FulfillmentService) RedeemCode

type IAPService

type IAPService struct {
	Client          *platformclient.JusticePlatformService
	TokenRepository repository.TokenRepository
}

func (*IAPService) DeleteAppleIAPConfig

func (s *IAPService) DeleteAppleIAPConfig(input *i_a_p.DeleteAppleIAPConfigParams) error

func (*IAPService) DeleteEpicGamesIAPConfig

func (s *IAPService) DeleteEpicGamesIAPConfig(input *i_a_p.DeleteEpicGamesIAPConfigParams) error

func (*IAPService) DeleteGoogleIAPConfig

func (s *IAPService) DeleteGoogleIAPConfig(input *i_a_p.DeleteGoogleIAPConfigParams) error

func (*IAPService) DeletePlaystationIAPConfig

func (s *IAPService) DeletePlaystationIAPConfig(input *i_a_p.DeletePlaystationIAPConfigParams) error

func (*IAPService) DeleteStadiaIAPConfig

func (s *IAPService) DeleteStadiaIAPConfig(input *i_a_p.DeleteStadiaIAPConfigParams) error

func (*IAPService) DeleteSteamIAPConfig

func (s *IAPService) DeleteSteamIAPConfig(input *i_a_p.DeleteSteamIAPConfigParams) error

func (*IAPService) DeleteXblAPConfig

func (s *IAPService) DeleteXblAPConfig(input *i_a_p.DeleteXblAPConfigParams) error

func (*IAPService) GetAppleIAPConfig

func (*IAPService) GetGoogleIAPConfig

func (*IAPService) GetStadiaIAPConfig

func (*IAPService) GetSteamIAPConfig

func (*IAPService) GetXblIAPConfig

func (*IAPService) MockFulfillIAPItem

func (s *IAPService) MockFulfillIAPItem(input *i_a_p.MockFulfillIAPItemParams) error

func (*IAPService) PublicFulfillAppleIAPItem

func (s *IAPService) PublicFulfillAppleIAPItem(input *i_a_p.PublicFulfillAppleIAPItemParams) error

func (*IAPService) PublicFulfillGoogleIAPItem

func (s *IAPService) PublicFulfillGoogleIAPItem(input *i_a_p.PublicFulfillGoogleIAPItemParams) error

func (*IAPService) SyncEpicGamesInventory

func (s *IAPService) SyncEpicGamesInventory(input *i_a_p.SyncEpicGamesInventoryParams) error

func (*IAPService) SyncStadiaEntitlement

func (s *IAPService) SyncStadiaEntitlement(input *i_a_p.SyncStadiaEntitlementParams) error

func (*IAPService) SyncSteamInventory

func (s *IAPService) SyncSteamInventory(input *i_a_p.SyncSteamInventoryParams) error

func (*IAPService) SyncXboxInventory

func (s *IAPService) SyncXboxInventory(input *i_a_p.SyncXboxInventoryParams) error

func (*IAPService) UpdateAppleIAPConfig

func (*IAPService) UpdateGoogleP12File

func (*IAPService) UpdateSteamIAPConfig

func (*IAPService) UpdateXblBPCertFile

func (*IAPService) UpdateXblIAPConfig

type IntegrationService

type IntegrationService struct {
	Client          *platformclient.JusticePlatformService
	TokenRepository repository.TokenRepository
}

type ItemService

type ItemService struct {
	Client          *platformclient.JusticePlatformService
	TokenRepository repository.TokenRepository
}

func (*ItemService) AcquireItem

func (*ItemService) BulkGetLocaleItem

func (i *ItemService) BulkGetLocaleItem(input *item.BulkGetLocaleItemsParams) ([]*platformclientmodels.ItemInfo, error)

func (*ItemService) BulkGetLocaleItems

func (i *ItemService) BulkGetLocaleItems(input *item.BulkGetLocaleItemsParams) ([]*platformclientmodels.ItemInfo, error)

func (*ItemService) CreateItem

func (*ItemService) DefeatureItem

func (i *ItemService) DefeatureItem(input *item.DefeatureItemParams) error

func (*ItemService) DeleteItem

func (i *ItemService) DeleteItem(input *item.DeleteItemParams) error

func (*ItemService) DisableItem

func (*ItemService) EnableItem

func (*ItemService) FeatureItem

func (i *ItemService) FeatureItem(input *item.FeatureItemParams) error

func (*ItemService) GetApp

func (*ItemService) GetBasicItemByFeature

func (i *ItemService) GetBasicItemByFeature(input *item.ListBasicItemsByFeaturesParams) ([]*platformclientmodels.BasicItem, error)

func (*ItemService) GetItem

func (*ItemService) GetItemByAppId

func (*ItemService) GetItemByCriteria

func (*ItemService) GetItemBySku

func (*ItemService) GetItemDynamicData

func (*ItemService) GetItemIdBySku

func (i *ItemService) GetItemIdBySku(input *item.GetItemIDBySkuParams) (*platformclientmodels.ItemID, error)

func (*ItemService) GetLocaleItem

func (*ItemService) GetLocaleItemBySku

func (*ItemService) PublicBulkGetItems

func (i *ItemService) PublicBulkGetItems(input *item.PublicBulkGetItemsParams) ([]*platformclientmodels.ItemInfo, error)

func (*ItemService) PublicGetApp

func (*ItemService) PublicGetBulkItems

func (i *ItemService) PublicGetBulkItems(input *item.PublicBulkGetItemsParams) ([]*platformclientmodels.ItemInfo, error)

func (*ItemService) PublicGetItem

func (*ItemService) PublicGetItemByAppId

func (i *ItemService) PublicGetItemByAppId(input *item.PublicGetItemByAppIDParams) (*platformclientmodels.ItemInfo, error)

func (*ItemService) PublicGetItemBySku

func (i *ItemService) PublicGetItemBySku(input *item.PublicGetItemBySkuParams) (*platformclientmodels.ItemInfo, error)

func (*ItemService) PublicQueryItems

func (*ItemService) ReturnItem

func (i *ItemService) ReturnItem(input *item.ReturnItemParams) error

func (*ItemService) SyncInGameItem

func (*ItemService) UpdateApp

func (*ItemService) UpdateItem

type KeyGroupService

type KeyGroupService struct {
	Client          *platformclient.JusticePlatformService
	TokenRepository repository.TokenRepository
}

func (KeyGroupService) CreateKeyGroup

func (KeyGroupService) GetKeyGroup

func (KeyGroupService) ListKeys

func (KeyGroupService) UpdateKeyGroup

func (KeyGroupService) UploadKeys

type OrderDedicatedService

type OrderDedicatedService struct {
	Client          *platformclient.JusticePlatformService
	TokenRepository repository.TokenRepository
}

func (*OrderDedicatedService) SyncOrders

type OrderService

type OrderService struct {
	Client          *platformclient.JusticePlatformService
	TokenRepository repository.TokenRepository
}

func (*OrderService) CountOfPurchasedItem

func (*OrderService) DownloadUserOrderReceipt

func (o *OrderService) DownloadUserOrderReceipt(input *order.DownloadUserOrderReceiptParams) error

func (*OrderService) FulfillUserOrder

func (*OrderService) GetOrder

func (*OrderService) GetOrderStatistics

func (*OrderService) GetUserOrder

func (*OrderService) GetUserOrderGrant

func (*OrderService) GetUserOrderHistories

func (*OrderService) ProcessUserOrderNotification

func (o *OrderService) ProcessUserOrderNotification(input *order.ProcessUserOrderNotificationParams) error

func (*OrderService) PublicCancelUserOrder

func (*OrderService) PublicCreateUserOrder

func (*OrderService) PublicDownloadUserOrderReceipt

func (o *OrderService) PublicDownloadUserOrderReceipt(input *order.PublicDownloadUserOrderReceiptParams) error

func (*OrderService) PublicGetUserOrder

func (*OrderService) PublicGetUserOrderHistories

func (*OrderService) QueryOrders

func (*OrderService) RefundOrder

func (*OrderService) UpdateUserOrderStatus

type PaymentAccount

type PaymentAccount struct {
	Client          *platformclient.JusticePlatformService
	TokenRepository repository.TokenRepository
}

func (*PaymentAccount) PublicDeletePaymentAccount

func (p *PaymentAccount) PublicDeletePaymentAccount(input *payment_account.PublicDeletePaymentAccountParams) error

type PaymentConfig

type PaymentConfig struct {
	Client          *platformclient.JusticePlatformService
	TokenRepository repository.TokenRepository
}

func (*PaymentConfig) DeletePaymentProviderConfig

func (p *PaymentConfig) DeletePaymentProviderConfig(input *payment_config.DeletePaymentProviderConfigParams) error

func (*PaymentConfig) GetAggregatePaymentProviders

func (p *PaymentConfig) GetAggregatePaymentProviders() ([]string, error)

func (*PaymentConfig) GetPaymentTaxConfig

func (p *PaymentConfig) GetPaymentTaxConfig() (*platformclientmodels.PaymentTaxConfigInfo, error)

func (*PaymentConfig) GetSpecialPaymentProviders

func (p *PaymentConfig) GetSpecialPaymentProviders() ([]string, error)

func (*PaymentConfig) TestAdyenConfig

func (*PaymentConfig) TestAdyenConfigByID

func (*PaymentConfig) TestAliPayConfig

func (*PaymentConfig) TestAliPayConfigByID

func (*PaymentConfig) TestCheckoutConfig

func (*PaymentConfig) TestCheckoutConfigByID

func (*PaymentConfig) TestPayPalConfig

func (*PaymentConfig) TestPayPalConfigByID

func (*PaymentConfig) TestStripeConfig

func (*PaymentConfig) TestStripeConfigByID

func (*PaymentConfig) TestWxPayConfig

func (*PaymentConfig) TestWxPayConfigByID

func (*PaymentConfig) TestXsollaConfig

func (*PaymentConfig) TestXsollaConfigByID

type PaymentService

type PaymentService struct {
	Client          *platformclient.JusticePlatformService
	TokenRepository repository.TokenRepository
}

func (*PaymentService) ChargePaymentOrder

func (*PaymentService) CreateUserPaymentOrder

func (*PaymentService) GetPaymentOrder

func (*PaymentService) ListExtOrderNoByExtTxID

func (p *PaymentService) ListExtOrderNoByExtTxID(input *payment.ListExtOrderNoByExtTxIDParams) ([]string, error)

func (*PaymentService) RefundUserPaymentOrder

type PaymentStation

type PaymentStation struct {
	Client          *platformclient.JusticePlatformService
	TokenRepository repository.TokenRepository
}

func (*PaymentStation) GetPaymentPublicConfig

func (p *PaymentStation) GetPaymentPublicConfig(input *payment_station.GetPaymentPublicConfigParams) (map[string]interface{}, error)

func (*PaymentStation) GetPaymentTaxValue

func (*PaymentStation) PublicGetPaymentURL

func (*PaymentStation) PublicGetQRCode

func (p *PaymentStation) PublicGetQRCode(input *payment_station.PublicGetQRCodeParams, writer io.Writer) (io.Writer, error)

func (*PaymentStation) PublicNormalizePaymentReturnURL

func (p *PaymentStation) PublicNormalizePaymentReturnURL(input *payment_station.PublicNormalizePaymentReturnURLParams) (string, error)

type RewardService

type RewardService struct {
	Client          *platformclient.JusticePlatformService
	TokenRepository repository.TokenRepository
}

func (*RewardService) CreateReward

func (*RewardService) DeleteReward

func (*RewardService) ExportRewards

func (r *RewardService) ExportRewards(input *reward.ExportRewardsParams) error

func (*RewardService) GetReward

func (*RewardService) GetRewardByCode

func (*RewardService) ImportRewards

func (r *RewardService) ImportRewards(input *reward.ImportRewardsParams) error

func (*RewardService) PublicGetReward

func (*RewardService) PublicQueryRewards

func (*RewardService) UpdateReward

type StoreService

type StoreService struct {
	Client          *platformclient.JusticePlatformService
	TokenRepository repository.TokenRepository
}

func (*StoreService) CloneStore

func (*StoreService) CreateStore

func (*StoreService) DeletePublishedStore

func (*StoreService) DeleteStore

func (*StoreService) ExportStore

func (s *StoreService) ExportStore(input *store.ExportStoreParams) error

func (*StoreService) GetPublishedStore

func (*StoreService) GetStore

func (*StoreService) ImportStore

func (*StoreService) ListStore

func (*StoreService) PublicListStore

func (*StoreService) RollbackPublishedStore

func (*StoreService) UpdateStore

type SubscriptionService

type SubscriptionService struct {
	Client          *platformclient.JusticePlatformService
	TokenRepository repository.TokenRepository
}

func (SubscriptionService) DeleteUserSubscription

func (s SubscriptionService) DeleteUserSubscription(input *subscription.DeleteUserSubscriptionParams) error

func (SubscriptionService) ProcessUserSubscriptionNotification

func (s SubscriptionService) ProcessUserSubscriptionNotification(input *subscription.ProcessUserSubscriptionNotificationParams) error

func (SubscriptionService) PublicSubscribeSubscription

func (s SubscriptionService) PublicSubscribeSubscription(input *subscription.PublicSubscribeSubscriptionParams) error

type TicketService

type TicketService struct {
	Client          *platformclient.JusticePlatformService
	TokenRepository repository.TokenRepository
}

func (TicketService) DecreaseTicketSale

func (t TicketService) DecreaseTicketSale(input *ticket.DecreaseTicketSaleParams) error

func (TicketService) GetTicketBoothID

func (TicketService) GetTicketDynamic

type WalletService

type WalletService struct {
	Client          *platformclient.JusticePlatformService
	TokenRepository repository.TokenRepository
}

func (*WalletService) CheckWallet

func (w *WalletService) CheckWallet(input *wallet.CheckWalletParams) error

func (*WalletService) CreditUserWallet

func (*WalletService) DebitUserWallet

func (*WalletService) DisableUserWallet

func (w *WalletService) DisableUserWallet(input *wallet.DisableUserWalletParams) error

func (*WalletService) EnableUserWallet

func (w *WalletService) EnableUserWallet(input *wallet.EnableUserWalletParams) error

func (*WalletService) GetUserWallet

func (*WalletService) GetWallet

func (*WalletService) PayWithUserWallet

func (*WalletService) PublicGetMyWallet

func (*WalletService) PublicGetWallet

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL