Documentation ¶
Index ¶
- Constants
- type ADTOObjectForUnlockSteamAchievementAPI
- type ADTOObjectForUpdateXboxAchievementCompletePercentageAPI
- func (m *ADTOObjectForUpdateXboxAchievementCompletePercentageAPI) MarshalBinary() ([]byte, error)
- func (m *ADTOObjectForUpdateXboxAchievementCompletePercentageAPI) UnmarshalBinary(b []byte) error
- func (m *ADTOObjectForUpdateXboxAchievementCompletePercentageAPI) Validate(formats strfmt.Registry) error
- type AdditionalData
- type AdminOrderCreate
- type AdyenConfig
- type AliPayConfig
- type AppEntitlementInfo
- type AppEntitlementPagingSlicedResult
- type AppInfo
- type AppLocalization
- type AppUpdate
- type AppleIAPConfigInfo
- type AppleIAPConfigRequest
- type AppleIAPReceipt
- type BasicCategoryInfo
- type BasicItem
- type BillingAccount
- type BillingHistoryInfo
- type BillingHistoryPagingSlicedResult
- type BulkOperationResult
- type BundledItemInfo
- type CampaignCreate
- type CampaignDynamicInfo
- type CampaignInfo
- type CampaignPagingSlicedResult
- type CampaignUpdate
- type CancelRequest
- type CatalogChangeInfo
- type CatalogChangePagingSlicedResult
- type CatalogChangeStatistics
- type CategoryCreate
- type CategoryInfo
- type CategoryUpdate
- type CheckoutConfig
- type CodeCreate
- type CodeCreateResult
- type CodeInfo
- type CodeInfoPagingSlicedResult
- type ConditionMatchResult
- type CreditRequest
- type CreditSummary
- type CurrencyConfig
- type CurrencyCreate
- type CurrencyInfo
- type CurrencySummary
- type CurrencyUpdate
- type CurrencyWallet
- type Customization
- type DLCItem
- type DLCItemConfigInfo
- type DLCItemConfigUpdate
- type DebitRequest
- type DetailedWalletTransactionInfo
- type DetailedWalletTransactionPagingSlicedResult
- type EntitlementDecrement
- type EntitlementGrant
- type EntitlementHistoryInfo
- type EntitlementInfo
- type EntitlementPagingSlicedResult
- type EntitlementSummary
- type EntitlementUpdate
- type EpicGamesIAPConfigInfo
- type EpicGamesIAPConfigRequest
- type EpicGamesReconcileRequest
- type EpicGamesReconcileResult
- type ErrorEntity
- type EventPayload
- type ExternalPaymentOrderCreate
- type FieldValidationError
- type FulfillCodeRequest
- type FulfillmentError
- type FulfillmentHistoryInfo
- type FulfillmentHistoryPagingSlicedResult
- type FulfillmentItem
- type FulfillmentRequest
- type FulfillmentResult
- type FulfillmentScriptContext
- type FulfillmentScriptCreate
- type FulfillmentScriptEvalTestRequest
- type FulfillmentScriptEvalTestResult
- type FulfillmentScriptInfo
- type FulfillmentScriptUpdate
- type FullAppInfo
- type FullCategoryInfo
- type FullItemInfo
- type FullItemPagingSlicedResult
- type GoogleIAPConfigInfo
- type GoogleIAPConfigRequest
- type GoogleIAPReceipt
- type GoogleReceiptResolveResult
- type GrantSubscriptionDaysRequest
- type HierarchicalCategoryInfo
- type IAPItemConfigInfo
- type IAPItemConfigUpdate
- type IAPItemEntry
- type IAPOrderInfo
- type IAPOrderPagingSlicedResult
- type Image
- type InGameItemSync
- type ItemAcquireRequest
- type ItemAcquireResult
- type ItemCreate
- type ItemDynamicDataInfo
- type ItemID
- type ItemInfo
- type ItemPagingSlicedResult
- type ItemReturnRequest
- type ItemSnapshot
- type ItemUpdate
- type KeyGroupCreate
- type KeyGroupDynamicInfo
- type KeyGroupInfo
- type KeyGroupPagingSlicedResult
- type KeyGroupUpdate
- type KeyInfo
- type KeyPagingSliceResult
- type Localization
- type MockIAPReceipt
- type NotificationProcessResult
- type Order
- type OrderCreate
- type OrderGrantInfo
- type OrderHistoryInfo
- type OrderInfo
- type OrderPagingResult
- type OrderPagingSlicedResult
- type OrderRefundCreate
- type OrderStatistics
- type OrderSummary
- type OrderSyncResult
- type OrderUpdate
- type Ownership
- type OwnershipToken
- type Paging
- type PayPalConfig
- type PaymentAccount
- type PaymentCallbackConfigInfo
- type PaymentCallbackConfigUpdate
- type PaymentMerchantConfigInfo
- type PaymentMethod
- type PaymentNotificationInfo
- type PaymentNotificationPagingSlicedResult
- type PaymentOrder
- type PaymentOrderChargeRequest
- type PaymentOrderChargeStatus
- type PaymentOrderCreate
- type PaymentOrderCreateResult
- type PaymentOrderDetails
- type PaymentOrderInfo
- type PaymentOrderNotifySimulation
- type PaymentOrderPagingSlicedResult
- type PaymentOrderPaidResult
- type PaymentOrderRefund
- type PaymentOrderRefundResult
- type PaymentOrderSyncResult
- type PaymentProcessResult
- type PaymentProviderConfigEdit
- type PaymentProviderConfigInfo
- type PaymentProviderConfigPagingSlicedResult
- type PaymentRequest
- type PaymentTaxConfigEdit
- type PaymentTaxConfigInfo
- type PaymentToken
- type PaymentURL
- type PaymentURLCreate
- type PlatformDLCConfigInfo
- type PlatformDLCConfigUpdate
- type PlatformDlcEntry
- type PlatformReward
- type PlatformRewardCurrency
- type PlatformRewardItem
- type PlatformSubscribeRequest
- type PlatformWallet
- type PlatformWalletConfigInfo
- type PlatformWalletConfigUpdate
- type PlayStationDLCSyncRequest
- type PlayStationIAPConfigInfo
- type PlayStationReconcileRequest
- type PlayStationReconcileResult
- type PlaystationIAPConfigRequest
- type PopulatedItemInfo
- type PurchasedItemCount
- type Recurring
- type RecurringChargeResult
- type RedeemHistoryInfo
- type RedeemHistoryPagingSlicedResult
- type RedeemRequest
- type RedeemResult
- type RedeemableItem
- type RegionDataItem
- type Requirement
- type RewardCondition
- type RewardCreate
- type RewardInfo
- type RewardItem
- type RewardPagingSlicedResult
- type RewardUpdate
- type RewardsRequest
- type Slide
- type StackableEntitlementInfo
- type StadiaIAPConfigInfo
- type StadiaSyncRequest
- type SteamAchievementRequest
- type SteamDLCSyncRequest
- type SteamIAPConfig
- type SteamIAPConfigInfo
- type SteamIAPConfigRequest
- type SteamSyncRequest
- type StoreBackupInfo
- type StoreCreate
- type StoreInfo
- type StoreUpdate
- type StripeConfig
- type Subscribable
- type SubscribeRequest
- type SubscriptionActivityInfo
- type SubscriptionActivityPagingSlicedResult
- type SubscriptionInfo
- type SubscriptionPagingSlicedResult
- type SubscriptionSummary
- type TaxResult
- type TestResult
- type TicketAcquireRequest
- type TicketAcquireResult
- type TicketBoothID
- type TicketDynamicInfo
- type TicketSaleDecrementRequest
- type TicketSaleIncrementRequest
- type TicketSaleIncrementResult
- type TimeLimitedBalance
- type TimedOwnership
- type TradeNotification
- type Transaction
- type TransactionAmountDetails
- type TwitchIAPConfigInfo
- type TwitchIAPConfigRequest
- type TwitchSyncRequest
- type ValidationErrorEntity
- type WalletInfo
- type WalletPagingSlicedResult
- type WalletTransactionInfo
- type WalletTransactionPagingSlicedResult
- type WxPayConfigInfo
- type WxPayConfigRequest
- type XblDLCSyncRequest
- type XblIAPConfigInfo
- type XblIAPConfigRequest
- type XblReconcileRequest
- type XblReconcileResult
- type XboxAchievementRequest
- type XsollaConfig
- type XsollaPaywallConfig
- type XsollaPaywallConfigRequest
Constants ¶
const ( // AdminOrderCreatePlatformEpic captures enum value "Epic" AdminOrderCreatePlatformEpic string = "Epic" // AdminOrderCreatePlatformGooglePlay captures enum value "GooglePlay" AdminOrderCreatePlatformGooglePlay string = "GooglePlay" // AdminOrderCreatePlatformIOS captures enum value "IOS" AdminOrderCreatePlatformIOS string = "IOS" // AdminOrderCreatePlatformNintendo captures enum value "Nintendo" AdminOrderCreatePlatformNintendo string = "Nintendo" // AdminOrderCreatePlatformOther captures enum value "Other" AdminOrderCreatePlatformOther string = "Other" // AdminOrderCreatePlatformPlaystation captures enum value "Playstation" AdminOrderCreatePlatformPlaystation string = "Playstation" // AdminOrderCreatePlatformSteam captures enum value "Steam" AdminOrderCreatePlatformSteam string = "Steam" // AdminOrderCreatePlatformXbox captures enum value "Xbox" AdminOrderCreatePlatformXbox string = "Xbox" )
const ( // AppEntitlementInfoAppTypeDEMO captures enum value "DEMO" AppEntitlementInfoAppTypeDEMO string = "DEMO" // AppEntitlementInfoAppTypeDLC captures enum value "DLC" AppEntitlementInfoAppTypeDLC string = "DLC" // AppEntitlementInfoAppTypeGAME captures enum value "GAME" AppEntitlementInfoAppTypeGAME string = "GAME" // AppEntitlementInfoAppTypeSOFTWARE captures enum value "SOFTWARE" AppEntitlementInfoAppTypeSOFTWARE string = "SOFTWARE" )
const ( // AppEntitlementInfoStatusACTIVE captures enum value "ACTIVE" AppEntitlementInfoStatusACTIVE string = "ACTIVE" // AppEntitlementInfoStatusCONSUMED captures enum value "CONSUMED" AppEntitlementInfoStatusCONSUMED string = "CONSUMED" // AppEntitlementInfoStatusINACTIVE captures enum value "INACTIVE" AppEntitlementInfoStatusINACTIVE string = "INACTIVE" // AppEntitlementInfoStatusREVOKED captures enum value "REVOKED" AppEntitlementInfoStatusREVOKED string = "REVOKED" )
const ( // AppInfoPrimaryGenreAction captures enum value "Action" AppInfoPrimaryGenreAction string = "Action" // AppInfoPrimaryGenreAdventure captures enum value "Adventure" AppInfoPrimaryGenreAdventure string = "Adventure" // AppInfoPrimaryGenreCasual captures enum value "Casual" AppInfoPrimaryGenreCasual string = "Casual" // AppInfoPrimaryGenreFreeToPlay captures enum value "FreeToPlay" AppInfoPrimaryGenreFreeToPlay string = "FreeToPlay" // AppInfoPrimaryGenreIndie captures enum value "Indie" AppInfoPrimaryGenreIndie string = "Indie" // AppInfoPrimaryGenreMassivelyMultiplayer captures enum value "MassivelyMultiplayer" AppInfoPrimaryGenreMassivelyMultiplayer string = "MassivelyMultiplayer" // AppInfoPrimaryGenreRPG captures enum value "RPG" AppInfoPrimaryGenreRPG string = "RPG" // AppInfoPrimaryGenreRacing captures enum value "Racing" AppInfoPrimaryGenreRacing string = "Racing" // AppInfoPrimaryGenreSimulation captures enum value "Simulation" AppInfoPrimaryGenreSimulation string = "Simulation" // AppInfoPrimaryGenreSports captures enum value "Sports" AppInfoPrimaryGenreSports string = "Sports" // AppInfoPrimaryGenreStrategy captures enum value "Strategy" AppInfoPrimaryGenreStrategy string = "Strategy" )
const ( // AppUpdatePrimaryGenreAction captures enum value "Action" AppUpdatePrimaryGenreAction string = "Action" // AppUpdatePrimaryGenreAdventure captures enum value "Adventure" AppUpdatePrimaryGenreAdventure string = "Adventure" // AppUpdatePrimaryGenreCasual captures enum value "Casual" AppUpdatePrimaryGenreCasual string = "Casual" // AppUpdatePrimaryGenreFreeToPlay captures enum value "FreeToPlay" AppUpdatePrimaryGenreFreeToPlay string = "FreeToPlay" // AppUpdatePrimaryGenreIndie captures enum value "Indie" AppUpdatePrimaryGenreIndie string = "Indie" // AppUpdatePrimaryGenreMassivelyMultiplayer captures enum value "MassivelyMultiplayer" AppUpdatePrimaryGenreMassivelyMultiplayer string = "MassivelyMultiplayer" // AppUpdatePrimaryGenreRPG captures enum value "RPG" AppUpdatePrimaryGenreRPG string = "RPG" // AppUpdatePrimaryGenreRacing captures enum value "Racing" AppUpdatePrimaryGenreRacing string = "Racing" // AppUpdatePrimaryGenreSimulation captures enum value "Simulation" AppUpdatePrimaryGenreSimulation string = "Simulation" // AppUpdatePrimaryGenreSports captures enum value "Sports" AppUpdatePrimaryGenreSports string = "Sports" // AppUpdatePrimaryGenreStrategy captures enum value "Strategy" AppUpdatePrimaryGenreStrategy string = "Strategy" )
const ( // BasicItemAppTypeDEMO captures enum value "DEMO" BasicItemAppTypeDEMO string = "DEMO" // BasicItemAppTypeDLC captures enum value "DLC" BasicItemAppTypeDLC string = "DLC" // BasicItemAppTypeGAME captures enum value "GAME" BasicItemAppTypeGAME string = "GAME" // BasicItemAppTypeSOFTWARE captures enum value "SOFTWARE" BasicItemAppTypeSOFTWARE string = "SOFTWARE" )
const ( // BasicItemEntitlementTypeCONSUMABLE captures enum value "CONSUMABLE" BasicItemEntitlementTypeCONSUMABLE string = "CONSUMABLE" // BasicItemEntitlementTypeDURABLE captures enum value "DURABLE" BasicItemEntitlementTypeDURABLE string = "DURABLE" )
const ( // BasicItemItemTypeAPP captures enum value "APP" BasicItemItemTypeAPP string = "APP" // BasicItemItemTypeBUNDLE captures enum value "BUNDLE" BasicItemItemTypeBUNDLE string = "BUNDLE" // BasicItemItemTypeCODE captures enum value "CODE" BasicItemItemTypeCODE string = "CODE" // BasicItemItemTypeCOINS captures enum value "COINS" BasicItemItemTypeCOINS string = "COINS" // BasicItemItemTypeINGAMEITEM captures enum value "INGAMEITEM" BasicItemItemTypeINGAMEITEM string = "INGAMEITEM" // BasicItemItemTypeMEDIA captures enum value "MEDIA" BasicItemItemTypeMEDIA string = "MEDIA" // BasicItemItemTypeSEASON captures enum value "SEASON" BasicItemItemTypeSEASON string = "SEASON" // BasicItemItemTypeSUBSCRIPTION captures enum value "SUBSCRIPTION" BasicItemItemTypeSUBSCRIPTION string = "SUBSCRIPTION" )
const ( // BasicItemSeasonTypePASS captures enum value "PASS" BasicItemSeasonTypePASS string = "PASS" // BasicItemSeasonTypeTIER captures enum value "TIER" BasicItemSeasonTypeTIER string = "TIER" )
const ( // BasicItemStatusACTIVE captures enum value "ACTIVE" BasicItemStatusACTIVE string = "ACTIVE" // BasicItemStatusINACTIVE captures enum value "INACTIVE" BasicItemStatusINACTIVE string = "INACTIVE" )
const ( // BillingAccountPaymentProviderADYEN captures enum value "ADYEN" BillingAccountPaymentProviderADYEN string = "ADYEN" // BillingAccountPaymentProviderALIPAY captures enum value "ALIPAY" BillingAccountPaymentProviderALIPAY string = "ALIPAY" // BillingAccountPaymentProviderCHECKOUT captures enum value "CHECKOUT" BillingAccountPaymentProviderCHECKOUT string = "CHECKOUT" // BillingAccountPaymentProviderPAYPAL captures enum value "PAYPAL" BillingAccountPaymentProviderPAYPAL string = "PAYPAL" // BillingAccountPaymentProviderSTRIPE captures enum value "STRIPE" BillingAccountPaymentProviderSTRIPE string = "STRIPE" // BillingAccountPaymentProviderWALLET captures enum value "WALLET" BillingAccountPaymentProviderWALLET string = "WALLET" // BillingAccountPaymentProviderWXPAY captures enum value "WXPAY" BillingAccountPaymentProviderWXPAY string = "WXPAY" // BillingAccountPaymentProviderXSOLLA captures enum value "XSOLLA" BillingAccountPaymentProviderXSOLLA string = "XSOLLA" )
const ( // BillingHistoryInfoStatusCHARGED captures enum value "CHARGED" BillingHistoryInfoStatusCHARGED string = "CHARGED" // BillingHistoryInfoStatusCHARGEFAILED captures enum value "CHARGE_FAILED" BillingHistoryInfoStatusCHARGEFAILED string = "CHARGE_FAILED" // BillingHistoryInfoStatusINIT captures enum value "INIT" BillingHistoryInfoStatusINIT string = "INIT" // BillingHistoryInfoStatusREFUNDED captures enum value "REFUNDED" BillingHistoryInfoStatusREFUNDED string = "REFUNDED" // BillingHistoryInfoStatusREFUNDFAILED captures enum value "REFUND_FAILED" BillingHistoryInfoStatusREFUNDFAILED string = "REFUND_FAILED" )
const ( // BundledItemInfoAppTypeDEMO captures enum value "DEMO" BundledItemInfoAppTypeDEMO string = "DEMO" // BundledItemInfoAppTypeDLC captures enum value "DLC" BundledItemInfoAppTypeDLC string = "DLC" // BundledItemInfoAppTypeGAME captures enum value "GAME" BundledItemInfoAppTypeGAME string = "GAME" // BundledItemInfoAppTypeSOFTWARE captures enum value "SOFTWARE" BundledItemInfoAppTypeSOFTWARE string = "SOFTWARE" )
const ( // BundledItemInfoEntitlementTypeCONSUMABLE captures enum value "CONSUMABLE" BundledItemInfoEntitlementTypeCONSUMABLE string = "CONSUMABLE" // BundledItemInfoEntitlementTypeDURABLE captures enum value "DURABLE" BundledItemInfoEntitlementTypeDURABLE string = "DURABLE" )
const ( // BundledItemInfoItemTypeAPP captures enum value "APP" BundledItemInfoItemTypeAPP string = "APP" // BundledItemInfoItemTypeBUNDLE captures enum value "BUNDLE" BundledItemInfoItemTypeBUNDLE string = "BUNDLE" // BundledItemInfoItemTypeCODE captures enum value "CODE" BundledItemInfoItemTypeCODE string = "CODE" // BundledItemInfoItemTypeCOINS captures enum value "COINS" BundledItemInfoItemTypeCOINS string = "COINS" // BundledItemInfoItemTypeINGAMEITEM captures enum value "INGAMEITEM" BundledItemInfoItemTypeINGAMEITEM string = "INGAMEITEM" // BundledItemInfoItemTypeMEDIA captures enum value "MEDIA" BundledItemInfoItemTypeMEDIA string = "MEDIA" // BundledItemInfoItemTypeSEASON captures enum value "SEASON" BundledItemInfoItemTypeSEASON string = "SEASON" // BundledItemInfoItemTypeSUBSCRIPTION captures enum value "SUBSCRIPTION" BundledItemInfoItemTypeSUBSCRIPTION string = "SUBSCRIPTION" )
const ( // BundledItemInfoSeasonTypePASS captures enum value "PASS" BundledItemInfoSeasonTypePASS string = "PASS" // BundledItemInfoSeasonTypeTIER captures enum value "TIER" BundledItemInfoSeasonTypeTIER string = "TIER" )
const ( // BundledItemInfoStatusACTIVE captures enum value "ACTIVE" BundledItemInfoStatusACTIVE string = "ACTIVE" // BundledItemInfoStatusINACTIVE captures enum value "INACTIVE" BundledItemInfoStatusINACTIVE string = "INACTIVE" )
const ( // CampaignCreateStatusACTIVE captures enum value "ACTIVE" CampaignCreateStatusACTIVE string = "ACTIVE" // CampaignCreateStatusINACTIVE captures enum value "INACTIVE" CampaignCreateStatusINACTIVE string = "INACTIVE" )
const ( // CampaignInfoStatusACTIVE captures enum value "ACTIVE" CampaignInfoStatusACTIVE string = "ACTIVE" // CampaignInfoStatusINACTIVE captures enum value "INACTIVE" CampaignInfoStatusINACTIVE string = "INACTIVE" )
const ( // CampaignUpdateStatusACTIVE captures enum value "ACTIVE" CampaignUpdateStatusACTIVE string = "ACTIVE" // CampaignUpdateStatusINACTIVE captures enum value "INACTIVE" CampaignUpdateStatusINACTIVE string = "INACTIVE" )
const ( // CatalogChangeInfoActionCREATE captures enum value "CREATE" CatalogChangeInfoActionCREATE string = "CREATE" // CatalogChangeInfoActionDELETE captures enum value "DELETE" CatalogChangeInfoActionDELETE string = "DELETE" // CatalogChangeInfoActionUPDATE captures enum value "UPDATE" CatalogChangeInfoActionUPDATE string = "UPDATE" )
const ( // CatalogChangeInfoItemTypeAPP captures enum value "APP" CatalogChangeInfoItemTypeAPP string = "APP" // CatalogChangeInfoItemTypeBUNDLE captures enum value "BUNDLE" CatalogChangeInfoItemTypeBUNDLE string = "BUNDLE" // CatalogChangeInfoItemTypeCODE captures enum value "CODE" CatalogChangeInfoItemTypeCODE string = "CODE" // CatalogChangeInfoItemTypeCOINS captures enum value "COINS" CatalogChangeInfoItemTypeCOINS string = "COINS" // CatalogChangeInfoItemTypeINGAMEITEM captures enum value "INGAMEITEM" CatalogChangeInfoItemTypeINGAMEITEM string = "INGAMEITEM" // CatalogChangeInfoItemTypeMEDIA captures enum value "MEDIA" CatalogChangeInfoItemTypeMEDIA string = "MEDIA" // CatalogChangeInfoItemTypeSEASON captures enum value "SEASON" CatalogChangeInfoItemTypeSEASON string = "SEASON" // CatalogChangeInfoItemTypeSUBSCRIPTION captures enum value "SUBSCRIPTION" CatalogChangeInfoItemTypeSUBSCRIPTION string = "SUBSCRIPTION" )
const ( // CatalogChangeInfoStatusPUBLISHED captures enum value "PUBLISHED" CatalogChangeInfoStatusPUBLISHED string = "PUBLISHED" // CatalogChangeInfoStatusUNPUBLISHED captures enum value "UNPUBLISHED" CatalogChangeInfoStatusUNPUBLISHED string = "UNPUBLISHED" )
const ( // CatalogChangeInfoTypeCATEGORY captures enum value "CATEGORY" CatalogChangeInfoTypeCATEGORY string = "CATEGORY" // CatalogChangeInfoTypeITEM captures enum value "ITEM" CatalogChangeInfoTypeITEM string = "ITEM" // CatalogChangeInfoTypeSTORE captures enum value "STORE" CatalogChangeInfoTypeSTORE string = "STORE" )
const ( // CodeInfoStatusACTIVE captures enum value "ACTIVE" CodeInfoStatusACTIVE string = "ACTIVE" // CodeInfoStatusINACTIVE captures enum value "INACTIVE" CodeInfoStatusINACTIVE string = "INACTIVE" )
const ( // CreditRequestOriginEpic captures enum value "Epic" CreditRequestOriginEpic string = "Epic" // CreditRequestOriginGooglePlay captures enum value "GooglePlay" CreditRequestOriginGooglePlay string = "GooglePlay" // CreditRequestOriginIOS captures enum value "IOS" CreditRequestOriginIOS string = "IOS" // CreditRequestOriginNintendo captures enum value "Nintendo" CreditRequestOriginNintendo string = "Nintendo" // CreditRequestOriginOther captures enum value "Other" CreditRequestOriginOther string = "Other" // CreditRequestOriginPlaystation captures enum value "Playstation" CreditRequestOriginPlaystation string = "Playstation" // CreditRequestOriginStadia captures enum value "Stadia" CreditRequestOriginStadia string = "Stadia" // CreditRequestOriginSteam captures enum value "Steam" CreditRequestOriginSteam string = "Steam" // CreditRequestOriginSystem captures enum value "System" CreditRequestOriginSystem string = "System" // CreditRequestOriginTwitch captures enum value "Twitch" CreditRequestOriginTwitch string = "Twitch" // CreditRequestOriginXbox captures enum value "Xbox" CreditRequestOriginXbox string = "Xbox" )
const ( // CreditRequestSourceACHIEVEMENT captures enum value "ACHIEVEMENT" CreditRequestSourceACHIEVEMENT string = "ACHIEVEMENT" // CreditRequestSourceDLC captures enum value "DLC" CreditRequestSourceDLC string = "DLC" // CreditRequestSourceGIFT captures enum value "GIFT" CreditRequestSourceGIFT string = "GIFT" // CreditRequestSourceIAP captures enum value "IAP" CreditRequestSourceIAP string = "IAP" // CreditRequestSourceOTHER captures enum value "OTHER" CreditRequestSourceOTHER string = "OTHER" // CreditRequestSourcePROMOTION captures enum value "PROMOTION" CreditRequestSourcePROMOTION string = "PROMOTION" // CreditRequestSourcePURCHASE captures enum value "PURCHASE" CreditRequestSourcePURCHASE string = "PURCHASE" // CreditRequestSourceREDEEMCODE captures enum value "REDEEM_CODE" CreditRequestSourceREDEEMCODE string = "REDEEM_CODE" // CreditRequestSourceREFERRALBONUS captures enum value "REFERRAL_BONUS" CreditRequestSourceREFERRALBONUS string = "REFERRAL_BONUS" // CreditRequestSourceREFUND captures enum value "REFUND" CreditRequestSourceREFUND string = "REFUND" // CreditRequestSourceREWARD captures enum value "REWARD" CreditRequestSourceREWARD string = "REWARD" )
const ( // CurrencyCreateCurrencyTypeREAL captures enum value "REAL" CurrencyCreateCurrencyTypeREAL string = "REAL" // CurrencyCreateCurrencyTypeVIRTUAL captures enum value "VIRTUAL" CurrencyCreateCurrencyTypeVIRTUAL string = "VIRTUAL" )
const ( // CurrencyInfoCurrencyTypeREAL captures enum value "REAL" CurrencyInfoCurrencyTypeREAL string = "REAL" // CurrencyInfoCurrencyTypeVIRTUAL captures enum value "VIRTUAL" CurrencyInfoCurrencyTypeVIRTUAL string = "VIRTUAL" )
const ( // CurrencySummaryCurrencyTypeREAL captures enum value "REAL" CurrencySummaryCurrencyTypeREAL string = "REAL" // CurrencySummaryCurrencyTypeVIRTUAL captures enum value "VIRTUAL" CurrencySummaryCurrencyTypeVIRTUAL string = "VIRTUAL" )
const ( // DetailedWalletTransactionInfoWalletActionCREDIT captures enum value "CREDIT" DetailedWalletTransactionInfoWalletActionCREDIT string = "CREDIT" // DetailedWalletTransactionInfoWalletActionDEBIT captures enum value "DEBIT" DetailedWalletTransactionInfoWalletActionDEBIT string = "DEBIT" // DetailedWalletTransactionInfoWalletActionPAYMENT captures enum value "PAYMENT" DetailedWalletTransactionInfoWalletActionPAYMENT string = "PAYMENT" )
const ( // EntitlementGrantSourceACHIEVEMENT captures enum value "ACHIEVEMENT" EntitlementGrantSourceACHIEVEMENT string = "ACHIEVEMENT" // EntitlementGrantSourceGIFT captures enum value "GIFT" EntitlementGrantSourceGIFT string = "GIFT" // EntitlementGrantSourceIAP captures enum value "IAP" EntitlementGrantSourceIAP string = "IAP" // EntitlementGrantSourceOTHER captures enum value "OTHER" EntitlementGrantSourceOTHER string = "OTHER" // EntitlementGrantSourcePROMOTION captures enum value "PROMOTION" EntitlementGrantSourcePROMOTION string = "PROMOTION" // EntitlementGrantSourcePURCHASE captures enum value "PURCHASE" EntitlementGrantSourcePURCHASE string = "PURCHASE" // EntitlementGrantSourceREDEEMCODE captures enum value "REDEEM_CODE" EntitlementGrantSourceREDEEMCODE string = "REDEEM_CODE" // EntitlementGrantSourceREFERRALBONUS captures enum value "REFERRAL_BONUS" EntitlementGrantSourceREFERRALBONUS string = "REFERRAL_BONUS" // EntitlementGrantSourceREWARD captures enum value "REWARD" EntitlementGrantSourceREWARD string = "REWARD" )
const ( // EntitlementHistoryInfoActionDECREMENT captures enum value "DECREMENT" EntitlementHistoryInfoActionDECREMENT string = "DECREMENT" // EntitlementHistoryInfoActionDISABLE captures enum value "DISABLE" EntitlementHistoryInfoActionDISABLE string = "DISABLE" // EntitlementHistoryInfoActionENABLE captures enum value "ENABLE" EntitlementHistoryInfoActionENABLE string = "ENABLE" // EntitlementHistoryInfoActionGRANT captures enum value "GRANT" EntitlementHistoryInfoActionGRANT string = "GRANT" // EntitlementHistoryInfoActionREVOKE captures enum value "REVOKE" EntitlementHistoryInfoActionREVOKE string = "REVOKE" // EntitlementHistoryInfoActionUPDATE captures enum value "UPDATE" EntitlementHistoryInfoActionUPDATE string = "UPDATE" )
const ( // EntitlementInfoAppTypeDEMO captures enum value "DEMO" EntitlementInfoAppTypeDEMO string = "DEMO" // EntitlementInfoAppTypeDLC captures enum value "DLC" EntitlementInfoAppTypeDLC string = "DLC" // EntitlementInfoAppTypeGAME captures enum value "GAME" EntitlementInfoAppTypeGAME string = "GAME" // EntitlementInfoAppTypeSOFTWARE captures enum value "SOFTWARE" EntitlementInfoAppTypeSOFTWARE string = "SOFTWARE" )
const ( // EntitlementInfoClazzAPP captures enum value "APP" EntitlementInfoClazzAPP string = "APP" // EntitlementInfoClazzCODE captures enum value "CODE" EntitlementInfoClazzCODE string = "CODE" // EntitlementInfoClazzENTITLEMENT captures enum value "ENTITLEMENT" EntitlementInfoClazzENTITLEMENT string = "ENTITLEMENT" // EntitlementInfoClazzMEDIA captures enum value "MEDIA" EntitlementInfoClazzMEDIA string = "MEDIA" // EntitlementInfoClazzSUBSCRIPTION captures enum value "SUBSCRIPTION" EntitlementInfoClazzSUBSCRIPTION string = "SUBSCRIPTION" )
const ( // EntitlementInfoSourceACHIEVEMENT captures enum value "ACHIEVEMENT" EntitlementInfoSourceACHIEVEMENT string = "ACHIEVEMENT" // EntitlementInfoSourceGIFT captures enum value "GIFT" EntitlementInfoSourceGIFT string = "GIFT" // EntitlementInfoSourceIAP captures enum value "IAP" EntitlementInfoSourceIAP string = "IAP" // EntitlementInfoSourceOTHER captures enum value "OTHER" EntitlementInfoSourceOTHER string = "OTHER" // EntitlementInfoSourcePROMOTION captures enum value "PROMOTION" EntitlementInfoSourcePROMOTION string = "PROMOTION" // EntitlementInfoSourcePURCHASE captures enum value "PURCHASE" EntitlementInfoSourcePURCHASE string = "PURCHASE" // EntitlementInfoSourceREDEEMCODE captures enum value "REDEEM_CODE" EntitlementInfoSourceREDEEMCODE string = "REDEEM_CODE" // EntitlementInfoSourceREFERRALBONUS captures enum value "REFERRAL_BONUS" EntitlementInfoSourceREFERRALBONUS string = "REFERRAL_BONUS" // EntitlementInfoSourceREWARD captures enum value "REWARD" EntitlementInfoSourceREWARD string = "REWARD" )
const ( // EntitlementInfoStatusACTIVE captures enum value "ACTIVE" EntitlementInfoStatusACTIVE string = "ACTIVE" // EntitlementInfoStatusCONSUMED captures enum value "CONSUMED" EntitlementInfoStatusCONSUMED string = "CONSUMED" // EntitlementInfoStatusINACTIVE captures enum value "INACTIVE" EntitlementInfoStatusINACTIVE string = "INACTIVE" // EntitlementInfoStatusREVOKED captures enum value "REVOKED" EntitlementInfoStatusREVOKED string = "REVOKED" )
const ( // EntitlementInfoTypeCONSUMABLE captures enum value "CONSUMABLE" EntitlementInfoTypeCONSUMABLE string = "CONSUMABLE" // EntitlementInfoTypeDURABLE captures enum value "DURABLE" EntitlementInfoTypeDURABLE string = "DURABLE" )
const ( // EntitlementSummaryClazzAPP captures enum value "APP" EntitlementSummaryClazzAPP string = "APP" // EntitlementSummaryClazzCODE captures enum value "CODE" EntitlementSummaryClazzCODE string = "CODE" // EntitlementSummaryClazzENTITLEMENT captures enum value "ENTITLEMENT" EntitlementSummaryClazzENTITLEMENT string = "ENTITLEMENT" // EntitlementSummaryClazzMEDIA captures enum value "MEDIA" EntitlementSummaryClazzMEDIA string = "MEDIA" // EntitlementSummaryClazzSUBSCRIPTION captures enum value "SUBSCRIPTION" EntitlementSummaryClazzSUBSCRIPTION string = "SUBSCRIPTION" )
const ( // EntitlementSummaryTypeCONSUMABLE captures enum value "CONSUMABLE" EntitlementSummaryTypeCONSUMABLE string = "CONSUMABLE" // EntitlementSummaryTypeDURABLE captures enum value "DURABLE" EntitlementSummaryTypeDURABLE string = "DURABLE" )
const ( // EntitlementUpdateStatusACTIVE captures enum value "ACTIVE" EntitlementUpdateStatusACTIVE string = "ACTIVE" // EntitlementUpdateStatusCONSUMED captures enum value "CONSUMED" EntitlementUpdateStatusCONSUMED string = "CONSUMED" // EntitlementUpdateStatusINACTIVE captures enum value "INACTIVE" EntitlementUpdateStatusINACTIVE string = "INACTIVE" // EntitlementUpdateStatusREVOKED captures enum value "REVOKED" EntitlementUpdateStatusREVOKED string = "REVOKED" )
const ( // EpicGamesReconcileResultStatusFAILED captures enum value "FAILED" EpicGamesReconcileResultStatusFAILED string = "FAILED" // EpicGamesReconcileResultStatusFULFILLED captures enum value "FULFILLED" EpicGamesReconcileResultStatusFULFILLED string = "FULFILLED" // EpicGamesReconcileResultStatusVERIFIED captures enum value "VERIFIED" EpicGamesReconcileResultStatusVERIFIED string = "VERIFIED" )
const ( // ExternalPaymentOrderCreateItemTypeAPP captures enum value "APP" ExternalPaymentOrderCreateItemTypeAPP string = "APP" // ExternalPaymentOrderCreateItemTypeBUNDLE captures enum value "BUNDLE" ExternalPaymentOrderCreateItemTypeBUNDLE string = "BUNDLE" // ExternalPaymentOrderCreateItemTypeCODE captures enum value "CODE" ExternalPaymentOrderCreateItemTypeCODE string = "CODE" // ExternalPaymentOrderCreateItemTypeCOINS captures enum value "COINS" ExternalPaymentOrderCreateItemTypeCOINS string = "COINS" // ExternalPaymentOrderCreateItemTypeINGAMEITEM captures enum value "INGAMEITEM" ExternalPaymentOrderCreateItemTypeINGAMEITEM string = "INGAMEITEM" // ExternalPaymentOrderCreateItemTypeMEDIA captures enum value "MEDIA" ExternalPaymentOrderCreateItemTypeMEDIA string = "MEDIA" // ExternalPaymentOrderCreateItemTypeSEASON captures enum value "SEASON" ExternalPaymentOrderCreateItemTypeSEASON string = "SEASON" // ExternalPaymentOrderCreateItemTypeSUBSCRIPTION captures enum value "SUBSCRIPTION" ExternalPaymentOrderCreateItemTypeSUBSCRIPTION string = "SUBSCRIPTION" )
const ( // FulfillmentHistoryInfoStatusFAIL captures enum value "FAIL" FulfillmentHistoryInfoStatusFAIL string = "FAIL" // FulfillmentHistoryInfoStatusSUCCESS captures enum value "SUCCESS" FulfillmentHistoryInfoStatusSUCCESS string = "SUCCESS" )
const ( // FulfillmentItemItemTypeAPP captures enum value "APP" FulfillmentItemItemTypeAPP string = "APP" // FulfillmentItemItemTypeBUNDLE captures enum value "BUNDLE" FulfillmentItemItemTypeBUNDLE string = "BUNDLE" // FulfillmentItemItemTypeCODE captures enum value "CODE" FulfillmentItemItemTypeCODE string = "CODE" // FulfillmentItemItemTypeCOINS captures enum value "COINS" FulfillmentItemItemTypeCOINS string = "COINS" // FulfillmentItemItemTypeINGAMEITEM captures enum value "INGAMEITEM" FulfillmentItemItemTypeINGAMEITEM string = "INGAMEITEM" // FulfillmentItemItemTypeMEDIA captures enum value "MEDIA" FulfillmentItemItemTypeMEDIA string = "MEDIA" // FulfillmentItemItemTypeSEASON captures enum value "SEASON" FulfillmentItemItemTypeSEASON string = "SEASON" // FulfillmentItemItemTypeSUBSCRIPTION captures enum value "SUBSCRIPTION" FulfillmentItemItemTypeSUBSCRIPTION string = "SUBSCRIPTION" )
const ( // FulfillmentRequestOriginEpic captures enum value "Epic" FulfillmentRequestOriginEpic string = "Epic" // FulfillmentRequestOriginGooglePlay captures enum value "GooglePlay" FulfillmentRequestOriginGooglePlay string = "GooglePlay" // FulfillmentRequestOriginIOS captures enum value "IOS" FulfillmentRequestOriginIOS string = "IOS" // FulfillmentRequestOriginNintendo captures enum value "Nintendo" FulfillmentRequestOriginNintendo string = "Nintendo" // FulfillmentRequestOriginOther captures enum value "Other" FulfillmentRequestOriginOther string = "Other" // FulfillmentRequestOriginPlaystation captures enum value "Playstation" FulfillmentRequestOriginPlaystation string = "Playstation" // FulfillmentRequestOriginStadia captures enum value "Stadia" FulfillmentRequestOriginStadia string = "Stadia" // FulfillmentRequestOriginSteam captures enum value "Steam" FulfillmentRequestOriginSteam string = "Steam" // FulfillmentRequestOriginSystem captures enum value "System" FulfillmentRequestOriginSystem string = "System" // FulfillmentRequestOriginTwitch captures enum value "Twitch" FulfillmentRequestOriginTwitch string = "Twitch" // FulfillmentRequestOriginXbox captures enum value "Xbox" FulfillmentRequestOriginXbox string = "Xbox" )
const ( // FulfillmentRequestSourceACHIEVEMENT captures enum value "ACHIEVEMENT" FulfillmentRequestSourceACHIEVEMENT string = "ACHIEVEMENT" // FulfillmentRequestSourceDLC captures enum value "DLC" FulfillmentRequestSourceDLC string = "DLC" // FulfillmentRequestSourceGIFT captures enum value "GIFT" FulfillmentRequestSourceGIFT string = "GIFT" // FulfillmentRequestSourceIAP captures enum value "IAP" FulfillmentRequestSourceIAP string = "IAP" // FulfillmentRequestSourceOTHER captures enum value "OTHER" FulfillmentRequestSourceOTHER string = "OTHER" // FulfillmentRequestSourcePROMOTION captures enum value "PROMOTION" FulfillmentRequestSourcePROMOTION string = "PROMOTION" // FulfillmentRequestSourcePURCHASE captures enum value "PURCHASE" FulfillmentRequestSourcePURCHASE string = "PURCHASE" // FulfillmentRequestSourceREDEEMCODE captures enum value "REDEEM_CODE" FulfillmentRequestSourceREDEEMCODE string = "REDEEM_CODE" // FulfillmentRequestSourceREFERRALBONUS captures enum value "REFERRAL_BONUS" FulfillmentRequestSourceREFERRALBONUS string = "REFERRAL_BONUS" // FulfillmentRequestSourceREWARD captures enum value "REWARD" FulfillmentRequestSourceREWARD string = "REWARD" )
const ( // FulfillmentScriptContextSourceACHIEVEMENT captures enum value "ACHIEVEMENT" FulfillmentScriptContextSourceACHIEVEMENT string = "ACHIEVEMENT" // FulfillmentScriptContextSourceDLC captures enum value "DLC" FulfillmentScriptContextSourceDLC string = "DLC" // FulfillmentScriptContextSourceGIFT captures enum value "GIFT" FulfillmentScriptContextSourceGIFT string = "GIFT" // FulfillmentScriptContextSourceIAP captures enum value "IAP" FulfillmentScriptContextSourceIAP string = "IAP" // FulfillmentScriptContextSourceOTHER captures enum value "OTHER" FulfillmentScriptContextSourceOTHER string = "OTHER" // FulfillmentScriptContextSourcePROMOTION captures enum value "PROMOTION" FulfillmentScriptContextSourcePROMOTION string = "PROMOTION" // FulfillmentScriptContextSourcePURCHASE captures enum value "PURCHASE" FulfillmentScriptContextSourcePURCHASE string = "PURCHASE" // FulfillmentScriptContextSourceREDEEMCODE captures enum value "REDEEM_CODE" FulfillmentScriptContextSourceREDEEMCODE string = "REDEEM_CODE" // FulfillmentScriptContextSourceREFERRALBONUS captures enum value "REFERRAL_BONUS" FulfillmentScriptContextSourceREFERRALBONUS string = "REFERRAL_BONUS" // FulfillmentScriptContextSourceREWARD captures enum value "REWARD" FulfillmentScriptContextSourceREWARD string = "REWARD" )
const ( // FullAppInfoPrimaryGenreAction captures enum value "Action" FullAppInfoPrimaryGenreAction string = "Action" // FullAppInfoPrimaryGenreAdventure captures enum value "Adventure" FullAppInfoPrimaryGenreAdventure string = "Adventure" // FullAppInfoPrimaryGenreCasual captures enum value "Casual" FullAppInfoPrimaryGenreCasual string = "Casual" // FullAppInfoPrimaryGenreFreeToPlay captures enum value "FreeToPlay" FullAppInfoPrimaryGenreFreeToPlay string = "FreeToPlay" // FullAppInfoPrimaryGenreIndie captures enum value "Indie" FullAppInfoPrimaryGenreIndie string = "Indie" // FullAppInfoPrimaryGenreMassivelyMultiplayer captures enum value "MassivelyMultiplayer" FullAppInfoPrimaryGenreMassivelyMultiplayer string = "MassivelyMultiplayer" // FullAppInfoPrimaryGenreRPG captures enum value "RPG" FullAppInfoPrimaryGenreRPG string = "RPG" // FullAppInfoPrimaryGenreRacing captures enum value "Racing" FullAppInfoPrimaryGenreRacing string = "Racing" // FullAppInfoPrimaryGenreSimulation captures enum value "Simulation" FullAppInfoPrimaryGenreSimulation string = "Simulation" // FullAppInfoPrimaryGenreSports captures enum value "Sports" FullAppInfoPrimaryGenreSports string = "Sports" // FullAppInfoPrimaryGenreStrategy captures enum value "Strategy" FullAppInfoPrimaryGenreStrategy string = "Strategy" )
const ( // FullItemInfoAppTypeDEMO captures enum value "DEMO" FullItemInfoAppTypeDEMO string = "DEMO" // FullItemInfoAppTypeDLC captures enum value "DLC" FullItemInfoAppTypeDLC string = "DLC" // FullItemInfoAppTypeGAME captures enum value "GAME" FullItemInfoAppTypeGAME string = "GAME" // FullItemInfoAppTypeSOFTWARE captures enum value "SOFTWARE" FullItemInfoAppTypeSOFTWARE string = "SOFTWARE" )
const ( // FullItemInfoEntitlementTypeCONSUMABLE captures enum value "CONSUMABLE" FullItemInfoEntitlementTypeCONSUMABLE string = "CONSUMABLE" // FullItemInfoEntitlementTypeDURABLE captures enum value "DURABLE" FullItemInfoEntitlementTypeDURABLE string = "DURABLE" )
const ( // FullItemInfoItemTypeAPP captures enum value "APP" FullItemInfoItemTypeAPP string = "APP" // FullItemInfoItemTypeBUNDLE captures enum value "BUNDLE" FullItemInfoItemTypeBUNDLE string = "BUNDLE" // FullItemInfoItemTypeCODE captures enum value "CODE" FullItemInfoItemTypeCODE string = "CODE" // FullItemInfoItemTypeCOINS captures enum value "COINS" FullItemInfoItemTypeCOINS string = "COINS" // FullItemInfoItemTypeINGAMEITEM captures enum value "INGAMEITEM" FullItemInfoItemTypeINGAMEITEM string = "INGAMEITEM" // FullItemInfoItemTypeMEDIA captures enum value "MEDIA" FullItemInfoItemTypeMEDIA string = "MEDIA" // FullItemInfoItemTypeSEASON captures enum value "SEASON" FullItemInfoItemTypeSEASON string = "SEASON" // FullItemInfoItemTypeSUBSCRIPTION captures enum value "SUBSCRIPTION" FullItemInfoItemTypeSUBSCRIPTION string = "SUBSCRIPTION" )
const ( // FullItemInfoSeasonTypePASS captures enum value "PASS" FullItemInfoSeasonTypePASS string = "PASS" // FullItemInfoSeasonTypeTIER captures enum value "TIER" FullItemInfoSeasonTypeTIER string = "TIER" )
const ( // FullItemInfoStatusACTIVE captures enum value "ACTIVE" FullItemInfoStatusACTIVE string = "ACTIVE" // FullItemInfoStatusINACTIVE captures enum value "INACTIVE" FullItemInfoStatusINACTIVE string = "INACTIVE" )
const ( // IAPItemEntryItemIdentityTypeITEMID captures enum value "ITEM_ID" IAPItemEntryItemIdentityTypeITEMID string = "ITEM_ID" // IAPItemEntryItemIdentityTypeITEMSKU captures enum value "ITEM_SKU" IAPItemEntryItemIdentityTypeITEMSKU string = "ITEM_SKU" )
const ( // IAPOrderInfoStatusFAILED captures enum value "FAILED" IAPOrderInfoStatusFAILED string = "FAILED" // IAPOrderInfoStatusFULFILLED captures enum value "FULFILLED" IAPOrderInfoStatusFULFILLED string = "FULFILLED" // IAPOrderInfoStatusVERIFIED captures enum value "VERIFIED" IAPOrderInfoStatusVERIFIED string = "VERIFIED" )
const ( // IAPOrderInfoTypeAPPLE captures enum value "APPLE" IAPOrderInfoTypeAPPLE string = "APPLE" // IAPOrderInfoTypeEPICGAMES captures enum value "EPICGAMES" IAPOrderInfoTypeEPICGAMES string = "EPICGAMES" // IAPOrderInfoTypeGOOGLE captures enum value "GOOGLE" IAPOrderInfoTypeGOOGLE string = "GOOGLE" // IAPOrderInfoTypePLAYSTATION captures enum value "PLAYSTATION" IAPOrderInfoTypePLAYSTATION string = "PLAYSTATION" // IAPOrderInfoTypeSTADIA captures enum value "STADIA" IAPOrderInfoTypeSTADIA string = "STADIA" // IAPOrderInfoTypeSTEAM captures enum value "STEAM" IAPOrderInfoTypeSTEAM string = "STEAM" // IAPOrderInfoTypeTWITCH captures enum value "TWITCH" IAPOrderInfoTypeTWITCH string = "TWITCH" // IAPOrderInfoTypeXBOX captures enum value "XBOX" IAPOrderInfoTypeXBOX string = "XBOX" )
const ( // ItemCreateAppTypeDEMO captures enum value "DEMO" ItemCreateAppTypeDEMO string = "DEMO" // ItemCreateAppTypeDLC captures enum value "DLC" ItemCreateAppTypeDLC string = "DLC" // ItemCreateAppTypeGAME captures enum value "GAME" ItemCreateAppTypeGAME string = "GAME" // ItemCreateAppTypeSOFTWARE captures enum value "SOFTWARE" ItemCreateAppTypeSOFTWARE string = "SOFTWARE" )
const ( // ItemCreateEntitlementTypeCONSUMABLE captures enum value "CONSUMABLE" ItemCreateEntitlementTypeCONSUMABLE string = "CONSUMABLE" // ItemCreateEntitlementTypeDURABLE captures enum value "DURABLE" ItemCreateEntitlementTypeDURABLE string = "DURABLE" )
const ( // ItemCreateItemTypeAPP captures enum value "APP" ItemCreateItemTypeAPP string = "APP" // ItemCreateItemTypeBUNDLE captures enum value "BUNDLE" ItemCreateItemTypeBUNDLE string = "BUNDLE" // ItemCreateItemTypeCODE captures enum value "CODE" ItemCreateItemTypeCODE string = "CODE" // ItemCreateItemTypeCOINS captures enum value "COINS" ItemCreateItemTypeCOINS string = "COINS" // ItemCreateItemTypeINGAMEITEM captures enum value "INGAMEITEM" ItemCreateItemTypeINGAMEITEM string = "INGAMEITEM" // ItemCreateItemTypeMEDIA captures enum value "MEDIA" ItemCreateItemTypeMEDIA string = "MEDIA" // ItemCreateItemTypeSEASON captures enum value "SEASON" ItemCreateItemTypeSEASON string = "SEASON" // ItemCreateItemTypeSUBSCRIPTION captures enum value "SUBSCRIPTION" ItemCreateItemTypeSUBSCRIPTION string = "SUBSCRIPTION" )
const ( // ItemCreateSeasonTypePASS captures enum value "PASS" ItemCreateSeasonTypePASS string = "PASS" // ItemCreateSeasonTypeTIER captures enum value "TIER" ItemCreateSeasonTypeTIER string = "TIER" )
const ( // ItemCreateStatusACTIVE captures enum value "ACTIVE" ItemCreateStatusACTIVE string = "ACTIVE" // ItemCreateStatusINACTIVE captures enum value "INACTIVE" ItemCreateStatusINACTIVE string = "INACTIVE" )
const ( // ItemInfoAppTypeDEMO captures enum value "DEMO" ItemInfoAppTypeDEMO string = "DEMO" // ItemInfoAppTypeDLC captures enum value "DLC" ItemInfoAppTypeDLC string = "DLC" // ItemInfoAppTypeGAME captures enum value "GAME" ItemInfoAppTypeGAME string = "GAME" // ItemInfoAppTypeSOFTWARE captures enum value "SOFTWARE" ItemInfoAppTypeSOFTWARE string = "SOFTWARE" )
const ( // ItemInfoEntitlementTypeCONSUMABLE captures enum value "CONSUMABLE" ItemInfoEntitlementTypeCONSUMABLE string = "CONSUMABLE" // ItemInfoEntitlementTypeDURABLE captures enum value "DURABLE" ItemInfoEntitlementTypeDURABLE string = "DURABLE" )
const ( // ItemInfoItemTypeAPP captures enum value "APP" ItemInfoItemTypeAPP string = "APP" // ItemInfoItemTypeBUNDLE captures enum value "BUNDLE" ItemInfoItemTypeBUNDLE string = "BUNDLE" // ItemInfoItemTypeCODE captures enum value "CODE" ItemInfoItemTypeCODE string = "CODE" // ItemInfoItemTypeCOINS captures enum value "COINS" ItemInfoItemTypeCOINS string = "COINS" // ItemInfoItemTypeINGAMEITEM captures enum value "INGAMEITEM" ItemInfoItemTypeINGAMEITEM string = "INGAMEITEM" // ItemInfoItemTypeMEDIA captures enum value "MEDIA" ItemInfoItemTypeMEDIA string = "MEDIA" // ItemInfoItemTypeSEASON captures enum value "SEASON" ItemInfoItemTypeSEASON string = "SEASON" // ItemInfoItemTypeSUBSCRIPTION captures enum value "SUBSCRIPTION" ItemInfoItemTypeSUBSCRIPTION string = "SUBSCRIPTION" )
const ( // ItemInfoSeasonTypePASS captures enum value "PASS" ItemInfoSeasonTypePASS string = "PASS" // ItemInfoSeasonTypeTIER captures enum value "TIER" ItemInfoSeasonTypeTIER string = "TIER" )
const ( // ItemInfoStatusACTIVE captures enum value "ACTIVE" ItemInfoStatusACTIVE string = "ACTIVE" // ItemInfoStatusINACTIVE captures enum value "INACTIVE" ItemInfoStatusINACTIVE string = "INACTIVE" )
const ( // ItemSnapshotAppTypeDEMO captures enum value "DEMO" ItemSnapshotAppTypeDEMO string = "DEMO" // ItemSnapshotAppTypeDLC captures enum value "DLC" ItemSnapshotAppTypeDLC string = "DLC" // ItemSnapshotAppTypeGAME captures enum value "GAME" ItemSnapshotAppTypeGAME string = "GAME" // ItemSnapshotAppTypeSOFTWARE captures enum value "SOFTWARE" ItemSnapshotAppTypeSOFTWARE string = "SOFTWARE" )
const ( // ItemSnapshotEntitlementTypeCONSUMABLE captures enum value "CONSUMABLE" ItemSnapshotEntitlementTypeCONSUMABLE string = "CONSUMABLE" // ItemSnapshotEntitlementTypeDURABLE captures enum value "DURABLE" ItemSnapshotEntitlementTypeDURABLE string = "DURABLE" )
const ( // ItemSnapshotItemTypeAPP captures enum value "APP" ItemSnapshotItemTypeAPP string = "APP" // ItemSnapshotItemTypeBUNDLE captures enum value "BUNDLE" ItemSnapshotItemTypeBUNDLE string = "BUNDLE" // ItemSnapshotItemTypeCODE captures enum value "CODE" ItemSnapshotItemTypeCODE string = "CODE" // ItemSnapshotItemTypeCOINS captures enum value "COINS" ItemSnapshotItemTypeCOINS string = "COINS" // ItemSnapshotItemTypeINGAMEITEM captures enum value "INGAMEITEM" ItemSnapshotItemTypeINGAMEITEM string = "INGAMEITEM" // ItemSnapshotItemTypeMEDIA captures enum value "MEDIA" ItemSnapshotItemTypeMEDIA string = "MEDIA" // ItemSnapshotItemTypeSEASON captures enum value "SEASON" ItemSnapshotItemTypeSEASON string = "SEASON" // ItemSnapshotItemTypeSUBSCRIPTION captures enum value "SUBSCRIPTION" ItemSnapshotItemTypeSUBSCRIPTION string = "SUBSCRIPTION" )
const ( // ItemSnapshotSeasonTypePASS captures enum value "PASS" ItemSnapshotSeasonTypePASS string = "PASS" // ItemSnapshotSeasonTypeTIER captures enum value "TIER" ItemSnapshotSeasonTypeTIER string = "TIER" )
const ( // ItemUpdateAppTypeDEMO captures enum value "DEMO" ItemUpdateAppTypeDEMO string = "DEMO" // ItemUpdateAppTypeDLC captures enum value "DLC" ItemUpdateAppTypeDLC string = "DLC" // ItemUpdateAppTypeGAME captures enum value "GAME" ItemUpdateAppTypeGAME string = "GAME" // ItemUpdateAppTypeSOFTWARE captures enum value "SOFTWARE" ItemUpdateAppTypeSOFTWARE string = "SOFTWARE" )
const ( // ItemUpdateEntitlementTypeCONSUMABLE captures enum value "CONSUMABLE" ItemUpdateEntitlementTypeCONSUMABLE string = "CONSUMABLE" // ItemUpdateEntitlementTypeDURABLE captures enum value "DURABLE" ItemUpdateEntitlementTypeDURABLE string = "DURABLE" )
const ( // ItemUpdateItemTypeAPP captures enum value "APP" ItemUpdateItemTypeAPP string = "APP" // ItemUpdateItemTypeBUNDLE captures enum value "BUNDLE" ItemUpdateItemTypeBUNDLE string = "BUNDLE" // ItemUpdateItemTypeCODE captures enum value "CODE" ItemUpdateItemTypeCODE string = "CODE" // ItemUpdateItemTypeCOINS captures enum value "COINS" ItemUpdateItemTypeCOINS string = "COINS" // ItemUpdateItemTypeINGAMEITEM captures enum value "INGAMEITEM" ItemUpdateItemTypeINGAMEITEM string = "INGAMEITEM" // ItemUpdateItemTypeMEDIA captures enum value "MEDIA" ItemUpdateItemTypeMEDIA string = "MEDIA" // ItemUpdateItemTypeSEASON captures enum value "SEASON" ItemUpdateItemTypeSEASON string = "SEASON" // ItemUpdateItemTypeSUBSCRIPTION captures enum value "SUBSCRIPTION" ItemUpdateItemTypeSUBSCRIPTION string = "SUBSCRIPTION" )
const ( // ItemUpdateSeasonTypePASS captures enum value "PASS" ItemUpdateSeasonTypePASS string = "PASS" // ItemUpdateSeasonTypeTIER captures enum value "TIER" ItemUpdateSeasonTypeTIER string = "TIER" )
const ( // ItemUpdateStatusACTIVE captures enum value "ACTIVE" ItemUpdateStatusACTIVE string = "ACTIVE" // ItemUpdateStatusINACTIVE captures enum value "INACTIVE" ItemUpdateStatusINACTIVE string = "INACTIVE" )
const ( // KeyGroupCreateStatusACTIVE captures enum value "ACTIVE" KeyGroupCreateStatusACTIVE string = "ACTIVE" // KeyGroupCreateStatusINACTIVE captures enum value "INACTIVE" KeyGroupCreateStatusINACTIVE string = "INACTIVE" )
const ( // KeyGroupInfoStatusACTIVE captures enum value "ACTIVE" KeyGroupInfoStatusACTIVE string = "ACTIVE" // KeyGroupInfoStatusINACTIVE captures enum value "INACTIVE" KeyGroupInfoStatusINACTIVE string = "INACTIVE" )
const ( // KeyGroupUpdateStatusACTIVE captures enum value "ACTIVE" KeyGroupUpdateStatusACTIVE string = "ACTIVE" // KeyGroupUpdateStatusINACTIVE captures enum value "INACTIVE" KeyGroupUpdateStatusINACTIVE string = "INACTIVE" )
const ( // KeyInfoStatusACQUIRED captures enum value "ACQUIRED" KeyInfoStatusACQUIRED string = "ACQUIRED" // KeyInfoStatusACTIVE captures enum value "ACTIVE" KeyInfoStatusACTIVE string = "ACTIVE" )
const ( // MockIAPReceiptItemIdentityTypeITEMID captures enum value "ITEM_ID" MockIAPReceiptItemIdentityTypeITEMID string = "ITEM_ID" // MockIAPReceiptItemIdentityTypeITEMSKU captures enum value "ITEM_SKU" MockIAPReceiptItemIdentityTypeITEMSKU string = "ITEM_SKU" )
const ( // MockIAPReceiptTypeAPPLE captures enum value "APPLE" MockIAPReceiptTypeAPPLE string = "APPLE" // MockIAPReceiptTypeEPICGAMES captures enum value "EPICGAMES" MockIAPReceiptTypeEPICGAMES string = "EPICGAMES" // MockIAPReceiptTypeGOOGLE captures enum value "GOOGLE" MockIAPReceiptTypeGOOGLE string = "GOOGLE" // MockIAPReceiptTypePLAYSTATION captures enum value "PLAYSTATION" MockIAPReceiptTypePLAYSTATION string = "PLAYSTATION" // MockIAPReceiptTypeSTADIA captures enum value "STADIA" MockIAPReceiptTypeSTADIA string = "STADIA" // MockIAPReceiptTypeSTEAM captures enum value "STEAM" MockIAPReceiptTypeSTEAM string = "STEAM" // MockIAPReceiptTypeTWITCH captures enum value "TWITCH" MockIAPReceiptTypeTWITCH string = "TWITCH" // MockIAPReceiptTypeXBOX captures enum value "XBOX" MockIAPReceiptTypeXBOX string = "XBOX" )
const ( // NotificationProcessResultStatusERROR captures enum value "ERROR" NotificationProcessResultStatusERROR string = "ERROR" // NotificationProcessResultStatusIGNORED captures enum value "IGNORED" NotificationProcessResultStatusIGNORED string = "IGNORED" // NotificationProcessResultStatusPROCESSED captures enum value "PROCESSED" NotificationProcessResultStatusPROCESSED string = "PROCESSED" // NotificationProcessResultStatusWARN captures enum value "WARN" NotificationProcessResultStatusWARN string = "WARN" )
const ( // OrderPaymentProviderADYEN captures enum value "ADYEN" OrderPaymentProviderADYEN string = "ADYEN" // OrderPaymentProviderALIPAY captures enum value "ALIPAY" OrderPaymentProviderALIPAY string = "ALIPAY" // OrderPaymentProviderCHECKOUT captures enum value "CHECKOUT" OrderPaymentProviderCHECKOUT string = "CHECKOUT" // OrderPaymentProviderPAYPAL captures enum value "PAYPAL" OrderPaymentProviderPAYPAL string = "PAYPAL" // OrderPaymentProviderSTRIPE captures enum value "STRIPE" OrderPaymentProviderSTRIPE string = "STRIPE" // OrderPaymentProviderWALLET captures enum value "WALLET" OrderPaymentProviderWALLET string = "WALLET" // OrderPaymentProviderWXPAY captures enum value "WXPAY" OrderPaymentProviderWXPAY string = "WXPAY" // OrderPaymentProviderXSOLLA captures enum value "XSOLLA" OrderPaymentProviderXSOLLA string = "XSOLLA" )
const ( // OrderStatusCHARGEBACK captures enum value "CHARGEBACK" OrderStatusCHARGEBACK string = "CHARGEBACK" // OrderStatusCHARGEBACKREVERSED captures enum value "CHARGEBACK_REVERSED" OrderStatusCHARGEBACKREVERSED string = "CHARGEBACK_REVERSED" // OrderStatusCHARGED captures enum value "CHARGED" OrderStatusCHARGED string = "CHARGED" // OrderStatusCLOSED captures enum value "CLOSED" OrderStatusCLOSED string = "CLOSED" // OrderStatusDELETED captures enum value "DELETED" OrderStatusDELETED string = "DELETED" // OrderStatusFULFILLED captures enum value "FULFILLED" OrderStatusFULFILLED string = "FULFILLED" // OrderStatusFULFILLFAILED captures enum value "FULFILL_FAILED" OrderStatusFULFILLFAILED string = "FULFILL_FAILED" // OrderStatusINIT captures enum value "INIT" OrderStatusINIT string = "INIT" // OrderStatusREFUNDED captures enum value "REFUNDED" OrderStatusREFUNDED string = "REFUNDED" // OrderStatusREFUNDING captures enum value "REFUNDING" OrderStatusREFUNDING string = "REFUNDING" // OrderStatusREFUNDFAILED captures enum value "REFUND_FAILED" OrderStatusREFUNDFAILED string = "REFUND_FAILED" )
const ( // OrderHistoryInfoActionCHARGEBACK captures enum value "CHARGEBACK" OrderHistoryInfoActionCHARGEBACK string = "CHARGEBACK" // OrderHistoryInfoActionCHARGEBACKREVERSED captures enum value "CHARGEBACK_REVERSED" OrderHistoryInfoActionCHARGEBACKREVERSED string = "CHARGEBACK_REVERSED" // OrderHistoryInfoActionCHARGED captures enum value "CHARGED" OrderHistoryInfoActionCHARGED string = "CHARGED" // OrderHistoryInfoActionCLOSE captures enum value "CLOSE" OrderHistoryInfoActionCLOSE string = "CLOSE" // OrderHistoryInfoActionDELETED captures enum value "DELETED" OrderHistoryInfoActionDELETED string = "DELETED" // OrderHistoryInfoActionFULFILLED captures enum value "FULFILLED" OrderHistoryInfoActionFULFILLED string = "FULFILLED" // OrderHistoryInfoActionFULFILLFAILED captures enum value "FULFILL_FAILED" OrderHistoryInfoActionFULFILLFAILED string = "FULFILL_FAILED" // OrderHistoryInfoActionINIT captures enum value "INIT" OrderHistoryInfoActionINIT string = "INIT" // OrderHistoryInfoActionREFUNDED captures enum value "REFUNDED" OrderHistoryInfoActionREFUNDED string = "REFUNDED" // OrderHistoryInfoActionREFUNDING captures enum value "REFUNDING" OrderHistoryInfoActionREFUNDING string = "REFUNDING" // OrderHistoryInfoActionREFUNDFAILED captures enum value "REFUND_FAILED" OrderHistoryInfoActionREFUNDFAILED string = "REFUND_FAILED" // OrderHistoryInfoActionSETSTATUS captures enum value "SET_STATUS" OrderHistoryInfoActionSETSTATUS string = "SET_STATUS" )
const ( // OrderInfoPaymentProviderADYEN captures enum value "ADYEN" OrderInfoPaymentProviderADYEN string = "ADYEN" // OrderInfoPaymentProviderALIPAY captures enum value "ALIPAY" OrderInfoPaymentProviderALIPAY string = "ALIPAY" // OrderInfoPaymentProviderCHECKOUT captures enum value "CHECKOUT" OrderInfoPaymentProviderCHECKOUT string = "CHECKOUT" // OrderInfoPaymentProviderPAYPAL captures enum value "PAYPAL" OrderInfoPaymentProviderPAYPAL string = "PAYPAL" // OrderInfoPaymentProviderSTRIPE captures enum value "STRIPE" OrderInfoPaymentProviderSTRIPE string = "STRIPE" // OrderInfoPaymentProviderWALLET captures enum value "WALLET" OrderInfoPaymentProviderWALLET string = "WALLET" // OrderInfoPaymentProviderWXPAY captures enum value "WXPAY" OrderInfoPaymentProviderWXPAY string = "WXPAY" // OrderInfoPaymentProviderXSOLLA captures enum value "XSOLLA" OrderInfoPaymentProviderXSOLLA string = "XSOLLA" )
const ( // OrderInfoStatusCHARGEBACK captures enum value "CHARGEBACK" OrderInfoStatusCHARGEBACK string = "CHARGEBACK" // OrderInfoStatusCHARGEBACKREVERSED captures enum value "CHARGEBACK_REVERSED" OrderInfoStatusCHARGEBACKREVERSED string = "CHARGEBACK_REVERSED" // OrderInfoStatusCHARGED captures enum value "CHARGED" OrderInfoStatusCHARGED string = "CHARGED" // OrderInfoStatusCLOSED captures enum value "CLOSED" OrderInfoStatusCLOSED string = "CLOSED" // OrderInfoStatusDELETED captures enum value "DELETED" OrderInfoStatusDELETED string = "DELETED" // OrderInfoStatusFULFILLED captures enum value "FULFILLED" OrderInfoStatusFULFILLED string = "FULFILLED" // OrderInfoStatusFULFILLFAILED captures enum value "FULFILL_FAILED" OrderInfoStatusFULFILLFAILED string = "FULFILL_FAILED" // OrderInfoStatusINIT captures enum value "INIT" OrderInfoStatusINIT string = "INIT" // OrderInfoStatusREFUNDED captures enum value "REFUNDED" OrderInfoStatusREFUNDED string = "REFUNDED" // OrderInfoStatusREFUNDING captures enum value "REFUNDING" OrderInfoStatusREFUNDING string = "REFUNDING" // OrderInfoStatusREFUNDFAILED captures enum value "REFUND_FAILED" OrderInfoStatusREFUNDFAILED string = "REFUND_FAILED" )
const ( // OrderUpdateStatusCHARGEBACK captures enum value "CHARGEBACK" OrderUpdateStatusCHARGEBACK string = "CHARGEBACK" // OrderUpdateStatusCHARGEBACKREVERSED captures enum value "CHARGEBACK_REVERSED" OrderUpdateStatusCHARGEBACKREVERSED string = "CHARGEBACK_REVERSED" // OrderUpdateStatusCHARGED captures enum value "CHARGED" OrderUpdateStatusCHARGED string = "CHARGED" // OrderUpdateStatusCLOSED captures enum value "CLOSED" OrderUpdateStatusCLOSED string = "CLOSED" // OrderUpdateStatusDELETED captures enum value "DELETED" OrderUpdateStatusDELETED string = "DELETED" // OrderUpdateStatusFULFILLED captures enum value "FULFILLED" OrderUpdateStatusFULFILLED string = "FULFILLED" // OrderUpdateStatusFULFILLFAILED captures enum value "FULFILL_FAILED" OrderUpdateStatusFULFILLFAILED string = "FULFILL_FAILED" // OrderUpdateStatusINIT captures enum value "INIT" OrderUpdateStatusINIT string = "INIT" // OrderUpdateStatusREFUNDED captures enum value "REFUNDED" OrderUpdateStatusREFUNDED string = "REFUNDED" // OrderUpdateStatusREFUNDING captures enum value "REFUNDING" OrderUpdateStatusREFUNDING string = "REFUNDING" // OrderUpdateStatusREFUNDFAILED captures enum value "REFUND_FAILED" OrderUpdateStatusREFUNDFAILED string = "REFUND_FAILED" )
const ( // PaymentAccountTypeCard captures enum value "card" PaymentAccountTypeCard string = "card" // PaymentAccountTypePaypal captures enum value "paypal" PaymentAccountTypePaypal string = "paypal" )
const ( // PaymentMethodPaymentProviderADYEN captures enum value "ADYEN" PaymentMethodPaymentProviderADYEN string = "ADYEN" // PaymentMethodPaymentProviderALIPAY captures enum value "ALIPAY" PaymentMethodPaymentProviderALIPAY string = "ALIPAY" // PaymentMethodPaymentProviderCHECKOUT captures enum value "CHECKOUT" PaymentMethodPaymentProviderCHECKOUT string = "CHECKOUT" // PaymentMethodPaymentProviderPAYPAL captures enum value "PAYPAL" PaymentMethodPaymentProviderPAYPAL string = "PAYPAL" // PaymentMethodPaymentProviderSTRIPE captures enum value "STRIPE" PaymentMethodPaymentProviderSTRIPE string = "STRIPE" // PaymentMethodPaymentProviderWALLET captures enum value "WALLET" PaymentMethodPaymentProviderWALLET string = "WALLET" // PaymentMethodPaymentProviderWXPAY captures enum value "WXPAY" PaymentMethodPaymentProviderWXPAY string = "WXPAY" // PaymentMethodPaymentProviderXSOLLA captures enum value "XSOLLA" PaymentMethodPaymentProviderXSOLLA string = "XSOLLA" )
const ( // PaymentNotificationInfoNotificationSourceADYEN captures enum value "ADYEN" PaymentNotificationInfoNotificationSourceADYEN string = "ADYEN" // PaymentNotificationInfoNotificationSourceALIPAY captures enum value "ALIPAY" PaymentNotificationInfoNotificationSourceALIPAY string = "ALIPAY" // PaymentNotificationInfoNotificationSourceCHECKOUT captures enum value "CHECKOUT" PaymentNotificationInfoNotificationSourceCHECKOUT string = "CHECKOUT" // PaymentNotificationInfoNotificationSourcePAYPAL captures enum value "PAYPAL" PaymentNotificationInfoNotificationSourcePAYPAL string = "PAYPAL" // PaymentNotificationInfoNotificationSourceSTRIPE captures enum value "STRIPE" PaymentNotificationInfoNotificationSourceSTRIPE string = "STRIPE" // PaymentNotificationInfoNotificationSourceWALLET captures enum value "WALLET" PaymentNotificationInfoNotificationSourceWALLET string = "WALLET" // PaymentNotificationInfoNotificationSourceWXPAY captures enum value "WXPAY" PaymentNotificationInfoNotificationSourceWXPAY string = "WXPAY" // PaymentNotificationInfoNotificationSourceXSOLLA captures enum value "XSOLLA" PaymentNotificationInfoNotificationSourceXSOLLA string = "XSOLLA" )
const ( // PaymentNotificationInfoStatusERROR captures enum value "ERROR" PaymentNotificationInfoStatusERROR string = "ERROR" // PaymentNotificationInfoStatusIGNORED captures enum value "IGNORED" PaymentNotificationInfoStatusIGNORED string = "IGNORED" // PaymentNotificationInfoStatusPROCESSED captures enum value "PROCESSED" PaymentNotificationInfoStatusPROCESSED string = "PROCESSED" // PaymentNotificationInfoStatusWARN captures enum value "WARN" PaymentNotificationInfoStatusWARN string = "WARN" )
const ( // PaymentOrderChannelEXTERNAL captures enum value "EXTERNAL" PaymentOrderChannelEXTERNAL string = "EXTERNAL" // PaymentOrderChannelINTERNAL captures enum value "INTERNAL" PaymentOrderChannelINTERNAL string = "INTERNAL" )
const ( // PaymentOrderItemTypeAPP captures enum value "APP" PaymentOrderItemTypeAPP string = "APP" // PaymentOrderItemTypeBUNDLE captures enum value "BUNDLE" PaymentOrderItemTypeBUNDLE string = "BUNDLE" // PaymentOrderItemTypeCODE captures enum value "CODE" PaymentOrderItemTypeCODE string = "CODE" // PaymentOrderItemTypeCOINS captures enum value "COINS" PaymentOrderItemTypeCOINS string = "COINS" // PaymentOrderItemTypeINGAMEITEM captures enum value "INGAMEITEM" PaymentOrderItemTypeINGAMEITEM string = "INGAMEITEM" // PaymentOrderItemTypeMEDIA captures enum value "MEDIA" PaymentOrderItemTypeMEDIA string = "MEDIA" // PaymentOrderItemTypeSEASON captures enum value "SEASON" PaymentOrderItemTypeSEASON string = "SEASON" // PaymentOrderItemTypeSUBSCRIPTION captures enum value "SUBSCRIPTION" PaymentOrderItemTypeSUBSCRIPTION string = "SUBSCRIPTION" )
const ( // PaymentOrderPaymentProviderADYEN captures enum value "ADYEN" PaymentOrderPaymentProviderADYEN string = "ADYEN" // PaymentOrderPaymentProviderALIPAY captures enum value "ALIPAY" PaymentOrderPaymentProviderALIPAY string = "ALIPAY" // PaymentOrderPaymentProviderCHECKOUT captures enum value "CHECKOUT" PaymentOrderPaymentProviderCHECKOUT string = "CHECKOUT" // PaymentOrderPaymentProviderPAYPAL captures enum value "PAYPAL" PaymentOrderPaymentProviderPAYPAL string = "PAYPAL" // PaymentOrderPaymentProviderSTRIPE captures enum value "STRIPE" PaymentOrderPaymentProviderSTRIPE string = "STRIPE" // PaymentOrderPaymentProviderWALLET captures enum value "WALLET" PaymentOrderPaymentProviderWALLET string = "WALLET" // PaymentOrderPaymentProviderWXPAY captures enum value "WXPAY" PaymentOrderPaymentProviderWXPAY string = "WXPAY" // PaymentOrderPaymentProviderXSOLLA captures enum value "XSOLLA" PaymentOrderPaymentProviderXSOLLA string = "XSOLLA" )
const ( // PaymentOrderStatusAUTHORISED captures enum value "AUTHORISED" PaymentOrderStatusAUTHORISED string = "AUTHORISED" // PaymentOrderStatusAUTHORISEFAILED captures enum value "AUTHORISE_FAILED" PaymentOrderStatusAUTHORISEFAILED string = "AUTHORISE_FAILED" // PaymentOrderStatusCHARGEBACK captures enum value "CHARGEBACK" PaymentOrderStatusCHARGEBACK string = "CHARGEBACK" // PaymentOrderStatusCHARGEBACKREVERSED captures enum value "CHARGEBACK_REVERSED" PaymentOrderStatusCHARGEBACKREVERSED string = "CHARGEBACK_REVERSED" // PaymentOrderStatusCHARGED captures enum value "CHARGED" PaymentOrderStatusCHARGED string = "CHARGED" // PaymentOrderStatusCHARGEFAILED captures enum value "CHARGE_FAILED" PaymentOrderStatusCHARGEFAILED string = "CHARGE_FAILED" // PaymentOrderStatusDELETED captures enum value "DELETED" PaymentOrderStatusDELETED string = "DELETED" // PaymentOrderStatusINIT captures enum value "INIT" PaymentOrderStatusINIT string = "INIT" // PaymentOrderStatusNOTIFICATIONOFCHARGEBACK captures enum value "NOTIFICATION_OF_CHARGEBACK" PaymentOrderStatusNOTIFICATIONOFCHARGEBACK string = "NOTIFICATION_OF_CHARGEBACK" // PaymentOrderStatusREFUNDED captures enum value "REFUNDED" PaymentOrderStatusREFUNDED string = "REFUNDED" // PaymentOrderStatusREFUNDING captures enum value "REFUNDING" PaymentOrderStatusREFUNDING string = "REFUNDING" // PaymentOrderStatusREFUNDFAILED captures enum value "REFUND_FAILED" PaymentOrderStatusREFUNDFAILED string = "REFUND_FAILED" // PaymentOrderStatusREQUESTFORINFORMATION captures enum value "REQUEST_FOR_INFORMATION" PaymentOrderStatusREQUESTFORINFORMATION string = "REQUEST_FOR_INFORMATION" )
const ( // PaymentOrderChargeRequestPaymentProviderADYEN captures enum value "ADYEN" PaymentOrderChargeRequestPaymentProviderADYEN string = "ADYEN" // PaymentOrderChargeRequestPaymentProviderALIPAY captures enum value "ALIPAY" PaymentOrderChargeRequestPaymentProviderALIPAY string = "ALIPAY" // PaymentOrderChargeRequestPaymentProviderCHECKOUT captures enum value "CHECKOUT" PaymentOrderChargeRequestPaymentProviderCHECKOUT string = "CHECKOUT" // PaymentOrderChargeRequestPaymentProviderPAYPAL captures enum value "PAYPAL" PaymentOrderChargeRequestPaymentProviderPAYPAL string = "PAYPAL" // PaymentOrderChargeRequestPaymentProviderSTRIPE captures enum value "STRIPE" PaymentOrderChargeRequestPaymentProviderSTRIPE string = "STRIPE" // PaymentOrderChargeRequestPaymentProviderWALLET captures enum value "WALLET" PaymentOrderChargeRequestPaymentProviderWALLET string = "WALLET" // PaymentOrderChargeRequestPaymentProviderWXPAY captures enum value "WXPAY" PaymentOrderChargeRequestPaymentProviderWXPAY string = "WXPAY" // PaymentOrderChargeRequestPaymentProviderXSOLLA captures enum value "XSOLLA" PaymentOrderChargeRequestPaymentProviderXSOLLA string = "XSOLLA" )
const ( // PaymentOrderChargeStatusStatusAUTHORISED captures enum value "AUTHORISED" PaymentOrderChargeStatusStatusAUTHORISED string = "AUTHORISED" // PaymentOrderChargeStatusStatusAUTHORISEFAILED captures enum value "AUTHORISE_FAILED" PaymentOrderChargeStatusStatusAUTHORISEFAILED string = "AUTHORISE_FAILED" // PaymentOrderChargeStatusStatusCHARGEBACK captures enum value "CHARGEBACK" PaymentOrderChargeStatusStatusCHARGEBACK string = "CHARGEBACK" // PaymentOrderChargeStatusStatusCHARGEBACKREVERSED captures enum value "CHARGEBACK_REVERSED" PaymentOrderChargeStatusStatusCHARGEBACKREVERSED string = "CHARGEBACK_REVERSED" // PaymentOrderChargeStatusStatusCHARGED captures enum value "CHARGED" PaymentOrderChargeStatusStatusCHARGED string = "CHARGED" // PaymentOrderChargeStatusStatusCHARGEFAILED captures enum value "CHARGE_FAILED" PaymentOrderChargeStatusStatusCHARGEFAILED string = "CHARGE_FAILED" // PaymentOrderChargeStatusStatusDELETED captures enum value "DELETED" PaymentOrderChargeStatusStatusDELETED string = "DELETED" // PaymentOrderChargeStatusStatusINIT captures enum value "INIT" PaymentOrderChargeStatusStatusINIT string = "INIT" // PaymentOrderChargeStatusStatusNOTIFICATIONOFCHARGEBACK captures enum value "NOTIFICATION_OF_CHARGEBACK" PaymentOrderChargeStatusStatusNOTIFICATIONOFCHARGEBACK string = "NOTIFICATION_OF_CHARGEBACK" // PaymentOrderChargeStatusStatusREFUNDED captures enum value "REFUNDED" PaymentOrderChargeStatusStatusREFUNDED string = "REFUNDED" // PaymentOrderChargeStatusStatusREFUNDING captures enum value "REFUNDING" PaymentOrderChargeStatusStatusREFUNDING string = "REFUNDING" // PaymentOrderChargeStatusStatusREFUNDFAILED captures enum value "REFUND_FAILED" PaymentOrderChargeStatusStatusREFUNDFAILED string = "REFUND_FAILED" // PaymentOrderChargeStatusStatusREQUESTFORINFORMATION captures enum value "REQUEST_FOR_INFORMATION" PaymentOrderChargeStatusStatusREQUESTFORINFORMATION string = "REQUEST_FOR_INFORMATION" )
const ( // PaymentOrderCreateItemTypeAPP captures enum value "APP" PaymentOrderCreateItemTypeAPP string = "APP" // PaymentOrderCreateItemTypeBUNDLE captures enum value "BUNDLE" PaymentOrderCreateItemTypeBUNDLE string = "BUNDLE" // PaymentOrderCreateItemTypeCODE captures enum value "CODE" PaymentOrderCreateItemTypeCODE string = "CODE" // PaymentOrderCreateItemTypeCOINS captures enum value "COINS" PaymentOrderCreateItemTypeCOINS string = "COINS" // PaymentOrderCreateItemTypeINGAMEITEM captures enum value "INGAMEITEM" PaymentOrderCreateItemTypeINGAMEITEM string = "INGAMEITEM" // PaymentOrderCreateItemTypeMEDIA captures enum value "MEDIA" PaymentOrderCreateItemTypeMEDIA string = "MEDIA" // PaymentOrderCreateItemTypeSEASON captures enum value "SEASON" PaymentOrderCreateItemTypeSEASON string = "SEASON" // PaymentOrderCreateItemTypeSUBSCRIPTION captures enum value "SUBSCRIPTION" PaymentOrderCreateItemTypeSUBSCRIPTION string = "SUBSCRIPTION" )
const ( // PaymentOrderCreateResultStatusAUTHORISED captures enum value "AUTHORISED" PaymentOrderCreateResultStatusAUTHORISED string = "AUTHORISED" // PaymentOrderCreateResultStatusAUTHORISEFAILED captures enum value "AUTHORISE_FAILED" PaymentOrderCreateResultStatusAUTHORISEFAILED string = "AUTHORISE_FAILED" // PaymentOrderCreateResultStatusCHARGEBACK captures enum value "CHARGEBACK" PaymentOrderCreateResultStatusCHARGEBACK string = "CHARGEBACK" // PaymentOrderCreateResultStatusCHARGEBACKREVERSED captures enum value "CHARGEBACK_REVERSED" PaymentOrderCreateResultStatusCHARGEBACKREVERSED string = "CHARGEBACK_REVERSED" // PaymentOrderCreateResultStatusCHARGED captures enum value "CHARGED" PaymentOrderCreateResultStatusCHARGED string = "CHARGED" // PaymentOrderCreateResultStatusCHARGEFAILED captures enum value "CHARGE_FAILED" PaymentOrderCreateResultStatusCHARGEFAILED string = "CHARGE_FAILED" // PaymentOrderCreateResultStatusDELETED captures enum value "DELETED" PaymentOrderCreateResultStatusDELETED string = "DELETED" // PaymentOrderCreateResultStatusINIT captures enum value "INIT" PaymentOrderCreateResultStatusINIT string = "INIT" // PaymentOrderCreateResultStatusNOTIFICATIONOFCHARGEBACK captures enum value "NOTIFICATION_OF_CHARGEBACK" PaymentOrderCreateResultStatusNOTIFICATIONOFCHARGEBACK string = "NOTIFICATION_OF_CHARGEBACK" // PaymentOrderCreateResultStatusREFUNDED captures enum value "REFUNDED" PaymentOrderCreateResultStatusREFUNDED string = "REFUNDED" // PaymentOrderCreateResultStatusREFUNDING captures enum value "REFUNDING" PaymentOrderCreateResultStatusREFUNDING string = "REFUNDING" // PaymentOrderCreateResultStatusREFUNDFAILED captures enum value "REFUND_FAILED" PaymentOrderCreateResultStatusREFUNDFAILED string = "REFUND_FAILED" // PaymentOrderCreateResultStatusREQUESTFORINFORMATION captures enum value "REQUEST_FOR_INFORMATION" PaymentOrderCreateResultStatusREQUESTFORINFORMATION string = "REQUEST_FOR_INFORMATION" )
const ( // PaymentOrderInfoChannelEXTERNAL captures enum value "EXTERNAL" PaymentOrderInfoChannelEXTERNAL string = "EXTERNAL" // PaymentOrderInfoChannelINTERNAL captures enum value "INTERNAL" PaymentOrderInfoChannelINTERNAL string = "INTERNAL" )
const ( // PaymentOrderInfoItemTypeAPP captures enum value "APP" PaymentOrderInfoItemTypeAPP string = "APP" // PaymentOrderInfoItemTypeBUNDLE captures enum value "BUNDLE" PaymentOrderInfoItemTypeBUNDLE string = "BUNDLE" // PaymentOrderInfoItemTypeCODE captures enum value "CODE" PaymentOrderInfoItemTypeCODE string = "CODE" // PaymentOrderInfoItemTypeCOINS captures enum value "COINS" PaymentOrderInfoItemTypeCOINS string = "COINS" // PaymentOrderInfoItemTypeINGAMEITEM captures enum value "INGAMEITEM" PaymentOrderInfoItemTypeINGAMEITEM string = "INGAMEITEM" // PaymentOrderInfoItemTypeMEDIA captures enum value "MEDIA" PaymentOrderInfoItemTypeMEDIA string = "MEDIA" // PaymentOrderInfoItemTypeSEASON captures enum value "SEASON" PaymentOrderInfoItemTypeSEASON string = "SEASON" // PaymentOrderInfoItemTypeSUBSCRIPTION captures enum value "SUBSCRIPTION" PaymentOrderInfoItemTypeSUBSCRIPTION string = "SUBSCRIPTION" )
const ( // PaymentOrderInfoPaymentProviderADYEN captures enum value "ADYEN" PaymentOrderInfoPaymentProviderADYEN string = "ADYEN" // PaymentOrderInfoPaymentProviderALIPAY captures enum value "ALIPAY" PaymentOrderInfoPaymentProviderALIPAY string = "ALIPAY" // PaymentOrderInfoPaymentProviderCHECKOUT captures enum value "CHECKOUT" PaymentOrderInfoPaymentProviderCHECKOUT string = "CHECKOUT" // PaymentOrderInfoPaymentProviderPAYPAL captures enum value "PAYPAL" PaymentOrderInfoPaymentProviderPAYPAL string = "PAYPAL" // PaymentOrderInfoPaymentProviderSTRIPE captures enum value "STRIPE" PaymentOrderInfoPaymentProviderSTRIPE string = "STRIPE" // PaymentOrderInfoPaymentProviderWALLET captures enum value "WALLET" PaymentOrderInfoPaymentProviderWALLET string = "WALLET" // PaymentOrderInfoPaymentProviderWXPAY captures enum value "WXPAY" PaymentOrderInfoPaymentProviderWXPAY string = "WXPAY" // PaymentOrderInfoPaymentProviderXSOLLA captures enum value "XSOLLA" PaymentOrderInfoPaymentProviderXSOLLA string = "XSOLLA" )
const ( // PaymentOrderInfoStatusAUTHORISED captures enum value "AUTHORISED" PaymentOrderInfoStatusAUTHORISED string = "AUTHORISED" // PaymentOrderInfoStatusAUTHORISEFAILED captures enum value "AUTHORISE_FAILED" PaymentOrderInfoStatusAUTHORISEFAILED string = "AUTHORISE_FAILED" // PaymentOrderInfoStatusCHARGEBACK captures enum value "CHARGEBACK" PaymentOrderInfoStatusCHARGEBACK string = "CHARGEBACK" // PaymentOrderInfoStatusCHARGEBACKREVERSED captures enum value "CHARGEBACK_REVERSED" PaymentOrderInfoStatusCHARGEBACKREVERSED string = "CHARGEBACK_REVERSED" // PaymentOrderInfoStatusCHARGED captures enum value "CHARGED" PaymentOrderInfoStatusCHARGED string = "CHARGED" // PaymentOrderInfoStatusCHARGEFAILED captures enum value "CHARGE_FAILED" PaymentOrderInfoStatusCHARGEFAILED string = "CHARGE_FAILED" // PaymentOrderInfoStatusDELETED captures enum value "DELETED" PaymentOrderInfoStatusDELETED string = "DELETED" // PaymentOrderInfoStatusINIT captures enum value "INIT" PaymentOrderInfoStatusINIT string = "INIT" // PaymentOrderInfoStatusNOTIFICATIONOFCHARGEBACK captures enum value "NOTIFICATION_OF_CHARGEBACK" PaymentOrderInfoStatusNOTIFICATIONOFCHARGEBACK string = "NOTIFICATION_OF_CHARGEBACK" // PaymentOrderInfoStatusREFUNDED captures enum value "REFUNDED" PaymentOrderInfoStatusREFUNDED string = "REFUNDED" // PaymentOrderInfoStatusREFUNDING captures enum value "REFUNDING" PaymentOrderInfoStatusREFUNDING string = "REFUNDING" // PaymentOrderInfoStatusREFUNDFAILED captures enum value "REFUND_FAILED" PaymentOrderInfoStatusREFUNDFAILED string = "REFUND_FAILED" // PaymentOrderInfoStatusREQUESTFORINFORMATION captures enum value "REQUEST_FOR_INFORMATION" PaymentOrderInfoStatusREQUESTFORINFORMATION string = "REQUEST_FOR_INFORMATION" )
const ( // PaymentOrderNotifySimulationNotifyTypeCHARGE captures enum value "CHARGE" PaymentOrderNotifySimulationNotifyTypeCHARGE string = "CHARGE" // PaymentOrderNotifySimulationNotifyTypeREFUND captures enum value "REFUND" PaymentOrderNotifySimulationNotifyTypeREFUND string = "REFUND" )
const ( // PaymentOrderNotifySimulationPaymentProviderADYEN captures enum value "ADYEN" PaymentOrderNotifySimulationPaymentProviderADYEN string = "ADYEN" // PaymentOrderNotifySimulationPaymentProviderALIPAY captures enum value "ALIPAY" PaymentOrderNotifySimulationPaymentProviderALIPAY string = "ALIPAY" // PaymentOrderNotifySimulationPaymentProviderCHECKOUT captures enum value "CHECKOUT" PaymentOrderNotifySimulationPaymentProviderCHECKOUT string = "CHECKOUT" // PaymentOrderNotifySimulationPaymentProviderPAYPAL captures enum value "PAYPAL" PaymentOrderNotifySimulationPaymentProviderPAYPAL string = "PAYPAL" // PaymentOrderNotifySimulationPaymentProviderSTRIPE captures enum value "STRIPE" PaymentOrderNotifySimulationPaymentProviderSTRIPE string = "STRIPE" // PaymentOrderNotifySimulationPaymentProviderWALLET captures enum value "WALLET" PaymentOrderNotifySimulationPaymentProviderWALLET string = "WALLET" // PaymentOrderNotifySimulationPaymentProviderWXPAY captures enum value "WXPAY" PaymentOrderNotifySimulationPaymentProviderWXPAY string = "WXPAY" // PaymentOrderNotifySimulationPaymentProviderXSOLLA captures enum value "XSOLLA" PaymentOrderNotifySimulationPaymentProviderXSOLLA string = "XSOLLA" )
const ( // PaymentOrderRefundResultStatusAUTHORISED captures enum value "AUTHORISED" PaymentOrderRefundResultStatusAUTHORISED string = "AUTHORISED" // PaymentOrderRefundResultStatusAUTHORISEFAILED captures enum value "AUTHORISE_FAILED" PaymentOrderRefundResultStatusAUTHORISEFAILED string = "AUTHORISE_FAILED" // PaymentOrderRefundResultStatusCHARGEBACK captures enum value "CHARGEBACK" PaymentOrderRefundResultStatusCHARGEBACK string = "CHARGEBACK" // PaymentOrderRefundResultStatusCHARGEBACKREVERSED captures enum value "CHARGEBACK_REVERSED" PaymentOrderRefundResultStatusCHARGEBACKREVERSED string = "CHARGEBACK_REVERSED" // PaymentOrderRefundResultStatusCHARGED captures enum value "CHARGED" PaymentOrderRefundResultStatusCHARGED string = "CHARGED" // PaymentOrderRefundResultStatusCHARGEFAILED captures enum value "CHARGE_FAILED" PaymentOrderRefundResultStatusCHARGEFAILED string = "CHARGE_FAILED" // PaymentOrderRefundResultStatusDELETED captures enum value "DELETED" PaymentOrderRefundResultStatusDELETED string = "DELETED" // PaymentOrderRefundResultStatusINIT captures enum value "INIT" PaymentOrderRefundResultStatusINIT string = "INIT" // PaymentOrderRefundResultStatusNOTIFICATIONOFCHARGEBACK captures enum value "NOTIFICATION_OF_CHARGEBACK" PaymentOrderRefundResultStatusNOTIFICATIONOFCHARGEBACK string = "NOTIFICATION_OF_CHARGEBACK" // PaymentOrderRefundResultStatusREFUNDED captures enum value "REFUNDED" PaymentOrderRefundResultStatusREFUNDED string = "REFUNDED" // PaymentOrderRefundResultStatusREFUNDING captures enum value "REFUNDING" PaymentOrderRefundResultStatusREFUNDING string = "REFUNDING" // PaymentOrderRefundResultStatusREFUNDFAILED captures enum value "REFUND_FAILED" PaymentOrderRefundResultStatusREFUNDFAILED string = "REFUND_FAILED" // PaymentOrderRefundResultStatusREQUESTFORINFORMATION captures enum value "REQUEST_FOR_INFORMATION" PaymentOrderRefundResultStatusREQUESTFORINFORMATION string = "REQUEST_FOR_INFORMATION" )
const ( // PaymentProviderConfigEditAggregateADYEN captures enum value "ADYEN" PaymentProviderConfigEditAggregateADYEN string = "ADYEN" // PaymentProviderConfigEditAggregateXSOLLA captures enum value "XSOLLA" PaymentProviderConfigEditAggregateXSOLLA string = "XSOLLA" )
const ( // PaymentProviderConfigInfoAggregateADYEN captures enum value "ADYEN" PaymentProviderConfigInfoAggregateADYEN string = "ADYEN" // PaymentProviderConfigInfoAggregateXSOLLA captures enum value "XSOLLA" PaymentProviderConfigInfoAggregateXSOLLA string = "XSOLLA" )
const ( // PaymentRequestWalletPlatformEpic captures enum value "Epic" PaymentRequestWalletPlatformEpic string = "Epic" // PaymentRequestWalletPlatformGooglePlay captures enum value "GooglePlay" PaymentRequestWalletPlatformGooglePlay string = "GooglePlay" // PaymentRequestWalletPlatformIOS captures enum value "IOS" PaymentRequestWalletPlatformIOS string = "IOS" // PaymentRequestWalletPlatformNintendo captures enum value "Nintendo" PaymentRequestWalletPlatformNintendo string = "Nintendo" // PaymentRequestWalletPlatformOther captures enum value "Other" PaymentRequestWalletPlatformOther string = "Other" // PaymentRequestWalletPlatformPlaystation captures enum value "Playstation" PaymentRequestWalletPlatformPlaystation string = "Playstation" // PaymentRequestWalletPlatformSteam captures enum value "Steam" PaymentRequestWalletPlatformSteam string = "Steam" // PaymentRequestWalletPlatformXbox captures enum value "Xbox" PaymentRequestWalletPlatformXbox string = "Xbox" )
const ( // PaymentURLPaymentProviderADYEN captures enum value "ADYEN" PaymentURLPaymentProviderADYEN string = "ADYEN" // PaymentURLPaymentProviderALIPAY captures enum value "ALIPAY" PaymentURLPaymentProviderALIPAY string = "ALIPAY" // PaymentURLPaymentProviderCHECKOUT captures enum value "CHECKOUT" PaymentURLPaymentProviderCHECKOUT string = "CHECKOUT" // PaymentURLPaymentProviderPAYPAL captures enum value "PAYPAL" PaymentURLPaymentProviderPAYPAL string = "PAYPAL" // PaymentURLPaymentProviderSTRIPE captures enum value "STRIPE" PaymentURLPaymentProviderSTRIPE string = "STRIPE" // PaymentURLPaymentProviderWALLET captures enum value "WALLET" PaymentURLPaymentProviderWALLET string = "WALLET" // PaymentURLPaymentProviderWXPAY captures enum value "WXPAY" PaymentURLPaymentProviderWXPAY string = "WXPAY" // PaymentURLPaymentProviderXSOLLA captures enum value "XSOLLA" PaymentURLPaymentProviderXSOLLA string = "XSOLLA" )
const ( // PaymentURLPaymentTypeLINK captures enum value "LINK" PaymentURLPaymentTypeLINK string = "LINK" // PaymentURLPaymentTypeQRCODE captures enum value "QR_CODE" PaymentURLPaymentTypeQRCODE string = "QR_CODE" )
const ( // PaymentURLCreatePaymentProviderADYEN captures enum value "ADYEN" PaymentURLCreatePaymentProviderADYEN string = "ADYEN" // PaymentURLCreatePaymentProviderALIPAY captures enum value "ALIPAY" PaymentURLCreatePaymentProviderALIPAY string = "ALIPAY" // PaymentURLCreatePaymentProviderCHECKOUT captures enum value "CHECKOUT" PaymentURLCreatePaymentProviderCHECKOUT string = "CHECKOUT" // PaymentURLCreatePaymentProviderPAYPAL captures enum value "PAYPAL" PaymentURLCreatePaymentProviderPAYPAL string = "PAYPAL" // PaymentURLCreatePaymentProviderSTRIPE captures enum value "STRIPE" PaymentURLCreatePaymentProviderSTRIPE string = "STRIPE" // PaymentURLCreatePaymentProviderWALLET captures enum value "WALLET" PaymentURLCreatePaymentProviderWALLET string = "WALLET" // PaymentURLCreatePaymentProviderWXPAY captures enum value "WXPAY" PaymentURLCreatePaymentProviderWXPAY string = "WXPAY" // PaymentURLCreatePaymentProviderXSOLLA captures enum value "XSOLLA" PaymentURLCreatePaymentProviderXSOLLA string = "XSOLLA" )
const ( // PlatformDlcEntryPlatformPSN captures enum value "PSN" PlatformDlcEntryPlatformPSN string = "PSN" // PlatformDlcEntryPlatformSTEAM captures enum value "STEAM" PlatformDlcEntryPlatformSTEAM string = "STEAM" // PlatformDlcEntryPlatformXBOX captures enum value "XBOX" PlatformDlcEntryPlatformXBOX string = "XBOX" )
const ( // PlatformRewardTypeCURRENCY captures enum value "CURRENCY" PlatformRewardTypeCURRENCY string = "CURRENCY" // PlatformRewardTypeITEM captures enum value "ITEM" PlatformRewardTypeITEM string = "ITEM" )
const ( // PlatformWalletWalletStatusACTIVE captures enum value "ACTIVE" PlatformWalletWalletStatusACTIVE string = "ACTIVE" // PlatformWalletWalletStatusINACTIVE captures enum value "INACTIVE" PlatformWalletWalletStatusINACTIVE string = "INACTIVE" )
const ( // PlayStationReconcileResultStatusFAILED captures enum value "FAILED" PlayStationReconcileResultStatusFAILED string = "FAILED" // PlayStationReconcileResultStatusFULFILLED captures enum value "FULFILLED" PlayStationReconcileResultStatusFULFILLED string = "FULFILLED" // PlayStationReconcileResultStatusVERIFIED captures enum value "VERIFIED" PlayStationReconcileResultStatusVERIFIED string = "VERIFIED" )
const ( // PopulatedItemInfoAppTypeDEMO captures enum value "DEMO" PopulatedItemInfoAppTypeDEMO string = "DEMO" // PopulatedItemInfoAppTypeDLC captures enum value "DLC" PopulatedItemInfoAppTypeDLC string = "DLC" // PopulatedItemInfoAppTypeGAME captures enum value "GAME" PopulatedItemInfoAppTypeGAME string = "GAME" // PopulatedItemInfoAppTypeSOFTWARE captures enum value "SOFTWARE" PopulatedItemInfoAppTypeSOFTWARE string = "SOFTWARE" )
const ( // PopulatedItemInfoEntitlementTypeCONSUMABLE captures enum value "CONSUMABLE" PopulatedItemInfoEntitlementTypeCONSUMABLE string = "CONSUMABLE" // PopulatedItemInfoEntitlementTypeDURABLE captures enum value "DURABLE" PopulatedItemInfoEntitlementTypeDURABLE string = "DURABLE" )
const ( // PopulatedItemInfoItemTypeAPP captures enum value "APP" PopulatedItemInfoItemTypeAPP string = "APP" // PopulatedItemInfoItemTypeBUNDLE captures enum value "BUNDLE" PopulatedItemInfoItemTypeBUNDLE string = "BUNDLE" // PopulatedItemInfoItemTypeCODE captures enum value "CODE" PopulatedItemInfoItemTypeCODE string = "CODE" // PopulatedItemInfoItemTypeCOINS captures enum value "COINS" PopulatedItemInfoItemTypeCOINS string = "COINS" // PopulatedItemInfoItemTypeINGAMEITEM captures enum value "INGAMEITEM" PopulatedItemInfoItemTypeINGAMEITEM string = "INGAMEITEM" // PopulatedItemInfoItemTypeMEDIA captures enum value "MEDIA" PopulatedItemInfoItemTypeMEDIA string = "MEDIA" // PopulatedItemInfoItemTypeSEASON captures enum value "SEASON" PopulatedItemInfoItemTypeSEASON string = "SEASON" // PopulatedItemInfoItemTypeSUBSCRIPTION captures enum value "SUBSCRIPTION" PopulatedItemInfoItemTypeSUBSCRIPTION string = "SUBSCRIPTION" )
const ( // PopulatedItemInfoSeasonTypePASS captures enum value "PASS" PopulatedItemInfoSeasonTypePASS string = "PASS" // PopulatedItemInfoSeasonTypeTIER captures enum value "TIER" PopulatedItemInfoSeasonTypeTIER string = "TIER" )
const ( // PopulatedItemInfoStatusACTIVE captures enum value "ACTIVE" PopulatedItemInfoStatusACTIVE string = "ACTIVE" // PopulatedItemInfoStatusINACTIVE captures enum value "INACTIVE" PopulatedItemInfoStatusINACTIVE string = "INACTIVE" )
const ( // RecurringCycleMONTHLY captures enum value "MONTHLY" RecurringCycleMONTHLY string = "MONTHLY" // RecurringCycleQUARTERLY captures enum value "QUARTERLY" RecurringCycleQUARTERLY string = "QUARTERLY" // RecurringCycleWEEKLY captures enum value "WEEKLY" RecurringCycleWEEKLY string = "WEEKLY" // RecurringCycleYEARLY captures enum value "YEARLY" RecurringCycleYEARLY string = "YEARLY" )
const ( // RegionDataItemCurrencyTypeREAL captures enum value "REAL" RegionDataItemCurrencyTypeREAL string = "REAL" // RegionDataItemCurrencyTypeVIRTUAL captures enum value "VIRTUAL" RegionDataItemCurrencyTypeVIRTUAL string = "VIRTUAL" )
const ( // RewardsRequestOriginEpic captures enum value "Epic" RewardsRequestOriginEpic string = "Epic" // RewardsRequestOriginGooglePlay captures enum value "GooglePlay" RewardsRequestOriginGooglePlay string = "GooglePlay" // RewardsRequestOriginIOS captures enum value "IOS" RewardsRequestOriginIOS string = "IOS" // RewardsRequestOriginNintendo captures enum value "Nintendo" RewardsRequestOriginNintendo string = "Nintendo" // RewardsRequestOriginOther captures enum value "Other" RewardsRequestOriginOther string = "Other" // RewardsRequestOriginPlaystation captures enum value "Playstation" RewardsRequestOriginPlaystation string = "Playstation" // RewardsRequestOriginStadia captures enum value "Stadia" RewardsRequestOriginStadia string = "Stadia" // RewardsRequestOriginSteam captures enum value "Steam" RewardsRequestOriginSteam string = "Steam" // RewardsRequestOriginSystem captures enum value "System" RewardsRequestOriginSystem string = "System" // RewardsRequestOriginTwitch captures enum value "Twitch" RewardsRequestOriginTwitch string = "Twitch" // RewardsRequestOriginXbox captures enum value "Xbox" RewardsRequestOriginXbox string = "Xbox" )
const ( // RewardsRequestSourceACHIEVEMENT captures enum value "ACHIEVEMENT" RewardsRequestSourceACHIEVEMENT string = "ACHIEVEMENT" // RewardsRequestSourceDLC captures enum value "DLC" RewardsRequestSourceDLC string = "DLC" // RewardsRequestSourceGIFT captures enum value "GIFT" RewardsRequestSourceGIFT string = "GIFT" // RewardsRequestSourceIAP captures enum value "IAP" RewardsRequestSourceIAP string = "IAP" // RewardsRequestSourceOTHER captures enum value "OTHER" RewardsRequestSourceOTHER string = "OTHER" // RewardsRequestSourcePROMOTION captures enum value "PROMOTION" RewardsRequestSourcePROMOTION string = "PROMOTION" // RewardsRequestSourcePURCHASE captures enum value "PURCHASE" RewardsRequestSourcePURCHASE string = "PURCHASE" // RewardsRequestSourceREDEEMCODE captures enum value "REDEEM_CODE" RewardsRequestSourceREDEEMCODE string = "REDEEM_CODE" // RewardsRequestSourceREFERRALBONUS captures enum value "REFERRAL_BONUS" RewardsRequestSourceREFERRALBONUS string = "REFERRAL_BONUS" // RewardsRequestSourceREWARD captures enum value "REWARD" RewardsRequestSourceREWARD string = "REWARD" )
const ( // SlideTypeImage captures enum value "image" SlideTypeImage string = "image" // SlideTypeVideo captures enum value "video" SlideTypeVideo string = "video" )
const ( // SlideVideoSourceGeneric captures enum value "generic" SlideVideoSourceGeneric string = "generic" // SlideVideoSourceVimeo captures enum value "vimeo" SlideVideoSourceVimeo string = "vimeo" // SlideVideoSourceYoutube captures enum value "youtube" SlideVideoSourceYoutube string = "youtube" )
const ( // StackableEntitlementInfoAppTypeDEMO captures enum value "DEMO" StackableEntitlementInfoAppTypeDEMO string = "DEMO" // StackableEntitlementInfoAppTypeDLC captures enum value "DLC" StackableEntitlementInfoAppTypeDLC string = "DLC" // StackableEntitlementInfoAppTypeGAME captures enum value "GAME" StackableEntitlementInfoAppTypeGAME string = "GAME" // StackableEntitlementInfoAppTypeSOFTWARE captures enum value "SOFTWARE" StackableEntitlementInfoAppTypeSOFTWARE string = "SOFTWARE" )
const ( // StackableEntitlementInfoClazzAPP captures enum value "APP" StackableEntitlementInfoClazzAPP string = "APP" // StackableEntitlementInfoClazzCODE captures enum value "CODE" StackableEntitlementInfoClazzCODE string = "CODE" // StackableEntitlementInfoClazzENTITLEMENT captures enum value "ENTITLEMENT" StackableEntitlementInfoClazzENTITLEMENT string = "ENTITLEMENT" // StackableEntitlementInfoClazzMEDIA captures enum value "MEDIA" StackableEntitlementInfoClazzMEDIA string = "MEDIA" // StackableEntitlementInfoClazzSUBSCRIPTION captures enum value "SUBSCRIPTION" StackableEntitlementInfoClazzSUBSCRIPTION string = "SUBSCRIPTION" )
const ( // StackableEntitlementInfoSourceACHIEVEMENT captures enum value "ACHIEVEMENT" StackableEntitlementInfoSourceACHIEVEMENT string = "ACHIEVEMENT" // StackableEntitlementInfoSourceGIFT captures enum value "GIFT" StackableEntitlementInfoSourceGIFT string = "GIFT" // StackableEntitlementInfoSourceIAP captures enum value "IAP" StackableEntitlementInfoSourceIAP string = "IAP" // StackableEntitlementInfoSourceOTHER captures enum value "OTHER" StackableEntitlementInfoSourceOTHER string = "OTHER" // StackableEntitlementInfoSourcePROMOTION captures enum value "PROMOTION" StackableEntitlementInfoSourcePROMOTION string = "PROMOTION" // StackableEntitlementInfoSourcePURCHASE captures enum value "PURCHASE" StackableEntitlementInfoSourcePURCHASE string = "PURCHASE" // StackableEntitlementInfoSourceREDEEMCODE captures enum value "REDEEM_CODE" StackableEntitlementInfoSourceREDEEMCODE string = "REDEEM_CODE" // StackableEntitlementInfoSourceREFERRALBONUS captures enum value "REFERRAL_BONUS" StackableEntitlementInfoSourceREFERRALBONUS string = "REFERRAL_BONUS" // StackableEntitlementInfoSourceREWARD captures enum value "REWARD" StackableEntitlementInfoSourceREWARD string = "REWARD" )
const ( // StackableEntitlementInfoStatusACTIVE captures enum value "ACTIVE" StackableEntitlementInfoStatusACTIVE string = "ACTIVE" // StackableEntitlementInfoStatusCONSUMED captures enum value "CONSUMED" StackableEntitlementInfoStatusCONSUMED string = "CONSUMED" // StackableEntitlementInfoStatusINACTIVE captures enum value "INACTIVE" StackableEntitlementInfoStatusINACTIVE string = "INACTIVE" // StackableEntitlementInfoStatusREVOKED captures enum value "REVOKED" StackableEntitlementInfoStatusREVOKED string = "REVOKED" )
const ( // StackableEntitlementInfoTypeCONSUMABLE captures enum value "CONSUMABLE" StackableEntitlementInfoTypeCONSUMABLE string = "CONSUMABLE" // StackableEntitlementInfoTypeDURABLE captures enum value "DURABLE" StackableEntitlementInfoTypeDURABLE string = "DURABLE" )
const ( // SubscriptionActivityInfoActionCANCEL captures enum value "CANCEL" SubscriptionActivityInfoActionCANCEL string = "CANCEL" // SubscriptionActivityInfoActionCHANGEBILLINGACCOUNT captures enum value "CHANGE_BILLING_ACCOUNT" SubscriptionActivityInfoActionCHANGEBILLINGACCOUNT string = "CHANGE_BILLING_ACCOUNT" // SubscriptionActivityInfoActionGRANTDAYS captures enum value "GRANT_DAYS" SubscriptionActivityInfoActionGRANTDAYS string = "GRANT_DAYS" // SubscriptionActivityInfoActionIMMEDIATECANCEL captures enum value "IMMEDIATE_CANCEL" SubscriptionActivityInfoActionIMMEDIATECANCEL string = "IMMEDIATE_CANCEL" // SubscriptionActivityInfoActionRESUBSCRIBE captures enum value "RESUBSCRIBE" SubscriptionActivityInfoActionRESUBSCRIBE string = "RESUBSCRIBE" // SubscriptionActivityInfoActionSUBSCRIBE captures enum value "SUBSCRIBE" SubscriptionActivityInfoActionSUBSCRIBE string = "SUBSCRIBE" )
const ( // SubscriptionActivityInfoSubscribedByPLATFORM captures enum value "PLATFORM" SubscriptionActivityInfoSubscribedByPLATFORM string = "PLATFORM" // SubscriptionActivityInfoSubscribedByUSER captures enum value "USER" SubscriptionActivityInfoSubscribedByUSER string = "USER" )
const ( // SubscriptionInfoChargeStatusCHARGED captures enum value "CHARGED" SubscriptionInfoChargeStatusCHARGED string = "CHARGED" // SubscriptionInfoChargeStatusCHARGEFAILED captures enum value "CHARGE_FAILED" SubscriptionInfoChargeStatusCHARGEFAILED string = "CHARGE_FAILED" // SubscriptionInfoChargeStatusNEVER captures enum value "NEVER" SubscriptionInfoChargeStatusNEVER string = "NEVER" // SubscriptionInfoChargeStatusRECURRINGCHARGING captures enum value "RECURRING_CHARGING" SubscriptionInfoChargeStatusRECURRINGCHARGING string = "RECURRING_CHARGING" // SubscriptionInfoChargeStatusSETUP captures enum value "SETUP" SubscriptionInfoChargeStatusSETUP string = "SETUP" )
const ( // SubscriptionInfoStatusACTIVE captures enum value "ACTIVE" SubscriptionInfoStatusACTIVE string = "ACTIVE" // SubscriptionInfoStatusCANCELLED captures enum value "CANCELLED" SubscriptionInfoStatusCANCELLED string = "CANCELLED" // SubscriptionInfoStatusEXPIRED captures enum value "EXPIRED" SubscriptionInfoStatusEXPIRED string = "EXPIRED" // SubscriptionInfoStatusINIT captures enum value "INIT" SubscriptionInfoStatusINIT string = "INIT" )
const ( // SubscriptionInfoSubscribedByPLATFORM captures enum value "PLATFORM" SubscriptionInfoSubscribedByPLATFORM string = "PLATFORM" // SubscriptionInfoSubscribedByUSER captures enum value "USER" SubscriptionInfoSubscribedByUSER string = "USER" )
const ( // SubscriptionSummaryStatusACTIVE captures enum value "ACTIVE" SubscriptionSummaryStatusACTIVE string = "ACTIVE" // SubscriptionSummaryStatusCANCELLED captures enum value "CANCELLED" SubscriptionSummaryStatusCANCELLED string = "CANCELLED" // SubscriptionSummaryStatusEXPIRED captures enum value "EXPIRED" SubscriptionSummaryStatusEXPIRED string = "EXPIRED" // SubscriptionSummaryStatusINIT captures enum value "INIT" SubscriptionSummaryStatusINIT string = "INIT" )
const ( // SubscriptionSummarySubscribedByPLATFORM captures enum value "PLATFORM" SubscriptionSummarySubscribedByPLATFORM string = "PLATFORM" // SubscriptionSummarySubscribedByUSER captures enum value "USER" SubscriptionSummarySubscribedByUSER string = "USER" )
const ( // TicketBoothIDTypeCAMPAIGN captures enum value "CAMPAIGN" TicketBoothIDTypeCAMPAIGN string = "CAMPAIGN" // TicketBoothIDTypeKEYGROUP captures enum value "KEYGROUP" TicketBoothIDTypeKEYGROUP string = "KEYGROUP" )
const ( // TradeNotificationPaymentProviderADYEN captures enum value "ADYEN" TradeNotificationPaymentProviderADYEN string = "ADYEN" // TradeNotificationPaymentProviderALIPAY captures enum value "ALIPAY" TradeNotificationPaymentProviderALIPAY string = "ALIPAY" // TradeNotificationPaymentProviderCHECKOUT captures enum value "CHECKOUT" TradeNotificationPaymentProviderCHECKOUT string = "CHECKOUT" // TradeNotificationPaymentProviderPAYPAL captures enum value "PAYPAL" TradeNotificationPaymentProviderPAYPAL string = "PAYPAL" // TradeNotificationPaymentProviderSTRIPE captures enum value "STRIPE" TradeNotificationPaymentProviderSTRIPE string = "STRIPE" // TradeNotificationPaymentProviderWALLET captures enum value "WALLET" TradeNotificationPaymentProviderWALLET string = "WALLET" // TradeNotificationPaymentProviderWXPAY captures enum value "WXPAY" TradeNotificationPaymentProviderWXPAY string = "WXPAY" // TradeNotificationPaymentProviderXSOLLA captures enum value "XSOLLA" TradeNotificationPaymentProviderXSOLLA string = "XSOLLA" )
const ( // TradeNotificationStatusAUTHORISED captures enum value "AUTHORISED" TradeNotificationStatusAUTHORISED string = "AUTHORISED" // TradeNotificationStatusAUTHORISEFAILED captures enum value "AUTHORISE_FAILED" TradeNotificationStatusAUTHORISEFAILED string = "AUTHORISE_FAILED" // TradeNotificationStatusCHARGEBACK captures enum value "CHARGEBACK" TradeNotificationStatusCHARGEBACK string = "CHARGEBACK" // TradeNotificationStatusCHARGEBACKREVERSED captures enum value "CHARGEBACK_REVERSED" TradeNotificationStatusCHARGEBACKREVERSED string = "CHARGEBACK_REVERSED" // TradeNotificationStatusCHARGED captures enum value "CHARGED" TradeNotificationStatusCHARGED string = "CHARGED" // TradeNotificationStatusCHARGEFAILED captures enum value "CHARGE_FAILED" TradeNotificationStatusCHARGEFAILED string = "CHARGE_FAILED" // TradeNotificationStatusDELETED captures enum value "DELETED" TradeNotificationStatusDELETED string = "DELETED" // TradeNotificationStatusINIT captures enum value "INIT" TradeNotificationStatusINIT string = "INIT" // TradeNotificationStatusNOTIFICATIONOFCHARGEBACK captures enum value "NOTIFICATION_OF_CHARGEBACK" TradeNotificationStatusNOTIFICATIONOFCHARGEBACK string = "NOTIFICATION_OF_CHARGEBACK" // TradeNotificationStatusREFUNDED captures enum value "REFUNDED" TradeNotificationStatusREFUNDED string = "REFUNDED" // TradeNotificationStatusREFUNDING captures enum value "REFUNDING" TradeNotificationStatusREFUNDING string = "REFUNDING" // TradeNotificationStatusREFUNDFAILED captures enum value "REFUND_FAILED" TradeNotificationStatusREFUNDFAILED string = "REFUND_FAILED" // TradeNotificationStatusREQUESTFORINFORMATION captures enum value "REQUEST_FOR_INFORMATION" TradeNotificationStatusREQUESTFORINFORMATION string = "REQUEST_FOR_INFORMATION" )
const ( // TransactionProviderADYEN captures enum value "ADYEN" TransactionProviderADYEN string = "ADYEN" // TransactionProviderALIPAY captures enum value "ALIPAY" TransactionProviderALIPAY string = "ALIPAY" // TransactionProviderCHECKOUT captures enum value "CHECKOUT" TransactionProviderCHECKOUT string = "CHECKOUT" // TransactionProviderPAYPAL captures enum value "PAYPAL" TransactionProviderPAYPAL string = "PAYPAL" // TransactionProviderSTRIPE captures enum value "STRIPE" TransactionProviderSTRIPE string = "STRIPE" // TransactionProviderWALLET captures enum value "WALLET" TransactionProviderWALLET string = "WALLET" // TransactionProviderWXPAY captures enum value "WXPAY" TransactionProviderWXPAY string = "WXPAY" // TransactionProviderXSOLLA captures enum value "XSOLLA" TransactionProviderXSOLLA string = "XSOLLA" )
const ( // TransactionStatusFAILED captures enum value "FAILED" TransactionStatusFAILED string = "FAILED" // TransactionStatusFINISHED captures enum value "FINISHED" TransactionStatusFINISHED string = "FINISHED" )
const ( // TransactionTypeAUTHORISATION captures enum value "AUTHORISATION" TransactionTypeAUTHORISATION string = "AUTHORISATION" // TransactionTypeCHARGE captures enum value "CHARGE" TransactionTypeCHARGE string = "CHARGE" // TransactionTypeCHARGEBACK captures enum value "CHARGEBACK" TransactionTypeCHARGEBACK string = "CHARGEBACK" // TransactionTypeCHARGEBACKREVERSED captures enum value "CHARGEBACK_REVERSED" TransactionTypeCHARGEBACKREVERSED string = "CHARGEBACK_REVERSED" // TransactionTypeCHARGEFAILED captures enum value "CHARGE_FAILED" TransactionTypeCHARGEFAILED string = "CHARGE_FAILED" // TransactionTypeNOTIFICATIONOFCHARGEBACK captures enum value "NOTIFICATION_OF_CHARGEBACK" TransactionTypeNOTIFICATIONOFCHARGEBACK string = "NOTIFICATION_OF_CHARGEBACK" // TransactionTypeREFUND captures enum value "REFUND" TransactionTypeREFUND string = "REFUND" // TransactionTypeREFUNDFAILED captures enum value "REFUND_FAILED" TransactionTypeREFUNDFAILED string = "REFUND_FAILED" // TransactionTypeREQUESTFORINFORMATION captures enum value "REQUEST_FOR_INFORMATION" TransactionTypeREQUESTFORINFORMATION string = "REQUEST_FOR_INFORMATION" )
const ( // WalletInfoStatusACTIVE captures enum value "ACTIVE" WalletInfoStatusACTIVE string = "ACTIVE" // WalletInfoStatusINACTIVE captures enum value "INACTIVE" WalletInfoStatusINACTIVE string = "INACTIVE" )
const ( // WalletTransactionInfoWalletActionCREDIT captures enum value "CREDIT" WalletTransactionInfoWalletActionCREDIT string = "CREDIT" // WalletTransactionInfoWalletActionDEBIT captures enum value "DEBIT" WalletTransactionInfoWalletActionDEBIT string = "DEBIT" // WalletTransactionInfoWalletActionPAYMENT captures enum value "PAYMENT" WalletTransactionInfoWalletActionPAYMENT string = "PAYMENT" )
const ( // XblReconcileResultIapOrderStatusFAILED captures enum value "FAILED" XblReconcileResultIapOrderStatusFAILED string = "FAILED" // XblReconcileResultIapOrderStatusFULFILLED captures enum value "FULFILLED" XblReconcileResultIapOrderStatusFULFILLED string = "FULFILLED" // XblReconcileResultIapOrderStatusVERIFIED captures enum value "VERIFIED" XblReconcileResultIapOrderStatusVERIFIED string = "VERIFIED" )
const ( // XsollaPaywallConfigDeviceDESKTOP captures enum value "DESKTOP" XsollaPaywallConfigDeviceDESKTOP string = "DESKTOP" // XsollaPaywallConfigDeviceMOBILE captures enum value "MOBILE" XsollaPaywallConfigDeviceMOBILE string = "MOBILE" )
const ( // XsollaPaywallConfigSizeLARGE captures enum value "LARGE" XsollaPaywallConfigSizeLARGE string = "LARGE" // XsollaPaywallConfigSizeMEDIUM captures enum value "MEDIUM" XsollaPaywallConfigSizeMEDIUM string = "MEDIUM" // XsollaPaywallConfigSizeSMALL captures enum value "SMALL" XsollaPaywallConfigSizeSMALL string = "SMALL" )
const ( // XsollaPaywallConfigThemeDARK captures enum value "DARK" XsollaPaywallConfigThemeDARK string = "DARK" // XsollaPaywallConfigThemeDEFAULT captures enum value "DEFAULT" XsollaPaywallConfigThemeDEFAULT string = "DEFAULT" // XsollaPaywallConfigThemeDEFAULTDARK captures enum value "DEFAULT_DARK" XsollaPaywallConfigThemeDEFAULTDARK string = "DEFAULT_DARK" )
const ( // XsollaPaywallConfigRequestDeviceDESKTOP captures enum value "DESKTOP" XsollaPaywallConfigRequestDeviceDESKTOP string = "DESKTOP" // XsollaPaywallConfigRequestDeviceMOBILE captures enum value "MOBILE" XsollaPaywallConfigRequestDeviceMOBILE string = "MOBILE" )
const ( // XsollaPaywallConfigRequestSizeLARGE captures enum value "LARGE" XsollaPaywallConfigRequestSizeLARGE string = "LARGE" // XsollaPaywallConfigRequestSizeMEDIUM captures enum value "MEDIUM" XsollaPaywallConfigRequestSizeMEDIUM string = "MEDIUM" // XsollaPaywallConfigRequestSizeSMALL captures enum value "SMALL" XsollaPaywallConfigRequestSizeSMALL string = "SMALL" )
const ( // XsollaPaywallConfigRequestThemeDARK captures enum value "DARK" XsollaPaywallConfigRequestThemeDARK string = "DARK" // XsollaPaywallConfigRequestThemeDEFAULT captures enum value "DEFAULT" XsollaPaywallConfigRequestThemeDEFAULT string = "DEFAULT" // XsollaPaywallConfigRequestThemeDEFAULTDARK captures enum value "DEFAULT_DARK" XsollaPaywallConfigRequestThemeDEFAULTDARK string = "DEFAULT_DARK" )
const ( // CampaignCreateRedeemTypeITEM captures enum value "ITEM" CampaignCreateRedeemTypeITEM string = "ITEM" )
const ( // CampaignCreateTypeREDEMPTION captures enum value "REDEMPTION" CampaignCreateTypeREDEMPTION string = "REDEMPTION" )
const ( // CampaignInfoRedeemTypeITEM captures enum value "ITEM" CampaignInfoRedeemTypeITEM string = "ITEM" )
const ( // CampaignInfoTypeREDEMPTION captures enum value "REDEMPTION" CampaignInfoTypeREDEMPTION string = "REDEMPTION" )
const ( // CampaignUpdateRedeemTypeITEM captures enum value "ITEM" CampaignUpdateRedeemTypeITEM string = "ITEM" )
const ( // CodeInfoRedeemTypeITEM captures enum value "ITEM" CodeInfoRedeemTypeITEM string = "ITEM" )
const ( // CodeInfoTypeREDEMPTION captures enum value "REDEMPTION" CodeInfoTypeREDEMPTION string = "REDEMPTION" )
const ( // FulfillmentScriptEvalTestRequestTypeGrantDays captures enum value "grantDays" FulfillmentScriptEvalTestRequestTypeGrantDays string = "grantDays" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ADTOObjectForUnlockSteamAchievementAPI ¶ added in v0.22.0
type ADTOObjectForUnlockSteamAchievementAPI struct { // achievements to be updated Achievements []*SteamAchievementRequest `json:"achievements"` // steam user id SteamUserID string `json:"steamUserId,omitempty"` }
ADTOObjectForUnlockSteamAchievementAPI a d t o object for unlock steam achievement API
swagger:model A DTO object for unlock steam achievement API
func (*ADTOObjectForUnlockSteamAchievementAPI) MarshalBinary ¶ added in v0.22.0
func (m *ADTOObjectForUnlockSteamAchievementAPI) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ADTOObjectForUnlockSteamAchievementAPI) UnmarshalBinary ¶ added in v0.22.0
func (m *ADTOObjectForUnlockSteamAchievementAPI) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ADTOObjectForUpdateXboxAchievementCompletePercentageAPI ¶ added in v0.22.0
type ADTOObjectForUpdateXboxAchievementCompletePercentageAPI struct { // achievements to be updated Achievements []*XboxAchievementRequest `json:"achievements"` // service config Id ServiceConfigID string `json:"serviceConfigId,omitempty"` // title Id TitleID string `json:"titleId,omitempty"` // xbox live user id XboxUserID string `json:"xboxUserId,omitempty"` }
ADTOObjectForUpdateXboxAchievementCompletePercentageAPI a d t o object for update xbox achievement complete percentage API
swagger:model A DTO object for update xbox achievement complete percentage API
func (*ADTOObjectForUpdateXboxAchievementCompletePercentageAPI) MarshalBinary ¶ added in v0.22.0
func (m *ADTOObjectForUpdateXboxAchievementCompletePercentageAPI) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ADTOObjectForUpdateXboxAchievementCompletePercentageAPI) UnmarshalBinary ¶ added in v0.22.0
func (m *ADTOObjectForUpdateXboxAchievementCompletePercentageAPI) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AdditionalData ¶
type AdditionalData struct { // card summary CardSummary string `json:"cardSummary,omitempty"` }
AdditionalData additional data
swagger:model AdditionalData
func (*AdditionalData) MarshalBinary ¶
func (m *AdditionalData) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AdditionalData) UnmarshalBinary ¶
func (m *AdditionalData) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AdminOrderCreate ¶ added in v0.18.0
type AdminOrderCreate struct { // currency code, should match currency code in item region data // Required: true CurrencyCode *string `json:"currencyCode"` // Discounted price of order, this should match (item_discounted_price * quantity) ifitem discounted price is available, otherwise it should equal to (item_price * quantity) // Required: true DiscountedPrice *int32 `json:"discountedPrice"` // extra field to store external order information Ext map[string]interface{} `json:"ext,omitempty"` // item id // Required: true ItemID *string `json:"itemId"` // language value from language tag, allowed format: en, en-US.<p>Supported language tag : [RFC5646](https://gist.github.com/msikma/8912e62ed866778ff8cd) and [IETF](https://datahub.io/core/language-codes#resource-ietf-language-tags)</p> Language string `json:"language,omitempty"` // platform // Enum: [Epic GooglePlay IOS Nintendo Other Playstation Steam Xbox] Platform string `json:"platform,omitempty"` // Price of order, should match (item_price * quantity) // Required: true Price *int32 `json:"price"` // Quantity of item, min is 1 // Required: true Quantity *int32 `json:"quantity"` // country value from ISO countries // Required: true Region *string `json:"region"` // custom return url for real payment, user will be redirected to this url once payment is finished ReturnURL string `json:"returnUrl,omitempty"` // sandbox Sandbox bool `json:"sandbox"` }
AdminOrderCreate admin order create
swagger:model AdminOrderCreate
func (*AdminOrderCreate) MarshalBinary ¶ added in v0.18.0
func (m *AdminOrderCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AdminOrderCreate) UnmarshalBinary ¶ added in v0.18.0
func (m *AdminOrderCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AdyenConfig ¶
type AdyenConfig struct { // specifying the payment methods that are allowed to appear with the paymentMethod.type. paymentMethod.type of each payment method link: https://docs.adyen.com/developers/payment-methods AllowedPaymentMethods []string `json:"allowedPaymentMethods"` // api key, max length is 4096 APIKey string `json:"apiKey,omitempty"` // authorise as capture means no separated capture event AuthoriseAsCapture bool `json:"authoriseAsCapture"` // specifying the payment methods that are blocked with the paymentMethod.type. paymentMethod.type of each payment method link: https://docs.adyen.com/developers/payment-methods BlockedPaymentMethods []string `json:"blockedPaymentMethods"` // client key, max length is 4096 ClientKey string `json:"clientKey,omitempty"` // Adyen drop in settings json string DropInSettings string `json:"dropInSettings,omitempty"` // Provide the unique live url prefix from the "API URLs and Response" menu in the Adyen Customer Area. Under sandbox env, please input random words. LiveEndpointURLPrefix string `json:"liveEndpointUrlPrefix,omitempty"` // merchant account, max length is 255 MerchantAccount string `json:"merchantAccount,omitempty"` // notification hmac key, max length is 4096 NotificationHmacKey string `json:"notificationHmacKey,omitempty"` // notification password, max length is 255 NotificationPassword string `json:"notificationPassword,omitempty"` // notification username, max length is 255 NotificationUsername string `json:"notificationUsername,omitempty"` // return url, max length is 2000 ReturnURL string `json:"returnUrl,omitempty"` // Adyen settings json string(Deprecated, please use dropInSettings field) adyen settings docs: https://docs.adyen.com/checkout/web-sdk/customization/settings/ Settings string `json:"settings,omitempty"` }
AdyenConfig A DTO object for updating adyen config.
swagger:model AdyenConfig
func (*AdyenConfig) MarshalBinary ¶
func (m *AdyenConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AdyenConfig) UnmarshalBinary ¶
func (m *AdyenConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AliPayConfig ¶
type AliPayConfig struct { // appId AppID string `json:"appId,omitempty"` // privateKey PrivateKey string `json:"privateKey,omitempty"` // publicKey PublicKey string `json:"publicKey,omitempty"` // returnUrl ReturnURL string `json:"returnUrl,omitempty"` }
AliPayConfig A DTO object for updating alipay config.
swagger:model AliPayConfig
func (*AliPayConfig) MarshalBinary ¶
func (m *AliPayConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AliPayConfig) UnmarshalBinary ¶
func (m *AliPayConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppEntitlementInfo ¶
type AppEntitlementInfo struct { // appId for APP type entitlement AppID string `json:"appId,omitempty"` // appType for APP type entitlement // Enum: [DEMO DLC GAME SOFTWARE] AppType string `json:"appType,omitempty"` // entitlement end date // Format: date-time EndDate *strfmt.DateTime `json:"endDate,omitempty"` // entitlement granted at // Required: true // Format: date-time GrantedAt strfmt.DateTime `json:"grantedAt"` // item id ItemID string `json:"itemId,omitempty"` // itemSnapshot ItemSnapshot *ItemSnapshot `json:"itemSnapshot,omitempty"` // entitlement namespace // Required: true Namespace *string `json:"namespace"` // unique sku no for item Sku string `json:"sku,omitempty"` // entitlement start date // Format: date-time StartDate *strfmt.DateTime `json:"startDate,omitempty"` // entitlement status // Required: true // Enum: [ACTIVE CONSUMED INACTIVE REVOKED] Status *string `json:"status"` // item store id, null if published store StoreID string `json:"storeId,omitempty"` // entitlement owner // Required: true UserID *string `json:"userId"` }
AppEntitlementInfo app entitlement info
swagger:model AppEntitlementInfo
func (*AppEntitlementInfo) MarshalBinary ¶
func (m *AppEntitlementInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppEntitlementInfo) UnmarshalBinary ¶
func (m *AppEntitlementInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppEntitlementPagingSlicedResult ¶
type AppEntitlementPagingSlicedResult struct { // data Data []*AppEntitlementInfo `json:"data"` // paging Paging *Paging `json:"paging,omitempty"` }
AppEntitlementPagingSlicedResult app entitlement paging sliced result
swagger:model AppEntitlementPagingSlicedResult
func (*AppEntitlementPagingSlicedResult) MarshalBinary ¶
func (m *AppEntitlementPagingSlicedResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppEntitlementPagingSlicedResult) UnmarshalBinary ¶
func (m *AppEntitlementPagingSlicedResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppInfo ¶
type AppInfo struct { // announcement Announcement string `json:"announcement,omitempty"` // carousel Carousel []*Slide `json:"carousel"` // developer Developer string `json:"developer,omitempty"` // forum url ForumURL string `json:"forumUrl,omitempty"` // genres Genres []string `json:"genres"` // item id // Required: true ItemID *string `json:"itemId"` // language Language string `json:"language,omitempty"` // namespace // Required: true Namespace *string `json:"namespace"` // platform requirements PlatformRequirements map[string][]Requirement `json:"platformRequirements,omitempty"` // supported platforms Platforms []string `json:"platforms"` // players Players []string `json:"players"` // primary genre // Enum: [Action Adventure Casual FreeToPlay Indie MassivelyMultiplayer RPG Racing Simulation Sports Strategy] PrimaryGenre string `json:"primaryGenre,omitempty"` // publisher Publisher string `json:"publisher,omitempty"` // region Region string `json:"region,omitempty"` // release date // Format: date-time ReleaseDate *strfmt.DateTime `json:"releaseDate,omitempty"` // slogan Slogan string `json:"slogan,omitempty"` // website url WebsiteURL string `json:"websiteUrl,omitempty"` }
AppInfo app info
swagger:model AppInfo
func (*AppInfo) MarshalBinary ¶
MarshalBinary interface implementation
func (*AppInfo) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type AppLocalization ¶
type AppLocalization struct { // announcement Announcement string `json:"announcement,omitempty"` // slogan Slogan string `json:"slogan,omitempty"` }
AppLocalization app localization
swagger:model AppLocalization
func (*AppLocalization) MarshalBinary ¶
func (m *AppLocalization) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppLocalization) UnmarshalBinary ¶
func (m *AppLocalization) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppUpdate ¶
type AppUpdate struct { // carousel Carousel []*Slide `json:"carousel"` // developer, it should starts and ends with alphabets uppercase/lowercase or numeric, allowed separators, these symbols ',.-, and white-space, max length is 48 Developer string `json:"developer,omitempty"` // forum url, max length 2000 ForumURL string `json:"forumUrl,omitempty"` // genres Genres []string `json:"genres"` // localizations Localizations map[string]AppLocalization `json:"localizations,omitempty"` // platform requirements PlatformRequirements map[string][]Requirement `json:"platformRequirements,omitempty"` // supported platforms Platforms []string `json:"platforms"` // players Players []string `json:"players"` // primary genre // Enum: [Action Adventure Casual FreeToPlay Indie MassivelyMultiplayer RPG Racing Simulation Sports Strategy] PrimaryGenre string `json:"primaryGenre,omitempty"` // publisher, it should starts and ends with alphabets uppercase/lowercase or numeric, allowed separators, these symbols ',.-, and white-space, max length is 48 Publisher string `json:"publisher,omitempty"` // release date in format yyyy-MM-dd'T'HH:mm:ss.SSS'Z' // Format: date-time ReleaseDate *strfmt.DateTime `json:"releaseDate,omitempty"` // website url, max length is 2000 WebsiteURL string `json:"websiteUrl,omitempty"` }
AppUpdate app update
swagger:model AppUpdate
func (*AppUpdate) MarshalBinary ¶
MarshalBinary interface implementation
func (*AppUpdate) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type AppleIAPConfigInfo ¶
type AppleIAPConfigInfo struct { // bundleId // Required: true BundleID *string `json:"bundleId"` // namespace // Required: true Namespace *string `json:"namespace"` // password Password string `json:"password,omitempty"` }
AppleIAPConfigInfo apple i a p config info
swagger:model AppleIAPConfigInfo
func (*AppleIAPConfigInfo) MarshalBinary ¶
func (m *AppleIAPConfigInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppleIAPConfigInfo) UnmarshalBinary ¶
func (m *AppleIAPConfigInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppleIAPConfigRequest ¶
type AppleIAPConfigRequest struct { // bundleId // Required: true BundleID *string `json:"bundleId"` // password Password string `json:"password,omitempty"` }
AppleIAPConfigRequest apple i a p config request
swagger:model AppleIAPConfigRequest
func (*AppleIAPConfigRequest) MarshalBinary ¶
func (m *AppleIAPConfigRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppleIAPConfigRequest) UnmarshalBinary ¶
func (m *AppleIAPConfigRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type AppleIAPReceipt ¶
type AppleIAPReceipt struct { // Only used for iOS7 style app receipts that contain auto-renewable or non-renewing subscriptions. If value is true, response includes only the latest renewal transaction for any subscriptions. ExcludeOldTransactions bool `json:"excludeOldTransactions"` // language value from language tag, allowed format: en, en-US.<p>Supported language tag : [RFC5646](https://gist.github.com/msikma/8912e62ed866778ff8cd) and [IETF](https://datahub.io/core/language-codes#resource-ietf-language-tags)</p> // Pattern: ^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$ Language string `json:"language,omitempty"` // The product identifier of the item that was purchased. // Required: true ProductID *string `json:"productId"` // The base64 encoded receipt data. // Required: true ReceiptData *string `json:"receiptData"` // country value from ISO countries Region string `json:"region,omitempty"` // The transaction identifier of the item that was purchased. // Required: true TransactionID *string `json:"transactionId"` }
AppleIAPReceipt apple i a p receipt
swagger:model AppleIAPReceipt
func (*AppleIAPReceipt) MarshalBinary ¶
func (m *AppleIAPReceipt) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*AppleIAPReceipt) UnmarshalBinary ¶
func (m *AppleIAPReceipt) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BasicCategoryInfo ¶
type BasicCategoryInfo struct { // Category path // Required: true CategoryPath *string `json:"categoryPath"` // Category created time // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // Category namespace // Required: true Namespace *string `json:"namespace"` // Parent category path // Required: true ParentCategoryPath *string `json:"parentCategoryPath"` // root Root bool `json:"root"` // Category updated time // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt"` }
BasicCategoryInfo basic category info
swagger:model BasicCategoryInfo
func (*BasicCategoryInfo) MarshalBinary ¶
func (m *BasicCategoryInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BasicCategoryInfo) UnmarshalBinary ¶
func (m *BasicCategoryInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BasicItem ¶
type BasicItem struct { // App id, required when itemType is APP AppID string `json:"appId,omitempty"` // App type, required when itemType is APP // Enum: [DEMO DLC GAME SOFTWARE] AppType string `json:"appType,omitempty"` // Base app id BaseAppID string `json:"baseAppId,omitempty"` // created at // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // Entitlement type // Required: true // Enum: [CONSUMABLE DURABLE] EntitlementType *string `json:"entitlementType"` // Features // Unique: true Features []string `json:"features"` // Item id // Required: true ItemID *string `json:"itemId"` // Item type // Required: true // Enum: [APP BUNDLE CODE COINS INGAMEITEM MEDIA SEASON SUBSCRIPTION] ItemType *string `json:"itemType"` // Name // Required: true Name *string `json:"name"` // Item namespace // Required: true Namespace *string `json:"namespace"` // Season type, required while itemType is SEASON // Enum: [PASS TIER] SeasonType string `json:"seasonType,omitempty"` // Sku Sku string `json:"sku,omitempty"` // Item status // Required: true // Enum: [ACTIVE INACTIVE] Status *string `json:"status"` // Tags // Unique: true Tags []string `json:"tags"` // updated at // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt"` // Item use count, required when entitlement type is consumable or itemType is COINS UseCount int32 `json:"useCount,omitempty"` }
BasicItem basic item
swagger:model BasicItem
func (*BasicItem) MarshalBinary ¶
MarshalBinary interface implementation
func (*BasicItem) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type BillingAccount ¶ added in v0.7.0
type BillingAccount struct { // payment addition data AdditionalData *AdditionalData `json:"additionalData,omitempty"` // payment method PaymentMethod string `json:"paymentMethod,omitempty"` // payment provider // Enum: [ADYEN ALIPAY CHECKOUT PAYPAL STRIPE WALLET WXPAY XSOLLA] PaymentProvider string `json:"paymentProvider,omitempty"` }
BillingAccount billing account
swagger:model BillingAccount
func (*BillingAccount) MarshalBinary ¶ added in v0.7.0
func (m *BillingAccount) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BillingAccount) UnmarshalBinary ¶ added in v0.7.0
func (m *BillingAccount) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BillingHistoryInfo ¶ added in v0.7.0
type BillingHistoryInfo struct { // charge amount // Required: true Amount *int32 `json:"amount"` // billing account BillingAccount *BillingAccount `json:"billingAccount,omitempty"` // Is this payment for billing account change ChangeBillingAccount bool `json:"changeBillingAccount"` // created at // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // currency // Required: true Currency *CurrencySummary `json:"currency"` // subscription description Description string `json:"description,omitempty"` // external transaction id ExtTxID string `json:"extTxId,omitempty"` // item id // Required: true ItemID *string `json:"itemId"` // namespace // Required: true Namespace *string `json:"namespace"` // payment order No // Required: true PaymentOrderNo *string `json:"paymentOrderNo"` // Recurring order No for this billing // Required: true RecurringOrderNo *string `json:"recurringOrderNo"` // Already retry attempted No RetryAttempted int32 `json:"retryAttempted,omitempty"` // sandbox // Required: true Sandbox *bool `json:"sandbox"` // subscription sku Sku string `json:"sku,omitempty"` // billing history status // Required: true // Enum: [CHARGED CHARGE_FAILED INIT REFUNDED REFUND_FAILED] Status *string `json:"status"` // status reason StatusReason string `json:"statusReason,omitempty"` // subscription id // Required: true SubscriptionID *string `json:"subscriptionId"` // subtotal price SubtotalPrice int32 `json:"subtotalPrice,omitempty"` // subscription title // Required: true Title *string `json:"title"` // total price TotalPrice int32 `json:"totalPrice,omitempty"` // total tax TotalTax int32 `json:"totalTax,omitempty"` // transaction end time // Format: date-time TxEndTime *strfmt.DateTime `json:"txEndTime,omitempty"` // updated at // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt"` // user id // Required: true UserID *string `json:"userId"` }
BillingHistoryInfo billing history info
swagger:model BillingHistoryInfo
func (*BillingHistoryInfo) MarshalBinary ¶ added in v0.7.0
func (m *BillingHistoryInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BillingHistoryInfo) UnmarshalBinary ¶ added in v0.7.0
func (m *BillingHistoryInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BillingHistoryPagingSlicedResult ¶ added in v0.7.0
type BillingHistoryPagingSlicedResult struct { // data // Required: true Data []*BillingHistoryInfo `json:"data"` // paging Paging *Paging `json:"paging,omitempty"` }
BillingHistoryPagingSlicedResult billing history paging sliced result
swagger:model BillingHistoryPagingSlicedResult
func (*BillingHistoryPagingSlicedResult) MarshalBinary ¶ added in v0.7.0
func (m *BillingHistoryPagingSlicedResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BillingHistoryPagingSlicedResult) UnmarshalBinary ¶ added in v0.7.0
func (m *BillingHistoryPagingSlicedResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BulkOperationResult ¶
type BulkOperationResult struct { // affected Affected int32 `json:"affected,omitempty"` }
BulkOperationResult bulk operation result
swagger:model BulkOperationResult
func (*BulkOperationResult) MarshalBinary ¶
func (m *BulkOperationResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BulkOperationResult) UnmarshalBinary ¶
func (m *BulkOperationResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type BundledItemInfo ¶ added in v0.10.0
type BundledItemInfo struct { // App id, required when itemType is APP AppID string `json:"appId,omitempty"` // App type, required when itemType is APP // Enum: [DEMO DLC GAME SOFTWARE] AppType string `json:"appType,omitempty"` // Base app id BaseAppID string `json:"baseAppId,omitempty"` // booth name to get tickets while it's item type is CODE BoothName string `json:"boothName,omitempty"` // the items which this item being bounded to // Unique: true BoundItemIds []string `json:"boundItemIds"` // bundled qty BundledQty int32 `json:"bundledQty,omitempty"` // Item category path // Required: true CategoryPath *string `json:"categoryPath"` // customized item clazz Clazz string `json:"clazz,omitempty"` // created at // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // description info Description string `json:"description,omitempty"` // display order DisplayOrder int32 `json:"displayOrder,omitempty"` // Entitlement type // Required: true // Enum: [CONSUMABLE DURABLE] EntitlementType *string `json:"entitlementType"` // customized item properties Ext map[string]interface{} `json:"ext,omitempty"` // Features // Unique: true Features []string `json:"features"` // images Images []*Image `json:"images"` // Item id // Required: true ItemID *string `json:"itemId"` // itemIds, should be empty if item type is not "BUNDLE" ItemIds []string `json:"itemIds"` // itemQty, the quantity of item in itemIds, default 1, should be empty if item type is not "BUNDLE" ItemQty map[string]int32 `json:"itemQty,omitempty"` // Item type // Required: true // Enum: [APP BUNDLE CODE COINS INGAMEITEM MEDIA SEASON SUBSCRIPTION] ItemType *string `json:"itemType"` // language // Required: true Language *string `json:"language"` // Whether can be visible in Store for public user Listable bool `json:"listable"` // local ext LocalExt map[string]interface{} `json:"localExt,omitempty"` // long description info LongDescription string `json:"longDescription,omitempty"` // Max count, -1 means UNLIMITED, unset when itemType is CODE MaxCount int32 `json:"maxCount,omitempty"` // Max count per user, -1 means UNLIMITED MaxCountPerUser int32 `json:"maxCountPerUser,omitempty"` // Name // Required: true Name *string `json:"name"` // Item namespace // Required: true Namespace *string `json:"namespace"` // Whether can be purchased Purchasable bool `json:"purchasable"` // recurring for subscription Recurring *Recurring `json:"recurring,omitempty"` // region // Required: true Region *string `json:"region"` // Region data RegionData []*RegionDataItem `json:"regionData"` // Season type, required while itemType is SEASON // Enum: [PASS TIER] SeasonType string `json:"seasonType,omitempty"` // Sku Sku string `json:"sku,omitempty"` // Whether stack the CONSUMABLE entitlement Stackable bool `json:"stackable"` // Item status // Required: true // Enum: [ACTIVE INACTIVE] Status *string `json:"status"` // Tags // Unique: true Tags []string `json:"tags"` // Target currency code of coin item TargetCurrencyCode string `json:"targetCurrencyCode,omitempty"` // Target item id if this item is mapping from game namespace TargetItemID string `json:"targetItemId,omitempty"` // The target namespace of a cross namespace item TargetNamespace string `json:"targetNamespace,omitempty"` // thumbnail url ThumbnailURL string `json:"thumbnailUrl,omitempty"` // title info // Required: true Title *string `json:"title"` // updated at // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt"` // Item use count, required when entitlement type is consumable or itemType is COINS UseCount int32 `json:"useCount,omitempty"` }
BundledItemInfo bundled item info
swagger:model BundledItemInfo
func (*BundledItemInfo) MarshalBinary ¶ added in v0.10.0
func (m *BundledItemInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*BundledItemInfo) UnmarshalBinary ¶ added in v0.10.0
func (m *BundledItemInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CampaignCreate ¶ added in v0.7.0
type CampaignCreate struct { // The description of the campaign, max length is 1024 characters Description string `json:"description,omitempty"` // Redeemable items Items []*RedeemableItem `json:"items"` // The maximum redeem count per campaign per user, must equal or greater than -1, -1 means UNLIMITED, default is 1 MaxRedeemCountPerCampaignPerUser int32 `json:"maxRedeemCountPerCampaignPerUser,omitempty"` // The maximum redeem count per code, must equal or greater than -1, -1 means UNLIMITED, default is 1 MaxRedeemCountPerCode int32 `json:"maxRedeemCountPerCode,omitempty"` // The maximum redeem count per code per user, must equal or greater than -1, -1 means UNLIMITED, default is 1 MaxRedeemCountPerCodePerUser int32 `json:"maxRedeemCountPerCodePerUser,omitempty"` // Max sale count, -1 means UNLIMITED MaxSaleCount int32 `json:"maxSaleCount,omitempty"` // The name of the campaign, it should starts and ends with alphabets uppercase/lowercase or numeric // Allowed separators ',.- and white-space, max length is 48 // Required: true Name *string `json:"name"` // redeem end time in yyyy-MM-dd'T'HH:mm:ss.SSS'Z' // Format: date-time RedeemEnd *strfmt.DateTime `json:"redeemEnd,omitempty"` // redeem start time in yyyy-MM-dd'T'HH:mm:ss.SSS'Z' // Format: date-time RedeemStart *strfmt.DateTime `json:"redeemStart,omitempty"` // Redeem Type. Allowed values: ITEM. ITEM for default // Enum: [ITEM] RedeemType string `json:"redeemType,omitempty"` // The status of the campaign, default ACTIVE // Enum: [ACTIVE INACTIVE] Status string `json:"status,omitempty"` // The tags of the campaign Tags []string `json:"tags"` // Campaign type. Allowed values: REDEMPTION. REDEMPTION for default // Enum: [REDEMPTION] Type string `json:"type,omitempty"` }
CampaignCreate A DTO object for creating campaign API call.
swagger:model CampaignCreate
func (*CampaignCreate) MarshalBinary ¶ added in v0.7.0
func (m *CampaignCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CampaignCreate) UnmarshalBinary ¶ added in v0.7.0
func (m *CampaignCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CampaignDynamicInfo ¶ added in v0.7.0
type CampaignDynamicInfo struct { // The available sale count, -1 means UNLIMITED // Required: true AvailableSaleCount *int32 `json:"availableSaleCount"` // The batch number marks the manually code generation // Required: true LastBatchNo *int32 `json:"lastBatchNo"` // The total quantity of this campaign has // Required: true Quantity *int32 `json:"quantity"` // The remainder quantity of codes not been redeemed out // Required: true Remainder *int32 `json:"remainder"` // The sale count // Required: true SaleCount *int32 `json:"saleCount"` }
CampaignDynamicInfo campaign dynamic info
swagger:model CampaignDynamicInfo
func (*CampaignDynamicInfo) MarshalBinary ¶ added in v0.7.0
func (m *CampaignDynamicInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CampaignDynamicInfo) UnmarshalBinary ¶ added in v0.7.0
func (m *CampaignDynamicInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CampaignInfo ¶ added in v0.7.0
type CampaignInfo struct { // booth name // Required: true BoothName *string `json:"boothName"` // created at // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // campaign description Description string `json:"description,omitempty"` // campaign id // Required: true ID *string `json:"id"` // redeem items Items []*RedeemableItem `json:"items"` // The maximum redeem count of a campaign per user, -1 means UNLIMITED // Required: true MaxRedeemCountPerCampaignPerUser *int32 `json:"maxRedeemCountPerCampaignPerUser"` // The maximum redeem count of a code, -1 means UNLIMITED // Required: true MaxRedeemCountPerCode *int32 `json:"maxRedeemCountPerCode"` // The maximum redeem count of a code per user, -1 means UNLIMITED // Required: true MaxRedeemCountPerCodePerUser *int32 `json:"maxRedeemCountPerCodePerUser"` // The maximum sale count, -1 means UNLIMITED // Required: true MaxSaleCount *int32 `json:"maxSaleCount"` // campaign name // Required: true Name *string `json:"name"` // namespace // Required: true Namespace *string `json:"namespace"` // redeem end // Format: date-time RedeemEnd *strfmt.DateTime `json:"redeemEnd,omitempty"` // redeem start // Format: date-time RedeemStart *strfmt.DateTime `json:"redeemStart,omitempty"` // redeem type // Required: true // Enum: [ITEM] RedeemType *string `json:"redeemType"` // campaign status // Required: true // Enum: [ACTIVE INACTIVE] Status *string `json:"status"` // campaign tags Tags []string `json:"tags"` // campaign type // Required: true // Enum: [REDEMPTION] Type *string `json:"type"` // update at // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt"` }
CampaignInfo campaign info
swagger:model CampaignInfo
func (*CampaignInfo) MarshalBinary ¶ added in v0.7.0
func (m *CampaignInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CampaignInfo) UnmarshalBinary ¶ added in v0.7.0
func (m *CampaignInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CampaignPagingSlicedResult ¶ added in v0.7.0
type CampaignPagingSlicedResult struct { // data // Required: true Data []*CampaignInfo `json:"data"` // paging Paging *Paging `json:"paging,omitempty"` }
CampaignPagingSlicedResult campaign paging sliced result
swagger:model CampaignPagingSlicedResult
func (*CampaignPagingSlicedResult) MarshalBinary ¶ added in v0.7.0
func (m *CampaignPagingSlicedResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CampaignPagingSlicedResult) UnmarshalBinary ¶ added in v0.7.0
func (m *CampaignPagingSlicedResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CampaignUpdate ¶ added in v0.7.0
type CampaignUpdate struct { // The description of the campaign, max length is 1024 characters Description string `json:"description,omitempty"` // Redeemable Items Items []*RedeemableItem `json:"items"` // The maximum redeem count per campaign per user, must equal or greater than -1, -1 means UNLIMITED, default is 1 MaxRedeemCountPerCampaignPerUser int32 `json:"maxRedeemCountPerCampaignPerUser,omitempty"` // The maximum redeems count per code, must equal or greater than -1, -1 means UNLIMITED MaxRedeemCountPerCode int32 `json:"maxRedeemCountPerCode,omitempty"` // The maximum redeem count per code per user, must equal or greater than -1, -1 means UNLIMITED MaxRedeemCountPerCodePerUser int32 `json:"maxRedeemCountPerCodePerUser,omitempty"` // Max sale count, -1 means UNLIMITED MaxSaleCount int32 `json:"maxSaleCount,omitempty"` // The name of the campaign, it should starts and ends with alphabets uppercase/lowercase or numeric // Allowed separators ',.- and white-space, max length is 48 // Required: true Name *string `json:"name"` // redeem end time in yyyy-MM-dd'T'HH:mm:ss.SSS'Z' // Format: date-time RedeemEnd *strfmt.DateTime `json:"redeemEnd,omitempty"` // redeem start time in yyyy-MM-dd'T'HH:mm:ss.SSS'Z' // Format: date-time RedeemStart *strfmt.DateTime `json:"redeemStart,omitempty"` // Redeem Type. Allowed values: ITEM // Enum: [ITEM] RedeemType string `json:"redeemType,omitempty"` // The status of the campaign // Enum: [ACTIVE INACTIVE] Status string `json:"status,omitempty"` // The tags of the campaign Tags []string `json:"tags"` }
CampaignUpdate A DTO object for updating campaign API call.
swagger:model CampaignUpdate
func (*CampaignUpdate) MarshalBinary ¶ added in v0.7.0
func (m *CampaignUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CampaignUpdate) UnmarshalBinary ¶ added in v0.7.0
func (m *CampaignUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CancelRequest ¶ added in v0.7.0
type CancelRequest struct { // immediate, default false Immediate bool `json:"immediate"` // cancel reason Reason string `json:"reason,omitempty"` }
CancelRequest cancel request
swagger:model CancelRequest
func (*CancelRequest) MarshalBinary ¶ added in v0.7.0
func (m *CancelRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CancelRequest) UnmarshalBinary ¶ added in v0.7.0
func (m *CancelRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CatalogChangeInfo ¶ added in v0.17.0
type CatalogChangeInfo struct { // change action // Required: true // Enum: [CREATE DELETE UPDATE] Action *string `json:"action"` // category path id type Category CategoryPath string `json:"categoryPath,omitempty"` // change id // Required: true ChangeID *string `json:"changeId"` // created time // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // a description if this change is not directly caused by user action. eg: bundle item Description string `json:"description,omitempty"` // item id ItemID string `json:"itemId,omitempty"` // item type // Enum: [APP BUNDLE CODE COINS INGAMEITEM MEDIA SEASON SUBSCRIPTION] ItemType string `json:"itemType,omitempty"` // namespace // Required: true Namespace *string `json:"namespace"` // publish time // Format: date-time PublishedAt *strfmt.DateTime `json:"publishedAt,omitempty"` // if it is selected for partial publish // Required: true Selected *bool `json:"selected"` // item sku Sku string `json:"sku,omitempty"` // change status // Required: true // Enum: [PUBLISHED UNPUBLISHED] Status *string `json:"status"` // store id // Required: true StoreID *string `json:"storeId"` // store title or item's name Title string `json:"title,omitempty"` // change type // Enum: [CATEGORY ITEM STORE] Type string `json:"type,omitempty"` // updated time // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt"` }
CatalogChangeInfo catalog change info
swagger:model CatalogChangeInfo
func (*CatalogChangeInfo) MarshalBinary ¶ added in v0.17.0
func (m *CatalogChangeInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CatalogChangeInfo) UnmarshalBinary ¶ added in v0.17.0
func (m *CatalogChangeInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CatalogChangePagingSlicedResult ¶ added in v0.17.0
type CatalogChangePagingSlicedResult struct { // data // Required: true Data []*CatalogChangeInfo `json:"data"` // paging Paging *Paging `json:"paging,omitempty"` }
CatalogChangePagingSlicedResult catalog change paging sliced result
swagger:model CatalogChangePagingSlicedResult
func (*CatalogChangePagingSlicedResult) MarshalBinary ¶ added in v0.17.0
func (m *CatalogChangePagingSlicedResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CatalogChangePagingSlicedResult) UnmarshalBinary ¶ added in v0.17.0
func (m *CatalogChangePagingSlicedResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CatalogChangeStatistics ¶ added in v0.22.0
type CatalogChangeStatistics struct { // all change count // Required: true Count *int64 `json:"count"` // selected change count // Required: true SelectedCount *int64 `json:"selectedCount"` }
CatalogChangeStatistics catalog change statistics
swagger:model CatalogChangeStatistics
func (*CatalogChangeStatistics) MarshalBinary ¶ added in v0.22.0
func (m *CatalogChangeStatistics) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CatalogChangeStatistics) UnmarshalBinary ¶ added in v0.22.0
func (m *CatalogChangeStatistics) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CategoryCreate ¶
type CategoryCreate struct { // Category Path, A path separated by "/", start with "/" and end with combination of case of letters and numbers, max length is 255, min length is 2 // Required: true CategoryPath *string `json:"categoryPath"` // Display name, key is language, value is display name, value max length is 255 // Required: true LocalizationDisplayNames map[string]string `json:"localizationDisplayNames"` }
CategoryCreate A DTO object for creating category API call.
swagger:model CategoryCreate
func (*CategoryCreate) MarshalBinary ¶
func (m *CategoryCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CategoryCreate) UnmarshalBinary ¶
func (m *CategoryCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CategoryInfo ¶
type CategoryInfo struct { // Category path // Required: true CategoryPath *string `json:"categoryPath"` // Category created time // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // Category display name // Required: true DisplayName *string `json:"displayName"` // Category namespace // Required: true Namespace *string `json:"namespace"` // Parent category path // Required: true ParentCategoryPath *string `json:"parentCategoryPath"` // root Root bool `json:"root"` // Category updated time // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt"` }
CategoryInfo category info
swagger:model CategoryInfo
func (*CategoryInfo) MarshalBinary ¶
func (m *CategoryInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CategoryInfo) UnmarshalBinary ¶
func (m *CategoryInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CategoryUpdate ¶
type CategoryUpdate struct { // Display name, key is language, value is display name, value max length is 255 // Required: true LocalizationDisplayNames map[string]string `json:"localizationDisplayNames"` }
CategoryUpdate A DTO object for updating category API call.
swagger:model CategoryUpdate
func (*CategoryUpdate) MarshalBinary ¶
func (m *CategoryUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CategoryUpdate) UnmarshalBinary ¶
func (m *CategoryUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CheckoutConfig ¶
type CheckoutConfig struct { // public key, max length is 4096 PublicKey string `json:"publicKey,omitempty"` // secret key, max length is 4096 SecretKey string `json:"secretKey,omitempty"` }
CheckoutConfig A DTO object for updating checkout.com config.
swagger:model CheckoutConfig
func (*CheckoutConfig) MarshalBinary ¶
func (m *CheckoutConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CheckoutConfig) UnmarshalBinary ¶
func (m *CheckoutConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CodeCreate ¶ added in v0.7.0
type CodeCreate struct { // The quantity of codes to generate // Required: true Quantity *int32 `json:"quantity"` }
CodeCreate A DTO object for creating codes API call.
swagger:model CodeCreate
func (*CodeCreate) MarshalBinary ¶ added in v0.7.0
func (m *CodeCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CodeCreate) UnmarshalBinary ¶ added in v0.7.0
func (m *CodeCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CodeCreateResult ¶ added in v0.7.0
type CodeCreateResult struct { // number created // Required: true NumCreated *int32 `json:"numCreated"` }
CodeCreateResult code create result
swagger:model CodeCreateResult
func (*CodeCreateResult) MarshalBinary ¶ added in v0.7.0
func (m *CodeCreateResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CodeCreateResult) UnmarshalBinary ¶ added in v0.7.0
func (m *CodeCreateResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CodeInfo ¶ added in v0.7.0
type CodeInfo struct { // order No. that grant this code AcquireOrderNo string `json:"acquireOrderNo,omitempty"` // user Id who get this code AcquireUserID string `json:"acquireUserId,omitempty"` // batch No. // Required: true BatchNo *int32 `json:"batchNo"` // campaign id // Required: true CampaignID *string `json:"campaignId"` // created at // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // code id // Required: true ID *string `json:"id"` // redeem items Items []*RedeemableItem `json:"items"` // The maximum redeem count of a campaign per user, -1 means UNLIMITED // Required: true MaxRedeemCountPerCampaignPerUser *int32 `json:"maxRedeemCountPerCampaignPerUser"` // The maximum redeem count of a code, -1 means UNLIMITED // Required: true MaxRedeemCountPerCode *int32 `json:"maxRedeemCountPerCode"` // The maximum redeem count of a code per user, -1 means UNLIMITED // Required: true MaxRedeemCountPerCodePerUser *int32 `json:"maxRedeemCountPerCodePerUser"` // namespace // Required: true Namespace *string `json:"namespace"` // redeem end // Format: date-time RedeemEnd *strfmt.DateTime `json:"redeemEnd,omitempty"` // redeem start // Format: date-time RedeemStart *strfmt.DateTime `json:"redeemStart,omitempty"` // redeem type // Required: true // Enum: [ITEM] RedeemType *string `json:"redeemType"` // The total count of this code has been redeemed // Required: true RedeemedCount *int32 `json:"redeemedCount"` // Redemption remainder, -1 means unlimited // Required: true Remainder *int32 `json:"remainder"` // code status // Required: true // Enum: [ACTIVE INACTIVE] Status *string `json:"status"` // campaign type // Required: true // Enum: [REDEMPTION] Type *string `json:"type"` // updated at // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt"` // code value // Required: true Value *string `json:"value"` }
CodeInfo code info
swagger:model CodeInfo
func (*CodeInfo) MarshalBinary ¶ added in v0.7.0
MarshalBinary interface implementation
func (*CodeInfo) UnmarshalBinary ¶ added in v0.7.0
UnmarshalBinary interface implementation
type CodeInfoPagingSlicedResult ¶ added in v0.7.0
type CodeInfoPagingSlicedResult struct { // data // Required: true Data []*CodeInfo `json:"data"` // paging Paging *Paging `json:"paging,omitempty"` }
CodeInfoPagingSlicedResult code info paging sliced result
swagger:model CodeInfoPagingSlicedResult
func (*CodeInfoPagingSlicedResult) MarshalBinary ¶ added in v0.7.0
func (m *CodeInfoPagingSlicedResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CodeInfoPagingSlicedResult) UnmarshalBinary ¶ added in v0.7.0
func (m *CodeInfoPagingSlicedResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ConditionMatchResult ¶ added in v0.8.0
type ConditionMatchResult struct { // matched Matched bool `json:"matched"` // matched conditions MatchedConditions []interface{} `json:"matchedConditions"` // not match reason NotMatchReason string `json:"notMatchReason,omitempty"` }
ConditionMatchResult condition match result
swagger:model ConditionMatchResult
func (*ConditionMatchResult) MarshalBinary ¶ added in v0.8.0
func (m *ConditionMatchResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ConditionMatchResult) UnmarshalBinary ¶ added in v0.8.0
func (m *ConditionMatchResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreditRequest ¶
type CreditRequest struct { // amount // Required: true // Minimum: 1 Amount *int64 `json:"amount"` // this amount expire time, using ISO 8601 format e.g. yyyy-MM-dd'T'HH:mm:ss.SSS'Z' // Format: date-time ExpireAt *strfmt.DateTime `json:"expireAt,omitempty"` // origin, balance origin decided on the type of wallet, default is System // Enum: [Epic GooglePlay IOS Nintendo Other Playstation Stadia Steam System Twitch Xbox] Origin string `json:"origin,omitempty"` // reason, max length is 127 Reason string `json:"reason,omitempty"` // source, purchase for default // Enum: [ACHIEVEMENT DLC GIFT IAP OTHER PROMOTION PURCHASE REDEEM_CODE REFERRAL_BONUS REFUND REWARD] Source string `json:"source,omitempty"` }
CreditRequest A DTO for wallet's credit
swagger:model CreditRequest
func (*CreditRequest) MarshalBinary ¶
func (m *CreditRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreditRequest) UnmarshalBinary ¶
func (m *CreditRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CreditSummary ¶
type CreditSummary struct { // amount // Required: true Amount *int64 `json:"amount"` // namespace // Required: true Namespace *string `json:"namespace"` // user id // Required: true UserID *string `json:"userId"` // wallet id // Required: true WalletID *string `json:"walletId"` }
CreditSummary credit summary
swagger:model CreditSummary
func (*CreditSummary) MarshalBinary ¶
func (m *CreditSummary) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CreditSummary) UnmarshalBinary ¶
func (m *CreditSummary) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CurrencyConfig ¶
type CurrencyConfig struct { // currency symbol // Required: true CurrencySymbol *string `json:"currencySymbol"` }
CurrencyConfig currency config
swagger:model CurrencyConfig
func (*CurrencyConfig) MarshalBinary ¶
func (m *CurrencyConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CurrencyConfig) UnmarshalBinary ¶
func (m *CurrencyConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CurrencyCreate ¶
type CurrencyCreate struct { // currency code, alphabet uppercase // Required: true CurrencyCode *string `json:"currencyCode"` // currency symbol, max length is 8 CurrencySymbol string `json:"currencySymbol,omitempty"` // currency type // Enum: [REAL VIRTUAL] CurrencyType string `json:"currencyType,omitempty"` // decimals, commonly set 2 if real currency or 0 if virtual currency Decimals int32 `json:"decimals,omitempty"` // Description, key is language, value is description max length is 255 LocalizationDescriptions map[string]string `json:"localizationDescriptions,omitempty"` }
CurrencyCreate A DTO for creating currency
swagger:model CurrencyCreate
func (*CurrencyCreate) MarshalBinary ¶
func (m *CurrencyCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CurrencyCreate) UnmarshalBinary ¶
func (m *CurrencyCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CurrencyInfo ¶
type CurrencyInfo struct { // created at // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // currency code, alphabet uppercase // Required: true CurrencyCode *string `json:"currencyCode"` // currency symbol, max length is 8 // Required: true CurrencySymbol *string `json:"currencySymbol"` // currency type // Required: true // Enum: [REAL VIRTUAL] CurrencyType *string `json:"currencyType"` // decimals // Required: true Decimals *int32 `json:"decimals"` // Description, key is language, value is description max length is 255 LocalizationDescriptions map[string]string `json:"localizationDescriptions,omitempty"` // namespace // Required: true Namespace *string `json:"namespace"` // updated at // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt"` }
CurrencyInfo currency info
swagger:model CurrencyInfo
func (*CurrencyInfo) MarshalBinary ¶
func (m *CurrencyInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CurrencyInfo) UnmarshalBinary ¶
func (m *CurrencyInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CurrencySummary ¶
type CurrencySummary struct { // currency code, alphabet uppercase // Required: true CurrencyCode *string `json:"currencyCode"` // currency symbol, max length is 8 // Required: true CurrencySymbol *string `json:"currencySymbol"` // currency type // Required: true // Enum: [REAL VIRTUAL] CurrencyType *string `json:"currencyType"` // decimals // Required: true Decimals *int32 `json:"decimals"` // namespace // Required: true Namespace *string `json:"namespace"` }
CurrencySummary currency summary
swagger:model CurrencySummary
func (*CurrencySummary) MarshalBinary ¶
func (m *CurrencySummary) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CurrencySummary) UnmarshalBinary ¶
func (m *CurrencySummary) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CurrencyUpdate ¶
type CurrencyUpdate struct { // Description, key is language, value is description max length is 255 LocalizationDescriptions map[string]string `json:"localizationDescriptions,omitempty"` }
CurrencyUpdate A DTO for update currency
swagger:model CurrencyUpdate
func (*CurrencyUpdate) MarshalBinary ¶
func (m *CurrencyUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CurrencyUpdate) UnmarshalBinary ¶
func (m *CurrencyUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type CurrencyWallet ¶ added in v0.18.0
type CurrencyWallet struct { // total balance, include time-limited balance // Required: true Balance *int64 `json:"balance"` // currency code // Required: true CurrencyCode *string `json:"currencyCode"` // currency symbol // Required: true CurrencySymbol *string `json:"currencySymbol"` // wallet namespace // Required: true Namespace *string `json:"namespace"` // total permanent balance TotalPermanentBalance int64 `json:"totalPermanentBalance,omitempty"` // total time limited balance TotalTimeLimitedBalance int64 `json:"totalTimeLimitedBalance,omitempty"` // user id // Required: true UserID *string `json:"userId"` // wallets balances info WalletInfos []*WalletInfo `json:"walletInfos"` }
CurrencyWallet currency wallet
swagger:model CurrencyWallet
func (*CurrencyWallet) MarshalBinary ¶ added in v0.18.0
func (m *CurrencyWallet) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*CurrencyWallet) UnmarshalBinary ¶ added in v0.18.0
func (m *CurrencyWallet) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Customization ¶
type Customization struct { // settings Settings string `json:"settings,omitempty"` }
Customization customization
swagger:model Customization
func (*Customization) MarshalBinary ¶
func (m *Customization) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Customization) UnmarshalBinary ¶
func (m *Customization) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DLCItem ¶ added in v0.10.0
type DLCItem struct { // dlc id ID string `json:"id,omitempty"` // reward list Rewards []*PlatformReward `json:"rewards"` }
DLCItem d l c item
swagger:model DLCItem
func (*DLCItem) MarshalBinary ¶ added in v0.10.0
MarshalBinary interface implementation
func (*DLCItem) UnmarshalBinary ¶ added in v0.10.0
UnmarshalBinary interface implementation
type DLCItemConfigInfo ¶ added in v0.10.0
type DLCItemConfigInfo struct { // data Data []*DLCItem `json:"data"` }
DLCItemConfigInfo d l c item config info
swagger:model DLCItemConfigInfo
func (*DLCItemConfigInfo) MarshalBinary ¶ added in v0.10.0
func (m *DLCItemConfigInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DLCItemConfigInfo) UnmarshalBinary ¶ added in v0.10.0
func (m *DLCItemConfigInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DLCItemConfigUpdate ¶ added in v0.10.0
type DLCItemConfigUpdate struct { // data Data []*DLCItem `json:"data"` }
DLCItemConfigUpdate d l c item config update
swagger:model DLCItemConfigUpdate
func (*DLCItemConfigUpdate) MarshalBinary ¶ added in v0.10.0
func (m *DLCItemConfigUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DLCItemConfigUpdate) UnmarshalBinary ¶ added in v0.10.0
func (m *DLCItemConfigUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DebitRequest ¶
type DebitRequest struct { // amount // Required: true // Minimum: 1 Amount *int64 `json:"amount"` // reason Reason string `json:"reason,omitempty"` }
DebitRequest A DTO for wallet's debit
swagger:model DebitRequest
func (*DebitRequest) MarshalBinary ¶
func (m *DebitRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DebitRequest) UnmarshalBinary ¶
func (m *DebitRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DetailedWalletTransactionInfo ¶ added in v0.18.0
type DetailedWalletTransactionInfo struct { // Transaction amount, it is absolute value. // Required: true Amount *int64 `json:"amount"` // The source of credit BalanceSource string `json:"balanceSource,omitempty"` // Transaction created time // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // Transaction currency code // Required: true CurrencyCode *string `json:"currencyCode"` // Wallet namespace // Required: true Namespace *string `json:"namespace"` // Operator userId or ClientId // Required: true Operator *string `json:"operator"` // Reason of the transaction Reason string `json:"reason,omitempty"` // Transaction updated time // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt"` // Wallet owner's userId // Required: true UserID *string `json:"userId"` // Action type // Required: true // Enum: [CREDIT DEBIT PAYMENT] WalletAction *string `json:"walletAction"` // wallet id // Required: true WalletID *string `json:"walletId"` }
DetailedWalletTransactionInfo detailed wallet transaction info
swagger:model DetailedWalletTransactionInfo
func (*DetailedWalletTransactionInfo) MarshalBinary ¶ added in v0.18.0
func (m *DetailedWalletTransactionInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DetailedWalletTransactionInfo) UnmarshalBinary ¶ added in v0.18.0
func (m *DetailedWalletTransactionInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DetailedWalletTransactionPagingSlicedResult ¶ added in v0.18.0
type DetailedWalletTransactionPagingSlicedResult struct { // data // Required: true Data []*DetailedWalletTransactionInfo `json:"data"` // paging Paging *Paging `json:"paging,omitempty"` }
DetailedWalletTransactionPagingSlicedResult detailed wallet transaction paging sliced result
swagger:model DetailedWalletTransactionPagingSlicedResult
func (*DetailedWalletTransactionPagingSlicedResult) MarshalBinary ¶ added in v0.18.0
func (m *DetailedWalletTransactionPagingSlicedResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DetailedWalletTransactionPagingSlicedResult) UnmarshalBinary ¶ added in v0.18.0
func (m *DetailedWalletTransactionPagingSlicedResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EntitlementDecrement ¶
type EntitlementDecrement struct { // the count to decrease, 1 for default UseCount int32 `json:"useCount,omitempty"` }
EntitlementDecrement A DTO object for entitlement decrement.
swagger:model EntitlementDecrement
func (*EntitlementDecrement) MarshalBinary ¶
func (m *EntitlementDecrement) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EntitlementDecrement) UnmarshalBinary ¶
func (m *EntitlementDecrement) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EntitlementGrant ¶
type EntitlementGrant struct { // entitlement end date time // Format: date-time EndDate *strfmt.DateTime `json:"endDate,omitempty"` // grantedCode, the granted code GrantedCode string `json:"grantedCode,omitempty"` // itemId // Required: true ItemID *string `json:"itemId"` // itemNamespace // Required: true ItemNamespace *string `json:"itemNamespace"` // language value from language tag, allowed format: en, en-US.<p>Supported language tag : [RFC5646](https://gist.github.com/msikma/8912e62ed866778ff8cd) and [IETF](https://datahub.io/core/language-codes#resource-ietf-language-tags)</p> // Pattern: ^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$ Language string `json:"language,omitempty"` // quantity // Required: true Quantity *int32 `json:"quantity"` // country value from ISO countries Region string `json:"region,omitempty"` // source // Enum: [ACHIEVEMENT GIFT IAP OTHER PROMOTION PURCHASE REDEEM_CODE REFERRAL_BONUS REWARD] Source string `json:"source,omitempty"` // entitlement start date time // Format: date-time StartDate *strfmt.DateTime `json:"startDate,omitempty"` // storeId StoreID string `json:"storeId,omitempty"` }
EntitlementGrant A DTO object for granting entitlement API call.
swagger:model EntitlementGrant
func (*EntitlementGrant) MarshalBinary ¶
func (m *EntitlementGrant) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EntitlementGrant) UnmarshalBinary ¶
func (m *EntitlementGrant) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EntitlementHistoryInfo ¶
type EntitlementHistoryInfo struct { // The action of entitlement, like GRANT, REVOKE // Required: true // Enum: [DECREMENT DISABLE ENABLE GRANT REVOKE UPDATE] Action *string `json:"action"` // History create time // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // The id of entitlement // Required: true EntitlementID *string `json:"entitlementId"` // The namespace of entitlement // Required: true Namespace *string `json:"namespace"` // The operator // Required: true Operator *string `json:"operator"` // History update time // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt"` // The use count of a consumable entitlement. UseCount int32 `json:"useCount,omitempty"` // The owner id of entitlement // Required: true UserID *string `json:"userId"` }
EntitlementHistoryInfo entitlement history info
swagger:model EntitlementHistoryInfo
func (*EntitlementHistoryInfo) MarshalBinary ¶
func (m *EntitlementHistoryInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EntitlementHistoryInfo) UnmarshalBinary ¶
func (m *EntitlementHistoryInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EntitlementInfo ¶
type EntitlementInfo struct { // appId if entitlement is an app AppID string `json:"appId,omitempty"` // appType if entitlement is an app // Enum: [DEMO DLC GAME SOFTWARE] AppType string `json:"appType,omitempty"` // entitlement class // Required: true // Enum: [APP CODE ENTITLEMENT MEDIA SUBSCRIPTION] Clazz *string `json:"clazz"` // entitlement created at // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // entitlement end date // Format: date-time EndDate *strfmt.DateTime `json:"endDate,omitempty"` // entitlement features // Unique: true Features []string `json:"features"` // entitlement granted at // Required: true // Format: date-time GrantedAt strfmt.DateTime `json:"grantedAt"` // grantedCode, the granted code GrantedCode string `json:"grantedCode,omitempty"` // entitlement id // Required: true ID *string `json:"id"` // itemId of the entitlement // Required: true ItemID *string `json:"itemId"` // itemNamespace for the purchased item // Required: true ItemNamespace *string `json:"itemNamespace"` // itemSnapshot ItemSnapshot *ItemSnapshot `json:"itemSnapshot,omitempty"` // entitlement name // Required: true Name *string `json:"name"` // entitlement namespace // Required: true Namespace *string `json:"namespace"` // sku for purchased item Sku string `json:"sku,omitempty"` // entitlement source // Required: true // Enum: [ACHIEVEMENT GIFT IAP OTHER PROMOTION PURCHASE REDEEM_CODE REFERRAL_BONUS REWARD] Source *string `json:"source"` // Whether the CONSUMABLE entitlement is stackable Stackable bool `json:"stackable"` // entitlement start date // Format: date-time StartDate *strfmt.DateTime `json:"startDate,omitempty"` // entitlement status // Required: true // Enum: [ACTIVE CONSUMED INACTIVE REVOKED] Status *string `json:"status"` // storeId of the item, published store if omitted StoreID string `json:"storeId,omitempty"` // entitlement type // Required: true // Enum: [CONSUMABLE DURABLE] Type *string `json:"type"` // entitlement updated at // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt"` // useCount for entitlement UseCount int32 `json:"useCount,omitempty"` // userId for this entitlement // Required: true UserID *string `json:"userId"` }
EntitlementInfo entitlement info
swagger:model EntitlementInfo
func (*EntitlementInfo) MarshalBinary ¶
func (m *EntitlementInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EntitlementInfo) UnmarshalBinary ¶
func (m *EntitlementInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EntitlementPagingSlicedResult ¶
type EntitlementPagingSlicedResult struct { // data Data []*EntitlementInfo `json:"data"` // paging Paging *Paging `json:"paging,omitempty"` }
EntitlementPagingSlicedResult entitlement paging sliced result
swagger:model EntitlementPagingSlicedResult
func (*EntitlementPagingSlicedResult) MarshalBinary ¶
func (m *EntitlementPagingSlicedResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EntitlementPagingSlicedResult) UnmarshalBinary ¶
func (m *EntitlementPagingSlicedResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EntitlementSummary ¶
type EntitlementSummary struct { // entitlement class // Required: true // Enum: [APP CODE ENTITLEMENT MEDIA SUBSCRIPTION] Clazz *string `json:"clazz"` // created at // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // end date time // Format: date-time EndDate *strfmt.DateTime `json:"endDate,omitempty"` // granted code GrantedCode string `json:"grantedCode,omitempty"` // entitlement id // Required: true ID *string `json:"id"` // item id ItemID string `json:"itemId,omitempty"` // entitlement namespace // Required: true Namespace *string `json:"namespace"` // Whether the CONSUMABLE entitlement is stackable Stackable bool `json:"stackable"` // CONSUMABLE entitlement stacked use count StackedUseCount int32 `json:"stackedUseCount,omitempty"` // start date time // Format: date-time StartDate *strfmt.DateTime `json:"startDate,omitempty"` // item store id, null if published store StoreID string `json:"storeId,omitempty"` // entitlement type // Required: true // Enum: [CONSUMABLE DURABLE] Type *string `json:"type"` // updated at // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt"` // userId for this entitlement // Required: true UserID *string `json:"userId"` }
EntitlementSummary entitlement summary
swagger:model EntitlementSummary
func (*EntitlementSummary) MarshalBinary ¶
func (m *EntitlementSummary) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EntitlementSummary) UnmarshalBinary ¶
func (m *EntitlementSummary) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EntitlementUpdate ¶
type EntitlementUpdate struct { // end date of the entitlement. yyyy-MM-dd'T'HH:mm:ss.SSS'Z' // Format: date-time EndDate *strfmt.DateTime `json:"endDate,omitempty"` // nullFieldList NullFieldList []string `json:"nullFieldList"` // start date of the entitlement. yyyy-MM-dd'T'HH:mm:ss.SSS'Z' // Format: date-time StartDate *strfmt.DateTime `json:"startDate,omitempty"` // status // Enum: [ACTIVE CONSUMED INACTIVE REVOKED] Status string `json:"status,omitempty"` // useCount of a consumable entitlement UseCount int32 `json:"useCount,omitempty"` }
EntitlementUpdate A DTO object for updating entitlement API call. Leave the field empty if don't want to update.
swagger:model EntitlementUpdate
func (*EntitlementUpdate) MarshalBinary ¶
func (m *EntitlementUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EntitlementUpdate) UnmarshalBinary ¶
func (m *EntitlementUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EpicGamesIAPConfigInfo ¶
type EpicGamesIAPConfigInfo struct { // namespace // Required: true Namespace *string `json:"namespace"` // epic games sandbox id // Required: true SandboxID *string `json:"sandboxId"` }
EpicGamesIAPConfigInfo epic games i a p config info
swagger:model EpicGamesIAPConfigInfo
func (*EpicGamesIAPConfigInfo) MarshalBinary ¶
func (m *EpicGamesIAPConfigInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EpicGamesIAPConfigInfo) UnmarshalBinary ¶
func (m *EpicGamesIAPConfigInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EpicGamesIAPConfigRequest ¶
type EpicGamesIAPConfigRequest struct { // sandboxId // Required: true SandboxID *string `json:"sandboxId"` }
EpicGamesIAPConfigRequest epic games i a p config request
swagger:model EpicGamesIAPConfigRequest
func (*EpicGamesIAPConfigRequest) MarshalBinary ¶
func (m *EpicGamesIAPConfigRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EpicGamesIAPConfigRequest) UnmarshalBinary ¶
func (m *EpicGamesIAPConfigRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EpicGamesReconcileRequest ¶
type EpicGamesReconcileRequest struct { // epicGamesJwtToken EpicGamesJwtToken string `json:"epicGamesJwtToken,omitempty"` }
EpicGamesReconcileRequest epic games reconcile request
swagger:model EpicGamesReconcileRequest
func (*EpicGamesReconcileRequest) MarshalBinary ¶
func (m *EpicGamesReconcileRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EpicGamesReconcileRequest) UnmarshalBinary ¶
func (m *EpicGamesReconcileRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EpicGamesReconcileResult ¶
type EpicGamesReconcileResult struct { // epic games item Id EpicGamesItemID string `json:"epicGamesItemId,omitempty"` // item Id ItemID string `json:"itemId,omitempty"` // sku Sku string `json:"sku,omitempty"` // status // Enum: [FAILED FULFILLED VERIFIED] Status string `json:"status,omitempty"` // transaction Id TransactionID string `json:"transactionId,omitempty"` }
EpicGamesReconcileResult epic games reconcile result
swagger:model EpicGamesReconcileResult
func (*EpicGamesReconcileResult) MarshalBinary ¶
func (m *EpicGamesReconcileResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EpicGamesReconcileResult) UnmarshalBinary ¶
func (m *EpicGamesReconcileResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ErrorEntity ¶
type ErrorEntity struct { // internal server error stack trace in configured environment DevStackTrace string `json:"devStackTrace,omitempty"` // numeric error code // Required: true ErrorCode *int32 `json:"errorCode"` // error message // Required: true ErrorMessage *string `json:"errorMessage"` // message variables MessageVariables map[string]string `json:"messageVariables,omitempty"` }
ErrorEntity error entity
swagger:model ErrorEntity
func (*ErrorEntity) MarshalBinary ¶
func (m *ErrorEntity) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ErrorEntity) UnmarshalBinary ¶
func (m *ErrorEntity) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type EventPayload ¶ added in v0.8.0
type EventPayload struct { // payload Payload map[string]interface{} `json:"payload,omitempty"` }
EventPayload event payload
swagger:model EventPayload
func (*EventPayload) MarshalBinary ¶ added in v0.8.0
func (m *EventPayload) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*EventPayload) UnmarshalBinary ¶ added in v0.8.0
func (m *EventPayload) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ExternalPaymentOrderCreate ¶
type ExternalPaymentOrderCreate struct { // currency code, default is USD CurrencyCode string `json:"currencyCode,omitempty"` // currency namespace, default is publisher namespace CurrencyNamespace string `json:"currencyNamespace,omitempty"` // custom parameters CustomParameters map[string]interface{} `json:"customParameters,omitempty"` // Order desc, max length 2000 // Required: true Description *string `json:"description"` // External order id // Required: true ExtOrderNo *string `json:"extOrderNo"` // optional, external user id, can be the character id ExtUserID string `json:"extUserId,omitempty"` // item type // Enum: [APP BUNDLE CODE COINS INGAMEITEM MEDIA SEASON SUBSCRIPTION] ItemType string `json:"itemType,omitempty"` // language value from language tag, allowed format: en, en-US.<p>Supported language tag : [RFC5646](https://gist.github.com/msikma/8912e62ed866778ff8cd) and [IETF](https://datahub.io/core/language-codes#resource-ietf-language-tags)</p> // Pattern: ^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$ Language string `json:"language,omitempty"` // metadata Metadata map[string]string `json:"metadata,omitempty"` // custom notify url for real payment, send notification to this url once payment action is finished NotifyURL string `json:"notifyUrl,omitempty"` // TEST PURPOSE, if set it will not send async notification to the API invoker, only can set true while this payment is sandbox OmitNotification bool `json:"omitNotification"` // platform Platform string `json:"platform,omitempty"` // Price of order // Required: true Price *int32 `json:"price"` // recurring payment order which has recurring token, will do recurring payment if present, otherwise start normal payment flow RecurringPaymentOrderNo string `json:"recurringPaymentOrderNo,omitempty"` // country value from ISO countries Region string `json:"region,omitempty"` // custom return url for real payment, user will be redirected to this url once payment is finished ReturnURL string `json:"returnUrl,omitempty"` // TEST PURPOSE, sandbox(Active in real currency mode), default is false Sandbox bool `json:"sandbox"` // optional, unique identity for the item Sku string `json:"sku,omitempty"` // subscriptionId, payment token will be saved for recurring payment SubscriptionID string `json:"subscriptionId,omitempty"` // The game namespace // Required: true TargetNamespace *string `json:"targetNamespace"` // The user id in game namespace // Required: true TargetUserID *string `json:"targetUserId"` // Order title // Required: true Title *string `json:"title"` }
ExternalPaymentOrderCreate external payment order create
swagger:model ExternalPaymentOrderCreate
func (*ExternalPaymentOrderCreate) MarshalBinary ¶
func (m *ExternalPaymentOrderCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ExternalPaymentOrderCreate) UnmarshalBinary ¶
func (m *ExternalPaymentOrderCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FieldValidationError ¶
type FieldValidationError struct { // error code ErrorCode string `json:"errorCode,omitempty"` // error field ErrorField string `json:"errorField,omitempty"` // error message ErrorMessage string `json:"errorMessage,omitempty"` // error value ErrorValue string `json:"errorValue,omitempty"` // message variables MessageVariables map[string]string `json:"messageVariables,omitempty"` }
FieldValidationError field validation error
swagger:model FieldValidationError
func (*FieldValidationError) MarshalBinary ¶
func (m *FieldValidationError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FieldValidationError) UnmarshalBinary ¶
func (m *FieldValidationError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FulfillCodeRequest ¶
type FulfillCodeRequest struct { // campaign code // Required: true Code *string `json:"code"` // language value from language tag, allowed format: en, en-US.<p>Supported language tag : [RFC5646](https://gist.github.com/msikma/8912e62ed866778ff8cd) and [IETF](https://datahub.io/core/language-codes#resource-ietf-language-tags)</p> // Pattern: ^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$ Language string `json:"language,omitempty"` // country value from ISO countries Region string `json:"region,omitempty"` }
FulfillCodeRequest fulfill code request
swagger:model FulfillCodeRequest
func (*FulfillCodeRequest) MarshalBinary ¶
func (m *FulfillCodeRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FulfillCodeRequest) UnmarshalBinary ¶
func (m *FulfillCodeRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FulfillmentError ¶
type FulfillmentError struct { // error code Code int32 `json:"code,omitempty"` // http status HTTPStatus int32 `json:"httpStatus,omitempty"` // error message Message string `json:"message,omitempty"` }
FulfillmentError fulfillment error
swagger:model FulfillmentError
func (*FulfillmentError) MarshalBinary ¶
func (m *FulfillmentError) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FulfillmentError) UnmarshalBinary ¶
func (m *FulfillmentError) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FulfillmentHistoryInfo ¶
type FulfillmentHistoryInfo struct { // redeemed code Code string `json:"code,omitempty"` // created at // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // credit granted CreditSummaries []*CreditSummary `json:"creditSummaries"` // entitlement granted EntitlementSummaries []*EntitlementSummary `json:"entitlementSummaries"` // items should do fulfillment FulfillItems []*FulfillmentItem `json:"fulfillItems"` // fulfillment error detail FulfillmentError *FulfillmentError `json:"fulfillmentError,omitempty"` // item ids already granted GrantedItemIds []string `json:"grantedItemIds"` // id // Required: true ID *string `json:"id"` // namespace // Required: true Namespace *string `json:"namespace"` // orderNo OrderNo string `json:"orderNo,omitempty"` // fulfillment status // Required: true // Enum: [FAIL SUCCESS] Status *string `json:"status"` // updated at // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt"` // userId // Required: true UserID *string `json:"userId"` }
FulfillmentHistoryInfo fulfillment history info
swagger:model FulfillmentHistoryInfo
func (*FulfillmentHistoryInfo) MarshalBinary ¶
func (m *FulfillmentHistoryInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FulfillmentHistoryInfo) UnmarshalBinary ¶
func (m *FulfillmentHistoryInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FulfillmentHistoryPagingSlicedResult ¶
type FulfillmentHistoryPagingSlicedResult struct { // data // Required: true Data []*FulfillmentHistoryInfo `json:"data"` // paging Paging *Paging `json:"paging,omitempty"` }
FulfillmentHistoryPagingSlicedResult fulfillment history paging sliced result
swagger:model FulfillmentHistoryPagingSlicedResult
func (*FulfillmentHistoryPagingSlicedResult) MarshalBinary ¶
func (m *FulfillmentHistoryPagingSlicedResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FulfillmentHistoryPagingSlicedResult) UnmarshalBinary ¶
func (m *FulfillmentHistoryPagingSlicedResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FulfillmentItem ¶
type FulfillmentItem struct { // extra subscription days ExtraSubscriptionDays int32 `json:"extraSubscriptionDays,omitempty"` // item id ItemID string `json:"itemId,omitempty"` // item name ItemName string `json:"itemName,omitempty"` // item sku ItemSku string `json:"itemSku,omitempty"` // item type // Enum: [APP BUNDLE CODE COINS INGAMEITEM MEDIA SEASON SUBSCRIPTION] ItemType string `json:"itemType,omitempty"` // quantity // Required: true Quantity *int32 `json:"quantity"` // draft store id, published store if omitted StoreID string `json:"storeId,omitempty"` }
FulfillmentItem fulfillment item
swagger:model FulfillmentItem
func (*FulfillmentItem) MarshalBinary ¶
func (m *FulfillmentItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FulfillmentItem) UnmarshalBinary ¶
func (m *FulfillmentItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FulfillmentRequest ¶
type FulfillmentRequest struct { // duration in seconds, ignored if the endDate is present Duration int32 `json:"duration,omitempty"` // end date time // Format: date-time EndDate *strfmt.DateTime `json:"endDate,omitempty"` // itemId ItemID string `json:"itemId,omitempty"` // itemSku ItemSku string `json:"itemSku,omitempty"` // language Language string `json:"language,omitempty"` // order summary for fulfillment scripts Order *OrderSummary `json:"order,omitempty"` // orderNo OrderNo string `json:"orderNo,omitempty"` // origin // Enum: [Epic GooglePlay IOS Nintendo Other Playstation Stadia Steam System Twitch Xbox] Origin string `json:"origin,omitempty"` // quantity // Required: true Quantity *int32 `json:"quantity"` // region Region string `json:"region,omitempty"` // source // Enum: [ACHIEVEMENT DLC GIFT IAP OTHER PROMOTION PURCHASE REDEEM_CODE REFERRAL_BONUS REWARD] Source string `json:"source,omitempty"` // start date time // Format: date-time StartDate *strfmt.DateTime `json:"startDate,omitempty"` // storeId StoreID string `json:"storeId,omitempty"` }
FulfillmentRequest A DTO object for fulfillment request API call.
swagger:model FulfillmentRequest
func (*FulfillmentRequest) MarshalBinary ¶
func (m *FulfillmentRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FulfillmentRequest) UnmarshalBinary ¶
func (m *FulfillmentRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FulfillmentResult ¶
type FulfillmentResult struct { // credit granted CreditSummaries []*CreditSummary `json:"creditSummaries"` // entitlement granted EntitlementSummaries []*EntitlementSummary `json:"entitlementSummaries"` // namespace // Required: true Namespace *string `json:"namespace"` // affected subscriptions SubscriptionSummaries []*SubscriptionSummary `json:"subscriptionSummaries"` // userId // Required: true UserID *string `json:"userId"` }
FulfillmentResult fulfillment result
swagger:model FulfillmentResult
func (*FulfillmentResult) MarshalBinary ¶
func (m *FulfillmentResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FulfillmentResult) UnmarshalBinary ¶
func (m *FulfillmentResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FulfillmentScriptContext ¶ added in v0.7.0
type FulfillmentScriptContext struct { // item info // Required: true Item *ItemInfo `json:"item"` // fulfillment namespace, default accelbyte // Required: true Namespace *string `json:"namespace"` // order summary Order *OrderSummary `json:"order,omitempty"` // fulfillment source, default PURCHASE // Required: true // Enum: [ACHIEVEMENT DLC GIFT IAP OTHER PROMOTION PURCHASE REDEEM_CODE REFERRAL_BONUS REWARD] Source *string `json:"source"` }
FulfillmentScriptContext fulfillment script context
swagger:model FulfillmentScriptContext
func (*FulfillmentScriptContext) MarshalBinary ¶ added in v0.7.0
func (m *FulfillmentScriptContext) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FulfillmentScriptContext) UnmarshalBinary ¶ added in v0.7.0
func (m *FulfillmentScriptContext) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FulfillmentScriptCreate ¶ added in v0.7.0
type FulfillmentScriptCreate struct { // javascript script for grant days, expression expected to return integer, -1 means unlimited. It only execute while there's no endDate specified while do fulfillment GrantDays string `json:"grantDays,omitempty"` }
FulfillmentScriptCreate fulfillment script create
swagger:model FulfillmentScriptCreate
func (*FulfillmentScriptCreate) MarshalBinary ¶ added in v0.7.0
func (m *FulfillmentScriptCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FulfillmentScriptCreate) UnmarshalBinary ¶ added in v0.7.0
func (m *FulfillmentScriptCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FulfillmentScriptEvalTestRequest ¶ added in v0.7.0
type FulfillmentScriptEvalTestRequest struct { // fulfillment script context // Required: true Context *FulfillmentScriptContext `json:"context"` // script // Required: true Script *string `json:"script"` // type, default grantDays // Required: true // Enum: [grantDays] Type *string `json:"type"` }
FulfillmentScriptEvalTestRequest fulfillment script eval test request
swagger:model FulfillmentScriptEvalTestRequest
func (*FulfillmentScriptEvalTestRequest) MarshalBinary ¶ added in v0.7.0
func (m *FulfillmentScriptEvalTestRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FulfillmentScriptEvalTestRequest) UnmarshalBinary ¶ added in v0.7.0
func (m *FulfillmentScriptEvalTestRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FulfillmentScriptEvalTestResult ¶ added in v0.7.0
type FulfillmentScriptEvalTestResult struct { // error stack trace ErrorStackTrace string `json:"errorStackTrace,omitempty"` // result Result interface{} `json:"result,omitempty"` }
FulfillmentScriptEvalTestResult fulfillment script eval test result
swagger:model FulfillmentScriptEvalTestResult
func (*FulfillmentScriptEvalTestResult) MarshalBinary ¶ added in v0.7.0
func (m *FulfillmentScriptEvalTestResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FulfillmentScriptEvalTestResult) UnmarshalBinary ¶ added in v0.7.0
func (m *FulfillmentScriptEvalTestResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FulfillmentScriptInfo ¶ added in v0.7.0
type FulfillmentScriptInfo struct { // javascript script for grant days, expression expected to return integer, -1 means unlimited. It only execute while there's no endDate specified while do fulfillment GrantDays string `json:"grantDays,omitempty"` // id ID string `json:"id,omitempty"` }
FulfillmentScriptInfo fulfillment script info
swagger:model FulfillmentScriptInfo
func (*FulfillmentScriptInfo) MarshalBinary ¶ added in v0.7.0
func (m *FulfillmentScriptInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FulfillmentScriptInfo) UnmarshalBinary ¶ added in v0.7.0
func (m *FulfillmentScriptInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FulfillmentScriptUpdate ¶ added in v0.7.0
type FulfillmentScriptUpdate struct { // javascript script for grant days, expression expected to return integer, -1 means unlimited. It only execute while there's no endDate specified while do fulfillment GrantDays string `json:"grantDays,omitempty"` }
FulfillmentScriptUpdate fulfillment script update
swagger:model FulfillmentScriptUpdate
func (*FulfillmentScriptUpdate) MarshalBinary ¶ added in v0.7.0
func (m *FulfillmentScriptUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FulfillmentScriptUpdate) UnmarshalBinary ¶ added in v0.7.0
func (m *FulfillmentScriptUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FullAppInfo ¶
type FullAppInfo struct { // carousel Carousel []*Slide `json:"carousel"` // developer Developer string `json:"developer,omitempty"` // forum url ForumURL string `json:"forumUrl,omitempty"` // genres Genres []string `json:"genres"` // item id // Required: true ItemID *string `json:"itemId"` // localizations Localizations map[string]AppLocalization `json:"localizations,omitempty"` // namespace // Required: true Namespace *string `json:"namespace"` // platform requirements PlatformRequirements map[string][]Requirement `json:"platformRequirements,omitempty"` // supported platforms Platforms []string `json:"platforms"` // players Players []string `json:"players"` // primary genre // Enum: [Action Adventure Casual FreeToPlay Indie MassivelyMultiplayer RPG Racing Simulation Sports Strategy] PrimaryGenre string `json:"primaryGenre,omitempty"` // publisher Publisher string `json:"publisher,omitempty"` // release date // Format: date-time ReleaseDate *strfmt.DateTime `json:"releaseDate,omitempty"` // website url WebsiteURL string `json:"websiteUrl,omitempty"` }
FullAppInfo full app info
swagger:model FullAppInfo
func (*FullAppInfo) MarshalBinary ¶
func (m *FullAppInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FullAppInfo) UnmarshalBinary ¶
func (m *FullAppInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FullCategoryInfo ¶
type FullCategoryInfo struct { // Category path // Required: true CategoryPath *string `json:"categoryPath"` // Category created time // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // Category localization display name // Required: true LocalizationDisplayNames map[string]string `json:"localizationDisplayNames"` // Category namespace // Required: true Namespace *string `json:"namespace"` // Parent category path // Required: true ParentCategoryPath *string `json:"parentCategoryPath"` // root Root bool `json:"root"` // Category updated time // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt"` }
FullCategoryInfo full category info
swagger:model FullCategoryInfo
func (*FullCategoryInfo) MarshalBinary ¶
func (m *FullCategoryInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FullCategoryInfo) UnmarshalBinary ¶
func (m *FullCategoryInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FullItemInfo ¶
type FullItemInfo struct { // App id, required when itemType is APP AppID string `json:"appId,omitempty"` // App type, required when itemType is APP // Enum: [DEMO DLC GAME SOFTWARE] AppType string `json:"appType,omitempty"` // Base app id BaseAppID string `json:"baseAppId,omitempty"` // booth name to get tickets while it's item type is CODE BoothName string `json:"boothName,omitempty"` // the items which this item being bounded to // Unique: true BoundItemIds []string `json:"boundItemIds"` // Item category path // Required: true CategoryPath *string `json:"categoryPath"` // customized item clazz Clazz string `json:"clazz,omitempty"` // created at // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // display order DisplayOrder int32 `json:"displayOrder,omitempty"` // Entitlement type // Required: true // Enum: [CONSUMABLE DURABLE] EntitlementType *string `json:"entitlementType"` // customized item properties Ext map[string]interface{} `json:"ext,omitempty"` // Features // Unique: true Features []string `json:"features"` // images Images []*Image `json:"images"` // Item id // Required: true ItemID *string `json:"itemId"` // Bundle item's item ids ItemIds []string `json:"itemIds"` // itemQty, the quantity of item in itemIds, default 1, should be empty if item type is not "BUNDLE" ItemQty map[string]int32 `json:"itemQty,omitempty"` // Item type // Required: true // Enum: [APP BUNDLE CODE COINS INGAMEITEM MEDIA SEASON SUBSCRIPTION] ItemType *string `json:"itemType"` // Whether can be visible in Store for public user Listable bool `json:"listable"` // Item localizations // Required: true Localizations map[string]Localization `json:"localizations"` // Max count, -1 means UNLIMITED, unset when itemType is CODE MaxCount int32 `json:"maxCount,omitempty"` // Max count per user, -1 means UNLIMITED MaxCountPerUser int32 `json:"maxCountPerUser,omitempty"` // Name // Required: true Name *string `json:"name"` // Item namespace // Required: true Namespace *string `json:"namespace"` // Whether can be purchased Purchasable bool `json:"purchasable"` // recurring for subscription Recurring *Recurring `json:"recurring,omitempty"` // Item region data // Required: true RegionData map[string][]RegionDataItem `json:"regionData"` // Season type, required while itemType is SEASON // Enum: [PASS TIER] SeasonType string `json:"seasonType,omitempty"` // Sku Sku string `json:"sku,omitempty"` // Whether stack the CONSUMABLE entitlement Stackable bool `json:"stackable"` // Item status // Required: true // Enum: [ACTIVE INACTIVE] Status *string `json:"status"` // Tags // Unique: true Tags []string `json:"tags"` // The target currency code of coin Item TargetCurrencyCode string `json:"targetCurrencyCode,omitempty"` // Target item id if this item is mapping from game namespace TargetItemID string `json:"targetItemId,omitempty"` // The target namespace of a cross namespace item TargetNamespace string `json:"targetNamespace,omitempty"` // thumbnail url ThumbnailURL string `json:"thumbnailUrl,omitempty"` // updated at // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt"` // Item use count, required when entitlement type is consumable or itemType is COINS UseCount int32 `json:"useCount,omitempty"` }
FullItemInfo full item info
swagger:model FullItemInfo
func (*FullItemInfo) MarshalBinary ¶
func (m *FullItemInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FullItemInfo) UnmarshalBinary ¶
func (m *FullItemInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type FullItemPagingSlicedResult ¶
type FullItemPagingSlicedResult struct { // data // Required: true Data []*FullItemInfo `json:"data"` // paging Paging *Paging `json:"paging,omitempty"` }
FullItemPagingSlicedResult full item paging sliced result
swagger:model FullItemPagingSlicedResult
func (*FullItemPagingSlicedResult) MarshalBinary ¶
func (m *FullItemPagingSlicedResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*FullItemPagingSlicedResult) UnmarshalBinary ¶
func (m *FullItemPagingSlicedResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GoogleIAPConfigInfo ¶
type GoogleIAPConfigInfo struct { // applicationName ApplicationName string `json:"applicationName,omitempty"` // namespace // Required: true Namespace *string `json:"namespace"` // p12 file P12FileName string `json:"p12FileName,omitempty"` // serviceAccountId ServiceAccountID string `json:"serviceAccountId,omitempty"` }
GoogleIAPConfigInfo google i a p config info
swagger:model GoogleIAPConfigInfo
func (*GoogleIAPConfigInfo) MarshalBinary ¶
func (m *GoogleIAPConfigInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GoogleIAPConfigInfo) UnmarshalBinary ¶
func (m *GoogleIAPConfigInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GoogleIAPConfigRequest ¶
type GoogleIAPConfigRequest struct { // applicationName // Required: true ApplicationName *string `json:"applicationName"` // serviceAccountId // Required: true ServiceAccountID *string `json:"serviceAccountId"` }
GoogleIAPConfigRequest google i a p config request
swagger:model GoogleIAPConfigRequest
func (*GoogleIAPConfigRequest) MarshalBinary ¶
func (m *GoogleIAPConfigRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GoogleIAPConfigRequest) UnmarshalBinary ¶
func (m *GoogleIAPConfigRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GoogleIAPReceipt ¶
type GoogleIAPReceipt struct { // If invoke Google play's Acknowledge after sync an durable item AutoAck bool `json:"autoAck"` // language value from language tag, allowed format: en, en-US.<p>Supported language tag : [RFC5646](https://gist.github.com/msikma/8912e62ed866778ff8cd) and [IETF](https://datahub.io/core/language-codes#resource-ietf-language-tags)</p> // Pattern: ^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$ Language string `json:"language,omitempty"` // OrderId returned from google play // Required: true OrderID *string `json:"orderId"` // App package name // Required: true PackageName *string `json:"packageName"` // Product id (SKU) // Required: true ProductID *string `json:"productId"` // Purchase time returned from google play // Required: true PurchaseTime *int64 `json:"purchaseTime"` // Google play purchase token returned from google play // Required: true PurchaseToken *string `json:"purchaseToken"` // country value from ISO countries Region string `json:"region,omitempty"` }
GoogleIAPReceipt google i a p receipt
swagger:model GoogleIAPReceipt
func (*GoogleIAPReceipt) MarshalBinary ¶
func (m *GoogleIAPReceipt) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GoogleIAPReceipt) UnmarshalBinary ¶
func (m *GoogleIAPReceipt) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GoogleReceiptResolveResult ¶ added in v0.13.0
type GoogleReceiptResolveResult struct { // if client side need consume this receipt's product by invoke Google Billing client's consumeAsync NeedConsume bool `json:"needConsume"` }
GoogleReceiptResolveResult google receipt resolve result
swagger:model GoogleReceiptResolveResult
func (*GoogleReceiptResolveResult) MarshalBinary ¶ added in v0.13.0
func (m *GoogleReceiptResolveResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GoogleReceiptResolveResult) UnmarshalBinary ¶ added in v0.13.0
func (m *GoogleReceiptResolveResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type GrantSubscriptionDaysRequest ¶ added in v0.7.0
type GrantSubscriptionDaysRequest struct { // grant days // Required: true GrantDays *int32 `json:"grantDays"` // grant reason Reason string `json:"reason,omitempty"` }
GrantSubscriptionDaysRequest grant subscription days request
swagger:model GrantSubscriptionDaysRequest
func (*GrantSubscriptionDaysRequest) MarshalBinary ¶ added in v0.7.0
func (m *GrantSubscriptionDaysRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*GrantSubscriptionDaysRequest) UnmarshalBinary ¶ added in v0.7.0
func (m *GrantSubscriptionDaysRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type HierarchicalCategoryInfo ¶
type HierarchicalCategoryInfo struct { // Category path // Required: true CategoryPath *string `json:"categoryPath"` // Child category list // Required: true ChildCategories []*HierarchicalCategoryInfo `json:"childCategories"` // Category created time // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // Category display name // Required: true DisplayName *string `json:"displayName"` // Category namespace // Required: true Namespace *string `json:"namespace"` // Parent category path // Required: true ParentCategoryPath *string `json:"parentCategoryPath"` // root Root bool `json:"root"` // Category updated time // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt"` }
HierarchicalCategoryInfo hierarchical category info
swagger:model HierarchicalCategoryInfo
func (*HierarchicalCategoryInfo) MarshalBinary ¶
func (m *HierarchicalCategoryInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*HierarchicalCategoryInfo) UnmarshalBinary ¶
func (m *HierarchicalCategoryInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IAPItemConfigInfo ¶ added in v0.10.0
type IAPItemConfigInfo struct { // data Data []*IAPItemEntry `json:"data"` }
IAPItemConfigInfo i a p item config info
swagger:model IAPItemConfigInfo
func (*IAPItemConfigInfo) MarshalBinary ¶ added in v0.10.0
func (m *IAPItemConfigInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IAPItemConfigInfo) UnmarshalBinary ¶ added in v0.10.0
func (m *IAPItemConfigInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IAPItemConfigUpdate ¶ added in v0.10.0
type IAPItemConfigUpdate struct { // data Data []*IAPItemEntry `json:"data"` }
IAPItemConfigUpdate i a p item config update
swagger:model IAPItemConfigUpdate
func (*IAPItemConfigUpdate) MarshalBinary ¶ added in v0.10.0
func (m *IAPItemConfigUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IAPItemConfigUpdate) UnmarshalBinary ¶ added in v0.10.0
func (m *IAPItemConfigUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IAPItemEntry ¶ added in v0.10.0
type IAPItemEntry struct { // item id or sku ItemIdentity string `json:"itemIdentity,omitempty"` // item identity type // Enum: [ITEM_ID ITEM_SKU] ItemIdentityType string `json:"itemIdentityType,omitempty"` // IAP Platform production ids related item id PlatformProductIDMap map[string]string `json:"platformProductIdMap,omitempty"` }
IAPItemEntry i a p item entry
swagger:model IAPItemEntry
func (*IAPItemEntry) MarshalBinary ¶ added in v0.10.0
func (m *IAPItemEntry) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IAPItemEntry) UnmarshalBinary ¶ added in v0.10.0
func (m *IAPItemEntry) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IAPOrderInfo ¶
type IAPOrderInfo struct { // created at // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // credit summary Credits []*CreditSummary `json:"credits"` // currency code CurrencyCode string `json:"currencyCode,omitempty"` // entitlement summary Entitlements []*EntitlementSummary `json:"entitlements"` // fulfill time if fulfilled // Format: date-time FulfilledTime *strfmt.DateTime `json:"fulfilledTime,omitempty"` // iap order No // Required: true IapOrderNo *string `json:"iapOrderNo"` // language Language string `json:"language,omitempty"` // namespace // Required: true Namespace *string `json:"namespace"` // price Price float64 `json:"price,omitempty"` // product id ProductID string `json:"productId,omitempty"` // quantity Quantity int32 `json:"quantity,omitempty"` // receipt data ReceiptData string `json:"receiptData,omitempty"` // region Region string `json:"region,omitempty"` // retry count RetryCount int32 `json:"retryCount,omitempty"` // sandbox Sandbox bool `json:"sandbox"` // status // Required: true // Enum: [FAILED FULFILLED VERIFIED] Status *string `json:"status"` // status reason StatusReason string `json:"statusReason,omitempty"` // transaction id TransactionID string `json:"transactionId,omitempty"` // IAP type // Required: true // Enum: [APPLE EPICGAMES GOOGLE PLAYSTATION STADIA STEAM TWITCH XBOX] Type *string `json:"type"` // updated at // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt"` // user id // Required: true UserID *string `json:"userId"` }
IAPOrderInfo i a p order info
swagger:model IAPOrderInfo
func (*IAPOrderInfo) MarshalBinary ¶
func (m *IAPOrderInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IAPOrderInfo) UnmarshalBinary ¶
func (m *IAPOrderInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type IAPOrderPagingSlicedResult ¶
type IAPOrderPagingSlicedResult struct { // data // Required: true Data []*IAPOrderInfo `json:"data"` // paging Paging *Paging `json:"paging,omitempty"` }
IAPOrderPagingSlicedResult i a p order paging sliced result
swagger:model IAPOrderPagingSlicedResult
func (*IAPOrderPagingSlicedResult) MarshalBinary ¶
func (m *IAPOrderPagingSlicedResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*IAPOrderPagingSlicedResult) UnmarshalBinary ¶
func (m *IAPOrderPagingSlicedResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Image ¶
type Image struct { // image for As string `json:"as,omitempty"` // image caption Caption string `json:"caption,omitempty"` // height // Required: true Height *int32 `json:"height"` // imageUrl // Required: true ImageURL *string `json:"imageUrl"` // smallImageUrl // Required: true SmallImageURL *string `json:"smallImageUrl"` // width // Required: true Width *int32 `json:"width"` }
Image image
swagger:model Image
func (*Image) MarshalBinary ¶
MarshalBinary interface implementation
func (*Image) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type InGameItemSync ¶
type InGameItemSync struct { // the new category path for the synced item, A path separated by "/", will not show in store if it set to blank // Required: true CategoryPath *string `json:"categoryPath"` // item id in game namespace // Required: true TargetItemID *string `json:"targetItemId"` // game namespace // Required: true TargetNamespace *string `json:"targetNamespace"` }
InGameItemSync in game item sync
swagger:model InGameItemSync
func (*InGameItemSync) MarshalBinary ¶
func (m *InGameItemSync) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*InGameItemSync) UnmarshalBinary ¶
func (m *InGameItemSync) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ItemAcquireRequest ¶
type ItemAcquireRequest struct { // acquire count // Required: true Count *int32 `json:"count"` // order no // Required: true OrderNo *string `json:"orderNo"` }
ItemAcquireRequest item acquire request
swagger:model ItemAcquireRequest
func (*ItemAcquireRequest) MarshalBinary ¶
func (m *ItemAcquireRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ItemAcquireRequest) UnmarshalBinary ¶
func (m *ItemAcquireRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ItemAcquireResult ¶
type ItemAcquireResult struct { // max count // Required: true MaxCount *int32 `json:"maxCount"` // acquire result // Required: true Success *bool `json:"success"` }
ItemAcquireResult item acquire result
swagger:model ItemAcquireResult
func (*ItemAcquireResult) MarshalBinary ¶
func (m *ItemAcquireResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ItemAcquireResult) UnmarshalBinary ¶
func (m *ItemAcquireResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ItemCreate ¶
type ItemCreate struct { // appId, required if appType is present, alpha numeric, max length is 255 AppID string `json:"appId,omitempty"` // appType // Enum: [DEMO DLC GAME SOFTWARE] AppType string `json:"appType,omitempty"` // baseAppId, can set value of game appId if want to link to a game BaseAppID string `json:"baseAppId,omitempty"` // booth name to get tickets while ItemType is CODE, Campaign or KeyGroup should located in targetNamespace if targetNamespace not null BoothName string `json:"boothName,omitempty"` // Category Path, A path separated by "/", will not show in store if it set to blank, max length is 255 // Required: true CategoryPath *string `json:"categoryPath"` // customized item clazz Clazz string `json:"clazz,omitempty"` // display order DisplayOrder int32 `json:"displayOrder,omitempty"` // Entitlement Type // Required: true // Enum: [CONSUMABLE DURABLE] EntitlementType *string `json:"entitlementType"` // customized item properties Ext map[string]interface{} `json:"ext,omitempty"` // Features, allowed characters from a-zA-Z0-9_:- and start/end in alphanumeric with length range from 1 to 127 // Unique: true Features []string `json:"features"` // images Images []*Image `json:"images"` // itemIds, should be empty if item type is not "BUNDLE" ItemIds []string `json:"itemIds"` // itemQty, the quantity of item in itemIds, default 1, should be empty if item type is not "BUNDLE" ItemQty map[string]int32 `json:"itemQty,omitempty"` // Item Type // Required: true // Enum: [APP BUNDLE CODE COINS INGAMEITEM MEDIA SEASON SUBSCRIPTION] ItemType *string `json:"itemType"` // Whether can be visible in Store for public user Listable bool `json:"listable"` // Localization, key language, value localization content // Required: true Localizations map[string]Localization `json:"localizations"` // Max count, -1 means UNLIMITED, unset when itemType is CODE MaxCount int32 `json:"maxCount,omitempty"` // Max count per user, -1 means UNLIMITED MaxCountPerUser int32 `json:"maxCountPerUser,omitempty"` // Name, max length is 127 // Required: true Name *string `json:"name"` // Whether can be purchased Purchasable bool `json:"purchasable"` // recurring for subscription Recurring *Recurring `json:"recurring,omitempty"` // region data map, key is region, value is region data list // Required: true RegionData map[string][]RegionDataItem `json:"regionData"` // seasonType // Enum: [PASS TIER] SeasonType string `json:"seasonType,omitempty"` // sku, allowed characters from a-zA-Z0-9_:- and start/end in alphanumeric, max length is 127 Sku string `json:"sku,omitempty"` // Whether to stack the entitlement when entitlement type is "CONSUMABLE" Stackable bool `json:"stackable"` // status // Required: true // Enum: [ACTIVE INACTIVE] Status *string `json:"status"` // Tags, allowed characters from a-zA-Z0-9:_- with length range from 1 to 30, should start and end in upper/lowercase/number, an item has max 5 tags. // Unique: true Tags []string `json:"tags"` // target currency code, required if item type is "COINS" TargetCurrencyCode string `json:"targetCurrencyCode,omitempty"` // target namespace, require when sell a game's item on the publisher namespace TargetNamespace string `json:"targetNamespace,omitempty"` // thumbnail Url ThumbnailURL string `json:"thumbnailUrl,omitempty"` // Represent entitlement count when entitlement type is "CONSUMABLE", and represent coin count when itemType is "COINS" UseCount int32 `json:"useCount,omitempty"` }
ItemCreate A DTO object for creating item API call.
swagger:model ItemCreate
func (*ItemCreate) MarshalBinary ¶
func (m *ItemCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ItemCreate) UnmarshalBinary ¶
func (m *ItemCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ItemDynamicDataInfo ¶
type ItemDynamicDataInfo struct { // the available count of this item, -1 means UNLIMITED, corresponding to maxCount // Required: true AvailableCount *int32 `json:"availableCount"` // item id // Required: true ItemID *string `json:"itemId"` // item namespace // Required: true Namespace *string `json:"namespace"` // the available count of this item for current user, -1 means UNLIMITED, corresponding to maxCountPerUser // Required: true UserAvailableCount *int64 `json:"userAvailableCount"` // the max count that user can do purchase, -1 means UNLIMITED // Required: true UserPurchaseLimit *int64 `json:"userPurchaseLimit"` }
ItemDynamicDataInfo item dynamic data info
swagger:model ItemDynamicDataInfo
func (*ItemDynamicDataInfo) MarshalBinary ¶
func (m *ItemDynamicDataInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ItemDynamicDataInfo) UnmarshalBinary ¶
func (m *ItemDynamicDataInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ItemID ¶
type ItemID struct { // itemId // Required: true ItemID *string `json:"itemId"` // sku Sku string `json:"sku,omitempty"` }
ItemID item Id
swagger:model ItemId
func (*ItemID) MarshalBinary ¶
MarshalBinary interface implementation
func (*ItemID) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ItemInfo ¶
type ItemInfo struct { // App id, required when itemType is APP AppID string `json:"appId,omitempty"` // App type, required when itemType is APP // Enum: [DEMO DLC GAME SOFTWARE] AppType string `json:"appType,omitempty"` // Base app id BaseAppID string `json:"baseAppId,omitempty"` // booth name to get tickets while it's item type is CODE BoothName string `json:"boothName,omitempty"` // the items which this item being bounded to // Unique: true BoundItemIds []string `json:"boundItemIds"` // Item category path // Required: true CategoryPath *string `json:"categoryPath"` // customized item clazz Clazz string `json:"clazz,omitempty"` // created at // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // description info Description string `json:"description,omitempty"` // display order DisplayOrder int32 `json:"displayOrder,omitempty"` // Entitlement type // Required: true // Enum: [CONSUMABLE DURABLE] EntitlementType *string `json:"entitlementType"` // customized item properties Ext map[string]interface{} `json:"ext,omitempty"` // Features // Unique: true Features []string `json:"features"` // images Images []*Image `json:"images"` // Item id // Required: true ItemID *string `json:"itemId"` // itemIds, should be empty if item type is not "BUNDLE" ItemIds []string `json:"itemIds"` // itemQty, the quantity of item in itemIds, default 1, should be empty if item type is not "BUNDLE" ItemQty map[string]int32 `json:"itemQty,omitempty"` // Item type // Required: true // Enum: [APP BUNDLE CODE COINS INGAMEITEM MEDIA SEASON SUBSCRIPTION] ItemType *string `json:"itemType"` // language // Required: true Language *string `json:"language"` // Whether can be visible in Store for public user Listable bool `json:"listable"` // local ext LocalExt map[string]interface{} `json:"localExt,omitempty"` // long description info LongDescription string `json:"longDescription,omitempty"` // Max count, -1 means UNLIMITED, unset when itemType is CODE MaxCount int32 `json:"maxCount,omitempty"` // Max count per user, -1 means UNLIMITED MaxCountPerUser int32 `json:"maxCountPerUser,omitempty"` // Name // Required: true Name *string `json:"name"` // Item namespace // Required: true Namespace *string `json:"namespace"` // Whether can be purchased Purchasable bool `json:"purchasable"` // recurring for subscription Recurring *Recurring `json:"recurring,omitempty"` // region // Required: true Region *string `json:"region"` // Region data RegionData []*RegionDataItem `json:"regionData"` // Season type, required while itemType is SEASON // Enum: [PASS TIER] SeasonType string `json:"seasonType,omitempty"` // Sku Sku string `json:"sku,omitempty"` // Whether stack the CONSUMABLE entitlement Stackable bool `json:"stackable"` // Item status // Required: true // Enum: [ACTIVE INACTIVE] Status *string `json:"status"` // Tags // Unique: true Tags []string `json:"tags"` // Target currency code of coin item TargetCurrencyCode string `json:"targetCurrencyCode,omitempty"` // Target item id if this item is mapping from game namespace TargetItemID string `json:"targetItemId,omitempty"` // The target namespace of a cross namespace item TargetNamespace string `json:"targetNamespace,omitempty"` // thumbnail url ThumbnailURL string `json:"thumbnailUrl,omitempty"` // title info // Required: true Title *string `json:"title"` // updated at // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt"` // Item use count, required when entitlement type is consumable or itemType is COINS UseCount int32 `json:"useCount,omitempty"` }
ItemInfo item info
swagger:model ItemInfo
func (*ItemInfo) MarshalBinary ¶
MarshalBinary interface implementation
func (*ItemInfo) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type ItemPagingSlicedResult ¶
type ItemPagingSlicedResult struct { // data // Required: true Data []*ItemInfo `json:"data"` // paging Paging *Paging `json:"paging,omitempty"` }
ItemPagingSlicedResult item paging sliced result
swagger:model ItemPagingSlicedResult
func (*ItemPagingSlicedResult) MarshalBinary ¶
func (m *ItemPagingSlicedResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ItemPagingSlicedResult) UnmarshalBinary ¶
func (m *ItemPagingSlicedResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ItemReturnRequest ¶
type ItemReturnRequest struct { // orderNo // Required: true OrderNo *string `json:"orderNo"` }
ItemReturnRequest item return request
swagger:model ItemReturnRequest
func (*ItemReturnRequest) MarshalBinary ¶
func (m *ItemReturnRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ItemReturnRequest) UnmarshalBinary ¶
func (m *ItemReturnRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ItemSnapshot ¶
type ItemSnapshot struct { // App id, required when itemType is APP AppID string `json:"appId,omitempty"` // App type, required when itemType is APP // Enum: [DEMO DLC GAME SOFTWARE] AppType string `json:"appType,omitempty"` // Base app Id BaseAppID string `json:"baseAppId,omitempty"` // booth name to get tickets while it's item type is CODE BoothName string `json:"boothName,omitempty"` // createdAt // Format: date-time CreatedAt *strfmt.DateTime `json:"createdAt,omitempty"` // description Description string `json:"description,omitempty"` // Entitlement type // Required: true // Enum: [CONSUMABLE DURABLE] EntitlementType *string `json:"entitlementType"` // supported features // Unique: true Features []string `json:"features"` // Item id // Required: true ItemID *string `json:"itemId"` // itemIds, should be empty if item type is not "BUNDLE" ItemIds []string `json:"itemIds"` // itemQty, the quantity of item in itemIds, default 1, should be empty if item type is not "BUNDLE" ItemQty map[string]int32 `json:"itemQty,omitempty"` // Item type // Required: true // Enum: [APP BUNDLE CODE COINS INGAMEITEM MEDIA SEASON SUBSCRIPTION] ItemType *string `json:"itemType"` // language // Required: true Language *string `json:"language"` // Whether can be visible in Store for public user Listable bool `json:"listable"` // Max count, -1 means UNLIMITED, unset when itemType is CODE MaxCount int32 `json:"maxCount,omitempty"` // Max count per user, -1 means UNLIMITED MaxCountPerUser int32 `json:"maxCountPerUser,omitempty"` // Name // Required: true Name *string `json:"name"` // Item's namespace // Required: true Namespace *string `json:"namespace"` // Whether can be purchased Purchasable bool `json:"purchasable"` // recurring for subscription Recurring *Recurring `json:"recurring,omitempty"` // region // Required: true Region *string `json:"region"` // Region data RegionDataItem *RegionDataItem `json:"regionDataItem,omitempty"` // Season type, required while itemType is SEASON // Enum: [PASS TIER] SeasonType string `json:"seasonType,omitempty"` // Sku Sku string `json:"sku,omitempty"` // Whether stack the CONSUMABLE entitlement Stackable bool `json:"stackable"` // Target currency code of coin item TargetCurrencyCode string `json:"targetCurrencyCode,omitempty"` // Target item id of mapping from game namespace to publisher namespace TargetItemID string `json:"targetItemId,omitempty"` // The target namespace of a cross namespace item TargetNamespace string `json:"targetNamespace,omitempty"` // thumbnail url ThumbnailURL string `json:"thumbnailUrl,omitempty"` // title info // Required: true Title *string `json:"title"` // updatedAt // Format: date-time UpdatedAt *strfmt.DateTime `json:"updatedAt,omitempty"` // Item use count, required when entitlement type is consumable or itemType is COINS UseCount int32 `json:"useCount,omitempty"` }
ItemSnapshot item snapshot
swagger:model ItemSnapshot
func (*ItemSnapshot) MarshalBinary ¶
func (m *ItemSnapshot) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ItemSnapshot) UnmarshalBinary ¶
func (m *ItemSnapshot) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ItemUpdate ¶
type ItemUpdate struct { // appId, required if appType is present, alpha numeric, max length is 255 AppID string `json:"appId,omitempty"` // appType // Enum: [DEMO DLC GAME SOFTWARE] AppType string `json:"appType,omitempty"` // baseAppId, can set value of game appId if want to link to a game BaseAppID string `json:"baseAppId,omitempty"` // booth name to get tickets while ItemType is CODE, Campaign or KeyGroup should located in targetNamespace if targetNamespace not null BoothName string `json:"boothName,omitempty"` // Category Path, A path separated by "/", will not show in store if it set to blank, max length is 255 CategoryPath string `json:"categoryPath,omitempty"` // customized item clazz Clazz string `json:"clazz,omitempty"` // display order DisplayOrder int32 `json:"displayOrder,omitempty"` // Entitlement Type // Required: true // Enum: [CONSUMABLE DURABLE] EntitlementType *string `json:"entitlementType"` // customized item properties Ext map[string]interface{} `json:"ext,omitempty"` // Features, allowed characters from a-zA-Z0-9_:- and start/end in alphanumeric with length range from 1 to 127 // Unique: true Features []string `json:"features"` // images Images []*Image `json:"images"` // itemIds, should be empty if item type is not "BUNDLE" ItemIds []string `json:"itemIds"` // itemQty, the quantity of item in itemIds, default 1, should be empty if item type is not "BUNDLE" ItemQty map[string]int32 `json:"itemQty,omitempty"` // Item Type // Required: true // Enum: [APP BUNDLE CODE COINS INGAMEITEM MEDIA SEASON SUBSCRIPTION] ItemType *string `json:"itemType"` // Whether can be visible in Store for public user Listable bool `json:"listable"` // Localization, key language, value localization content Localizations map[string]Localization `json:"localizations,omitempty"` // Max count, -1 means UNLIMITED, new value should >= old value if both old value and new value is limited, unset when itemType is CODE MaxCount int32 `json:"maxCount,omitempty"` // Max count per user, -1 means UNLIMITED MaxCountPerUser int32 `json:"maxCountPerUser,omitempty"` // Name Name string `json:"name,omitempty"` // Whether can be purchased Purchasable bool `json:"purchasable"` // recurring for subscription Recurring *Recurring `json:"recurring,omitempty"` // region data map, key is region, value is region data list RegionData map[string][]RegionDataItem `json:"regionData,omitempty"` // seasonType // Enum: [PASS TIER] SeasonType string `json:"seasonType,omitempty"` // sku, allowed characters from a-zA-Z0-9_:- and start/end in alphanumeric, max length is 127 Sku string `json:"sku,omitempty"` // Whether to stack the entitlement when entitlement type is "CONSUMABLE" Stackable bool `json:"stackable"` // status // Enum: [ACTIVE INACTIVE] Status string `json:"status,omitempty"` // Tags, allowed characters from a-zA-Z0-9:_- with length range from 1 to 30, should start and end in upper/lowercase/number, an item has max 5 tags. // Unique: true Tags []string `json:"tags"` // target currency code, required if item type is "COINS" TargetCurrencyCode string `json:"targetCurrencyCode,omitempty"` // target namespace, require when sell a game's item on the publisher namespace TargetNamespace string `json:"targetNamespace,omitempty"` // thumbnail Url ThumbnailURL string `json:"thumbnailUrl,omitempty"` // Represent entitlement count when entitlement type is "CONSUMABLE", and represent coin count when itemType is "COINS" UseCount int32 `json:"useCount,omitempty"` }
ItemUpdate A DTO object for updating item API call.
swagger:model ItemUpdate
func (*ItemUpdate) MarshalBinary ¶
func (m *ItemUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ItemUpdate) UnmarshalBinary ¶
func (m *ItemUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type KeyGroupCreate ¶ added in v0.7.0
type KeyGroupCreate struct { // The description of the KeyGroup, max length is 1024 characters Description string `json:"description,omitempty"` // The name of the KeyGroup, a-z0-9_ 120 max length // Required: true Name *string `json:"name"` // The status of the KeyGroup, default ACTIVE // Enum: [ACTIVE INACTIVE] Status string `json:"status,omitempty"` // The tags of the KeyGroup Tags []string `json:"tags"` }
KeyGroupCreate A DTO object for creating KeyGroup API call.
swagger:model KeyGroupCreate
func (*KeyGroupCreate) MarshalBinary ¶ added in v0.7.0
func (m *KeyGroupCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*KeyGroupCreate) UnmarshalBinary ¶ added in v0.7.0
func (m *KeyGroupCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type KeyGroupDynamicInfo ¶ added in v0.7.0
type KeyGroupDynamicInfo struct { // The available sale count, -1 means UNLIMITED // Required: true AvailableSaleCount *int32 `json:"availableSaleCount"` // The total quantity of this key group has // Required: true Quantity *int32 `json:"quantity"` // The sale count // Required: true SaleCount *int32 `json:"saleCount"` }
KeyGroupDynamicInfo key group dynamic info
swagger:model KeyGroupDynamicInfo
func (*KeyGroupDynamicInfo) MarshalBinary ¶ added in v0.7.0
func (m *KeyGroupDynamicInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*KeyGroupDynamicInfo) UnmarshalBinary ¶ added in v0.7.0
func (m *KeyGroupDynamicInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type KeyGroupInfo ¶ added in v0.7.0
type KeyGroupInfo struct { // booth name // Required: true BoothName *string `json:"boothName"` // created at // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // description Description string `json:"description,omitempty"` // id // Required: true ID *string `json:"id"` // name // Required: true Name *string `json:"name"` // namespace // Required: true Namespace *string `json:"namespace"` // status // Required: true // Enum: [ACTIVE INACTIVE] Status *string `json:"status"` // tags Tags []string `json:"tags"` // updated at // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt"` }
KeyGroupInfo key group info
swagger:model KeyGroupInfo
func (*KeyGroupInfo) MarshalBinary ¶ added in v0.7.0
func (m *KeyGroupInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*KeyGroupInfo) UnmarshalBinary ¶ added in v0.7.0
func (m *KeyGroupInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type KeyGroupPagingSlicedResult ¶ added in v0.7.0
type KeyGroupPagingSlicedResult struct { // data // Required: true Data []*KeyGroupInfo `json:"data"` // paging Paging *Paging `json:"paging,omitempty"` }
KeyGroupPagingSlicedResult key group paging sliced result
swagger:model KeyGroupPagingSlicedResult
func (*KeyGroupPagingSlicedResult) MarshalBinary ¶ added in v0.7.0
func (m *KeyGroupPagingSlicedResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*KeyGroupPagingSlicedResult) UnmarshalBinary ¶ added in v0.7.0
func (m *KeyGroupPagingSlicedResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type KeyGroupUpdate ¶ added in v0.7.0
type KeyGroupUpdate struct { // The description of the KeyGroup, max length is 1024 characters Description string `json:"description,omitempty"` // The name of the KeyGroup, a-z0-9_ 120 max length // Required: true Name *string `json:"name"` // The status of the KeyGroup // Enum: [ACTIVE INACTIVE] Status string `json:"status,omitempty"` // The tags of the KeyGroup Tags []string `json:"tags"` }
KeyGroupUpdate A DTO object for creating KeyGroup API call.
swagger:model KeyGroupUpdate
func (*KeyGroupUpdate) MarshalBinary ¶ added in v0.7.0
func (m *KeyGroupUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*KeyGroupUpdate) UnmarshalBinary ¶ added in v0.7.0
func (m *KeyGroupUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type KeyInfo ¶ added in v0.7.0
type KeyInfo struct { // order No. that grant this key AcquireOrderNo string `json:"acquireOrderNo,omitempty"` // user Id who get this key AcquireUserID string `json:"acquireUserId,omitempty"` // created at // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // key id // Required: true ID *string `json:"id"` // key upload file // Required: true KeyFile *string `json:"keyFile"` // key group id // Required: true KeyGroupID *string `json:"keyGroupId"` // namespace // Required: true Namespace *string `json:"namespace"` // status // Required: true // Enum: [ACQUIRED ACTIVE] Status *string `json:"status"` // updated at // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt"` // key value // Required: true Value *string `json:"value"` }
KeyInfo key info
swagger:model KeyInfo
func (*KeyInfo) MarshalBinary ¶ added in v0.7.0
MarshalBinary interface implementation
func (*KeyInfo) UnmarshalBinary ¶ added in v0.7.0
UnmarshalBinary interface implementation
type KeyPagingSliceResult ¶ added in v0.7.0
type KeyPagingSliceResult struct { // data // Required: true Data []*KeyInfo `json:"data"` // paging Paging *Paging `json:"paging,omitempty"` }
KeyPagingSliceResult key paging slice result
swagger:model KeyPagingSliceResult
func (*KeyPagingSliceResult) MarshalBinary ¶ added in v0.7.0
func (m *KeyPagingSliceResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*KeyPagingSliceResult) UnmarshalBinary ¶ added in v0.7.0
func (m *KeyPagingSliceResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Localization ¶
type Localization struct { // description info Description string `json:"description,omitempty"` // local ext LocalExt map[string]interface{} `json:"localExt,omitempty"` // long description info LongDescription string `json:"longDescription,omitempty"` // title info // Required: true Title *string `json:"title"` }
Localization localization
swagger:model Localization
func (*Localization) MarshalBinary ¶
func (m *Localization) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Localization) UnmarshalBinary ¶
func (m *Localization) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type MockIAPReceipt ¶
type MockIAPReceipt struct { // The item identity type // Enum: [ITEM_ID ITEM_SKU] ItemIdentityType string `json:"itemIdentityType,omitempty"` // language value from language tag, allowed format: en, en-US.<p>Supported language tag : [RFC5646](https://gist.github.com/msikma/8912e62ed866778ff8cd) and [IETF](https://datahub.io/core/language-codes#resource-ietf-language-tags)</p> // Pattern: ^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$ Language string `json:"language,omitempty"` // The product identifier of the item that was purchased. // Required: true ProductID *string `json:"productId"` // country value from ISO countries Region string `json:"region,omitempty"` // The IAP type. // Required: true // Enum: [APPLE EPICGAMES GOOGLE PLAYSTATION STADIA STEAM TWITCH XBOX] Type *string `json:"type"` }
MockIAPReceipt mock i a p receipt
swagger:model MockIAPReceipt
func (*MockIAPReceipt) MarshalBinary ¶
func (m *MockIAPReceipt) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*MockIAPReceipt) UnmarshalBinary ¶
func (m *MockIAPReceipt) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type NotificationProcessResult ¶ added in v0.7.0
type NotificationProcessResult struct { // code Code string `json:"code,omitempty"` // custom param CustomParam interface{} `json:"customParam,omitempty"` // severity Severity int32 `json:"severity,omitempty"` // status // Enum: [ERROR IGNORED PROCESSED WARN] Status string `json:"status,omitempty"` }
NotificationProcessResult notification process result
swagger:model NotificationProcessResult
func (*NotificationProcessResult) MarshalBinary ¶ added in v0.7.0
func (m *NotificationProcessResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*NotificationProcessResult) UnmarshalBinary ¶ added in v0.7.0
func (m *NotificationProcessResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Order ¶
type Order struct { // chargeback reversed time // Format: date-time ChargebackReversedTime *strfmt.DateTime `json:"chargebackReversedTime,omitempty"` // chargeback time // Format: date-time ChargebackTime *strfmt.DateTime `json:"chargebackTime,omitempty"` // charged Charged bool `json:"charged"` // charged time // Format: date-time ChargedTime *strfmt.DateTime `json:"chargedTime,omitempty"` // count item Id CountItemID string `json:"countItemId,omitempty"` // count namespace CountNamespace string `json:"countNamespace,omitempty"` // count user Id CountUserID string `json:"countUserId,omitempty"` // created at // Format: date-time CreatedAt *strfmt.DateTime `json:"createdAt,omitempty"` // created time // Format: date-time CreatedTime *strfmt.DateTime `json:"createdTime,omitempty"` // currency Currency *CurrencySummary `json:"currency,omitempty"` // discounted price DiscountedPrice int32 `json:"discountedPrice,omitempty"` // expire time // Format: date-time ExpireTime *strfmt.DateTime `json:"expireTime,omitempty"` // ext Ext map[string]interface{} `json:"ext,omitempty"` // free Free bool `json:"free"` // fulfilled time // Format: date-time FulfilledTime *strfmt.DateTime `json:"fulfilledTime,omitempty"` // item Id ItemID string `json:"itemId,omitempty"` // item snapshot ItemSnapshot *ItemSnapshot `json:"itemSnapshot,omitempty"` // language Language string `json:"language,omitempty"` // namespace Namespace string `json:"namespace,omitempty"` // order no OrderNo string `json:"orderNo,omitempty"` // payment method PaymentMethod string `json:"paymentMethod,omitempty"` // payment method fee PaymentMethodFee int32 `json:"paymentMethodFee,omitempty"` // payment order no PaymentOrderNo string `json:"paymentOrderNo,omitempty"` // payment provider // Enum: [ADYEN ALIPAY CHECKOUT PAYPAL STRIPE WALLET WXPAY XSOLLA] PaymentProvider string `json:"paymentProvider,omitempty"` // payment provider fee PaymentProviderFee int32 `json:"paymentProviderFee,omitempty"` // payment remain seconds PaymentRemainSeconds int32 `json:"paymentRemainSeconds,omitempty"` // payment station Url PaymentStationURL string `json:"paymentStationUrl,omitempty"` // price Price int32 `json:"price,omitempty"` // quantity Quantity int32 `json:"quantity,omitempty"` // refunded time // Format: date-time RefundedTime *strfmt.DateTime `json:"refundedTime,omitempty"` // region Region string `json:"region,omitempty"` // return Url ReturnURL string `json:"returnUrl,omitempty"` // rvn Rvn int32 `json:"rvn,omitempty"` // sales tax SalesTax int32 `json:"salesTax,omitempty"` // sandbox Sandbox bool `json:"sandbox"` // status // Enum: [CHARGEBACK CHARGEBACK_REVERSED CHARGED CLOSED DELETED FULFILLED FULFILL_FAILED INIT REFUNDED REFUNDING REFUND_FAILED] Status string `json:"status,omitempty"` // status reason StatusReason string `json:"statusReason,omitempty"` // subtotal price SubtotalPrice int32 `json:"subtotalPrice,omitempty"` // tax Tax int32 `json:"tax,omitempty"` // total price TotalPrice int32 `json:"totalPrice,omitempty"` // total tax TotalTax int32 `json:"totalTax,omitempty"` // updated at // Format: date-time UpdatedAt *strfmt.DateTime `json:"updatedAt,omitempty"` // user Id UserID string `json:"userId,omitempty"` // vat Vat int32 `json:"vat,omitempty"` }
Order order
swagger:model Order
func (*Order) MarshalBinary ¶
MarshalBinary interface implementation
func (*Order) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type OrderCreate ¶
type OrderCreate struct { // currency code, should match currency code in item region data // Required: true CurrencyCode *string `json:"currencyCode"` // Discounted price of order, this should match (item_discounted_price * quantity) ifitem discounted price is available, otherwise it should equal to (item_price * quantity) // Required: true DiscountedPrice *int32 `json:"discountedPrice"` // extra field to store external order information Ext map[string]interface{} `json:"ext,omitempty"` // item id // Required: true ItemID *string `json:"itemId"` // language value from language tag, allowed format: en, en-US.<p>Supported language tag : [RFC5646](https://gist.github.com/msikma/8912e62ed866778ff8cd) and [IETF](https://datahub.io/core/language-codes#resource-ietf-language-tags)</p> // Pattern: ^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$ Language string `json:"language,omitempty"` // Price of order, should match (item_price * quantity) // Required: true Price *int32 `json:"price"` // Quantity of item, min is 1 // Required: true Quantity *int32 `json:"quantity"` // country value from ISO countries Region string `json:"region,omitempty"` // custom return url for real payment, user will be redirected to this url once payment is finished ReturnURL string `json:"returnUrl,omitempty"` }
OrderCreate order create
swagger:model OrderCreate
func (*OrderCreate) MarshalBinary ¶
func (m *OrderCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OrderCreate) UnmarshalBinary ¶
func (m *OrderCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OrderGrantInfo ¶
type OrderGrantInfo struct { // Order credit list Credits []*CreditSummary `json:"credits"` // Order entitlement list Entitlements []*EntitlementSummary `json:"entitlements"` }
OrderGrantInfo order grant info
swagger:model OrderGrantInfo
func (*OrderGrantInfo) MarshalBinary ¶
func (m *OrderGrantInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OrderGrantInfo) UnmarshalBinary ¶
func (m *OrderGrantInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OrderHistoryInfo ¶
type OrderHistoryInfo struct { // The action of the order // Required: true // Enum: [CHARGEBACK CHARGEBACK_REVERSED CHARGED CLOSE DELETED FULFILLED FULFILL_FAILED INIT REFUNDED REFUNDING REFUND_FAILED SET_STATUS] Action *string `json:"action"` // created at // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // The namespace of this order // Required: true Namespace *string `json:"namespace"` // The operator to this order // Required: true Operator *string `json:"operator"` // The Order number // Required: true OrderNo *string `json:"orderNo"` // The reason of this operation Reason string `json:"reason,omitempty"` // updated at // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt"` // The owner of the order // Required: true UserID *string `json:"userId"` }
OrderHistoryInfo order history info
swagger:model OrderHistoryInfo
func (*OrderHistoryInfo) MarshalBinary ¶
func (m *OrderHistoryInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OrderHistoryInfo) UnmarshalBinary ¶
func (m *OrderHistoryInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OrderInfo ¶
type OrderInfo struct { // The time of the order chargeback reversed // Format: date-time ChargebackReversedTime *strfmt.DateTime `json:"chargebackReversedTime,omitempty"` // The time of the order chargeback // Format: date-time ChargebackTime *strfmt.DateTime `json:"chargebackTime,omitempty"` // The time of the order charged // Format: date-time ChargedTime *strfmt.DateTime `json:"chargedTime,omitempty"` // createdAt // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // The time of the order created // Format: date-time CreatedTime *strfmt.DateTime `json:"createdTime,omitempty"` // Order currency info // Required: true Currency *CurrencySummary `json:"currency"` // Order discounted price // Required: true DiscountedPrice *int32 `json:"discountedPrice"` // payment expire time // Required: true // Format: date-time ExpireTime strfmt.DateTime `json:"expireTime"` // extra field to store external order information Ext map[string]interface{} `json:"ext,omitempty"` // The time of the order fulfilled // Format: date-time FulfilledTime *strfmt.DateTime `json:"fulfilledTime,omitempty"` // Item id // Required: true ItemID *string `json:"itemId"` // Item snapshot ItemSnapshot *ItemSnapshot `json:"itemSnapshot,omitempty"` // Order created language Language string `json:"language,omitempty"` // Order namespace // Required: true Namespace *string `json:"namespace"` // Order number // Required: true OrderNo *string `json:"orderNo"` // Payment method PaymentMethod string `json:"paymentMethod,omitempty"` // Payment method fee PaymentMethodFee int32 `json:"paymentMethodFee,omitempty"` // Payment order number PaymentOrderNo string `json:"paymentOrderNo,omitempty"` // Payment provider // Enum: [ADYEN ALIPAY CHECKOUT PAYPAL STRIPE WALLET WXPAY XSOLLA] PaymentProvider string `json:"paymentProvider,omitempty"` // Payment provider fee PaymentProviderFee int32 `json:"paymentProviderFee,omitempty"` // payment remain seconds // Required: true PaymentRemainSeconds *int32 `json:"paymentRemainSeconds"` // Payment url info PaymentStationURL string `json:"paymentStationUrl,omitempty"` // Order price // Required: true Price *int32 `json:"price"` // Order quantity // Required: true Quantity *int32 `json:"quantity"` // The time of the order refunded // Format: date-time RefundedTime *strfmt.DateTime `json:"refundedTime,omitempty"` // Order created region Region string `json:"region,omitempty"` // Order sales tax SalesTax int32 `json:"salesTax,omitempty"` // isSandbox, indicate if order is sandbox // Required: true Sandbox *bool `json:"sandbox"` // Order status // Required: true // Enum: [CHARGEBACK CHARGEBACK_REVERSED CHARGED CLOSED DELETED FULFILLED FULFILL_FAILED INIT REFUNDED REFUNDING REFUND_FAILED] Status *string `json:"status"` // Order status reason StatusReason string `json:"statusReason,omitempty"` // subtotal price SubtotalPrice int32 `json:"subtotalPrice,omitempty"` // Order total tax Tax int32 `json:"tax,omitempty"` // total price TotalPrice int32 `json:"totalPrice,omitempty"` // total tax TotalTax int32 `json:"totalTax,omitempty"` // updatedAt // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt"` // User id // Required: true UserID *string `json:"userId"` // Order VAT Vat int32 `json:"vat,omitempty"` }
OrderInfo order info
swagger:model OrderInfo
func (*OrderInfo) MarshalBinary ¶
MarshalBinary interface implementation
func (*OrderInfo) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type OrderPagingResult ¶
type OrderPagingResult struct { // data // Required: true Data []*OrderInfo `json:"data"` // paging Paging *Paging `json:"paging,omitempty"` // total Total int64 `json:"total,omitempty"` }
OrderPagingResult order paging result
swagger:model OrderPagingResult
func (*OrderPagingResult) MarshalBinary ¶
func (m *OrderPagingResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OrderPagingResult) UnmarshalBinary ¶
func (m *OrderPagingResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OrderPagingSlicedResult ¶
type OrderPagingSlicedResult struct { // data // Required: true Data []*OrderInfo `json:"data"` // paging Paging *Paging `json:"paging,omitempty"` }
OrderPagingSlicedResult order paging sliced result
swagger:model OrderPagingSlicedResult
func (*OrderPagingSlicedResult) MarshalBinary ¶
func (m *OrderPagingSlicedResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OrderPagingSlicedResult) UnmarshalBinary ¶
func (m *OrderPagingSlicedResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OrderRefundCreate ¶
type OrderRefundCreate struct { // order refund description // Required: true Description *string `json:"description"` }
OrderRefundCreate order refund create
swagger:model OrderRefundCreate
func (*OrderRefundCreate) MarshalBinary ¶
func (m *OrderRefundCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OrderRefundCreate) UnmarshalBinary ¶
func (m *OrderRefundCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OrderStatistics ¶
type OrderStatistics struct { // Status count // Required: true StatusCount map[string]int64 `json:"statusCount"` // Total // Required: true Total *int64 `json:"total"` }
OrderStatistics order statistics
swagger:model OrderStatistics
func (*OrderStatistics) MarshalBinary ¶
func (m *OrderStatistics) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OrderStatistics) UnmarshalBinary ¶
func (m *OrderStatistics) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OrderSummary ¶ added in v0.7.0
type OrderSummary struct { // purchase currency Currency *CurrencySummary `json:"currency,omitempty"` // order custom properties Ext map[string]interface{} `json:"ext,omitempty"` // free Free bool `json:"free"` }
OrderSummary order summary
swagger:model OrderSummary
func (*OrderSummary) MarshalBinary ¶ added in v0.7.0
func (m *OrderSummary) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OrderSummary) UnmarshalBinary ¶ added in v0.7.0
func (m *OrderSummary) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OrderSyncResult ¶
type OrderSyncResult struct { // next evaluated key NextEvaluatedKey string `json:"nextEvaluatedKey,omitempty"` // orders Orders []*Order `json:"orders"` }
OrderSyncResult order sync result
swagger:model OrderSyncResult
func (*OrderSyncResult) MarshalBinary ¶
func (m *OrderSyncResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OrderSyncResult) UnmarshalBinary ¶
func (m *OrderSyncResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OrderUpdate ¶
type OrderUpdate struct { // status // Required: true // Enum: [CHARGEBACK CHARGEBACK_REVERSED CHARGED CLOSED DELETED FULFILLED FULFILL_FAILED INIT REFUNDED REFUNDING REFUND_FAILED] Status *string `json:"status"` // update status reason // Required: true StatusReason *string `json:"statusReason"` }
OrderUpdate A DTO object for updating order API call.
swagger:model OrderUpdate
func (*OrderUpdate) MarshalBinary ¶
func (m *OrderUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OrderUpdate) UnmarshalBinary ¶
func (m *OrderUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Ownership ¶
type Ownership struct { // ownership // Required: true Owned *bool `json:"owned"` }
Ownership ownership
swagger:model Ownership
func (*Ownership) MarshalBinary ¶
MarshalBinary interface implementation
func (*Ownership) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type OwnershipToken ¶ added in v0.7.0
type OwnershipToken struct { // ownership token OwnershipToken string `json:"ownershipToken,omitempty"` }
OwnershipToken ownership token
swagger:model OwnershipToken
func (*OwnershipToken) MarshalBinary ¶ added in v0.7.0
func (m *OwnershipToken) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OwnershipToken) UnmarshalBinary ¶ added in v0.7.0
func (m *OwnershipToken) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Paging ¶
type Paging struct { // next Next string `json:"next,omitempty"` // previous Previous string `json:"previous,omitempty"` }
Paging paging
swagger:model Paging
func (*Paging) MarshalBinary ¶
MarshalBinary interface implementation
func (*Paging) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type PayPalConfig ¶
type PayPalConfig struct { // client id ClientID string `json:"clientID,omitempty"` // client secret, max length is 4096 ClientSecret string `json:"clientSecret,omitempty"` // return url, max length is 2048 ReturnURL string `json:"returnUrl,omitempty"` // web hook id WebHookID string `json:"webHookId,omitempty"` }
PayPalConfig A DTO object for updating PayPal config.
swagger:model PayPalConfig
func (*PayPalConfig) MarshalBinary ¶
func (m *PayPalConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PayPalConfig) UnmarshalBinary ¶
func (m *PayPalConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PaymentAccount ¶
type PaymentAccount struct { // Payment account id // Required: true ID *string `json:"id"` // Payment account name, generally mask credit card number // Required: true Name *string `json:"name"` // Payment account type // Required: true // Enum: [card paypal] Type *string `json:"type"` }
PaymentAccount payment account
swagger:model PaymentAccount
func (*PaymentAccount) MarshalBinary ¶
func (m *PaymentAccount) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaymentAccount) UnmarshalBinary ¶
func (m *PaymentAccount) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PaymentCallbackConfigInfo ¶ added in v0.9.0
type PaymentCallbackConfigInfo struct { // mock workflow while set true, default false DryRun bool `json:"dryRun"` // namespace // Required: true Namespace *string `json:"namespace"` // notify url for ECommerce payment notification NotifyURL string `json:"notifyUrl,omitempty"` // private key to encode/decode ECommerce payload PrivateKey string `json:"privateKey,omitempty"` }
PaymentCallbackConfigInfo payment callback config info
swagger:model PaymentCallbackConfigInfo
func (*PaymentCallbackConfigInfo) MarshalBinary ¶ added in v0.9.0
func (m *PaymentCallbackConfigInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaymentCallbackConfigInfo) UnmarshalBinary ¶ added in v0.9.0
func (m *PaymentCallbackConfigInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PaymentCallbackConfigUpdate ¶ added in v0.9.0
type PaymentCallbackConfigUpdate struct { // mock workflow while set true, default false DryRun bool `json:"dryRun"` // notify url for ECommerce payment notification NotifyURL string `json:"notifyUrl,omitempty"` // private key to encode/decode ECommerce payload PrivateKey string `json:"privateKey,omitempty"` }
PaymentCallbackConfigUpdate payment callback config update
swagger:model PaymentCallbackConfigUpdate
func (*PaymentCallbackConfigUpdate) MarshalBinary ¶ added in v0.9.0
func (m *PaymentCallbackConfigUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaymentCallbackConfigUpdate) UnmarshalBinary ¶ added in v0.9.0
func (m *PaymentCallbackConfigUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PaymentMerchantConfigInfo ¶
type PaymentMerchantConfigInfo struct { // adyenConfig AdyenConfig *AdyenConfig `json:"adyenConfig,omitempty"` // adyenSandboxConfig AdyenSandboxConfig *AdyenConfig `json:"adyenSandboxConfig,omitempty"` // aliPayConfig AliPayConfig *AliPayConfig `json:"aliPayConfig,omitempty"` // aliPaySandboxConfig AliPaySandboxConfig *AliPayConfig `json:"aliPaySandboxConfig,omitempty"` // checkoutConfig CheckoutConfig *CheckoutConfig `json:"checkoutConfig,omitempty"` // checkoutSandboxConfig CheckoutSandboxConfig *CheckoutConfig `json:"checkoutSandboxConfig,omitempty"` // created at // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // id // Required: true ID *string `json:"id"` // payPalConfig PayPalConfig *PayPalConfig `json:"payPalConfig,omitempty"` // payPalSandboxConfig PayPalSandboxConfig *PayPalConfig `json:"payPalSandboxConfig,omitempty"` // stripeConfig StripeConfig *StripeConfig `json:"stripeConfig,omitempty"` // stripeSandboxConfig StripeSandboxConfig *StripeConfig `json:"stripeSandboxConfig,omitempty"` // updated at // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt"` // wxPayConfig WxPayConfig *WxPayConfigInfo `json:"wxPayConfig,omitempty"` // xsollaConfig XsollaConfig *XsollaConfig `json:"xsollaConfig,omitempty"` // xsollaPaywallConfig XsollaPaywallConfig *XsollaPaywallConfig `json:"xsollaPaywallConfig,omitempty"` }
PaymentMerchantConfigInfo payment merchant config info
swagger:model PaymentMerchantConfigInfo
func (*PaymentMerchantConfigInfo) MarshalBinary ¶
func (m *PaymentMerchantConfigInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaymentMerchantConfigInfo) UnmarshalBinary ¶
func (m *PaymentMerchantConfigInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PaymentMethod ¶
type PaymentMethod struct { // name // Required: true Name *string `json:"name"` // payment provider // Required: true // Enum: [ADYEN ALIPAY CHECKOUT PAYPAL STRIPE WALLET WXPAY XSOLLA] PaymentProvider *string `json:"paymentProvider"` }
PaymentMethod payment method
swagger:model PaymentMethod
func (*PaymentMethod) MarshalBinary ¶
func (m *PaymentMethod) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaymentMethod) UnmarshalBinary ¶
func (m *PaymentMethod) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PaymentNotificationInfo ¶
type PaymentNotificationInfo struct { // createdAt // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // external id ExternalID string `json:"externalId,omitempty"` // id // Required: true ID *string `json:"id"` // namespace // Required: true Namespace *string `json:"namespace"` // notification payload // Required: true Notification interface{} `json:"notification"` // payment provider // Required: true // Enum: [ADYEN ALIPAY CHECKOUT PAYPAL STRIPE WALLET WXPAY XSOLLA] NotificationSource *string `json:"notificationSource"` // notification type // Required: true NotificationType *string `json:"notificationType"` // payment order No // Required: true PaymentOrderNo *string `json:"paymentOrderNo"` // status // Required: true // Enum: [ERROR IGNORED PROCESSED WARN] Status *string `json:"status"` // status reason StatusReason string `json:"statusReason,omitempty"` // updatedAt // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt"` }
PaymentNotificationInfo payment notification info
swagger:model PaymentNotificationInfo
func (*PaymentNotificationInfo) MarshalBinary ¶
func (m *PaymentNotificationInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaymentNotificationInfo) UnmarshalBinary ¶
func (m *PaymentNotificationInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PaymentNotificationPagingSlicedResult ¶
type PaymentNotificationPagingSlicedResult struct { // data // Required: true Data []*PaymentNotificationInfo `json:"data"` // paging Paging *Paging `json:"paging,omitempty"` }
PaymentNotificationPagingSlicedResult payment notification paging sliced result
swagger:model PaymentNotificationPagingSlicedResult
func (*PaymentNotificationPagingSlicedResult) MarshalBinary ¶
func (m *PaymentNotificationPagingSlicedResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaymentNotificationPagingSlicedResult) UnmarshalBinary ¶
func (m *PaymentNotificationPagingSlicedResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PaymentOrder ¶
type PaymentOrder struct { // authorised time // Format: date-time AuthorisedTime *strfmt.DateTime `json:"authorisedTime,omitempty"` // channel // Enum: [EXTERNAL INTERNAL] Channel string `json:"channel,omitempty"` // chargeback reversed time // Format: date-time ChargebackReversedTime *strfmt.DateTime `json:"chargebackReversedTime,omitempty"` // chargeback time // Format: date-time ChargebackTime *strfmt.DateTime `json:"chargebackTime,omitempty"` // charged time // Format: date-time ChargedTime *strfmt.DateTime `json:"chargedTime,omitempty"` // charging Charging bool `json:"charging"` // created at // Format: date-time CreatedAt *strfmt.DateTime `json:"createdAt,omitempty"` // created time // Format: date-time CreatedTime *strfmt.DateTime `json:"createdTime,omitempty"` // currency Currency *CurrencySummary `json:"currency,omitempty"` // custom parameters CustomParameters map[string]interface{} `json:"customParameters,omitempty"` // description Description string `json:"description,omitempty"` // ext order no ExtOrderNo string `json:"extOrderNo,omitempty"` // ext user Id ExtUserID string `json:"extUserId,omitempty"` // item type // Enum: [APP BUNDLE CODE COINS INGAMEITEM MEDIA SEASON SUBSCRIPTION] ItemType string `json:"itemType,omitempty"` // language Language string `json:"language,omitempty"` // metadata Metadata map[string]string `json:"metadata,omitempty"` // namespace Namespace string `json:"namespace,omitempty"` // notify Url NotifyURL string `json:"notifyUrl,omitempty"` // omit notification OmitNotification bool `json:"omitNotification"` // payment method PaymentMethod string `json:"paymentMethod,omitempty"` // payment method fee PaymentMethodFee int32 `json:"paymentMethodFee,omitempty"` // payment order no PaymentOrderNo string `json:"paymentOrderNo,omitempty"` // payment provider // Enum: [ADYEN ALIPAY CHECKOUT PAYPAL STRIPE WALLET WXPAY XSOLLA] PaymentProvider string `json:"paymentProvider,omitempty"` // payment provider fee PaymentProviderFee int32 `json:"paymentProviderFee,omitempty"` // payment station Url PaymentStationURL string `json:"paymentStationUrl,omitempty"` // platform Platform string `json:"platform,omitempty"` // price Price int32 `json:"price,omitempty"` // recurring payment order no RecurringPaymentOrderNo string `json:"recurringPaymentOrderNo,omitempty"` // refunded time // Format: date-time RefundedTime *strfmt.DateTime `json:"refundedTime,omitempty"` // region Region string `json:"region,omitempty"` // return Url ReturnURL string `json:"returnUrl,omitempty"` // rvn Rvn int32 `json:"rvn,omitempty"` // sales tax SalesTax int32 `json:"salesTax,omitempty"` // sandbox Sandbox bool `json:"sandbox"` // sku Sku string `json:"sku,omitempty"` // state State string `json:"state,omitempty"` // status // Enum: [AUTHORISED AUTHORISE_FAILED CHARGEBACK CHARGEBACK_REVERSED CHARGED CHARGE_FAILED DELETED INIT NOTIFICATION_OF_CHARGEBACK REFUNDED REFUNDING REFUND_FAILED REQUEST_FOR_INFORMATION] Status string `json:"status,omitempty"` // status reason StatusReason string `json:"statusReason,omitempty"` // subscription Id SubscriptionID string `json:"subscriptionId,omitempty"` // subtotal price SubtotalPrice int32 `json:"subtotalPrice,omitempty"` // target namespace TargetNamespace string `json:"targetNamespace,omitempty"` // target user Id TargetUserID string `json:"targetUserId,omitempty"` // tax Tax int32 `json:"tax,omitempty"` // title Title string `json:"title,omitempty"` // total price TotalPrice int32 `json:"totalPrice,omitempty"` // total tax TotalTax int32 `json:"totalTax,omitempty"` // transactions Transactions []*Transaction `json:"transactions"` // updated at // Format: date-time UpdatedAt *strfmt.DateTime `json:"updatedAt,omitempty"` // user Id UserID string `json:"userId,omitempty"` // vat Vat int32 `json:"vat,omitempty"` // zip code ZipCode string `json:"zipCode,omitempty"` }
PaymentOrder payment order
swagger:model PaymentOrder
func (*PaymentOrder) MarshalBinary ¶
func (m *PaymentOrder) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaymentOrder) UnmarshalBinary ¶
func (m *PaymentOrder) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PaymentOrderChargeRequest ¶
type PaymentOrderChargeRequest struct { // external transaction id ExtTxID string `json:"extTxId,omitempty"` // payment method PaymentMethod string `json:"paymentMethod,omitempty"` // payment provider // Required: true // Enum: [ADYEN ALIPAY CHECKOUT PAYPAL STRIPE WALLET WXPAY XSOLLA] PaymentProvider *string `json:"paymentProvider"` }
PaymentOrderChargeRequest payment order charge request
swagger:model PaymentOrderChargeRequest
func (*PaymentOrderChargeRequest) MarshalBinary ¶
func (m *PaymentOrderChargeRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaymentOrderChargeRequest) UnmarshalBinary ¶
func (m *PaymentOrderChargeRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PaymentOrderChargeStatus ¶
type PaymentOrderChargeStatus struct { // charging Charging bool `json:"charging"` // status // Enum: [AUTHORISED AUTHORISE_FAILED CHARGEBACK CHARGEBACK_REVERSED CHARGED CHARGE_FAILED DELETED INIT NOTIFICATION_OF_CHARGEBACK REFUNDED REFUNDING REFUND_FAILED REQUEST_FOR_INFORMATION] Status string `json:"status,omitempty"` }
PaymentOrderChargeStatus payment order charge status
swagger:model PaymentOrderChargeStatus
func (*PaymentOrderChargeStatus) MarshalBinary ¶
func (m *PaymentOrderChargeStatus) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaymentOrderChargeStatus) UnmarshalBinary ¶
func (m *PaymentOrderChargeStatus) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PaymentOrderCreate ¶
type PaymentOrderCreate struct { // currency code, default is USD CurrencyCode string `json:"currencyCode,omitempty"` // currency namespace, default is publisher namespace CurrencyNamespace string `json:"currencyNamespace,omitempty"` // custom parameters CustomParameters map[string]interface{} `json:"customParameters,omitempty"` // Order desc, max length 2000 // Required: true Description *string `json:"description"` // External order id // Required: true ExtOrderNo *string `json:"extOrderNo"` // optional, external user id, can be the character id ExtUserID string `json:"extUserId,omitempty"` // item type // Enum: [APP BUNDLE CODE COINS INGAMEITEM MEDIA SEASON SUBSCRIPTION] ItemType string `json:"itemType,omitempty"` // language value from language tag, allowed format: en, en-US.<p>Supported language tag : [RFC5646](https://gist.github.com/msikma/8912e62ed866778ff8cd) and [IETF](https://datahub.io/core/language-codes#resource-ietf-language-tags)</p> // Pattern: ^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$ Language string `json:"language,omitempty"` // metadata Metadata map[string]string `json:"metadata,omitempty"` // custom notify url for real payment, send notification to this url once payment action is finished NotifyURL string `json:"notifyUrl,omitempty"` // TEST PURPOSE, if set it will not send async notification to the API invoker, only can set true while this payment is sandbox OmitNotification bool `json:"omitNotification"` // platform Platform string `json:"platform,omitempty"` // Price of order // Required: true Price *int32 `json:"price"` // recurring payment order which has recurring token, will do recurring payment if present, otherwise start normal payment flow RecurringPaymentOrderNo string `json:"recurringPaymentOrderNo,omitempty"` // country value from ISO countries Region string `json:"region,omitempty"` // custom return url for real payment, user will be redirected to this url once payment is finished ReturnURL string `json:"returnUrl,omitempty"` // TEST PURPOSE, sandbox(Active in real currency mode), default is false Sandbox bool `json:"sandbox"` // optional, unique identity for the item Sku string `json:"sku,omitempty"` // subscriptionId, payment token will be saved for recurring payment SubscriptionID string `json:"subscriptionId,omitempty"` // Order title // Required: true Title *string `json:"title"` }
PaymentOrderCreate payment order create
swagger:model PaymentOrderCreate
func (*PaymentOrderCreate) MarshalBinary ¶
func (m *PaymentOrderCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaymentOrderCreate) UnmarshalBinary ¶
func (m *PaymentOrderCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PaymentOrderCreateResult ¶
type PaymentOrderCreateResult struct { // The time of the order created // Required: true // Format: date-time CreatedTime strfmt.DateTime `json:"createdTime"` // Payment order namespace // Required: true Namespace *string `json:"namespace"` // Payment order number // Required: true PaymentOrderNo *string `json:"paymentOrderNo"` // Payment url PaymentStationURL string `json:"paymentStationUrl,omitempty"` // Payment order status // Required: true // Enum: [AUTHORISED AUTHORISE_FAILED CHARGEBACK CHARGEBACK_REVERSED CHARGED CHARGE_FAILED DELETED INIT NOTIFICATION_OF_CHARGEBACK REFUNDED REFUNDING REFUND_FAILED REQUEST_FOR_INFORMATION] Status *string `json:"status"` // Game namespace TargetNamespace string `json:"targetNamespace,omitempty"` // User id in game namespace TargetUserID string `json:"targetUserId,omitempty"` }
PaymentOrderCreateResult payment order create result
swagger:model PaymentOrderCreateResult
func (*PaymentOrderCreateResult) MarshalBinary ¶
func (m *PaymentOrderCreateResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaymentOrderCreateResult) UnmarshalBinary ¶
func (m *PaymentOrderCreateResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PaymentOrderDetails ¶
type PaymentOrderDetails struct { // charging // Required: true Charging *bool `json:"charging"` // currency code // Required: true CurrencyCode *string `json:"currencyCode"` // currency symbol // Required: true CurrencySymbol *string `json:"currencySymbol"` // Order description Description string `json:"description,omitempty"` // Payment user display name DisplayName string `json:"displayName,omitempty"` // Payment order price // Required: true Price *string `json:"price"` // Payment user region Region string `json:"region,omitempty"` // isSandbox, indicate if order is sandbox // Required: true Sandbox *bool `json:"sandbox"` // Order title // Required: true Title *string `json:"title"` }
PaymentOrderDetails payment order details
swagger:model PaymentOrderDetails
func (*PaymentOrderDetails) MarshalBinary ¶
func (m *PaymentOrderDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaymentOrderDetails) UnmarshalBinary ¶
func (m *PaymentOrderDetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PaymentOrderInfo ¶
type PaymentOrderInfo struct { // The time of the order authorised // Format: date-time AuthorisedTime *strfmt.DateTime `json:"authorisedTime,omitempty"` // Payment order channel: EXTERNAL or INTERNAL // Required: true // Enum: [EXTERNAL INTERNAL] Channel *string `json:"channel"` // The time of the order chargeback reversed time // Format: date-time ChargebackReversedTime *strfmt.DateTime `json:"chargebackReversedTime,omitempty"` // The time of the order chargeback time // Format: date-time ChargebackTime *strfmt.DateTime `json:"chargebackTime,omitempty"` // The time of the order charged // Format: date-time ChargedTime *strfmt.DateTime `json:"chargedTime,omitempty"` // if charging is true, means user have finished transaction, platform is waiting for payment notification Charging bool `json:"charging"` // createdAt // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // The time of the order created // Format: date-time CreatedTime *strfmt.DateTime `json:"createdTime,omitempty"` // Payment order currency info // Required: true Currency *CurrencySummary `json:"currency"` // User custom parameters CustomParameters map[string]interface{} `json:"customParameters,omitempty"` // Order description Description string `json:"description,omitempty"` // External order number // Required: true ExtOrderNo *string `json:"extOrderNo"` // optional, external user id, can be the character id ExtUserID string `json:"extUserId,omitempty"` // Order item type // Enum: [APP BUNDLE CODE COINS INGAMEITEM MEDIA SEASON SUBSCRIPTION] ItemType string `json:"itemType,omitempty"` // Payment user language Language string `json:"language,omitempty"` // metadata Metadata map[string]string `json:"metadata,omitempty"` // Payment order namespace // Required: true Namespace *string `json:"namespace"` // The notify url if customized NotifyURL string `json:"notifyUrl,omitempty"` // TEST PURPOSE, if set it will not send async notification to the API invoker, only can set true while this payment is sandbox OmitNotification bool `json:"omitNotification"` // Payment method PaymentMethod string `json:"paymentMethod,omitempty"` // Payment method fee PaymentMethodFee int32 `json:"paymentMethodFee,omitempty"` // Payment order number // Required: true PaymentOrderNo *string `json:"paymentOrderNo"` // Payment provider // Required: true // Enum: [ADYEN ALIPAY CHECKOUT PAYPAL STRIPE WALLET WXPAY XSOLLA] PaymentProvider *string `json:"paymentProvider"` // Payment provider fee PaymentProviderFee int32 `json:"paymentProviderFee,omitempty"` // Payment url PaymentStationURL string `json:"paymentStationUrl,omitempty"` // Payment order price // Required: true Price *int32 `json:"price"` // recurring payment order which has recurring token, will do recurring payment if present, otherwise start normal payment flow RecurringPaymentOrderNo string `json:"recurringPaymentOrderNo,omitempty"` // The time of the order refunded // Format: date-time RefundedTime *strfmt.DateTime `json:"refundedTime,omitempty"` // Payment user region Region string `json:"region,omitempty"` // The return url if customized ReturnURL string `json:"returnUrl,omitempty"` // Payment order sales tax SalesTax int32 `json:"salesTax,omitempty"` // isSandbox, indicate if order is sandbox // Required: true Sandbox *bool `json:"sandbox"` // optional, unique identity for the item Sku string `json:"sku,omitempty"` // Payment order status // Required: true // Enum: [AUTHORISED AUTHORISE_FAILED CHARGEBACK CHARGEBACK_REVERSED CHARGED CHARGE_FAILED DELETED INIT NOTIFICATION_OF_CHARGEBACK REFUNDED REFUNDING REFUND_FAILED REQUEST_FOR_INFORMATION] Status *string `json:"status"` // Payment order status reason StatusReason string `json:"statusReason,omitempty"` // subscriptionId, payment token will be saved for recurring payment SubscriptionID string `json:"subscriptionId,omitempty"` // subtotal price SubtotalPrice int32 `json:"subtotalPrice,omitempty"` // The game namespace if it's an external in-game-purchase that resides in publisher namespace TargetNamespace string `json:"targetNamespace,omitempty"` // The user id in game namespace if it's an external in-game-purchase that resides in publisher namespace TargetUserID string `json:"targetUserId,omitempty"` // Payment total tax Tax int32 `json:"tax,omitempty"` // Order title // Required: true Title *string `json:"title"` // total price TotalPrice int32 `json:"totalPrice,omitempty"` // total tax TotalTax int32 `json:"totalTax,omitempty"` // Payment order transactions Transactions []*Transaction `json:"transactions"` // updatedAt // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt"` // User id // Required: true UserID *string `json:"userId"` // Payment order VAT Vat int32 `json:"vat,omitempty"` }
PaymentOrderInfo payment order info
swagger:model PaymentOrderInfo
func (*PaymentOrderInfo) MarshalBinary ¶
func (m *PaymentOrderInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaymentOrderInfo) UnmarshalBinary ¶
func (m *PaymentOrderInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PaymentOrderNotifySimulation ¶ added in v0.7.0
type PaymentOrderNotifySimulation struct { // amount Amount int32 `json:"amount,omitempty"` // currency code // Required: true CurrencyCode *string `json:"currencyCode"` // notify type // Required: true // Enum: [CHARGE REFUND] NotifyType *string `json:"notifyType"` // payment provider // Required: true // Enum: [ADYEN ALIPAY CHECKOUT PAYPAL STRIPE WALLET WXPAY XSOLLA] PaymentProvider *string `json:"paymentProvider"` // salesTax for xsolla SalesTax int32 `json:"salesTax,omitempty"` // vat for xsolla Vat int32 `json:"vat,omitempty"` }
PaymentOrderNotifySimulation payment order notify simulation
swagger:model PaymentOrderNotifySimulation
func (*PaymentOrderNotifySimulation) MarshalBinary ¶ added in v0.7.0
func (m *PaymentOrderNotifySimulation) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaymentOrderNotifySimulation) UnmarshalBinary ¶ added in v0.7.0
func (m *PaymentOrderNotifySimulation) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PaymentOrderPagingSlicedResult ¶
type PaymentOrderPagingSlicedResult struct { // data // Required: true Data []*PaymentOrderInfo `json:"data"` // paging Paging *Paging `json:"paging,omitempty"` }
PaymentOrderPagingSlicedResult payment order paging sliced result
swagger:model PaymentOrderPagingSlicedResult
func (*PaymentOrderPagingSlicedResult) MarshalBinary ¶
func (m *PaymentOrderPagingSlicedResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaymentOrderPagingSlicedResult) UnmarshalBinary ¶
func (m *PaymentOrderPagingSlicedResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PaymentOrderPaidResult ¶
type PaymentOrderPaidResult struct { // charging // Required: true Charging *bool `json:"charging"` // success // Required: true Success *bool `json:"success"` }
PaymentOrderPaidResult payment order paid result
swagger:model PaymentOrderPaidResult
func (*PaymentOrderPaidResult) MarshalBinary ¶
func (m *PaymentOrderPaidResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaymentOrderPaidResult) UnmarshalBinary ¶
func (m *PaymentOrderPaidResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PaymentOrderRefund ¶
type PaymentOrderRefund struct { // order refund description // Required: true Description *string `json:"description"` }
PaymentOrderRefund payment order refund
swagger:model PaymentOrderRefund
func (*PaymentOrderRefund) MarshalBinary ¶
func (m *PaymentOrderRefund) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaymentOrderRefund) UnmarshalBinary ¶
func (m *PaymentOrderRefund) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PaymentOrderRefundResult ¶
type PaymentOrderRefundResult struct { // The time of the order created // Required: true // Format: date-time CreatedTime strfmt.DateTime `json:"createdTime"` // Payment order namespace // Required: true Namespace *string `json:"namespace"` // Payment order number // Required: true PaymentOrderNo *string `json:"paymentOrderNo"` // The time of the order refunded // Format: date-time RefundedTime *strfmt.DateTime `json:"refundedTime,omitempty"` // Payment order status // Required: true // Enum: [AUTHORISED AUTHORISE_FAILED CHARGEBACK CHARGEBACK_REVERSED CHARGED CHARGE_FAILED DELETED INIT NOTIFICATION_OF_CHARGEBACK REFUNDED REFUNDING REFUND_FAILED REQUEST_FOR_INFORMATION] Status *string `json:"status"` // Game namespace TargetNamespace string `json:"targetNamespace,omitempty"` // User id in game namespace TargetUserID string `json:"targetUserId,omitempty"` }
PaymentOrderRefundResult payment order refund result
swagger:model PaymentOrderRefundResult
func (*PaymentOrderRefundResult) MarshalBinary ¶
func (m *PaymentOrderRefundResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaymentOrderRefundResult) UnmarshalBinary ¶
func (m *PaymentOrderRefundResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PaymentOrderSyncResult ¶
type PaymentOrderSyncResult struct { // next evaluated key NextEvaluatedKey string `json:"nextEvaluatedKey,omitempty"` // payment orders PaymentOrders []*PaymentOrder `json:"paymentOrders"` }
PaymentOrderSyncResult payment order sync result
swagger:model PaymentOrderSyncResult
func (*PaymentOrderSyncResult) MarshalBinary ¶
func (m *PaymentOrderSyncResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaymentOrderSyncResult) UnmarshalBinary ¶
func (m *PaymentOrderSyncResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PaymentProcessResult ¶
type PaymentProcessResult struct { // payment request process is pending // Required: true Pending *bool `json:"pending"` // failed reason Reason string `json:"reason,omitempty"` // redirect url, exists when pending is true RedirectURL string `json:"redirectUrl,omitempty"` // payment request process result // Required: true Success *bool `json:"success"` }
PaymentProcessResult payment process result
swagger:model PaymentProcessResult
func (*PaymentProcessResult) MarshalBinary ¶
func (m *PaymentProcessResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaymentProcessResult) UnmarshalBinary ¶
func (m *PaymentProcessResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PaymentProviderConfigEdit ¶
type PaymentProviderConfigEdit struct { // aggregate payment provider, allow empty value // Enum: [ADYEN XSOLLA] Aggregate string `json:"aggregate,omitempty"` // namespace, * indicates all namespace // Required: true Namespace *string `json:"namespace"` // region, * indicates all regions // Required: true Region *string `json:"region"` // sandbox taxjar api token SandboxTaxJarAPIToken string `json:"sandboxTaxJarApiToken,omitempty"` // special payment providers = ['ALIPAY', 'WXPAY'], allow empty value Specials []string `json:"specials"` // taxjar api token, required when taxJarEnabled=true and useGlobalTaxJarApiToken=false TaxJarAPIToken string `json:"taxJarApiToken,omitempty"` // taxjar api integration enable TaxJarEnabled bool `json:"taxJarEnabled"` // only works when taxJarEnabled=true, and if useGlobalTaxJarApiToken is true, we will reset the taxJarApiToken as null UseGlobalTaxJarAPIToken bool `json:"useGlobalTaxJarApiToken"` }
PaymentProviderConfigEdit A DTO object for creating/updating payment provider config
swagger:model PaymentProviderConfigEdit
func (*PaymentProviderConfigEdit) MarshalBinary ¶
func (m *PaymentProviderConfigEdit) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaymentProviderConfigEdit) UnmarshalBinary ¶
func (m *PaymentProviderConfigEdit) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PaymentProviderConfigInfo ¶
type PaymentProviderConfigInfo struct { // aggregate payment provider, allow empty value // Enum: [ADYEN XSOLLA] Aggregate string `json:"aggregate,omitempty"` // id // Required: true ID *string `json:"id"` // namespace // Required: true Namespace *string `json:"namespace"` // paymentMerchantConfigId // Required: true PaymentMerchantConfigID *string `json:"paymentMerchantConfigId"` // region // Required: true Region *string `json:"region"` // sandbox taxjar api token SandboxTaxJarAPIToken string `json:"sandboxTaxJarApiToken,omitempty"` // special payment providers = ['ALIPAY', 'WXPAY'], allow empty value Specials []string `json:"specials"` // taxjar api token, required when taxJarEnabled=true and useGlobalTaxJarApiToken=false TaxJarAPIToken string `json:"taxJarApiToken,omitempty"` // taxjar integration enabled TaxJarEnabled bool `json:"taxJarEnabled"` // if use global taxjar token UseGlobalTaxJarAPIToken bool `json:"useGlobalTaxJarApiToken"` }
PaymentProviderConfigInfo payment provider config info
swagger:model PaymentProviderConfigInfo
func (*PaymentProviderConfigInfo) MarshalBinary ¶
func (m *PaymentProviderConfigInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaymentProviderConfigInfo) UnmarshalBinary ¶
func (m *PaymentProviderConfigInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PaymentProviderConfigPagingSlicedResult ¶
type PaymentProviderConfigPagingSlicedResult struct { // data // Required: true Data []*PaymentProviderConfigInfo `json:"data"` // paging Paging *Paging `json:"paging,omitempty"` }
PaymentProviderConfigPagingSlicedResult payment provider config paging sliced result
swagger:model PaymentProviderConfigPagingSlicedResult
func (*PaymentProviderConfigPagingSlicedResult) MarshalBinary ¶
func (m *PaymentProviderConfigPagingSlicedResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaymentProviderConfigPagingSlicedResult) UnmarshalBinary ¶
func (m *PaymentProviderConfigPagingSlicedResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PaymentRequest ¶
type PaymentRequest struct { // amount // Required: true // Minimum: 0 Amount *int64 `json:"amount"` // wallet platform, base on platform wallet rule to payment wallet // Enum: [Epic GooglePlay IOS Nintendo Other Playstation Steam Xbox] WalletPlatform string `json:"walletPlatform,omitempty"` }
PaymentRequest A DTO for wallet's payment
swagger:model PaymentRequest
func (*PaymentRequest) MarshalBinary ¶
func (m *PaymentRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaymentRequest) UnmarshalBinary ¶
func (m *PaymentRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PaymentTaxConfigEdit ¶
type PaymentTaxConfigEdit struct { // sandbox taxJar API token SandboxTaxJarAPIToken string `json:"sandboxTaxJarApiToken,omitempty"` // taxJar API token TaxJarAPIToken string `json:"taxJarApiToken,omitempty"` // if taxJar integration is enabled TaxJarEnabled bool `json:"taxJarEnabled"` // taxJar product codes mappings, allow item types: APP, COINS, INGAMEITEM, BUNDLE, CODE, SUBSCRIPTION TaxJarProductCodesMapping map[string]string `json:"taxJarProductCodesMapping,omitempty"` }
PaymentTaxConfigEdit A DTO object for updating payment tax config
swagger:model PaymentTaxConfigEdit
func (*PaymentTaxConfigEdit) MarshalBinary ¶
func (m *PaymentTaxConfigEdit) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaymentTaxConfigEdit) UnmarshalBinary ¶
func (m *PaymentTaxConfigEdit) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PaymentTaxConfigInfo ¶
type PaymentTaxConfigInfo struct { // sandbox taxJar API token SandboxTaxJarAPIToken string `json:"sandboxTaxJarApiToken,omitempty"` // taxJar API token TaxJarAPIToken string `json:"taxJarApiToken,omitempty"` // if taxJar integration is enabled TaxJarEnabled bool `json:"taxJarEnabled"` // taxJar product codes mappings TaxJarProductCodesMapping map[string]string `json:"taxJarProductCodesMapping,omitempty"` }
PaymentTaxConfigInfo payment tax config info
swagger:model PaymentTaxConfigInfo
func (*PaymentTaxConfigInfo) MarshalBinary ¶
func (m *PaymentTaxConfigInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaymentTaxConfigInfo) UnmarshalBinary ¶
func (m *PaymentTaxConfigInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PaymentToken ¶
type PaymentToken struct { // payment token(for checkout.com, this is card token) Token string `json:"token,omitempty"` }
PaymentToken payment token
swagger:model PaymentToken
func (*PaymentToken) MarshalBinary ¶
func (m *PaymentToken) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaymentToken) UnmarshalBinary ¶
func (m *PaymentToken) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PaymentURL ¶
type PaymentURL struct { // payment provider // Required: true // Enum: [ADYEN ALIPAY CHECKOUT PAYPAL STRIPE WALLET WXPAY XSOLLA] PaymentProvider *string `json:"paymentProvider"` // payment type // Required: true // Enum: [LINK QR_CODE] PaymentType *string `json:"paymentType"` // payment url PaymentURL string `json:"paymentUrl,omitempty"` // return url ReturnURL string `json:"returnUrl,omitempty"` // adyen session data SessionData string `json:"sessionData,omitempty"` // adyen session id SessionID string `json:"sessionId,omitempty"` }
PaymentURL payment Url
swagger:model PaymentUrl
func (*PaymentURL) MarshalBinary ¶
func (m *PaymentURL) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaymentURL) UnmarshalBinary ¶
func (m *PaymentURL) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PaymentURLCreate ¶
type PaymentURLCreate struct { // payment order number // Required: true PaymentOrderNo *string `json:"paymentOrderNo"` // payment provider // Required: true // Enum: [ADYEN ALIPAY CHECKOUT PAYPAL STRIPE WALLET WXPAY XSOLLA] PaymentProvider *string `json:"paymentProvider"` // returnUrl ReturnURL string `json:"returnUrl,omitempty"` // ui, custom json string, ignore if payment provider not support or invalid setting. UI string `json:"ui,omitempty"` // payment zipCode ZipCode string `json:"zipCode,omitempty"` }
PaymentURLCreate payment Url create
swagger:model PaymentUrlCreate
func (*PaymentURLCreate) MarshalBinary ¶
func (m *PaymentURLCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PaymentURLCreate) UnmarshalBinary ¶
func (m *PaymentURLCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlatformDLCConfigInfo ¶ added in v0.10.0
type PlatformDLCConfigInfo struct { // data Data []*PlatformDlcEntry `json:"data"` }
PlatformDLCConfigInfo platform d l c config info
swagger:model PlatformDLCConfigInfo
func (*PlatformDLCConfigInfo) MarshalBinary ¶ added in v0.10.0
func (m *PlatformDLCConfigInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlatformDLCConfigInfo) UnmarshalBinary ¶ added in v0.10.0
func (m *PlatformDLCConfigInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlatformDLCConfigUpdate ¶ added in v0.10.0
type PlatformDLCConfigUpdate struct { // platform dlc config list Data []*PlatformDlcEntry `json:"data"` }
PlatformDLCConfigUpdate platform d l c config update
swagger:model PlatformDLCConfigUpdate
func (*PlatformDLCConfigUpdate) MarshalBinary ¶ added in v0.10.0
func (m *PlatformDLCConfigUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlatformDLCConfigUpdate) UnmarshalBinary ¶ added in v0.10.0
func (m *PlatformDLCConfigUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlatformDlcEntry ¶ added in v0.10.0
type PlatformDlcEntry struct { // platform: steam, psn, xbl // Enum: [PSN STEAM XBOX] Platform string `json:"platform,omitempty"` // key is platform product id, value is dlc id PlatformDlcIDMap map[string]string `json:"platformDlcIdMap,omitempty"` }
PlatformDlcEntry platform dlc entry
swagger:model PlatformDlcEntry
func (*PlatformDlcEntry) MarshalBinary ¶ added in v0.10.0
func (m *PlatformDlcEntry) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlatformDlcEntry) UnmarshalBinary ¶ added in v0.10.0
func (m *PlatformDlcEntry) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlatformReward ¶ added in v0.10.0
type PlatformReward struct { // required if type is CURRENCY Currency *PlatformRewardCurrency `json:"currency,omitempty"` // required if type is ITEM, can be fulfilled by itemId or itemSku Item *PlatformRewardItem `json:"item,omitempty"` // quantity if type is ITEM, amount if type is CURRENCY Quantity int32 `json:"quantity,omitempty"` // reward type // Enum: [CURRENCY ITEM] Type string `json:"type,omitempty"` }
PlatformReward platform reward
swagger:model PlatformReward
func (*PlatformReward) MarshalBinary ¶ added in v0.10.0
func (m *PlatformReward) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlatformReward) UnmarshalBinary ¶ added in v0.10.0
func (m *PlatformReward) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlatformRewardCurrency ¶ added in v0.10.0
type PlatformRewardCurrency struct { // currency code, alphabet uppercase // Required: true CurrencyCode *string `json:"currencyCode"` // namespace, allowed values: game namespace or publisher namespace // Required: true Namespace *string `json:"namespace"` }
PlatformRewardCurrency platform reward currency
swagger:model PlatformRewardCurrency
func (*PlatformRewardCurrency) MarshalBinary ¶ added in v0.10.0
func (m *PlatformRewardCurrency) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlatformRewardCurrency) UnmarshalBinary ¶ added in v0.10.0
func (m *PlatformRewardCurrency) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlatformRewardItem ¶ added in v0.10.0
type PlatformRewardItem struct { // item Id ItemID string `json:"itemId,omitempty"` // item sku ItemSku string `json:"itemSku,omitempty"` // item type ItemType string `json:"itemType,omitempty"` }
PlatformRewardItem platform reward item
swagger:model PlatformRewardItem
func (*PlatformRewardItem) MarshalBinary ¶ added in v0.10.0
func (m *PlatformRewardItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlatformRewardItem) UnmarshalBinary ¶ added in v0.10.0
func (m *PlatformRewardItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlatformSubscribeRequest ¶ added in v0.7.0
type PlatformSubscribeRequest struct { // grant days // Required: true GrantDays *int32 `json:"grantDays"` // subscription item id // Required: true ItemID *string `json:"itemId"` // language Language string `json:"language,omitempty"` // subscribe reason Reason string `json:"reason,omitempty"` // region Region string `json:"region,omitempty"` // source Source string `json:"source,omitempty"` }
PlatformSubscribeRequest platform subscribe request
swagger:model PlatformSubscribeRequest
func (*PlatformSubscribeRequest) MarshalBinary ¶ added in v0.7.0
func (m *PlatformSubscribeRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlatformSubscribeRequest) UnmarshalBinary ¶ added in v0.7.0
func (m *PlatformSubscribeRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlatformWallet ¶ added in v0.18.0
type PlatformWallet struct { // total balance, include effective time-limited balance // Required: true Balance *int64 `json:"balance"` // currency code // Required: true CurrencyCode *string `json:"currencyCode"` // currency symbol // Required: true CurrencySymbol *string `json:"currencySymbol"` // id ID string `json:"id,omitempty"` // platform wallet namespace // Required: true Namespace *string `json:"namespace"` // user id // Required: true UserID *string `json:"userId"` // wallets balances info WalletInfos []*WalletInfo `json:"walletInfos"` // wallet status // Enum: [ACTIVE INACTIVE] WalletStatus string `json:"walletStatus,omitempty"` }
PlatformWallet platform wallet
swagger:model PlatformWallet
func (*PlatformWallet) MarshalBinary ¶ added in v0.18.0
func (m *PlatformWallet) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlatformWallet) UnmarshalBinary ¶ added in v0.18.0
func (m *PlatformWallet) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlatformWalletConfigInfo ¶ added in v0.18.0
type PlatformWalletConfigInfo struct { // allowed balance origin, sorted list // Required: true AllowedBalanceOrigins []string `json:"allowedBalanceOrigins"` // created at // Format: date-time CreatedAt *strfmt.DateTime `json:"createdAt,omitempty"` // config id ID string `json:"id,omitempty"` // namespace // Required: true Namespace *string `json:"namespace"` // platform // Required: true Platform *string `json:"platform"` // updated at // Format: date-time UpdatedAt *strfmt.DateTime `json:"updatedAt,omitempty"` }
PlatformWalletConfigInfo platform wallet config info
swagger:model PlatformWalletConfigInfo
func (*PlatformWalletConfigInfo) MarshalBinary ¶ added in v0.18.0
func (m *PlatformWalletConfigInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlatformWalletConfigInfo) UnmarshalBinary ¶ added in v0.18.0
func (m *PlatformWalletConfigInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlatformWalletConfigUpdate ¶ added in v0.18.0
type PlatformWalletConfigUpdate struct { // allowed balance origins AllowedBalanceOrigins []string `json:"allowedBalanceOrigins"` }
PlatformWalletConfigUpdate A DTO object for updating item API call.
swagger:model PlatformWalletConfigUpdate
func (*PlatformWalletConfigUpdate) MarshalBinary ¶ added in v0.18.0
func (m *PlatformWalletConfigUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlatformWalletConfigUpdate) UnmarshalBinary ¶ added in v0.18.0
func (m *PlatformWalletConfigUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlayStationDLCSyncRequest ¶ added in v0.10.0
type PlayStationDLCSyncRequest struct { // service label ServiceLabel int32 `json:"serviceLabel,omitempty"` }
PlayStationDLCSyncRequest play station d l c sync request
swagger:model PlayStationDLCSyncRequest
func (*PlayStationDLCSyncRequest) MarshalBinary ¶ added in v0.10.0
func (m *PlayStationDLCSyncRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlayStationDLCSyncRequest) UnmarshalBinary ¶ added in v0.10.0
func (m *PlayStationDLCSyncRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlayStationIAPConfigInfo ¶
type PlayStationIAPConfigInfo struct { // environment // Required: true Environment *string `json:"environment"` // namespace // Required: true Namespace *string `json:"namespace"` }
PlayStationIAPConfigInfo play station i a p config info
swagger:model PlayStationIAPConfigInfo
func (*PlayStationIAPConfigInfo) MarshalBinary ¶
func (m *PlayStationIAPConfigInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlayStationIAPConfigInfo) UnmarshalBinary ¶
func (m *PlayStationIAPConfigInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlayStationReconcileRequest ¶ added in v0.9.0
type PlayStationReconcileRequest struct { // product price currency CurrencyCode string `json:"currencyCode,omitempty"` // product price Price float64 `json:"price,omitempty"` // productId ProductID string `json:"productId,omitempty"` // service label ServiceLabel int32 `json:"serviceLabel,omitempty"` }
PlayStationReconcileRequest play station reconcile request
swagger:model PlayStationReconcileRequest
func (*PlayStationReconcileRequest) MarshalBinary ¶ added in v0.9.0
func (m *PlayStationReconcileRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlayStationReconcileRequest) UnmarshalBinary ¶ added in v0.9.0
func (m *PlayStationReconcileRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlayStationReconcileResult ¶
type PlayStationReconcileResult struct { // item Id ItemID string `json:"itemId,omitempty"` // psn item Id PsnItemID string `json:"psnItemId,omitempty"` // sku Sku string `json:"sku,omitempty"` // status // Enum: [FAILED FULFILLED VERIFIED] Status string `json:"status,omitempty"` // transaction Id TransactionID string `json:"transactionId,omitempty"` }
PlayStationReconcileResult play station reconcile result
swagger:model PlayStationReconcileResult
func (*PlayStationReconcileResult) MarshalBinary ¶
func (m *PlayStationReconcileResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlayStationReconcileResult) UnmarshalBinary ¶
func (m *PlayStationReconcileResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PlaystationIAPConfigRequest ¶
type PlaystationIAPConfigRequest struct { // environment // Required: true Environment *string `json:"environment"` }
PlaystationIAPConfigRequest playstation i a p config request
swagger:model PlaystationIAPConfigRequest
func (*PlaystationIAPConfigRequest) MarshalBinary ¶
func (m *PlaystationIAPConfigRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PlaystationIAPConfigRequest) UnmarshalBinary ¶
func (m *PlaystationIAPConfigRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PopulatedItemInfo ¶
type PopulatedItemInfo struct { // App id, required when itemType is APP AppID string `json:"appId,omitempty"` // App type, required when itemType is APP // Enum: [DEMO DLC GAME SOFTWARE] AppType string `json:"appType,omitempty"` // Base app id BaseAppID string `json:"baseAppId,omitempty"` // booth name to get tickets while it's item type is CODE BoothName string `json:"boothName,omitempty"` // the items which this item being bounded to // Unique: true BoundItemIds []string `json:"boundItemIds"` // Item category path // Required: true CategoryPath *string `json:"categoryPath"` // customized item clazz Clazz string `json:"clazz,omitempty"` // created at // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // description info Description string `json:"description,omitempty"` // display order DisplayOrder int32 `json:"displayOrder,omitempty"` // Entitlement type // Required: true // Enum: [CONSUMABLE DURABLE] EntitlementType *string `json:"entitlementType"` // customized item properties Ext map[string]interface{} `json:"ext,omitempty"` // Features // Unique: true Features []string `json:"features"` // images Images []*Image `json:"images"` // Item id // Required: true ItemID *string `json:"itemId"` // itemIds, should be empty if item type is not "BUNDLE" ItemIds []string `json:"itemIds"` // itemQty, the quantity of item in itemIds, default 1, should be empty if item type is not "BUNDLE" ItemQty map[string]int32 `json:"itemQty,omitempty"` // Item type // Required: true // Enum: [APP BUNDLE CODE COINS INGAMEITEM MEDIA SEASON SUBSCRIPTION] ItemType *string `json:"itemType"` // bundle items, only has value when item is bundle and is populated Items []*BundledItemInfo `json:"items"` // language // Required: true Language *string `json:"language"` // Whether can be visible in Store for public user Listable bool `json:"listable"` // local ext LocalExt map[string]interface{} `json:"localExt,omitempty"` // long description info LongDescription string `json:"longDescription,omitempty"` // Max count, -1 means UNLIMITED, unset when itemType is CODE MaxCount int32 `json:"maxCount,omitempty"` // Max count per user, -1 means UNLIMITED MaxCountPerUser int32 `json:"maxCountPerUser,omitempty"` // Name // Required: true Name *string `json:"name"` // Item namespace // Required: true Namespace *string `json:"namespace"` // Whether can be purchased Purchasable bool `json:"purchasable"` // recurring for subscription Recurring *Recurring `json:"recurring,omitempty"` // region // Required: true Region *string `json:"region"` // Region data RegionData []*RegionDataItem `json:"regionData"` // Season type, required while itemType is SEASON // Enum: [PASS TIER] SeasonType string `json:"seasonType,omitempty"` // Sku Sku string `json:"sku,omitempty"` // Whether stack the CONSUMABLE entitlement Stackable bool `json:"stackable"` // Item status // Required: true // Enum: [ACTIVE INACTIVE] Status *string `json:"status"` // Tags // Unique: true Tags []string `json:"tags"` // Target currency code of coin item TargetCurrencyCode string `json:"targetCurrencyCode,omitempty"` // Target item id if this item is mapping from game namespace TargetItemID string `json:"targetItemId,omitempty"` // The target namespace of a cross namespace item TargetNamespace string `json:"targetNamespace,omitempty"` // thumbnail url ThumbnailURL string `json:"thumbnailUrl,omitempty"` // title info // Required: true Title *string `json:"title"` // updated at // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt"` // Item use count, required when entitlement type is consumable or itemType is COINS UseCount int32 `json:"useCount,omitempty"` }
PopulatedItemInfo populated item info
swagger:model PopulatedItemInfo
func (*PopulatedItemInfo) MarshalBinary ¶
func (m *PopulatedItemInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PopulatedItemInfo) UnmarshalBinary ¶
func (m *PopulatedItemInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type PurchasedItemCount ¶
type PurchasedItemCount struct { // count Count int64 `json:"count,omitempty"` }
PurchasedItemCount purchased item count
swagger:model PurchasedItemCount
func (*PurchasedItemCount) MarshalBinary ¶
func (m *PurchasedItemCount) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*PurchasedItemCount) UnmarshalBinary ¶
func (m *PurchasedItemCount) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Recurring ¶
type Recurring struct { // recurring cycle // Required: true // Enum: [MONTHLY QUARTERLY WEEKLY YEARLY] Cycle *string `json:"cycle"` // fixed free days, 0 means not set // Required: true FixedFreeDays *int32 `json:"fixedFreeDays"` // fixed trial cycles, 0 means not set // Required: true FixedTrialCycles *int32 `json:"fixedTrialCycles"` // recurring grace days, retry recurring charge within configured days if charge fail, default 7 // Required: true GraceDays *int32 `json:"graceDays"` }
Recurring recurring
swagger:model Recurring
func (*Recurring) MarshalBinary ¶
MarshalBinary interface implementation
func (*Recurring) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type RecurringChargeResult ¶ added in v0.7.0
type RecurringChargeResult struct { // code for fail to trigger Code string `json:"code,omitempty"` // detail for fail to trigger Detail string `json:"detail,omitempty"` // triggered or not // Required: true Triggered *bool `json:"triggered"` }
RecurringChargeResult recurring charge result
swagger:model RecurringChargeResult
func (*RecurringChargeResult) MarshalBinary ¶ added in v0.7.0
func (m *RecurringChargeResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RecurringChargeResult) UnmarshalBinary ¶ added in v0.7.0
func (m *RecurringChargeResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RedeemHistoryInfo ¶ added in v0.7.0
type RedeemHistoryInfo struct { // campaign id // Required: true CampaignID *string `json:"campaignId"` // code value // Required: true Code *string `json:"code"` // created at // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // id // Required: true ID *string `json:"id"` // namespace // Required: true Namespace *string `json:"namespace"` // order No OrderNo string `json:"orderNo,omitempty"` // redeemed at // Format: date-time RedeemedAt *strfmt.DateTime `json:"redeemedAt,omitempty"` // updated at // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt"` // redeem user id // Required: true UserID *string `json:"userId"` }
RedeemHistoryInfo redeem history info
swagger:model RedeemHistoryInfo
func (*RedeemHistoryInfo) MarshalBinary ¶ added in v0.7.0
func (m *RedeemHistoryInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RedeemHistoryInfo) UnmarshalBinary ¶ added in v0.7.0
func (m *RedeemHistoryInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RedeemHistoryPagingSlicedResult ¶ added in v0.7.0
type RedeemHistoryPagingSlicedResult struct { // data // Required: true Data []*RedeemHistoryInfo `json:"data"` // paging Paging *Paging `json:"paging,omitempty"` }
RedeemHistoryPagingSlicedResult redeem history paging sliced result
swagger:model RedeemHistoryPagingSlicedResult
func (*RedeemHistoryPagingSlicedResult) MarshalBinary ¶ added in v0.7.0
func (m *RedeemHistoryPagingSlicedResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RedeemHistoryPagingSlicedResult) UnmarshalBinary ¶ added in v0.7.0
func (m *RedeemHistoryPagingSlicedResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RedeemRequest ¶ added in v0.7.0
type RedeemRequest struct { // The code for campaign // Required: true Code *string `json:"code"` // order No OrderNo string `json:"orderNo,omitempty"` }
RedeemRequest redeem request
swagger:model RedeemRequest
func (*RedeemRequest) MarshalBinary ¶ added in v0.7.0
func (m *RedeemRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RedeemRequest) UnmarshalBinary ¶ added in v0.7.0
func (m *RedeemRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RedeemResult ¶ added in v0.7.0
type RedeemResult struct { // redeemed items Items []*RedeemableItem `json:"items"` }
RedeemResult redeem result
swagger:model RedeemResult
func (*RedeemResult) MarshalBinary ¶ added in v0.7.0
func (m *RedeemResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RedeemResult) UnmarshalBinary ¶ added in v0.7.0
func (m *RedeemResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RedeemableItem ¶ added in v0.7.0
type RedeemableItem struct { // Extra subscription days if the item is a subscription, 0 by default ExtraSubscriptionDays int32 `json:"extraSubscriptionDays,omitempty"` // The redeemable item id // Required: true ItemID *string `json:"itemId"` // The redeemable item name // Required: true ItemName *string `json:"itemName"` // The redeemable item quantity, 1 for default Quantity int32 `json:"quantity,omitempty"` }
RedeemableItem redeemable item
swagger:model RedeemableItem
func (*RedeemableItem) MarshalBinary ¶ added in v0.7.0
func (m *RedeemableItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RedeemableItem) UnmarshalBinary ¶ added in v0.7.0
func (m *RedeemableItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RegionDataItem ¶
type RegionDataItem struct { // currency code // Required: true CurrencyCode *string `json:"currencyCode"` // currency namespace // Required: true CurrencyNamespace *string `json:"currencyNamespace"` // currency type // Required: true // Enum: [REAL VIRTUAL] CurrencyType *string `json:"currencyType"` // Discount amount, min is 0, max is price // Minimum: 0 DiscountAmount *int32 `json:"discountAmount,omitempty"` // Discount expire date time // Format: date-time DiscountExpireAt *strfmt.DateTime `json:"discountExpireAt,omitempty"` // Discount percentage,default is 0, if this value is not 0, it will override the discountAmount // Maximum: 100 // Minimum: 0 DiscountPercentage *int32 `json:"discountPercentage,omitempty"` // DiscountPurchaseAt // Format: date-time DiscountPurchaseAt *strfmt.DateTime `json:"discountPurchaseAt,omitempty"` // discounted price DiscountedPrice int32 `json:"discountedPrice,omitempty"` // ExpireAt // Format: date-time ExpireAt *strfmt.DateTime `json:"expireAt,omitempty"` // price value, set to 0 if it's free // Required: true Price *int32 `json:"price"` // PurchaseAt // Format: date-time PurchaseAt *strfmt.DateTime `json:"purchaseAt,omitempty"` // trial price, required while fixedTrialCycles set, should >=0 and <= price, default same as trialPrice TrialPrice int32 `json:"trialPrice,omitempty"` }
RegionDataItem Region data
swagger:model RegionDataItem
func (*RegionDataItem) MarshalBinary ¶
func (m *RegionDataItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RegionDataItem) UnmarshalBinary ¶
func (m *RegionDataItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Requirement ¶
type Requirement struct { // other requirement, max length is 255 Additionals string `json:"additionals,omitempty"` // directX version, max length is 255 DirectXVersion string `json:"directXVersion,omitempty"` // disk space, max length is 255 DiskSpace string `json:"diskSpace,omitempty"` // graphics, max length is 255 Graphics string `json:"graphics,omitempty"` // label, value can be:minimum,recommended // Required: true Label *string `json:"label"` // OS version, max length is 255 OsVersion string `json:"osVersion,omitempty"` // processor, max length is 255 Processor string `json:"processor,omitempty"` // RAM, max length is 255 RAM string `json:"ram,omitempty"` // sound card, max length is 255 SoundCard string `json:"soundCard,omitempty"` }
Requirement requirement
swagger:model Requirement
func (*Requirement) MarshalBinary ¶
func (m *Requirement) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Requirement) UnmarshalBinary ¶
func (m *Requirement) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RewardCondition ¶
type RewardCondition struct { // condition Condition string `json:"condition,omitempty"` // condition name ConditionName string `json:"conditionName,omitempty"` // event name EventName string `json:"eventName,omitempty"` // reward items RewardItems []*RewardItem `json:"rewardItems"` }
RewardCondition reward condition
swagger:model RewardCondition
func (*RewardCondition) MarshalBinary ¶
func (m *RewardCondition) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RewardCondition) UnmarshalBinary ¶
func (m *RewardCondition) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RewardCreate ¶
type RewardCreate struct { // Description Description string `json:"description,omitempty"` // event topic to listen to // Required: true EventTopic *string `json:"eventTopic"` // Max awarded MaxAwarded int32 `json:"maxAwarded,omitempty"` // Max awarded per user MaxAwardedPerUser int32 `json:"maxAwardedPerUser,omitempty"` // The path to get namespace from event payload, if not present, will use default value "$.[0].namespace" NamespaceExpression string `json:"namespaceExpression,omitempty"` // Reward code // Required: true RewardCode *string `json:"rewardCode"` // list of reward condition RewardConditions []*RewardCondition `json:"rewardConditions"` // The path to get userId from event payload, if not present, will use default value "$.[0].userId" UserIDExpression string `json:"userIdExpression,omitempty"` }
RewardCreate reward create
swagger:model RewardCreate
func (*RewardCreate) MarshalBinary ¶
func (m *RewardCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RewardCreate) UnmarshalBinary ¶
func (m *RewardCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RewardInfo ¶
type RewardInfo struct { // created at // Format: date-time CreatedAt *strfmt.DateTime `json:"createdAt,omitempty"` // Description Description string `json:"description,omitempty"` // event topic to listen to // Required: true EventTopic *string `json:"eventTopic"` // Max awarded MaxAwarded int32 `json:"maxAwarded,omitempty"` // Max awarded per user MaxAwardedPerUser int32 `json:"maxAwardedPerUser,omitempty"` // Reward namespace // Required: true Namespace *string `json:"namespace"` // The path to get namespace from event payload, if not present, will use default value NamespaceExpression string `json:"namespaceExpression,omitempty"` // Reward code RewardCode string `json:"rewardCode,omitempty"` // list of reward condition RewardConditions []*RewardCondition `json:"rewardConditions"` // Reward id // Required: true RewardID *string `json:"rewardId"` // updated at // Format: date-time UpdatedAt *strfmt.DateTime `json:"updatedAt,omitempty"` // The path to get userId from event payload, if not present, will use default value UserIDExpression string `json:"userIdExpression,omitempty"` }
RewardInfo reward info
swagger:model RewardInfo
func (*RewardInfo) MarshalBinary ¶
func (m *RewardInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RewardInfo) UnmarshalBinary ¶
func (m *RewardInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RewardItem ¶
type RewardItem struct { // duration Duration int32 `json:"duration,omitempty"` // item Id ItemID string `json:"itemId,omitempty"` // quantity Quantity int32 `json:"quantity,omitempty"` }
RewardItem reward item
swagger:model RewardItem
func (*RewardItem) MarshalBinary ¶
func (m *RewardItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RewardItem) UnmarshalBinary ¶
func (m *RewardItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RewardPagingSlicedResult ¶
type RewardPagingSlicedResult struct { // data // Required: true Data []*RewardInfo `json:"data"` // paging Paging *Paging `json:"paging,omitempty"` }
RewardPagingSlicedResult reward paging sliced result
swagger:model RewardPagingSlicedResult
func (*RewardPagingSlicedResult) MarshalBinary ¶
func (m *RewardPagingSlicedResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RewardPagingSlicedResult) UnmarshalBinary ¶
func (m *RewardPagingSlicedResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RewardUpdate ¶
type RewardUpdate struct { // Description Description string `json:"description,omitempty"` // event topic to listen to // Required: true EventTopic *string `json:"eventTopic"` // Max awarded MaxAwarded int32 `json:"maxAwarded,omitempty"` // Max awarded per user MaxAwardedPerUser int32 `json:"maxAwardedPerUser,omitempty"` // The path to get namespace from event payload, if not present, will use default value "$.[0].namespace" NamespaceExpression string `json:"namespaceExpression,omitempty"` // rewardCode // Required: true RewardCode *string `json:"rewardCode"` // list of reward condition RewardConditions []*RewardCondition `json:"rewardConditions"` // The path to get userId from event payload, if not present, will use default value "$.[0].userId" UserIDExpression string `json:"userIdExpression,omitempty"` }
RewardUpdate reward update
swagger:model RewardUpdate
func (*RewardUpdate) MarshalBinary ¶
func (m *RewardUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RewardUpdate) UnmarshalBinary ¶
func (m *RewardUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RewardsRequest ¶ added in v0.10.0
type RewardsRequest struct { // origin, if rewards contains item icon, it will credit into related origin wallet. if not set, it will be credit into System wallet // Enum: [Epic GooglePlay IOS Nintendo Other Playstation Stadia Steam System Twitch Xbox] Origin string `json:"origin,omitempty"` // reward // Required: true Rewards []*PlatformReward `json:"rewards"` // source // Enum: [ACHIEVEMENT DLC GIFT IAP OTHER PROMOTION PURCHASE REDEEM_CODE REFERRAL_BONUS REWARD] Source string `json:"source,omitempty"` }
RewardsRequest A DTO object for rewards request API call.
swagger:model RewardsRequest
func (*RewardsRequest) MarshalBinary ¶ added in v0.10.0
func (m *RewardsRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*RewardsRequest) UnmarshalBinary ¶ added in v0.10.0
func (m *RewardsRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Slide ¶
type Slide struct { // alt Alt string `json:"alt,omitempty"` // preview url PreviewURL string `json:"previewUrl,omitempty"` // thumbnail url ThumbnailURL string `json:"thumbnailUrl,omitempty"` // slide type // Enum: [image video] Type string `json:"type,omitempty"` // url URL string `json:"url,omitempty"` // video source // Enum: [generic vimeo youtube] VideoSource string `json:"videoSource,omitempty"` }
Slide slide
swagger:model Slide
func (*Slide) MarshalBinary ¶
MarshalBinary interface implementation
func (*Slide) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type StackableEntitlementInfo ¶
type StackableEntitlementInfo struct { // appId if entitlement is an app AppID string `json:"appId,omitempty"` // appType if entitlement is an app // Enum: [DEMO DLC GAME SOFTWARE] AppType string `json:"appType,omitempty"` // entitlement class // Required: true // Enum: [APP CODE ENTITLEMENT MEDIA SUBSCRIPTION] Clazz *string `json:"clazz"` // entitlement created at // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // entitlement end date // Format: date-time EndDate *strfmt.DateTime `json:"endDate,omitempty"` // entitlement features // Unique: true Features []string `json:"features"` // entitlement granted at // Required: true // Format: date-time GrantedAt strfmt.DateTime `json:"grantedAt"` // grantedCode, the granted code GrantedCode string `json:"grantedCode,omitempty"` // entitlement id // Required: true ID *string `json:"id"` // itemId of the entitlement // Required: true ItemID *string `json:"itemId"` // itemNamespace for the purchased item // Required: true ItemNamespace *string `json:"itemNamespace"` // itemSnapshot ItemSnapshot *ItemSnapshot `json:"itemSnapshot,omitempty"` // entitlement name // Required: true Name *string `json:"name"` // entitlement namespace // Required: true Namespace *string `json:"namespace"` // sku for purchased item Sku string `json:"sku,omitempty"` // entitlement source // Required: true // Enum: [ACHIEVEMENT GIFT IAP OTHER PROMOTION PURCHASE REDEEM_CODE REFERRAL_BONUS REWARD] Source *string `json:"source"` // whether the CONSUMABLE entitlement is stackable Stackable bool `json:"stackable"` // CONSUMABLE entitlement stacked use count StackedUseCount int32 `json:"stackedUseCount,omitempty"` // entitlement start date // Format: date-time StartDate *strfmt.DateTime `json:"startDate,omitempty"` // entitlement status // Required: true // Enum: [ACTIVE CONSUMED INACTIVE REVOKED] Status *string `json:"status"` // storeId of the item, published store if omitted StoreID string `json:"storeId,omitempty"` // entitlement type // Required: true // Enum: [CONSUMABLE DURABLE] Type *string `json:"type"` // entitlement updated at // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt"` // useCount for entitlement UseCount int32 `json:"useCount,omitempty"` // userId for this entitlement // Required: true UserID *string `json:"userId"` }
StackableEntitlementInfo stackable entitlement info
swagger:model StackableEntitlementInfo
func (*StackableEntitlementInfo) MarshalBinary ¶
func (m *StackableEntitlementInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StackableEntitlementInfo) UnmarshalBinary ¶
func (m *StackableEntitlementInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StadiaIAPConfigInfo ¶
type StadiaIAPConfigInfo struct { // jsonFile JSONFile string `json:"jsonFile,omitempty"` // namespace // Required: true Namespace *string `json:"namespace"` }
StadiaIAPConfigInfo stadia i a p config info
swagger:model StadiaIAPConfigInfo
func (*StadiaIAPConfigInfo) MarshalBinary ¶
func (m *StadiaIAPConfigInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StadiaIAPConfigInfo) UnmarshalBinary ¶
func (m *StadiaIAPConfigInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StadiaSyncRequest ¶
type StadiaSyncRequest struct { // app id // Required: true AppID *string `json:"appId"` // language value from language tag, allowed format: en, en-US.<p>Supported language tag : [RFC5646](https://gist.github.com/msikma/8912e62ed866778ff8cd) and [IETF](https://datahub.io/core/language-codes#resource-ietf-language-tags)</p> // Pattern: ^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$ Language string `json:"language,omitempty"` // country value from ISO countries Region string `json:"region,omitempty"` // Stadia player id // Required: true StadiaPlayerID *string `json:"stadiaPlayerId"` }
StadiaSyncRequest stadia sync request
swagger:model StadiaSyncRequest
func (*StadiaSyncRequest) MarshalBinary ¶
func (m *StadiaSyncRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StadiaSyncRequest) UnmarshalBinary ¶
func (m *StadiaSyncRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SteamAchievementRequest ¶ added in v0.22.0
type SteamAchievementRequest struct { // id ID string `json:"id,omitempty"` // value Value int64 `json:"value,omitempty"` }
SteamAchievementRequest steam achievement request
swagger:model steam achievement request
func (*SteamAchievementRequest) MarshalBinary ¶ added in v0.22.0
func (m *SteamAchievementRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SteamAchievementRequest) UnmarshalBinary ¶ added in v0.22.0
func (m *SteamAchievementRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SteamDLCSyncRequest ¶ added in v0.10.0
type SteamDLCSyncRequest struct { // Steam app id, this field is deprecated AppID string `json:"appId,omitempty"` // Steam ID of the user // Required: true SteamID *string `json:"steamId"` }
SteamDLCSyncRequest steam d l c sync request
swagger:model SteamDLCSyncRequest
func (*SteamDLCSyncRequest) MarshalBinary ¶ added in v0.10.0
func (m *SteamDLCSyncRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SteamDLCSyncRequest) UnmarshalBinary ¶ added in v0.10.0
func (m *SteamDLCSyncRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SteamIAPConfig ¶
type SteamIAPConfig struct { // app Id AppID string `json:"appId,omitempty"` // created at // Format: date-time CreatedAt *strfmt.DateTime `json:"createdAt,omitempty"` // namespace Namespace string `json:"namespace,omitempty"` // publisher authentication key PublisherAuthenticationKey string `json:"publisherAuthenticationKey,omitempty"` // rvn Rvn int32 `json:"rvn,omitempty"` // updated at // Format: date-time UpdatedAt *strfmt.DateTime `json:"updatedAt,omitempty"` }
SteamIAPConfig steam i a p config
swagger:model SteamIAPConfig
func (*SteamIAPConfig) MarshalBinary ¶
func (m *SteamIAPConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SteamIAPConfig) UnmarshalBinary ¶
func (m *SteamIAPConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SteamIAPConfigInfo ¶
type SteamIAPConfigInfo struct { // steam app id AppID string `json:"appId,omitempty"` // namespace // Required: true Namespace *string `json:"namespace"` // steam publisher authentication key // Required: true PublisherAuthenticationKey *string `json:"publisherAuthenticationKey"` }
SteamIAPConfigInfo steam i a p config info
swagger:model SteamIAPConfigInfo
func (*SteamIAPConfigInfo) MarshalBinary ¶
func (m *SteamIAPConfigInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SteamIAPConfigInfo) UnmarshalBinary ¶
func (m *SteamIAPConfigInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SteamIAPConfigRequest ¶
type SteamIAPConfigRequest struct { // appId // Required: true AppID *string `json:"appId"` // publisherAuthenticationKey PublisherAuthenticationKey string `json:"publisherAuthenticationKey,omitempty"` }
SteamIAPConfigRequest steam i a p config request
swagger:model SteamIAPConfigRequest
func (*SteamIAPConfigRequest) MarshalBinary ¶
func (m *SteamIAPConfigRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SteamIAPConfigRequest) UnmarshalBinary ¶
func (m *SteamIAPConfigRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SteamSyncRequest ¶
type SteamSyncRequest struct { // Steam app id // Required: true AppID *string `json:"appId"` // product price currency CurrencyCode string `json:"currencyCode,omitempty"` // language value from language tag, allowed format: en, en-US.<p>Supported language tag : [RFC5646](https://gist.github.com/msikma/8912e62ed866778ff8cd) and [IETF](https://datahub.io/core/language-codes#resource-ietf-language-tags)</p> // Pattern: ^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$ Language string `json:"language,omitempty"` // product price Price float64 `json:"price,omitempty"` // steamdefid ProductID string `json:"productId,omitempty"` // country value from ISO countries Region string `json:"region,omitempty"` // Steam ID of the user // Required: true SteamID *string `json:"steamId"` }
SteamSyncRequest steam sync request
swagger:model SteamSyncRequest
func (*SteamSyncRequest) MarshalBinary ¶
func (m *SteamSyncRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SteamSyncRequest) UnmarshalBinary ¶
func (m *SteamSyncRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StoreBackupInfo ¶
type StoreBackupInfo struct { // Is auto backup // Required: true AutoBackup *bool `json:"autoBackup"` // Backup created time // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // Backup id // Required: true ID *string `json:"id"` // Backup name // Required: true Name *string `json:"name"` // Backup store id // Required: true StoreID *string `json:"storeId"` // Backup updated time // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt"` }
StoreBackupInfo store backup info
swagger:model StoreBackupInfo
func (*StoreBackupInfo) MarshalBinary ¶
func (m *StoreBackupInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StoreBackupInfo) UnmarshalBinary ¶
func (m *StoreBackupInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StoreCreate ¶
type StoreCreate struct { // Default language, BCP 47 language tag, default is en DefaultLanguage string `json:"defaultLanguage,omitempty"` // Default region, should be ISO3166-1 alpha-2 two letter, default is US DefaultRegion string `json:"defaultRegion,omitempty"` // Description Description string `json:"description,omitempty"` // Languages, BCP 47 language tag SupportedLanguages []string `json:"supportedLanguages"` // Store supported regions, should be ISO3166-1 alpha-2 two letter SupportedRegions []string `json:"supportedRegions"` // Title, it should starts and ends with alphabets uppercase/lowercase or numeric, allowed separators ',.- and white-space, max length is 127 // Required: true Title *string `json:"title"` }
StoreCreate A DTO object for creating store API call.
swagger:model StoreCreate
func (*StoreCreate) MarshalBinary ¶
func (m *StoreCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StoreCreate) UnmarshalBinary ¶
func (m *StoreCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StoreInfo ¶
type StoreInfo struct { // Store created time // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // Default language // Required: true DefaultLanguage *string `json:"defaultLanguage"` // Default region // Required: true DefaultRegion *string `json:"defaultRegion"` // Store description Description string `json:"description,omitempty"` // The namespace // Required: true Namespace *string `json:"namespace"` // If Store is published // Required: true Published *bool `json:"published"` // Store published time // Format: date-time PublishedTime *strfmt.DateTime `json:"publishedTime,omitempty"` // Store id // Required: true StoreID *string `json:"storeId"` // Store supported language // Required: true SupportedLanguages []string `json:"supportedLanguages"` // Store supported regions // Required: true SupportedRegions []string `json:"supportedRegions"` // Store title // Required: true Title *string `json:"title"` // Store updated time // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt"` }
StoreInfo store info
swagger:model StoreInfo
func (*StoreInfo) MarshalBinary ¶
MarshalBinary interface implementation
func (*StoreInfo) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type StoreUpdate ¶
type StoreUpdate struct { // Default language, BCP 47 language tag DefaultLanguage string `json:"defaultLanguage,omitempty"` // Default region, should be ISO3166-1 alpha-2 two letter DefaultRegion string `json:"defaultRegion,omitempty"` // Description Description string `json:"description,omitempty"` // Languages, BCP 47 language tag SupportedLanguages []string `json:"supportedLanguages"` // Store supported regions, should be ISO3166-1 alpha-2 two letter SupportedRegions []string `json:"supportedRegions"` // Title, it should starts and ends with alphabets uppercase/lowercase or numeric, allowed separators ',.- and white-space, max length is 127 // Required: true Title *string `json:"title"` }
StoreUpdate A DTO object for updating store API call.
swagger:model StoreUpdate
func (*StoreUpdate) MarshalBinary ¶
func (m *StoreUpdate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StoreUpdate) UnmarshalBinary ¶
func (m *StoreUpdate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type StripeConfig ¶
type StripeConfig struct { // specifying the payment methods that are allowed to create payment intent. AllowedPaymentMethodTypes []string `json:"allowedPaymentMethodTypes"` // publishable key, max length is 4096 PublishableKey string `json:"publishableKey,omitempty"` // secret key, max length is 4096 SecretKey string `json:"secretKey,omitempty"` // webhook secret max length is 4096 WebhookSecret string `json:"webhookSecret,omitempty"` }
StripeConfig A DTO object for updating stripe config.
swagger:model StripeConfig
func (*StripeConfig) MarshalBinary ¶
func (m *StripeConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*StripeConfig) UnmarshalBinary ¶
func (m *StripeConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Subscribable ¶ added in v0.7.0
type Subscribable struct { // subscribable // Required: true Subscribable *bool `json:"subscribable"` }
Subscribable subscribable
swagger:model Subscribable
func (*Subscribable) MarshalBinary ¶ added in v0.7.0
func (m *Subscribable) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Subscribable) UnmarshalBinary ¶ added in v0.7.0
func (m *Subscribable) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SubscribeRequest ¶ added in v0.7.0
type SubscribeRequest struct { // currency code, should match currency code in item region data // Required: true CurrencyCode *string `json:"currencyCode"` // item id // Required: true ItemID *string `json:"itemId"` // language value from language tag, allowed format: en, en-US.<p>Supported language tag : [RFC5646](https://gist.github.com/msikma/8912e62ed866778ff8cd) and [IETF](https://datahub.io/core/language-codes#resource-ietf-language-tags)</p> // Pattern: ^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$ Language string `json:"language,omitempty"` // country value from ISO countries Region string `json:"region,omitempty"` // custom return url for real payment, user will be redirected to this url once payment is finished ReturnURL string `json:"returnUrl,omitempty"` // subscription source Source string `json:"source,omitempty"` }
SubscribeRequest subscribe request
swagger:model SubscribeRequest
func (*SubscribeRequest) MarshalBinary ¶ added in v0.7.0
func (m *SubscribeRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SubscribeRequest) UnmarshalBinary ¶ added in v0.7.0
func (m *SubscribeRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SubscriptionActivityInfo ¶ added in v0.7.0
type SubscriptionActivityInfo struct { // subscription action // Required: true // Enum: [CANCEL CHANGE_BILLING_ACCOUNT GRANT_DAYS IMMEDIATE_CANCEL RESUBSCRIBE SUBSCRIBE] Action *string `json:"action"` // subscription already charged cycle // Required: true ChargedCycles *int32 `json:"chargedCycles"` // created at // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // subscription current cycle number // Required: true CurrentCycle *int32 `json:"currentCycle"` // subscription grant days, negative indicates decrease GrantDays int32 `json:"grantDays,omitempty"` // Subscription in fixed cycle trial or not InFixedCycleTrial bool `json:"inFixedCycleTrial"` // Subscription in fixed free days or not InFixedFreeDays bool `json:"inFixedFreeDays"` // Subscription namespace // Required: true Namespace *string `json:"namespace"` // operator // Required: true Operator *string `json:"operator"` // subscription action reason Reason string `json:"reason,omitempty"` // subscription subscribed by // Required: true // Enum: [PLATFORM USER] SubscribedBy *string `json:"subscribedBy"` // Subscription id // Required: true SubscriptionID *string `json:"subscriptionId"` // Subscription already trialed cycles if exist TrialedCycles int32 `json:"trialedCycles,omitempty"` // updated at // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt"` // Subscription user id // Required: true UserID *string `json:"userId"` }
SubscriptionActivityInfo subscription activity info
swagger:model SubscriptionActivityInfo
func (*SubscriptionActivityInfo) MarshalBinary ¶ added in v0.7.0
func (m *SubscriptionActivityInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SubscriptionActivityInfo) UnmarshalBinary ¶ added in v0.7.0
func (m *SubscriptionActivityInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SubscriptionActivityPagingSlicedResult ¶ added in v0.7.0
type SubscriptionActivityPagingSlicedResult struct { // data // Required: true Data []*SubscriptionActivityInfo `json:"data"` // paging Paging *Paging `json:"paging,omitempty"` }
SubscriptionActivityPagingSlicedResult subscription activity paging sliced result
swagger:model SubscriptionActivityPagingSlicedResult
func (*SubscriptionActivityPagingSlicedResult) MarshalBinary ¶ added in v0.7.0
func (m *SubscriptionActivityPagingSlicedResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SubscriptionActivityPagingSlicedResult) UnmarshalBinary ¶ added in v0.7.0
func (m *SubscriptionActivityPagingSlicedResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SubscriptionInfo ¶ added in v0.7.0
type SubscriptionInfo struct { // saved billing account BillingAccount *BillingAccount `json:"billingAccount,omitempty"` // charge status // Required: true // Enum: [CHARGED CHARGE_FAILED NEVER RECURRING_CHARGING SETUP] ChargeStatus *string `json:"chargeStatus"` // already charged cycles ChargedCycles int32 `json:"chargedCycles,omitempty"` // created at // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // currency Currency *CurrencySummary `json:"currency,omitempty"` // current cycle in CurrentCycle int32 `json:"currentCycle,omitempty"` // current period end // Format: date-time CurrentPeriodEnd *strfmt.DateTime `json:"currentPeriodEnd,omitempty"` // current period start // Format: date-time CurrentPeriodStart *strfmt.DateTime `json:"currentPeriodStart,omitempty"` // description Description string `json:"description,omitempty"` // end date time if exist, at current it's not used // Format: date-time End *strfmt.DateTime `json:"end,omitempty"` // granted entitlement summary Entitlements []*EntitlementSummary `json:"entitlements"` // is first subscribe, will enjoy trial if trial available if it's first time subscribe FirstSubscribe bool `json:"firstSubscribe"` // id // Required: true ID *string `json:"id"` // whether in fixed cycle trial // Required: true InFixedCycleTrial *bool `json:"inFixedCycleTrial"` // whether in fixed free days // Required: true InFixedFreeDays *bool `json:"inFixedFreeDays"` // item id // Required: true ItemID *string `json:"itemId"` // item snapshot ItemSnapshot *ItemSnapshot `json:"itemSnapshot,omitempty"` // created language Language string `json:"language,omitempty"` // namespace // Required: true Namespace *string `json:"namespace"` // next billing date // Format: date-time NextBillingDate *strfmt.DateTime `json:"nextBillingDate,omitempty"` // whether user paid from the subscription start Paid bool `json:"paid"` // whether need to go to payment station for payment // Required: true PaymentFlowRequired *bool `json:"paymentFlowRequired"` // current payment order no PaymentOrderNo string `json:"paymentOrderNo,omitempty"` // payment station url PaymentStationURL string `json:"paymentStationUrl,omitempty"` // normal price Price int32 `json:"price,omitempty"` // recurring // Required: true Recurring *Recurring `json:"recurring"` // created region Region string `json:"region,omitempty"` // payment retry attempted RetryAttempted int32 `json:"retryAttempted,omitempty"` // payment returnUrl for payment station ReturnURL string `json:"returnUrl,omitempty"` // is sandbox mode Sandbox bool `json:"sandbox"` // sku Sku string `json:"sku,omitempty"` // source Source string `json:"source,omitempty"` // start date time, it will record the first time subscribed // Format: date-time Start *strfmt.DateTime `json:"start,omitempty"` // status // Required: true // Enum: [ACTIVE CANCELLED EXPIRED INIT] Status *string `json:"status"` // subscribed date time // Format: date-time SubscribedAt *strfmt.DateTime `json:"subscribedAt,omitempty"` // subscribed by PLATFORM(system granted) or USER(subscribed by userself) // Enum: [PLATFORM USER] SubscribedBy string `json:"subscribedBy,omitempty"` // title Title string `json:"title,omitempty"` // trial price TrialPrice int32 `json:"trialPrice,omitempty"` // already trialed cycles if exist fixedCycleTrial TrialedCycles int32 `json:"trialedCycles,omitempty"` // unsubscribe reason UnsubscribeReason string `json:"unsubscribeReason,omitempty"` // unsubscribed date time // Format: date-time UnsubscribedAt *strfmt.DateTime `json:"unsubscribedAt,omitempty"` // updated at // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt"` // user id // Required: true UserID *string `json:"userId"` }
SubscriptionInfo subscription info
swagger:model SubscriptionInfo
func (*SubscriptionInfo) MarshalBinary ¶ added in v0.7.0
func (m *SubscriptionInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SubscriptionInfo) UnmarshalBinary ¶ added in v0.7.0
func (m *SubscriptionInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SubscriptionPagingSlicedResult ¶ added in v0.7.0
type SubscriptionPagingSlicedResult struct { // data // Required: true Data []*SubscriptionInfo `json:"data"` // paging Paging *Paging `json:"paging,omitempty"` }
SubscriptionPagingSlicedResult subscription paging sliced result
swagger:model SubscriptionPagingSlicedResult
func (*SubscriptionPagingSlicedResult) MarshalBinary ¶ added in v0.7.0
func (m *SubscriptionPagingSlicedResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SubscriptionPagingSlicedResult) UnmarshalBinary ¶ added in v0.7.0
func (m *SubscriptionPagingSlicedResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type SubscriptionSummary ¶ added in v0.7.0
type SubscriptionSummary struct { // current period end // Format: date-time CurrentPeriodEnd *strfmt.DateTime `json:"currentPeriodEnd,omitempty"` // current period start // Format: date-time CurrentPeriodStart *strfmt.DateTime `json:"currentPeriodStart,omitempty"` // subscription id // Required: true ID *string `json:"id"` // item id // Required: true ItemID *string `json:"itemId"` // namespace // Required: true Namespace *string `json:"namespace"` // sku Sku string `json:"sku,omitempty"` // status // Required: true // Enum: [ACTIVE CANCELLED EXPIRED INIT] Status *string `json:"status"` // subscribed by PLATFORM(system granted) or USER(subscribed by userself) // Enum: [PLATFORM USER] SubscribedBy string `json:"subscribedBy,omitempty"` // user id // Required: true UserID *string `json:"userId"` }
SubscriptionSummary subscription summary
swagger:model SubscriptionSummary
func (*SubscriptionSummary) MarshalBinary ¶ added in v0.7.0
func (m *SubscriptionSummary) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*SubscriptionSummary) UnmarshalBinary ¶ added in v0.7.0
func (m *SubscriptionSummary) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TaxResult ¶
type TaxResult struct { // if enable tax EnableTax bool `json:"enableTax"` // formattedTax FormattedTax string `json:"formattedTax,omitempty"` // state State string `json:"state,omitempty"` // tax Tax int32 `json:"tax,omitempty"` }
TaxResult tax result
swagger:model TaxResult
func (*TaxResult) MarshalBinary ¶
MarshalBinary interface implementation
func (*TaxResult) UnmarshalBinary ¶
UnmarshalBinary interface implementation
type TestResult ¶
type TestResult struct { // error message Msg string `json:"msg,omitempty"` // success // Required: true Success *bool `json:"success"` }
TestResult test result
swagger:model TestResult
func (*TestResult) MarshalBinary ¶
func (m *TestResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TestResult) UnmarshalBinary ¶
func (m *TestResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TicketAcquireRequest ¶ added in v0.7.0
type TicketAcquireRequest struct { // acquire count // Required: true Count *int32 `json:"count"` // order no // Required: true OrderNo *string `json:"orderNo"` }
TicketAcquireRequest ticket acquire request
swagger:model TicketAcquireRequest
func (*TicketAcquireRequest) MarshalBinary ¶ added in v0.7.0
func (m *TicketAcquireRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TicketAcquireRequest) UnmarshalBinary ¶ added in v0.7.0
func (m *TicketAcquireRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TicketAcquireResult ¶ added in v0.7.0
type TicketAcquireResult struct { // acquired values Values []string `json:"values"` }
TicketAcquireResult ticket acquire result
swagger:model TicketAcquireResult
func (*TicketAcquireResult) MarshalBinary ¶ added in v0.7.0
func (m *TicketAcquireResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TicketAcquireResult) UnmarshalBinary ¶ added in v0.7.0
func (m *TicketAcquireResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TicketBoothID ¶ added in v0.7.0
type TicketBoothID struct { // id // Required: true ID *string `json:"id"` // type // Required: true // Enum: [CAMPAIGN KEYGROUP] Type *string `json:"type"` }
TicketBoothID ticket booth ID
swagger:model TicketBoothID
func (*TicketBoothID) MarshalBinary ¶ added in v0.7.0
func (m *TicketBoothID) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TicketBoothID) UnmarshalBinary ¶ added in v0.7.0
func (m *TicketBoothID) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TicketDynamicInfo ¶ added in v0.7.0
type TicketDynamicInfo struct { // The available sale count, -1 means UNLIMITED // Required: true AvailableSaleCount *int32 `json:"availableSaleCount"` }
TicketDynamicInfo ticket dynamic info
swagger:model TicketDynamicInfo
func (*TicketDynamicInfo) MarshalBinary ¶ added in v0.7.0
func (m *TicketDynamicInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TicketDynamicInfo) UnmarshalBinary ¶ added in v0.7.0
func (m *TicketDynamicInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TicketSaleDecrementRequest ¶ added in v0.7.0
type TicketSaleDecrementRequest struct { // orderNo // Required: true OrderNo *string `json:"orderNo"` }
TicketSaleDecrementRequest ticket sale decrement request
swagger:model TicketSaleDecrementRequest
func (*TicketSaleDecrementRequest) MarshalBinary ¶ added in v0.7.0
func (m *TicketSaleDecrementRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TicketSaleDecrementRequest) UnmarshalBinary ¶ added in v0.7.0
func (m *TicketSaleDecrementRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TicketSaleIncrementRequest ¶ added in v0.7.0
type TicketSaleIncrementRequest struct { // increment // Required: true Count *int32 `json:"count"` // order No // Required: true OrderNo *string `json:"orderNo"` }
TicketSaleIncrementRequest ticket sale increment request
swagger:model TicketSaleIncrementRequest
func (*TicketSaleIncrementRequest) MarshalBinary ¶ added in v0.7.0
func (m *TicketSaleIncrementRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TicketSaleIncrementRequest) UnmarshalBinary ¶ added in v0.7.0
func (m *TicketSaleIncrementRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TicketSaleIncrementResult ¶ added in v0.7.0
type TicketSaleIncrementResult struct { // max sale count // Required: true MaxSaleCount *int32 `json:"maxSaleCount"` // operation result // Required: true Success *bool `json:"success"` }
TicketSaleIncrementResult ticket sale increment result
swagger:model TicketSaleIncrementResult
func (*TicketSaleIncrementResult) MarshalBinary ¶ added in v0.7.0
func (m *TicketSaleIncrementResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TicketSaleIncrementResult) UnmarshalBinary ¶ added in v0.7.0
func (m *TicketSaleIncrementResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TimeLimitedBalance ¶ added in v0.18.0
type TimeLimitedBalance struct { // balance Balance int64 `json:"balance,omitempty"` // balance source BalanceSource string `json:"balanceSource,omitempty"` // balance expire time // Format: date-time ExpireAt *strfmt.DateTime `json:"expireAt,omitempty"` }
TimeLimitedBalance time limited balance
swagger:model Time-limited balance
func (*TimeLimitedBalance) MarshalBinary ¶ added in v0.18.0
func (m *TimeLimitedBalance) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TimeLimitedBalance) UnmarshalBinary ¶ added in v0.18.0
func (m *TimeLimitedBalance) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TimedOwnership ¶ added in v0.7.0
type TimedOwnership struct { // end date // Format: date-time EndDate *strfmt.DateTime `json:"endDate,omitempty"` // ownership // Required: true Owned *bool `json:"owned"` }
TimedOwnership timed ownership
swagger:model TimedOwnership
func (*TimedOwnership) MarshalBinary ¶ added in v0.7.0
func (m *TimedOwnership) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TimedOwnership) UnmarshalBinary ¶ added in v0.7.0
func (m *TimedOwnership) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TradeNotification ¶
type TradeNotification struct { // additional data AdditionalData *AdditionalData `json:"additionalData,omitempty"` // The time of the order authorised // Format: date-time AuthorisedTime *strfmt.DateTime `json:"authorisedTime,omitempty"` // The time of the order chargeback reversed // Format: date-time ChargebackReversedTime *strfmt.DateTime `json:"chargebackReversedTime,omitempty"` // The time of the order chargeback // Format: date-time ChargebackTime *strfmt.DateTime `json:"chargebackTime,omitempty"` // The time of the order charged // Format: date-time ChargedTime *strfmt.DateTime `json:"chargedTime,omitempty"` // The time of the order created // Format: date-time CreatedTime *strfmt.DateTime `json:"createdTime,omitempty"` // Payment order currency info // Required: true Currency *CurrencySummary `json:"currency"` // User custom parameters CustomParameters map[string]interface{} `json:"customParameters,omitempty"` // Order number // Required: true ExtOrderNo *string `json:"extOrderNo"` // External transaction id ExtTxID string `json:"extTxId,omitempty"` // optional, external user id, can be the character id ExtUserID string `json:"extUserId,omitempty"` // event issued at // Required: true // Format: date-time IssuedAt strfmt.DateTime `json:"issuedAt"` // metadata Metadata map[string]string `json:"metadata,omitempty"` // namespace which event issues from // Required: true Namespace *string `json:"namespace"` // Random string // Required: true NonceStr *string `json:"nonceStr"` // Payment method PaymentMethod string `json:"paymentMethod,omitempty"` // Payment method fee PaymentMethodFee int32 `json:"paymentMethodFee,omitempty"` // Payment order number // Required: true PaymentOrderNo *string `json:"paymentOrderNo"` // Payment provider // Required: true // Enum: [ADYEN ALIPAY CHECKOUT PAYPAL STRIPE WALLET WXPAY XSOLLA] PaymentProvider *string `json:"paymentProvider"` // Payment provider fee PaymentProviderFee int32 `json:"paymentProviderFee,omitempty"` // Payment station url PaymentStationURL string `json:"paymentStationUrl,omitempty"` // Payment order price // Required: true Price *int32 `json:"price"` // The time of the order refunded // Format: date-time RefundedTime *strfmt.DateTime `json:"refundedTime,omitempty"` // Payment order sales tax SalesTax int32 `json:"salesTax,omitempty"` // isSandbox, indicate if order is sandbox // Required: true Sandbox *bool `json:"sandbox"` // optional, unique identity for the item Sku string `json:"sku,omitempty"` // Payment order status // Required: true // Enum: [AUTHORISED AUTHORISE_FAILED CHARGEBACK CHARGEBACK_REVERSED CHARGED CHARGE_FAILED DELETED INIT NOTIFICATION_OF_CHARGEBACK REFUNDED REFUNDING REFUND_FAILED REQUEST_FOR_INFORMATION] Status *string `json:"status"` // Payment order status reason StatusReason string `json:"statusReason,omitempty"` // Subscription id if exist SubscriptionID string `json:"subscriptionId,omitempty"` // subtotal price SubtotalPrice int32 `json:"subtotalPrice,omitempty"` // target namespace, usually it's the game namespace TargetNamespace string `json:"targetNamespace,omitempty"` // target user id, usually it's the user id in game namespace TargetUserID string `json:"targetUserId,omitempty"` // Payment total tax Tax int32 `json:"tax,omitempty"` // total price TotalPrice int32 `json:"totalPrice,omitempty"` // total tax TotalTax int32 `json:"totalTax,omitempty"` // Transaction end date time // Format: date-time TxEndTime *strfmt.DateTime `json:"txEndTime,omitempty"` // notification type: payment // Required: true Type *string `json:"type"` // user id in namespace, will be null if there's targetUserId UserID string `json:"userId,omitempty"` // Payment order VAT Vat int32 `json:"vat,omitempty"` }
TradeNotification trade notification
swagger:model TradeNotification
func (*TradeNotification) MarshalBinary ¶
func (m *TradeNotification) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TradeNotification) UnmarshalBinary ¶
func (m *TradeNotification) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type Transaction ¶
type Transaction struct { // additional data AdditionalData *AdditionalData `json:"additionalData,omitempty"` // amount Amount int32 `json:"amount,omitempty"` // currency Currency *CurrencySummary `json:"currency,omitempty"` // ext message ExtMessage string `json:"extMessage,omitempty"` // ext status code ExtStatusCode string `json:"extStatusCode,omitempty"` // ext tx Id ExtTxID string `json:"extTxId,omitempty"` // merchant Id MerchantID string `json:"merchantId,omitempty"` // notified Notified bool `json:"notified"` // payment method PaymentMethod string `json:"paymentMethod,omitempty"` // payment method fee PaymentMethodFee int32 `json:"paymentMethodFee,omitempty"` // payment provider fee PaymentProviderFee int32 `json:"paymentProviderFee,omitempty"` // provider // Enum: [ADYEN ALIPAY CHECKOUT PAYPAL STRIPE WALLET WXPAY XSOLLA] Provider string `json:"provider,omitempty"` // sales tax SalesTax int32 `json:"salesTax,omitempty"` // status // Enum: [FAILED FINISHED] Status string `json:"status,omitempty"` // tax Tax int32 `json:"tax,omitempty"` // tx end time // Format: date-time TxEndTime *strfmt.DateTime `json:"txEndTime,omitempty"` // tx Id TxID string `json:"txId,omitempty"` // type // Enum: [AUTHORISATION CHARGE CHARGEBACK CHARGEBACK_REVERSED CHARGE_FAILED NOTIFICATION_OF_CHARGEBACK REFUND REFUND_FAILED REQUEST_FOR_INFORMATION] Type string `json:"type,omitempty"` // vat Vat int32 `json:"vat,omitempty"` }
Transaction transaction
swagger:model Transaction
func (*Transaction) MarshalBinary ¶
func (m *Transaction) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*Transaction) UnmarshalBinary ¶
func (m *Transaction) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TransactionAmountDetails ¶ added in v0.18.0
type TransactionAmountDetails struct { // amount Amount int64 `json:"amount,omitempty"` // expire at // Format: date-time ExpireAt *strfmt.DateTime `json:"expireAt,omitempty"` // origin Origin string `json:"origin,omitempty"` // wallet Id WalletID string `json:"walletId,omitempty"` }
TransactionAmountDetails transaction amount details
swagger:model TransactionAmountDetails
func (*TransactionAmountDetails) MarshalBinary ¶ added in v0.18.0
func (m *TransactionAmountDetails) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TransactionAmountDetails) UnmarshalBinary ¶ added in v0.18.0
func (m *TransactionAmountDetails) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TwitchIAPConfigInfo ¶ added in v0.12.0
type TwitchIAPConfigInfo struct { // twitch client id ClientID string `json:"clientId,omitempty"` // twitch client secret ClientSecret string `json:"clientSecret,omitempty"` // namespace // Required: true Namespace *string `json:"namespace"` // twitch organization Id OrganizationID string `json:"organizationId,omitempty"` }
TwitchIAPConfigInfo twitch i a p config info
swagger:model TwitchIAPConfigInfo
func (*TwitchIAPConfigInfo) MarshalBinary ¶ added in v0.12.0
func (m *TwitchIAPConfigInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TwitchIAPConfigInfo) UnmarshalBinary ¶ added in v0.12.0
func (m *TwitchIAPConfigInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TwitchIAPConfigRequest ¶ added in v0.12.0
type TwitchIAPConfigRequest struct { // twitch client id ClientID string `json:"clientId,omitempty"` // twitch client secret ClientSecret string `json:"clientSecret,omitempty"` // twitch organization Id OrganizationID string `json:"organizationId,omitempty"` }
TwitchIAPConfigRequest twitch i a p config request
swagger:model TwitchIAPConfigRequest
func (*TwitchIAPConfigRequest) MarshalBinary ¶ added in v0.12.0
func (m *TwitchIAPConfigRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TwitchIAPConfigRequest) UnmarshalBinary ¶ added in v0.12.0
func (m *TwitchIAPConfigRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type TwitchSyncRequest ¶ added in v0.12.0
type TwitchSyncRequest struct { // game id GameID string `json:"gameId,omitempty"` // language value from language tag, allowed format: en, en-US.<p>Supported language tag : [RFC5646](https://gist.github.com/msikma/8912e62ed866778ff8cd) and [IETF](https://datahub.io/core/language-codes#resource-ietf-language-tags)</p> // Pattern: ^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$ Language string `json:"language,omitempty"` // country value from ISO countries Region string `json:"region,omitempty"` }
TwitchSyncRequest twitch sync request
swagger:model TwitchSyncRequest
func (*TwitchSyncRequest) MarshalBinary ¶ added in v0.12.0
func (m *TwitchSyncRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*TwitchSyncRequest) UnmarshalBinary ¶ added in v0.12.0
func (m *TwitchSyncRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ValidationErrorEntity ¶
type ValidationErrorEntity struct { // numeric error code // Required: true ErrorCode *int32 `json:"errorCode"` // error message // Required: true ErrorMessage *string `json:"errorMessage"` // errors Errors []*FieldValidationError `json:"errors"` }
ValidationErrorEntity validation error entity
swagger:model ValidationErrorEntity
func (*ValidationErrorEntity) MarshalBinary ¶
func (m *ValidationErrorEntity) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ValidationErrorEntity) UnmarshalBinary ¶
func (m *ValidationErrorEntity) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WalletInfo ¶
type WalletInfo struct { // total balance, include effective time-limited balance // Required: true Balance *int64 `json:"balance"` // origin of balance // Required: true BalanceOrigin *string `json:"balanceOrigin"` // created at // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // currency code // Required: true CurrencyCode *string `json:"currencyCode"` // currency symbol // Required: true CurrencySymbol *string `json:"currencySymbol"` // wallet id // Required: true ID *string `json:"id"` // wallet namespace // Required: true Namespace *string `json:"namespace"` // status // Required: true // Enum: [ACTIVE INACTIVE] Status *string `json:"status"` // time-limited balances info TimeLimitedBalances []*TimeLimitedBalance `json:"timeLimitedBalances"` // total permanent balance TotalPermanentBalance int64 `json:"totalPermanentBalance,omitempty"` // total time limited balance TotalTimeLimitedBalance int64 `json:"totalTimeLimitedBalance,omitempty"` // updated at // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt"` // user id // Required: true UserID *string `json:"userId"` }
WalletInfo wallet info
swagger:model WalletInfo
func (*WalletInfo) MarshalBinary ¶
func (m *WalletInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WalletInfo) UnmarshalBinary ¶
func (m *WalletInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WalletPagingSlicedResult ¶
type WalletPagingSlicedResult struct { // data // Required: true Data []*WalletInfo `json:"data"` // paging Paging *Paging `json:"paging,omitempty"` }
WalletPagingSlicedResult wallet paging sliced result
swagger:model WalletPagingSlicedResult
func (*WalletPagingSlicedResult) MarshalBinary ¶
func (m *WalletPagingSlicedResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WalletPagingSlicedResult) UnmarshalBinary ¶
func (m *WalletPagingSlicedResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WalletTransactionInfo ¶
type WalletTransactionInfo struct { // Transaction amount, it is absolute value. // Required: true Amount *int64 `json:"amount"` // The source of credit BalanceSource string `json:"balanceSource,omitempty"` // Transaction created time // Required: true // Format: date-time CreatedAt strfmt.DateTime `json:"createdAt"` // Transaction currency code // Required: true CurrencyCode *string `json:"currencyCode"` // Wallet namespace // Required: true Namespace *string `json:"namespace"` // Operator userId or ClientId // Required: true Operator *string `json:"operator"` // Reason of the transaction Reason string `json:"reason,omitempty"` // Transaction amount details TransactionAmountDetails []*TransactionAmountDetails `json:"transactionAmountDetails"` // Transaction updated time // Required: true // Format: date-time UpdatedAt strfmt.DateTime `json:"updatedAt"` // Wallet owner's userId // Required: true UserID *string `json:"userId"` // Action type // Required: true // Enum: [CREDIT DEBIT PAYMENT] WalletAction *string `json:"walletAction"` }
WalletTransactionInfo wallet transaction info
swagger:model WalletTransactionInfo
func (*WalletTransactionInfo) MarshalBinary ¶
func (m *WalletTransactionInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WalletTransactionInfo) UnmarshalBinary ¶
func (m *WalletTransactionInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WalletTransactionPagingSlicedResult ¶
type WalletTransactionPagingSlicedResult struct { // data // Required: true Data []*WalletTransactionInfo `json:"data"` // paging Paging *Paging `json:"paging,omitempty"` }
WalletTransactionPagingSlicedResult wallet transaction paging sliced result
swagger:model WalletTransactionPagingSlicedResult
func (*WalletTransactionPagingSlicedResult) MarshalBinary ¶
func (m *WalletTransactionPagingSlicedResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WalletTransactionPagingSlicedResult) UnmarshalBinary ¶
func (m *WalletTransactionPagingSlicedResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WxPayConfigInfo ¶
type WxPayConfigInfo struct { // wxpay appId AppID string `json:"appId,omitempty"` // wxpay cert file name CertPath string `json:"certPath,omitempty"` // wxpay key Key string `json:"key,omitempty"` // wxpay mchid Mchid string `json:"mchid,omitempty"` // return url ReturnURL string `json:"returnUrl,omitempty"` }
WxPayConfigInfo A DTO object for wxpay config.
swagger:model WxPayConfigInfo
func (*WxPayConfigInfo) MarshalBinary ¶
func (m *WxPayConfigInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WxPayConfigInfo) UnmarshalBinary ¶
func (m *WxPayConfigInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type WxPayConfigRequest ¶
type WxPayConfigRequest struct { // wxpay appId AppID string `json:"appId,omitempty"` // wxpay key Key string `json:"key,omitempty"` // wxpay mchid Mchid string `json:"mchid,omitempty"` // return url ReturnURL string `json:"returnUrl,omitempty"` }
WxPayConfigRequest A DTO object for updating wxpay config.
swagger:model WxPayConfigRequest
func (*WxPayConfigRequest) MarshalBinary ¶
func (m *WxPayConfigRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*WxPayConfigRequest) UnmarshalBinary ¶
func (m *WxPayConfigRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type XblDLCSyncRequest ¶ added in v0.10.0
type XblDLCSyncRequest struct { // xstsToken XstsToken string `json:"xstsToken,omitempty"` }
XblDLCSyncRequest xbl d l c sync request
swagger:model XblDLCSyncRequest
func (*XblDLCSyncRequest) MarshalBinary ¶ added in v0.10.0
func (m *XblDLCSyncRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*XblDLCSyncRequest) UnmarshalBinary ¶ added in v0.10.0
func (m *XblDLCSyncRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type XblIAPConfigInfo ¶
type XblIAPConfigInfo struct { // businessPartnerCertFileName BusinessPartnerCertFileName string `json:"businessPartnerCertFileName,omitempty"` // namespace // Required: true Namespace *string `json:"namespace"` // password Password string `json:"password,omitempty"` // relyingPartyCert RelyingPartyCert string `json:"relyingPartyCert,omitempty"` }
XblIAPConfigInfo xbl i a p config info
swagger:model XblIAPConfigInfo
func (*XblIAPConfigInfo) MarshalBinary ¶
func (m *XblIAPConfigInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*XblIAPConfigInfo) UnmarshalBinary ¶
func (m *XblIAPConfigInfo) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type XblIAPConfigRequest ¶
type XblIAPConfigRequest struct { // relyingPartyCert // Required: true RelyingPartyCert *string `json:"relyingPartyCert"` }
XblIAPConfigRequest xbl i a p config request
swagger:model XblIAPConfigRequest
func (*XblIAPConfigRequest) MarshalBinary ¶
func (m *XblIAPConfigRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*XblIAPConfigRequest) UnmarshalBinary ¶
func (m *XblIAPConfigRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type XblReconcileRequest ¶
type XblReconcileRequest struct { // product price currency CurrencyCode string `json:"currencyCode,omitempty"` // product price Price float64 `json:"price,omitempty"` // productId ProductID string `json:"productId,omitempty"` // xstsToken XstsToken string `json:"xstsToken,omitempty"` }
XblReconcileRequest xbl reconcile request
swagger:model XblReconcileRequest
func (*XblReconcileRequest) MarshalBinary ¶
func (m *XblReconcileRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*XblReconcileRequest) UnmarshalBinary ¶
func (m *XblReconcileRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type XblReconcileResult ¶
type XblReconcileResult struct { // iap order status // Enum: [FAILED FULFILLED VERIFIED] IapOrderStatus string `json:"iapOrderStatus,omitempty"` // item Id ItemID string `json:"itemId,omitempty"` // sku Sku string `json:"sku,omitempty"` // transaction Id TransactionID string `json:"transactionId,omitempty"` // xbox product Id XboxProductID string `json:"xboxProductId,omitempty"` }
XblReconcileResult xbl reconcile result
swagger:model XblReconcileResult
func (*XblReconcileResult) MarshalBinary ¶
func (m *XblReconcileResult) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*XblReconcileResult) UnmarshalBinary ¶
func (m *XblReconcileResult) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type XboxAchievementRequest ¶ added in v0.22.0
type XboxAchievementRequest struct { // achievement id ID string `json:"id,omitempty"` // complete percentage PercentComplete int64 `json:"percentComplete,omitempty"` }
XboxAchievementRequest xbox achievement request
swagger:model xbox achievement request
func (*XboxAchievementRequest) MarshalBinary ¶ added in v0.22.0
func (m *XboxAchievementRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*XboxAchievementRequest) UnmarshalBinary ¶ added in v0.22.0
func (m *XboxAchievementRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type XsollaConfig ¶
type XsollaConfig struct { // api key, max length is 4096 APIKey string `json:"apiKey,omitempty"` // flow completion url, max length is 2000 FlowCompletionURL string `json:"flowCompletionUrl,omitempty"` // merchant id MerchantID int32 `json:"merchantId,omitempty"` // project id ProjectID int32 `json:"projectId,omitempty"` // project secret key, max length is 4096 ProjectSecretKey string `json:"projectSecretKey,omitempty"` }
XsollaConfig A DTO object for updating xsolla config.
swagger:model XsollaConfig
func (*XsollaConfig) MarshalBinary ¶
func (m *XsollaConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*XsollaConfig) UnmarshalBinary ¶
func (m *XsollaConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type XsollaPaywallConfig ¶
type XsollaPaywallConfig struct { // device // Required: true // Enum: [DESKTOP MOBILE] Device *string `json:"device"` // showCloseButton // Required: true ShowCloseButton *bool `json:"showCloseButton"` // size // Required: true // Enum: [LARGE MEDIUM SMALL] Size *string `json:"size"` // theme // Required: true // Enum: [DARK DEFAULT DEFAULT_DARK] Theme *string `json:"theme"` }
XsollaPaywallConfig xsolla paywall config
swagger:model XsollaPaywallConfig
func (*XsollaPaywallConfig) MarshalBinary ¶
func (m *XsollaPaywallConfig) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*XsollaPaywallConfig) UnmarshalBinary ¶
func (m *XsollaPaywallConfig) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type XsollaPaywallConfigRequest ¶
type XsollaPaywallConfigRequest struct { // Payment UI device type, DESKTOP for default // Enum: [DESKTOP MOBILE] Device string `json:"device,omitempty"` // Whether to show a Close button in pay station. false by default ShowCloseButton bool `json:"showCloseButton"` // Payment UI size, MEDIUM for default. // Enum: [LARGE MEDIUM SMALL] Size string `json:"size,omitempty"` // Payment UI theme, DEFAULT for default. // Enum: [DARK DEFAULT DEFAULT_DARK] Theme string `json:"theme,omitempty"` }
XsollaPaywallConfigRequest xsolla paywall config request
swagger:model XsollaPaywallConfigRequest
func (*XsollaPaywallConfigRequest) MarshalBinary ¶
func (m *XsollaPaywallConfigRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*XsollaPaywallConfigRequest) UnmarshalBinary ¶
func (m *XsollaPaywallConfigRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
Source Files ¶
- a_d_t_o_object_for_unlock_steam_achievement_api.go
- a_d_t_o_object_for_update_xbox_achievement_complete_percentage_api.go
- additional_data.go
- admin_order_create.go
- adyen_config.go
- ali_pay_config.go
- app_entitlement_info.go
- app_entitlement_paging_sliced_result.go
- app_info.go
- app_localization.go
- app_update.go
- apple_i_a_p_config_info.go
- apple_i_a_p_config_request.go
- apple_i_a_p_receipt.go
- basic_category_info.go
- basic_item.go
- billing_account.go
- billing_history_info.go
- billing_history_paging_sliced_result.go
- bulk_operation_result.go
- bundled_item_info.go
- campaign_create.go
- campaign_dynamic_info.go
- campaign_info.go
- campaign_paging_sliced_result.go
- campaign_update.go
- cancel_request.go
- catalog_change_info.go
- catalog_change_paging_sliced_result.go
- catalog_change_statistics.go
- category_create.go
- category_info.go
- category_update.go
- checkout_config.go
- code_create.go
- code_create_result.go
- code_info.go
- code_info_paging_sliced_result.go
- condition_match_result.go
- credit_request.go
- credit_summary.go
- currency_config.go
- currency_create.go
- currency_info.go
- currency_summary.go
- currency_update.go
- currency_wallet.go
- customization.go
- d_l_c_item.go
- d_l_c_item_config_info.go
- d_l_c_item_config_update.go
- debit_request.go
- detailed_wallet_transaction_info.go
- detailed_wallet_transaction_paging_sliced_result.go
- entitlement_decrement.go
- entitlement_grant.go
- entitlement_history_info.go
- entitlement_info.go
- entitlement_paging_sliced_result.go
- entitlement_summary.go
- entitlement_update.go
- epic_games_i_a_p_config_info.go
- epic_games_i_a_p_config_request.go
- epic_games_reconcile_request.go
- epic_games_reconcile_result.go
- error_entity.go
- event_payload.go
- external_payment_order_create.go
- field_validation_error.go
- fulfill_code_request.go
- fulfillment_error.go
- fulfillment_history_info.go
- fulfillment_history_paging_sliced_result.go
- fulfillment_item.go
- fulfillment_request.go
- fulfillment_result.go
- fulfillment_script_context.go
- fulfillment_script_create.go
- fulfillment_script_eval_test_request.go
- fulfillment_script_eval_test_result.go
- fulfillment_script_info.go
- fulfillment_script_update.go
- full_app_info.go
- full_category_info.go
- full_item_info.go
- full_item_paging_sliced_result.go
- google_i_a_p_config_info.go
- google_i_a_p_config_request.go
- google_i_a_p_receipt.go
- google_receipt_resolve_result.go
- grant_subscription_days_request.go
- hierarchical_category_info.go
- i_a_p_item_config_info.go
- i_a_p_item_config_update.go
- i_a_p_item_entry.go
- i_a_p_order_info.go
- i_a_p_order_paging_sliced_result.go
- image.go
- in_game_item_sync.go
- item_acquire_request.go
- item_acquire_result.go
- item_create.go
- item_dynamic_data_info.go
- item_id.go
- item_info.go
- item_paging_sliced_result.go
- item_return_request.go
- item_snapshot.go
- item_update.go
- key_group_create.go
- key_group_dynamic_info.go
- key_group_info.go
- key_group_paging_sliced_result.go
- key_group_update.go
- key_info.go
- key_paging_slice_result.go
- localization.go
- mock_i_a_p_receipt.go
- notification_process_result.go
- order.go
- order_create.go
- order_grant_info.go
- order_history_info.go
- order_info.go
- order_paging_result.go
- order_paging_sliced_result.go
- order_refund_create.go
- order_statistics.go
- order_summary.go
- order_sync_result.go
- order_update.go
- ownership.go
- ownership_token.go
- paging.go
- pay_pal_config.go
- payment_account.go
- payment_callback_config_info.go
- payment_callback_config_update.go
- payment_merchant_config_info.go
- payment_method.go
- payment_notification_info.go
- payment_notification_paging_sliced_result.go
- payment_order.go
- payment_order_charge_request.go
- payment_order_charge_status.go
- payment_order_create.go
- payment_order_create_result.go
- payment_order_details.go
- payment_order_info.go
- payment_order_notify_simulation.go
- payment_order_paging_sliced_result.go
- payment_order_paid_result.go
- payment_order_refund.go
- payment_order_refund_result.go
- payment_order_sync_result.go
- payment_process_result.go
- payment_provider_config_edit.go
- payment_provider_config_info.go
- payment_provider_config_paging_sliced_result.go
- payment_request.go
- payment_tax_config_edit.go
- payment_tax_config_info.go
- payment_token.go
- payment_url.go
- payment_url_create.go
- platform_d_l_c_config_info.go
- platform_d_l_c_config_update.go
- platform_dlc_entry.go
- platform_reward.go
- platform_reward_currency.go
- platform_reward_item.go
- platform_subscribe_request.go
- platform_wallet.go
- platform_wallet_config_info.go
- platform_wallet_config_update.go
- play_station_d_l_c_sync_request.go
- play_station_i_a_p_config_info.go
- play_station_reconcile_request.go
- play_station_reconcile_result.go
- playstation_i_a_p_config_request.go
- populated_item_info.go
- purchased_item_count.go
- recurring.go
- recurring_charge_result.go
- redeem_history_info.go
- redeem_history_paging_sliced_result.go
- redeem_request.go
- redeem_result.go
- redeemable_item.go
- region_data_item.go
- requirement.go
- reward_condition.go
- reward_create.go
- reward_info.go
- reward_item.go
- reward_paging_sliced_result.go
- reward_update.go
- rewards_request.go
- slide.go
- stackable_entitlement_info.go
- stadia_i_a_p_config_info.go
- stadia_sync_request.go
- steam_achievement_request.go
- steam_d_l_c_sync_request.go
- steam_i_a_p_config.go
- steam_i_a_p_config_info.go
- steam_i_a_p_config_request.go
- steam_sync_request.go
- store_backup_info.go
- store_create.go
- store_info.go
- store_update.go
- stripe_config.go
- subscribable.go
- subscribe_request.go
- subscription_activity_info.go
- subscription_activity_paging_sliced_result.go
- subscription_info.go
- subscription_paging_sliced_result.go
- subscription_summary.go
- tax_result.go
- test_result.go
- ticket_acquire_request.go
- ticket_acquire_result.go
- ticket_booth_id.go
- ticket_dynamic_info.go
- ticket_sale_decrement_request.go
- ticket_sale_increment_request.go
- ticket_sale_increment_result.go
- time_limited_balance.go
- timed_ownership.go
- trade_notification.go
- transaction.go
- transaction_amount_details.go
- twitch_i_a_p_config_info.go
- twitch_i_a_p_config_request.go
- twitch_sync_request.go
- validation_error_entity.go
- wallet_info.go
- wallet_paging_sliced_result.go
- wallet_transaction_info.go
- wallet_transaction_paging_sliced_result.go
- wx_pay_config_info.go
- wx_pay_config_request.go
- xbl_d_l_c_sync_request.go
- xbl_i_a_p_config_info.go
- xbl_i_a_p_config_request.go
- xbl_reconcile_request.go
- xbl_reconcile_result.go
- xbox_achievement_request.go
- xsolla_config.go
- xsolla_paywall_config.go
- xsolla_paywall_config_request.go