Documentation
¶
Index ¶
- Constants
- type AdditionalData
- 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 BulkOperationResult
- type CategoryCreate
- type CategoryInfo
- type CategoryUpdate
- type CheckoutConfig
- type CreditRequest
- type CreditSummary
- type CurrencyConfig
- type CurrencyCreate
- type CurrencyInfo
- type CurrencySummary
- type CurrencyUpdate
- type Customization
- type DebitRequest
- type DistributionReceiverCreate
- type DistributionReceiverInfo
- 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 ExternalPaymentOrderCreate
- type FieldValidationError
- type FulfillCodeRequest
- type FulfillmentError
- type FulfillmentHistoryInfo
- type FulfillmentHistoryPagingSlicedResult
- type FulfillmentItem
- type FulfillmentRequest
- type FulfillmentResult
- type FullAppInfo
- type FullCategoryInfo
- type FullItemInfo
- type FullItemPagingSlicedResult
- type GoogleIAPConfigInfo
- type GoogleIAPConfigRequest
- type GoogleIAPReceipt
- type HierarchicalCategoryInfo
- 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 Localization
- type MockIAPReceipt
- type Order
- type OrderCreate
- type OrderGrantInfo
- type OrderHistoryInfo
- type OrderInfo
- type OrderPagingResult
- type OrderPagingSlicedResult
- type OrderRefundCreate
- type OrderStatistics
- type OrderSyncResult
- type OrderUpdate
- type Ownership
- type Paging
- type PayPalConfig
- type PaymentAccount
- type PaymentMerchantConfigInfo
- type PaymentMethod
- type PaymentNotificationInfo
- type PaymentNotificationPagingSlicedResult
- type PaymentOrder
- type PaymentOrderChargeRequest
- type PaymentOrderChargeStatus
- type PaymentOrderCreate
- type PaymentOrderCreateResult
- type PaymentOrderDetails
- type PaymentOrderInfo
- 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 PlayStationIAPConfigInfo
- type PlayStationReconcileResult
- type PlaystationIAPConfigRequest
- type PopulatedItemInfo
- type PurchasedItemCount
- type Recurring
- type RegionDataItem
- type Requirement
- type RewardCondition
- type RewardCreate
- type RewardInfo
- type RewardItem
- type RewardPagingSlicedResult
- type RewardUpdate
- type Slide
- type StackableEntitlementInfo
- type StadiaIAPConfigInfo
- type StadiaSyncRequest
- type SteamIAPConfig
- type SteamIAPConfigInfo
- type SteamIAPConfigRequest
- type SteamSyncRequest
- type StoreBackupInfo
- type StoreCreate
- type StoreInfo
- type StoreUpdate
- type StripeConfig
- type TaxResult
- type TestResult
- type TradeNotification
- type Transaction
- type ValidationErrorEntity
- type WalletInfo
- type WalletPagingSlicedResult
- type WalletTransactionInfo
- type WalletTransactionPagingSlicedResult
- type WxPayConfigInfo
- type WxPayConfigRequest
- type XblIAPConfigInfo
- type XblIAPConfigRequest
- type XblReconcileRequest
- type XblReconcileResult
- type XsollaConfig
- type XsollaPaywallConfig
- type XsollaPaywallConfigRequest
Constants ¶
const ( // AppEntitlementInfoAppTypeGAME captures enum value "GAME" AppEntitlementInfoAppTypeGAME string = "GAME" // AppEntitlementInfoAppTypeSOFTWARE captures enum value "SOFTWARE" AppEntitlementInfoAppTypeSOFTWARE string = "SOFTWARE" // AppEntitlementInfoAppTypeDLC captures enum value "DLC" AppEntitlementInfoAppTypeDLC string = "DLC" // AppEntitlementInfoAppTypeDEMO captures enum value "DEMO" AppEntitlementInfoAppTypeDEMO string = "DEMO" )
const ( // AppEntitlementInfoStatusACTIVE captures enum value "ACTIVE" AppEntitlementInfoStatusACTIVE string = "ACTIVE" // AppEntitlementInfoStatusINACTIVE captures enum value "INACTIVE" AppEntitlementInfoStatusINACTIVE string = "INACTIVE" // AppEntitlementInfoStatusCONSUMED captures enum value "CONSUMED" AppEntitlementInfoStatusCONSUMED string = "CONSUMED" // AppEntitlementInfoStatusDISTRIBUTED captures enum value "DISTRIBUTED" AppEntitlementInfoStatusDISTRIBUTED string = "DISTRIBUTED" // 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" // AppInfoPrimaryGenreRacing captures enum value "Racing" AppInfoPrimaryGenreRacing string = "Racing" // AppInfoPrimaryGenreRPG captures enum value "RPG" AppInfoPrimaryGenreRPG string = "RPG" // 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" // AppUpdatePrimaryGenreRacing captures enum value "Racing" AppUpdatePrimaryGenreRacing string = "Racing" // AppUpdatePrimaryGenreRPG captures enum value "RPG" AppUpdatePrimaryGenreRPG string = "RPG" // 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 ( // BasicItemAppTypeGAME captures enum value "GAME" BasicItemAppTypeGAME string = "GAME" // BasicItemAppTypeSOFTWARE captures enum value "SOFTWARE" BasicItemAppTypeSOFTWARE string = "SOFTWARE" // BasicItemAppTypeDLC captures enum value "DLC" BasicItemAppTypeDLC string = "DLC" // BasicItemAppTypeDEMO captures enum value "DEMO" BasicItemAppTypeDEMO string = "DEMO" )
const ( // BasicItemEntitlementTypeDURABLE captures enum value "DURABLE" BasicItemEntitlementTypeDURABLE string = "DURABLE" // BasicItemEntitlementTypeCONSUMABLE captures enum value "CONSUMABLE" BasicItemEntitlementTypeCONSUMABLE string = "CONSUMABLE" )
const ( // BasicItemItemTypeAPP captures enum value "APP" BasicItemItemTypeAPP string = "APP" // BasicItemItemTypeCOINS captures enum value "COINS" BasicItemItemTypeCOINS string = "COINS" // BasicItemItemTypeINGAMEITEM captures enum value "INGAMEITEM" BasicItemItemTypeINGAMEITEM string = "INGAMEITEM" // BasicItemItemTypeBUNDLE captures enum value "BUNDLE" BasicItemItemTypeBUNDLE string = "BUNDLE" // BasicItemItemTypeCODE captures enum value "CODE" BasicItemItemTypeCODE string = "CODE" // BasicItemItemTypeSUBSCRIPTION captures enum value "SUBSCRIPTION" BasicItemItemTypeSUBSCRIPTION string = "SUBSCRIPTION" )
const ( // BasicItemStatusACTIVE captures enum value "ACTIVE" BasicItemStatusACTIVE string = "ACTIVE" // BasicItemStatusINACTIVE captures enum value "INACTIVE" BasicItemStatusINACTIVE string = "INACTIVE" )
const ( // CreditRequestSourcePURCHASE captures enum value "PURCHASE" CreditRequestSourcePURCHASE string = "PURCHASE" // CreditRequestSourceIAP captures enum value "IAP" CreditRequestSourceIAP string = "IAP" // CreditRequestSourcePROMOTION captures enum value "PROMOTION" CreditRequestSourcePROMOTION string = "PROMOTION" // CreditRequestSourceACHIEVEMENT captures enum value "ACHIEVEMENT" CreditRequestSourceACHIEVEMENT string = "ACHIEVEMENT" // CreditRequestSourceREFERRALBONUS captures enum value "REFERRAL_BONUS" CreditRequestSourceREFERRALBONUS string = "REFERRAL_BONUS" // CreditRequestSourceREDEEMCODE captures enum value "REDEEM_CODE" CreditRequestSourceREDEEMCODE string = "REDEEM_CODE" // CreditRequestSourceREFUND captures enum value "REFUND" CreditRequestSourceREFUND string = "REFUND" // CreditRequestSourceOTHER captures enum value "OTHER" CreditRequestSourceOTHER string = "OTHER" )
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 ( // EntitlementGrantSourcePURCHASE captures enum value "PURCHASE" EntitlementGrantSourcePURCHASE string = "PURCHASE" // EntitlementGrantSourceIAP captures enum value "IAP" EntitlementGrantSourceIAP string = "IAP" // EntitlementGrantSourcePROMOTION captures enum value "PROMOTION" EntitlementGrantSourcePROMOTION string = "PROMOTION" // EntitlementGrantSourceACHIEVEMENT captures enum value "ACHIEVEMENT" EntitlementGrantSourceACHIEVEMENT string = "ACHIEVEMENT" // EntitlementGrantSourceREFERRALBONUS captures enum value "REFERRAL_BONUS" EntitlementGrantSourceREFERRALBONUS string = "REFERRAL_BONUS" // EntitlementGrantSourceREDEEMCODE captures enum value "REDEEM_CODE" EntitlementGrantSourceREDEEMCODE string = "REDEEM_CODE" // EntitlementGrantSourceOTHER captures enum value "OTHER" EntitlementGrantSourceOTHER string = "OTHER" )
const ( // EntitlementHistoryInfoActionGRANT captures enum value "GRANT" EntitlementHistoryInfoActionGRANT string = "GRANT" // EntitlementHistoryInfoActionUPDATE captures enum value "UPDATE" EntitlementHistoryInfoActionUPDATE string = "UPDATE" // EntitlementHistoryInfoActionDECREMENT captures enum value "DECREMENT" EntitlementHistoryInfoActionDECREMENT string = "DECREMENT" // EntitlementHistoryInfoActionREVOKE captures enum value "REVOKE" EntitlementHistoryInfoActionREVOKE string = "REVOKE" // EntitlementHistoryInfoActionDISABLE captures enum value "DISABLE" EntitlementHistoryInfoActionDISABLE string = "DISABLE" // EntitlementHistoryInfoActionENABLE captures enum value "ENABLE" EntitlementHistoryInfoActionENABLE string = "ENABLE" // EntitlementHistoryInfoActionDISTRIBUTE captures enum value "DISTRIBUTE" EntitlementHistoryInfoActionDISTRIBUTE string = "DISTRIBUTE" )
const ( // EntitlementInfoAppTypeGAME captures enum value "GAME" EntitlementInfoAppTypeGAME string = "GAME" // EntitlementInfoAppTypeSOFTWARE captures enum value "SOFTWARE" EntitlementInfoAppTypeSOFTWARE string = "SOFTWARE" // EntitlementInfoAppTypeDLC captures enum value "DLC" EntitlementInfoAppTypeDLC string = "DLC" // EntitlementInfoAppTypeDEMO captures enum value "DEMO" EntitlementInfoAppTypeDEMO string = "DEMO" )
const ( // EntitlementInfoClazzAPP captures enum value "APP" EntitlementInfoClazzAPP string = "APP" // EntitlementInfoClazzENTITLEMENT captures enum value "ENTITLEMENT" EntitlementInfoClazzENTITLEMENT string = "ENTITLEMENT" // EntitlementInfoClazzDISTRIBUTION captures enum value "DISTRIBUTION" EntitlementInfoClazzDISTRIBUTION string = "DISTRIBUTION" // EntitlementInfoClazzCODE captures enum value "CODE" EntitlementInfoClazzCODE string = "CODE" // EntitlementInfoClazzSUBSCRIPTION captures enum value "SUBSCRIPTION" EntitlementInfoClazzSUBSCRIPTION string = "SUBSCRIPTION" )
const ( // EntitlementInfoSourcePURCHASE captures enum value "PURCHASE" EntitlementInfoSourcePURCHASE string = "PURCHASE" // EntitlementInfoSourceIAP captures enum value "IAP" EntitlementInfoSourceIAP string = "IAP" // EntitlementInfoSourcePROMOTION captures enum value "PROMOTION" EntitlementInfoSourcePROMOTION string = "PROMOTION" // EntitlementInfoSourceACHIEVEMENT captures enum value "ACHIEVEMENT" EntitlementInfoSourceACHIEVEMENT string = "ACHIEVEMENT" // EntitlementInfoSourceREFERRALBONUS captures enum value "REFERRAL_BONUS" EntitlementInfoSourceREFERRALBONUS string = "REFERRAL_BONUS" // EntitlementInfoSourceREDEEMCODE captures enum value "REDEEM_CODE" EntitlementInfoSourceREDEEMCODE string = "REDEEM_CODE" // EntitlementInfoSourceOTHER captures enum value "OTHER" EntitlementInfoSourceOTHER string = "OTHER" )
const ( // EntitlementInfoStatusACTIVE captures enum value "ACTIVE" EntitlementInfoStatusACTIVE string = "ACTIVE" // EntitlementInfoStatusINACTIVE captures enum value "INACTIVE" EntitlementInfoStatusINACTIVE string = "INACTIVE" // EntitlementInfoStatusCONSUMED captures enum value "CONSUMED" EntitlementInfoStatusCONSUMED string = "CONSUMED" // EntitlementInfoStatusDISTRIBUTED captures enum value "DISTRIBUTED" EntitlementInfoStatusDISTRIBUTED string = "DISTRIBUTED" // EntitlementInfoStatusREVOKED captures enum value "REVOKED" EntitlementInfoStatusREVOKED string = "REVOKED" )
const ( // EntitlementInfoTypeDURABLE captures enum value "DURABLE" EntitlementInfoTypeDURABLE string = "DURABLE" // EntitlementInfoTypeCONSUMABLE captures enum value "CONSUMABLE" EntitlementInfoTypeCONSUMABLE string = "CONSUMABLE" )
const ( // EntitlementSummaryClazzAPP captures enum value "APP" EntitlementSummaryClazzAPP string = "APP" // EntitlementSummaryClazzENTITLEMENT captures enum value "ENTITLEMENT" EntitlementSummaryClazzENTITLEMENT string = "ENTITLEMENT" // EntitlementSummaryClazzDISTRIBUTION captures enum value "DISTRIBUTION" EntitlementSummaryClazzDISTRIBUTION string = "DISTRIBUTION" // EntitlementSummaryClazzCODE captures enum value "CODE" EntitlementSummaryClazzCODE string = "CODE" // EntitlementSummaryClazzSUBSCRIPTION captures enum value "SUBSCRIPTION" EntitlementSummaryClazzSUBSCRIPTION string = "SUBSCRIPTION" )
const ( // EntitlementSummaryTypeDURABLE captures enum value "DURABLE" EntitlementSummaryTypeDURABLE string = "DURABLE" // EntitlementSummaryTypeCONSUMABLE captures enum value "CONSUMABLE" EntitlementSummaryTypeCONSUMABLE string = "CONSUMABLE" )
const ( // EntitlementUpdateStatusACTIVE captures enum value "ACTIVE" EntitlementUpdateStatusACTIVE string = "ACTIVE" // EntitlementUpdateStatusINACTIVE captures enum value "INACTIVE" EntitlementUpdateStatusINACTIVE string = "INACTIVE" // EntitlementUpdateStatusCONSUMED captures enum value "CONSUMED" EntitlementUpdateStatusCONSUMED string = "CONSUMED" // EntitlementUpdateStatusDISTRIBUTED captures enum value "DISTRIBUTED" EntitlementUpdateStatusDISTRIBUTED string = "DISTRIBUTED" // EntitlementUpdateStatusREVOKED captures enum value "REVOKED" EntitlementUpdateStatusREVOKED string = "REVOKED" )
const ( // ExternalPaymentOrderCreateItemTypeAPP captures enum value "APP" ExternalPaymentOrderCreateItemTypeAPP string = "APP" // ExternalPaymentOrderCreateItemTypeCOINS captures enum value "COINS" ExternalPaymentOrderCreateItemTypeCOINS string = "COINS" // ExternalPaymentOrderCreateItemTypeINGAMEITEM captures enum value "INGAMEITEM" ExternalPaymentOrderCreateItemTypeINGAMEITEM string = "INGAMEITEM" // ExternalPaymentOrderCreateItemTypeBUNDLE captures enum value "BUNDLE" ExternalPaymentOrderCreateItemTypeBUNDLE string = "BUNDLE" // ExternalPaymentOrderCreateItemTypeCODE captures enum value "CODE" ExternalPaymentOrderCreateItemTypeCODE string = "CODE" // ExternalPaymentOrderCreateItemTypeSUBSCRIPTION captures enum value "SUBSCRIPTION" ExternalPaymentOrderCreateItemTypeSUBSCRIPTION string = "SUBSCRIPTION" )
const ( // FulfillmentHistoryInfoStatusSUCCESS captures enum value "SUCCESS" FulfillmentHistoryInfoStatusSUCCESS string = "SUCCESS" // FulfillmentHistoryInfoStatusFAIL captures enum value "FAIL" FulfillmentHistoryInfoStatusFAIL string = "FAIL" )
const ( // FulfillmentRequestSourcePURCHASE captures enum value "PURCHASE" FulfillmentRequestSourcePURCHASE string = "PURCHASE" // FulfillmentRequestSourceIAP captures enum value "IAP" FulfillmentRequestSourceIAP string = "IAP" // FulfillmentRequestSourcePROMOTION captures enum value "PROMOTION" FulfillmentRequestSourcePROMOTION string = "PROMOTION" // FulfillmentRequestSourceACHIEVEMENT captures enum value "ACHIEVEMENT" FulfillmentRequestSourceACHIEVEMENT string = "ACHIEVEMENT" // FulfillmentRequestSourceREFERRALBONUS captures enum value "REFERRAL_BONUS" FulfillmentRequestSourceREFERRALBONUS string = "REFERRAL_BONUS" // FulfillmentRequestSourceREDEEMCODE captures enum value "REDEEM_CODE" FulfillmentRequestSourceREDEEMCODE string = "REDEEM_CODE" // FulfillmentRequestSourceOTHER captures enum value "OTHER" FulfillmentRequestSourceOTHER string = "OTHER" )
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" // FullAppInfoPrimaryGenreRacing captures enum value "Racing" FullAppInfoPrimaryGenreRacing string = "Racing" // FullAppInfoPrimaryGenreRPG captures enum value "RPG" FullAppInfoPrimaryGenreRPG string = "RPG" // 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 ( // FullItemInfoAppTypeGAME captures enum value "GAME" FullItemInfoAppTypeGAME string = "GAME" // FullItemInfoAppTypeSOFTWARE captures enum value "SOFTWARE" FullItemInfoAppTypeSOFTWARE string = "SOFTWARE" // FullItemInfoAppTypeDLC captures enum value "DLC" FullItemInfoAppTypeDLC string = "DLC" // FullItemInfoAppTypeDEMO captures enum value "DEMO" FullItemInfoAppTypeDEMO string = "DEMO" )
const ( // FullItemInfoEntitlementTypeDURABLE captures enum value "DURABLE" FullItemInfoEntitlementTypeDURABLE string = "DURABLE" // FullItemInfoEntitlementTypeCONSUMABLE captures enum value "CONSUMABLE" FullItemInfoEntitlementTypeCONSUMABLE string = "CONSUMABLE" )
const ( // FullItemInfoItemTypeAPP captures enum value "APP" FullItemInfoItemTypeAPP string = "APP" // FullItemInfoItemTypeCOINS captures enum value "COINS" FullItemInfoItemTypeCOINS string = "COINS" // FullItemInfoItemTypeINGAMEITEM captures enum value "INGAMEITEM" FullItemInfoItemTypeINGAMEITEM string = "INGAMEITEM" // FullItemInfoItemTypeBUNDLE captures enum value "BUNDLE" FullItemInfoItemTypeBUNDLE string = "BUNDLE" // FullItemInfoItemTypeCODE captures enum value "CODE" FullItemInfoItemTypeCODE string = "CODE" // FullItemInfoItemTypeSUBSCRIPTION captures enum value "SUBSCRIPTION" FullItemInfoItemTypeSUBSCRIPTION string = "SUBSCRIPTION" )
const ( // FullItemInfoStatusACTIVE captures enum value "ACTIVE" FullItemInfoStatusACTIVE string = "ACTIVE" // FullItemInfoStatusINACTIVE captures enum value "INACTIVE" FullItemInfoStatusINACTIVE string = "INACTIVE" )
const ( // IAPOrderInfoStatusVERIFIED captures enum value "VERIFIED" IAPOrderInfoStatusVERIFIED string = "VERIFIED" // IAPOrderInfoStatusFULFILLED captures enum value "FULFILLED" IAPOrderInfoStatusFULFILLED string = "FULFILLED" // IAPOrderInfoStatusFAILED captures enum value "FAILED" IAPOrderInfoStatusFAILED string = "FAILED" )
const ( // IAPOrderInfoTypeAPPLE captures enum value "APPLE" IAPOrderInfoTypeAPPLE string = "APPLE" // IAPOrderInfoTypeGOOGLE captures enum value "GOOGLE" IAPOrderInfoTypeGOOGLE string = "GOOGLE" // IAPOrderInfoTypePLAYSTATION captures enum value "PLAYSTATION" IAPOrderInfoTypePLAYSTATION string = "PLAYSTATION" // IAPOrderInfoTypeSTEAM captures enum value "STEAM" IAPOrderInfoTypeSTEAM string = "STEAM" // IAPOrderInfoTypeXBOX captures enum value "XBOX" IAPOrderInfoTypeXBOX string = "XBOX" // IAPOrderInfoTypeSTADIA captures enum value "STADIA" IAPOrderInfoTypeSTADIA string = "STADIA" // IAPOrderInfoTypeEPICGAMES captures enum value "EPICGAMES" IAPOrderInfoTypeEPICGAMES string = "EPICGAMES" )
const ( // ItemCreateAppTypeGAME captures enum value "GAME" ItemCreateAppTypeGAME string = "GAME" // ItemCreateAppTypeSOFTWARE captures enum value "SOFTWARE" ItemCreateAppTypeSOFTWARE string = "SOFTWARE" // ItemCreateAppTypeDLC captures enum value "DLC" ItemCreateAppTypeDLC string = "DLC" // ItemCreateAppTypeDEMO captures enum value "DEMO" ItemCreateAppTypeDEMO string = "DEMO" )
const ( // ItemCreateEntitlementTypeDURABLE captures enum value "DURABLE" ItemCreateEntitlementTypeDURABLE string = "DURABLE" // ItemCreateEntitlementTypeCONSUMABLE captures enum value "CONSUMABLE" ItemCreateEntitlementTypeCONSUMABLE string = "CONSUMABLE" )
const ( // ItemCreateItemTypeAPP captures enum value "APP" ItemCreateItemTypeAPP string = "APP" // ItemCreateItemTypeCOINS captures enum value "COINS" ItemCreateItemTypeCOINS string = "COINS" // ItemCreateItemTypeINGAMEITEM captures enum value "INGAMEITEM" ItemCreateItemTypeINGAMEITEM string = "INGAMEITEM" // ItemCreateItemTypeBUNDLE captures enum value "BUNDLE" ItemCreateItemTypeBUNDLE string = "BUNDLE" // ItemCreateItemTypeCODE captures enum value "CODE" ItemCreateItemTypeCODE string = "CODE" // ItemCreateItemTypeSUBSCRIPTION captures enum value "SUBSCRIPTION" ItemCreateItemTypeSUBSCRIPTION string = "SUBSCRIPTION" )
const ( // ItemCreateStatusACTIVE captures enum value "ACTIVE" ItemCreateStatusACTIVE string = "ACTIVE" // ItemCreateStatusINACTIVE captures enum value "INACTIVE" ItemCreateStatusINACTIVE string = "INACTIVE" )
const ( // ItemInfoAppTypeGAME captures enum value "GAME" ItemInfoAppTypeGAME string = "GAME" // ItemInfoAppTypeSOFTWARE captures enum value "SOFTWARE" ItemInfoAppTypeSOFTWARE string = "SOFTWARE" // ItemInfoAppTypeDLC captures enum value "DLC" ItemInfoAppTypeDLC string = "DLC" // ItemInfoAppTypeDEMO captures enum value "DEMO" ItemInfoAppTypeDEMO string = "DEMO" )
const ( // ItemInfoEntitlementTypeDURABLE captures enum value "DURABLE" ItemInfoEntitlementTypeDURABLE string = "DURABLE" // ItemInfoEntitlementTypeCONSUMABLE captures enum value "CONSUMABLE" ItemInfoEntitlementTypeCONSUMABLE string = "CONSUMABLE" )
const ( // ItemInfoItemTypeAPP captures enum value "APP" ItemInfoItemTypeAPP string = "APP" // ItemInfoItemTypeCOINS captures enum value "COINS" ItemInfoItemTypeCOINS string = "COINS" // ItemInfoItemTypeINGAMEITEM captures enum value "INGAMEITEM" ItemInfoItemTypeINGAMEITEM string = "INGAMEITEM" // ItemInfoItemTypeBUNDLE captures enum value "BUNDLE" ItemInfoItemTypeBUNDLE string = "BUNDLE" // ItemInfoItemTypeCODE captures enum value "CODE" ItemInfoItemTypeCODE string = "CODE" // ItemInfoItemTypeSUBSCRIPTION captures enum value "SUBSCRIPTION" ItemInfoItemTypeSUBSCRIPTION string = "SUBSCRIPTION" )
const ( // ItemInfoStatusACTIVE captures enum value "ACTIVE" ItemInfoStatusACTIVE string = "ACTIVE" // ItemInfoStatusINACTIVE captures enum value "INACTIVE" ItemInfoStatusINACTIVE string = "INACTIVE" )
const ( // ItemSnapshotAppTypeGAME captures enum value "GAME" ItemSnapshotAppTypeGAME string = "GAME" // ItemSnapshotAppTypeSOFTWARE captures enum value "SOFTWARE" ItemSnapshotAppTypeSOFTWARE string = "SOFTWARE" // ItemSnapshotAppTypeDLC captures enum value "DLC" ItemSnapshotAppTypeDLC string = "DLC" // ItemSnapshotAppTypeDEMO captures enum value "DEMO" ItemSnapshotAppTypeDEMO string = "DEMO" )
const ( // ItemSnapshotEntitlementTypeDURABLE captures enum value "DURABLE" ItemSnapshotEntitlementTypeDURABLE string = "DURABLE" // ItemSnapshotEntitlementTypeCONSUMABLE captures enum value "CONSUMABLE" ItemSnapshotEntitlementTypeCONSUMABLE string = "CONSUMABLE" )
const ( // ItemSnapshotItemTypeAPP captures enum value "APP" ItemSnapshotItemTypeAPP string = "APP" // ItemSnapshotItemTypeCOINS captures enum value "COINS" ItemSnapshotItemTypeCOINS string = "COINS" // ItemSnapshotItemTypeINGAMEITEM captures enum value "INGAMEITEM" ItemSnapshotItemTypeINGAMEITEM string = "INGAMEITEM" // ItemSnapshotItemTypeBUNDLE captures enum value "BUNDLE" ItemSnapshotItemTypeBUNDLE string = "BUNDLE" // ItemSnapshotItemTypeCODE captures enum value "CODE" ItemSnapshotItemTypeCODE string = "CODE" // ItemSnapshotItemTypeSUBSCRIPTION captures enum value "SUBSCRIPTION" ItemSnapshotItemTypeSUBSCRIPTION string = "SUBSCRIPTION" )
const ( // ItemUpdateAppTypeGAME captures enum value "GAME" ItemUpdateAppTypeGAME string = "GAME" // ItemUpdateAppTypeSOFTWARE captures enum value "SOFTWARE" ItemUpdateAppTypeSOFTWARE string = "SOFTWARE" // ItemUpdateAppTypeDLC captures enum value "DLC" ItemUpdateAppTypeDLC string = "DLC" // ItemUpdateAppTypeDEMO captures enum value "DEMO" ItemUpdateAppTypeDEMO string = "DEMO" )
const ( // ItemUpdateEntitlementTypeDURABLE captures enum value "DURABLE" ItemUpdateEntitlementTypeDURABLE string = "DURABLE" // ItemUpdateEntitlementTypeCONSUMABLE captures enum value "CONSUMABLE" ItemUpdateEntitlementTypeCONSUMABLE string = "CONSUMABLE" )
const ( // ItemUpdateItemTypeAPP captures enum value "APP" ItemUpdateItemTypeAPP string = "APP" // ItemUpdateItemTypeCOINS captures enum value "COINS" ItemUpdateItemTypeCOINS string = "COINS" // ItemUpdateItemTypeINGAMEITEM captures enum value "INGAMEITEM" ItemUpdateItemTypeINGAMEITEM string = "INGAMEITEM" // ItemUpdateItemTypeBUNDLE captures enum value "BUNDLE" ItemUpdateItemTypeBUNDLE string = "BUNDLE" // ItemUpdateItemTypeCODE captures enum value "CODE" ItemUpdateItemTypeCODE string = "CODE" // ItemUpdateItemTypeSUBSCRIPTION captures enum value "SUBSCRIPTION" ItemUpdateItemTypeSUBSCRIPTION string = "SUBSCRIPTION" )
const ( // ItemUpdateStatusACTIVE captures enum value "ACTIVE" ItemUpdateStatusACTIVE string = "ACTIVE" // ItemUpdateStatusINACTIVE captures enum value "INACTIVE" ItemUpdateStatusINACTIVE string = "INACTIVE" )
const ( // MockIAPReceiptTypeAPPLE captures enum value "APPLE" MockIAPReceiptTypeAPPLE string = "APPLE" // MockIAPReceiptTypeGOOGLE captures enum value "GOOGLE" MockIAPReceiptTypeGOOGLE string = "GOOGLE" // MockIAPReceiptTypePLAYSTATION captures enum value "PLAYSTATION" MockIAPReceiptTypePLAYSTATION string = "PLAYSTATION" // MockIAPReceiptTypeSTEAM captures enum value "STEAM" MockIAPReceiptTypeSTEAM string = "STEAM" // MockIAPReceiptTypeXBOX captures enum value "XBOX" MockIAPReceiptTypeXBOX string = "XBOX" // MockIAPReceiptTypeSTADIA captures enum value "STADIA" MockIAPReceiptTypeSTADIA string = "STADIA" // MockIAPReceiptTypeEPICGAMES captures enum value "EPICGAMES" MockIAPReceiptTypeEPICGAMES string = "EPICGAMES" )
const ( // OrderPaymentProviderWALLET captures enum value "WALLET" OrderPaymentProviderWALLET string = "WALLET" // OrderPaymentProviderXSOLLA captures enum value "XSOLLA" OrderPaymentProviderXSOLLA string = "XSOLLA" // OrderPaymentProviderADYEN captures enum value "ADYEN" OrderPaymentProviderADYEN string = "ADYEN" // OrderPaymentProviderSTRIPE captures enum value "STRIPE" OrderPaymentProviderSTRIPE string = "STRIPE" // OrderPaymentProviderCHECKOUT captures enum value "CHECKOUT" OrderPaymentProviderCHECKOUT string = "CHECKOUT" // OrderPaymentProviderALIPAY captures enum value "ALIPAY" OrderPaymentProviderALIPAY string = "ALIPAY" // OrderPaymentProviderWXPAY captures enum value "WXPAY" OrderPaymentProviderWXPAY string = "WXPAY" // OrderPaymentProviderPAYPAL captures enum value "PAYPAL" OrderPaymentProviderPAYPAL string = "PAYPAL" )
const ( // OrderStatusINIT captures enum value "INIT" OrderStatusINIT string = "INIT" // OrderStatusCHARGED captures enum value "CHARGED" OrderStatusCHARGED string = "CHARGED" // OrderStatusCHARGEBACK captures enum value "CHARGEBACK" OrderStatusCHARGEBACK string = "CHARGEBACK" // OrderStatusCHARGEBACKREVERSED captures enum value "CHARGEBACK_REVERSED" OrderStatusCHARGEBACKREVERSED string = "CHARGEBACK_REVERSED" // OrderStatusFULFILLED captures enum value "FULFILLED" OrderStatusFULFILLED string = "FULFILLED" // OrderStatusFULFILLFAILED captures enum value "FULFILL_FAILED" OrderStatusFULFILLFAILED string = "FULFILL_FAILED" // OrderStatusREFUNDING captures enum value "REFUNDING" OrderStatusREFUNDING string = "REFUNDING" // OrderStatusREFUNDED captures enum value "REFUNDED" OrderStatusREFUNDED string = "REFUNDED" // OrderStatusREFUNDFAILED captures enum value "REFUND_FAILED" OrderStatusREFUNDFAILED string = "REFUND_FAILED" // OrderStatusCLOSED captures enum value "CLOSED" OrderStatusCLOSED string = "CLOSED" // OrderStatusDELETED captures enum value "DELETED" OrderStatusDELETED string = "DELETED" )
const ( // OrderHistoryInfoActionINIT captures enum value "INIT" OrderHistoryInfoActionINIT string = "INIT" // OrderHistoryInfoActionCHARGED captures enum value "CHARGED" OrderHistoryInfoActionCHARGED string = "CHARGED" // OrderHistoryInfoActionCHARGEBACK captures enum value "CHARGEBACK" OrderHistoryInfoActionCHARGEBACK string = "CHARGEBACK" // OrderHistoryInfoActionCHARGEBACKREVERSED captures enum value "CHARGEBACK_REVERSED" OrderHistoryInfoActionCHARGEBACKREVERSED string = "CHARGEBACK_REVERSED" // OrderHistoryInfoActionFULFILLED captures enum value "FULFILLED" OrderHistoryInfoActionFULFILLED string = "FULFILLED" // OrderHistoryInfoActionFULFILLFAILED captures enum value "FULFILL_FAILED" OrderHistoryInfoActionFULFILLFAILED string = "FULFILL_FAILED" // OrderHistoryInfoActionREFUNDING captures enum value "REFUNDING" OrderHistoryInfoActionREFUNDING string = "REFUNDING" // OrderHistoryInfoActionREFUNDED captures enum value "REFUNDED" OrderHistoryInfoActionREFUNDED string = "REFUNDED" // OrderHistoryInfoActionREFUNDFAILED captures enum value "REFUND_FAILED" OrderHistoryInfoActionREFUNDFAILED string = "REFUND_FAILED" // OrderHistoryInfoActionCLOSE captures enum value "CLOSE" OrderHistoryInfoActionCLOSE string = "CLOSE" // OrderHistoryInfoActionDELETED captures enum value "DELETED" OrderHistoryInfoActionDELETED string = "DELETED" // OrderHistoryInfoActionSETSTATUS captures enum value "SET_STATUS" OrderHistoryInfoActionSETSTATUS string = "SET_STATUS" )
const ( // OrderInfoPaymentProviderWALLET captures enum value "WALLET" OrderInfoPaymentProviderWALLET string = "WALLET" // OrderInfoPaymentProviderXSOLLA captures enum value "XSOLLA" OrderInfoPaymentProviderXSOLLA string = "XSOLLA" // OrderInfoPaymentProviderADYEN captures enum value "ADYEN" OrderInfoPaymentProviderADYEN string = "ADYEN" // OrderInfoPaymentProviderSTRIPE captures enum value "STRIPE" OrderInfoPaymentProviderSTRIPE string = "STRIPE" // OrderInfoPaymentProviderCHECKOUT captures enum value "CHECKOUT" OrderInfoPaymentProviderCHECKOUT string = "CHECKOUT" // OrderInfoPaymentProviderALIPAY captures enum value "ALIPAY" OrderInfoPaymentProviderALIPAY string = "ALIPAY" // OrderInfoPaymentProviderWXPAY captures enum value "WXPAY" OrderInfoPaymentProviderWXPAY string = "WXPAY" // OrderInfoPaymentProviderPAYPAL captures enum value "PAYPAL" OrderInfoPaymentProviderPAYPAL string = "PAYPAL" )
const ( // OrderInfoStatusINIT captures enum value "INIT" OrderInfoStatusINIT string = "INIT" // OrderInfoStatusCHARGED captures enum value "CHARGED" OrderInfoStatusCHARGED string = "CHARGED" // OrderInfoStatusCHARGEBACK captures enum value "CHARGEBACK" OrderInfoStatusCHARGEBACK string = "CHARGEBACK" // OrderInfoStatusCHARGEBACKREVERSED captures enum value "CHARGEBACK_REVERSED" OrderInfoStatusCHARGEBACKREVERSED string = "CHARGEBACK_REVERSED" // OrderInfoStatusFULFILLED captures enum value "FULFILLED" OrderInfoStatusFULFILLED string = "FULFILLED" // OrderInfoStatusFULFILLFAILED captures enum value "FULFILL_FAILED" OrderInfoStatusFULFILLFAILED string = "FULFILL_FAILED" // OrderInfoStatusREFUNDING captures enum value "REFUNDING" OrderInfoStatusREFUNDING string = "REFUNDING" // OrderInfoStatusREFUNDED captures enum value "REFUNDED" OrderInfoStatusREFUNDED string = "REFUNDED" // OrderInfoStatusREFUNDFAILED captures enum value "REFUND_FAILED" OrderInfoStatusREFUNDFAILED string = "REFUND_FAILED" // OrderInfoStatusCLOSED captures enum value "CLOSED" OrderInfoStatusCLOSED string = "CLOSED" // OrderInfoStatusDELETED captures enum value "DELETED" OrderInfoStatusDELETED string = "DELETED" )
const ( // OrderUpdateStatusINIT captures enum value "INIT" OrderUpdateStatusINIT string = "INIT" // OrderUpdateStatusCHARGED captures enum value "CHARGED" OrderUpdateStatusCHARGED string = "CHARGED" // OrderUpdateStatusCHARGEBACK captures enum value "CHARGEBACK" OrderUpdateStatusCHARGEBACK string = "CHARGEBACK" // OrderUpdateStatusCHARGEBACKREVERSED captures enum value "CHARGEBACK_REVERSED" OrderUpdateStatusCHARGEBACKREVERSED string = "CHARGEBACK_REVERSED" // OrderUpdateStatusFULFILLED captures enum value "FULFILLED" OrderUpdateStatusFULFILLED string = "FULFILLED" // OrderUpdateStatusFULFILLFAILED captures enum value "FULFILL_FAILED" OrderUpdateStatusFULFILLFAILED string = "FULFILL_FAILED" // OrderUpdateStatusREFUNDING captures enum value "REFUNDING" OrderUpdateStatusREFUNDING string = "REFUNDING" // OrderUpdateStatusREFUNDED captures enum value "REFUNDED" OrderUpdateStatusREFUNDED string = "REFUNDED" // OrderUpdateStatusREFUNDFAILED captures enum value "REFUND_FAILED" OrderUpdateStatusREFUNDFAILED string = "REFUND_FAILED" // OrderUpdateStatusCLOSED captures enum value "CLOSED" OrderUpdateStatusCLOSED string = "CLOSED" // OrderUpdateStatusDELETED captures enum value "DELETED" OrderUpdateStatusDELETED string = "DELETED" )
const ( // PaymentAccountTypeCard captures enum value "card" PaymentAccountTypeCard string = "card" // PaymentAccountTypePaypal captures enum value "paypal" PaymentAccountTypePaypal string = "paypal" )
const ( // PaymentMethodPaymentProviderWALLET captures enum value "WALLET" PaymentMethodPaymentProviderWALLET string = "WALLET" // PaymentMethodPaymentProviderXSOLLA captures enum value "XSOLLA" PaymentMethodPaymentProviderXSOLLA string = "XSOLLA" // PaymentMethodPaymentProviderADYEN captures enum value "ADYEN" PaymentMethodPaymentProviderADYEN string = "ADYEN" // PaymentMethodPaymentProviderSTRIPE captures enum value "STRIPE" PaymentMethodPaymentProviderSTRIPE string = "STRIPE" // PaymentMethodPaymentProviderCHECKOUT captures enum value "CHECKOUT" PaymentMethodPaymentProviderCHECKOUT string = "CHECKOUT" // PaymentMethodPaymentProviderALIPAY captures enum value "ALIPAY" PaymentMethodPaymentProviderALIPAY string = "ALIPAY" // PaymentMethodPaymentProviderWXPAY captures enum value "WXPAY" PaymentMethodPaymentProviderWXPAY string = "WXPAY" // PaymentMethodPaymentProviderPAYPAL captures enum value "PAYPAL" PaymentMethodPaymentProviderPAYPAL string = "PAYPAL" )
const ( // PaymentNotificationInfoNotificationSourceWALLET captures enum value "WALLET" PaymentNotificationInfoNotificationSourceWALLET string = "WALLET" // PaymentNotificationInfoNotificationSourceXSOLLA captures enum value "XSOLLA" PaymentNotificationInfoNotificationSourceXSOLLA string = "XSOLLA" // PaymentNotificationInfoNotificationSourceADYEN captures enum value "ADYEN" PaymentNotificationInfoNotificationSourceADYEN string = "ADYEN" // PaymentNotificationInfoNotificationSourceSTRIPE captures enum value "STRIPE" PaymentNotificationInfoNotificationSourceSTRIPE string = "STRIPE" // PaymentNotificationInfoNotificationSourceCHECKOUT captures enum value "CHECKOUT" PaymentNotificationInfoNotificationSourceCHECKOUT string = "CHECKOUT" // PaymentNotificationInfoNotificationSourceALIPAY captures enum value "ALIPAY" PaymentNotificationInfoNotificationSourceALIPAY string = "ALIPAY" // PaymentNotificationInfoNotificationSourceWXPAY captures enum value "WXPAY" PaymentNotificationInfoNotificationSourceWXPAY string = "WXPAY" // PaymentNotificationInfoNotificationSourcePAYPAL captures enum value "PAYPAL" PaymentNotificationInfoNotificationSourcePAYPAL string = "PAYPAL" )
const ( // PaymentNotificationInfoStatusPROCESSED captures enum value "PROCESSED" PaymentNotificationInfoStatusPROCESSED string = "PROCESSED" // PaymentNotificationInfoStatusERROR captures enum value "ERROR" PaymentNotificationInfoStatusERROR string = "ERROR" // PaymentNotificationInfoStatusWARN captures enum value "WARN" PaymentNotificationInfoStatusWARN string = "WARN" // PaymentNotificationInfoStatusIGNORED captures enum value "IGNORED" PaymentNotificationInfoStatusIGNORED string = "IGNORED" )
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" // PaymentOrderItemTypeCOINS captures enum value "COINS" PaymentOrderItemTypeCOINS string = "COINS" // PaymentOrderItemTypeINGAMEITEM captures enum value "INGAMEITEM" PaymentOrderItemTypeINGAMEITEM string = "INGAMEITEM" // PaymentOrderItemTypeBUNDLE captures enum value "BUNDLE" PaymentOrderItemTypeBUNDLE string = "BUNDLE" // PaymentOrderItemTypeCODE captures enum value "CODE" PaymentOrderItemTypeCODE string = "CODE" // PaymentOrderItemTypeSUBSCRIPTION captures enum value "SUBSCRIPTION" PaymentOrderItemTypeSUBSCRIPTION string = "SUBSCRIPTION" )
const ( // PaymentOrderPaymentProviderWALLET captures enum value "WALLET" PaymentOrderPaymentProviderWALLET string = "WALLET" // PaymentOrderPaymentProviderXSOLLA captures enum value "XSOLLA" PaymentOrderPaymentProviderXSOLLA string = "XSOLLA" // PaymentOrderPaymentProviderADYEN captures enum value "ADYEN" PaymentOrderPaymentProviderADYEN string = "ADYEN" // PaymentOrderPaymentProviderSTRIPE captures enum value "STRIPE" PaymentOrderPaymentProviderSTRIPE string = "STRIPE" // PaymentOrderPaymentProviderCHECKOUT captures enum value "CHECKOUT" PaymentOrderPaymentProviderCHECKOUT string = "CHECKOUT" // PaymentOrderPaymentProviderALIPAY captures enum value "ALIPAY" PaymentOrderPaymentProviderALIPAY string = "ALIPAY" // PaymentOrderPaymentProviderWXPAY captures enum value "WXPAY" PaymentOrderPaymentProviderWXPAY string = "WXPAY" // PaymentOrderPaymentProviderPAYPAL captures enum value "PAYPAL" PaymentOrderPaymentProviderPAYPAL string = "PAYPAL" )
const ( // PaymentOrderStatusINIT captures enum value "INIT" PaymentOrderStatusINIT string = "INIT" // PaymentOrderStatusAUTHORISED captures enum value "AUTHORISED" PaymentOrderStatusAUTHORISED string = "AUTHORISED" // PaymentOrderStatusAUTHORISEFAILED captures enum value "AUTHORISE_FAILED" PaymentOrderStatusAUTHORISEFAILED string = "AUTHORISE_FAILED" // PaymentOrderStatusCHARGED captures enum value "CHARGED" PaymentOrderStatusCHARGED string = "CHARGED" // PaymentOrderStatusCHARGEFAILED captures enum value "CHARGE_FAILED" PaymentOrderStatusCHARGEFAILED string = "CHARGE_FAILED" // PaymentOrderStatusNOTIFICATIONOFCHARGEBACK captures enum value "NOTIFICATION_OF_CHARGEBACK" PaymentOrderStatusNOTIFICATIONOFCHARGEBACK string = "NOTIFICATION_OF_CHARGEBACK" // PaymentOrderStatusREQUESTFORINFORMATION captures enum value "REQUEST_FOR_INFORMATION" PaymentOrderStatusREQUESTFORINFORMATION string = "REQUEST_FOR_INFORMATION" // PaymentOrderStatusCHARGEBACK captures enum value "CHARGEBACK" PaymentOrderStatusCHARGEBACK string = "CHARGEBACK" // PaymentOrderStatusCHARGEBACKREVERSED captures enum value "CHARGEBACK_REVERSED" PaymentOrderStatusCHARGEBACKREVERSED string = "CHARGEBACK_REVERSED" // PaymentOrderStatusREFUNDING captures enum value "REFUNDING" PaymentOrderStatusREFUNDING string = "REFUNDING" // PaymentOrderStatusREFUNDED captures enum value "REFUNDED" PaymentOrderStatusREFUNDED string = "REFUNDED" // PaymentOrderStatusREFUNDFAILED captures enum value "REFUND_FAILED" PaymentOrderStatusREFUNDFAILED string = "REFUND_FAILED" // PaymentOrderStatusDELETED captures enum value "DELETED" PaymentOrderStatusDELETED string = "DELETED" )
const ( // PaymentOrderChargeRequestPaymentProviderWALLET captures enum value "WALLET" PaymentOrderChargeRequestPaymentProviderWALLET string = "WALLET" // PaymentOrderChargeRequestPaymentProviderXSOLLA captures enum value "XSOLLA" PaymentOrderChargeRequestPaymentProviderXSOLLA string = "XSOLLA" // PaymentOrderChargeRequestPaymentProviderADYEN captures enum value "ADYEN" PaymentOrderChargeRequestPaymentProviderADYEN string = "ADYEN" // PaymentOrderChargeRequestPaymentProviderSTRIPE captures enum value "STRIPE" PaymentOrderChargeRequestPaymentProviderSTRIPE string = "STRIPE" // PaymentOrderChargeRequestPaymentProviderCHECKOUT captures enum value "CHECKOUT" PaymentOrderChargeRequestPaymentProviderCHECKOUT string = "CHECKOUT" // PaymentOrderChargeRequestPaymentProviderALIPAY captures enum value "ALIPAY" PaymentOrderChargeRequestPaymentProviderALIPAY string = "ALIPAY" // PaymentOrderChargeRequestPaymentProviderWXPAY captures enum value "WXPAY" PaymentOrderChargeRequestPaymentProviderWXPAY string = "WXPAY" // PaymentOrderChargeRequestPaymentProviderPAYPAL captures enum value "PAYPAL" PaymentOrderChargeRequestPaymentProviderPAYPAL string = "PAYPAL" )
const ( // PaymentOrderChargeStatusStatusINIT captures enum value "INIT" PaymentOrderChargeStatusStatusINIT string = "INIT" // PaymentOrderChargeStatusStatusAUTHORISED captures enum value "AUTHORISED" PaymentOrderChargeStatusStatusAUTHORISED string = "AUTHORISED" // PaymentOrderChargeStatusStatusAUTHORISEFAILED captures enum value "AUTHORISE_FAILED" PaymentOrderChargeStatusStatusAUTHORISEFAILED string = "AUTHORISE_FAILED" // PaymentOrderChargeStatusStatusCHARGED captures enum value "CHARGED" PaymentOrderChargeStatusStatusCHARGED string = "CHARGED" // PaymentOrderChargeStatusStatusCHARGEFAILED captures enum value "CHARGE_FAILED" PaymentOrderChargeStatusStatusCHARGEFAILED string = "CHARGE_FAILED" // PaymentOrderChargeStatusStatusNOTIFICATIONOFCHARGEBACK captures enum value "NOTIFICATION_OF_CHARGEBACK" PaymentOrderChargeStatusStatusNOTIFICATIONOFCHARGEBACK string = "NOTIFICATION_OF_CHARGEBACK" // PaymentOrderChargeStatusStatusREQUESTFORINFORMATION captures enum value "REQUEST_FOR_INFORMATION" PaymentOrderChargeStatusStatusREQUESTFORINFORMATION string = "REQUEST_FOR_INFORMATION" // PaymentOrderChargeStatusStatusCHARGEBACK captures enum value "CHARGEBACK" PaymentOrderChargeStatusStatusCHARGEBACK string = "CHARGEBACK" // PaymentOrderChargeStatusStatusCHARGEBACKREVERSED captures enum value "CHARGEBACK_REVERSED" PaymentOrderChargeStatusStatusCHARGEBACKREVERSED string = "CHARGEBACK_REVERSED" // PaymentOrderChargeStatusStatusREFUNDING captures enum value "REFUNDING" PaymentOrderChargeStatusStatusREFUNDING string = "REFUNDING" // PaymentOrderChargeStatusStatusREFUNDED captures enum value "REFUNDED" PaymentOrderChargeStatusStatusREFUNDED string = "REFUNDED" // PaymentOrderChargeStatusStatusREFUNDFAILED captures enum value "REFUND_FAILED" PaymentOrderChargeStatusStatusREFUNDFAILED string = "REFUND_FAILED" // PaymentOrderChargeStatusStatusDELETED captures enum value "DELETED" PaymentOrderChargeStatusStatusDELETED string = "DELETED" )
const ( // PaymentOrderCreateItemTypeAPP captures enum value "APP" PaymentOrderCreateItemTypeAPP string = "APP" // PaymentOrderCreateItemTypeCOINS captures enum value "COINS" PaymentOrderCreateItemTypeCOINS string = "COINS" // PaymentOrderCreateItemTypeINGAMEITEM captures enum value "INGAMEITEM" PaymentOrderCreateItemTypeINGAMEITEM string = "INGAMEITEM" // PaymentOrderCreateItemTypeBUNDLE captures enum value "BUNDLE" PaymentOrderCreateItemTypeBUNDLE string = "BUNDLE" // PaymentOrderCreateItemTypeCODE captures enum value "CODE" PaymentOrderCreateItemTypeCODE string = "CODE" // PaymentOrderCreateItemTypeSUBSCRIPTION captures enum value "SUBSCRIPTION" PaymentOrderCreateItemTypeSUBSCRIPTION string = "SUBSCRIPTION" )
const ( // PaymentOrderCreateResultStatusINIT captures enum value "INIT" PaymentOrderCreateResultStatusINIT string = "INIT" // PaymentOrderCreateResultStatusAUTHORISED captures enum value "AUTHORISED" PaymentOrderCreateResultStatusAUTHORISED string = "AUTHORISED" // PaymentOrderCreateResultStatusAUTHORISEFAILED captures enum value "AUTHORISE_FAILED" PaymentOrderCreateResultStatusAUTHORISEFAILED string = "AUTHORISE_FAILED" // PaymentOrderCreateResultStatusCHARGED captures enum value "CHARGED" PaymentOrderCreateResultStatusCHARGED string = "CHARGED" // PaymentOrderCreateResultStatusCHARGEFAILED captures enum value "CHARGE_FAILED" PaymentOrderCreateResultStatusCHARGEFAILED string = "CHARGE_FAILED" // PaymentOrderCreateResultStatusNOTIFICATIONOFCHARGEBACK captures enum value "NOTIFICATION_OF_CHARGEBACK" PaymentOrderCreateResultStatusNOTIFICATIONOFCHARGEBACK string = "NOTIFICATION_OF_CHARGEBACK" // PaymentOrderCreateResultStatusREQUESTFORINFORMATION captures enum value "REQUEST_FOR_INFORMATION" PaymentOrderCreateResultStatusREQUESTFORINFORMATION string = "REQUEST_FOR_INFORMATION" // PaymentOrderCreateResultStatusCHARGEBACK captures enum value "CHARGEBACK" PaymentOrderCreateResultStatusCHARGEBACK string = "CHARGEBACK" // PaymentOrderCreateResultStatusCHARGEBACKREVERSED captures enum value "CHARGEBACK_REVERSED" PaymentOrderCreateResultStatusCHARGEBACKREVERSED string = "CHARGEBACK_REVERSED" // PaymentOrderCreateResultStatusREFUNDING captures enum value "REFUNDING" PaymentOrderCreateResultStatusREFUNDING string = "REFUNDING" // PaymentOrderCreateResultStatusREFUNDED captures enum value "REFUNDED" PaymentOrderCreateResultStatusREFUNDED string = "REFUNDED" // PaymentOrderCreateResultStatusREFUNDFAILED captures enum value "REFUND_FAILED" PaymentOrderCreateResultStatusREFUNDFAILED string = "REFUND_FAILED" // PaymentOrderCreateResultStatusDELETED captures enum value "DELETED" PaymentOrderCreateResultStatusDELETED string = "DELETED" )
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" // PaymentOrderInfoItemTypeCOINS captures enum value "COINS" PaymentOrderInfoItemTypeCOINS string = "COINS" // PaymentOrderInfoItemTypeINGAMEITEM captures enum value "INGAMEITEM" PaymentOrderInfoItemTypeINGAMEITEM string = "INGAMEITEM" // PaymentOrderInfoItemTypeBUNDLE captures enum value "BUNDLE" PaymentOrderInfoItemTypeBUNDLE string = "BUNDLE" // PaymentOrderInfoItemTypeCODE captures enum value "CODE" PaymentOrderInfoItemTypeCODE string = "CODE" // PaymentOrderInfoItemTypeSUBSCRIPTION captures enum value "SUBSCRIPTION" PaymentOrderInfoItemTypeSUBSCRIPTION string = "SUBSCRIPTION" )
const ( // PaymentOrderInfoPaymentProviderWALLET captures enum value "WALLET" PaymentOrderInfoPaymentProviderWALLET string = "WALLET" // PaymentOrderInfoPaymentProviderXSOLLA captures enum value "XSOLLA" PaymentOrderInfoPaymentProviderXSOLLA string = "XSOLLA" // PaymentOrderInfoPaymentProviderADYEN captures enum value "ADYEN" PaymentOrderInfoPaymentProviderADYEN string = "ADYEN" // PaymentOrderInfoPaymentProviderSTRIPE captures enum value "STRIPE" PaymentOrderInfoPaymentProviderSTRIPE string = "STRIPE" // PaymentOrderInfoPaymentProviderCHECKOUT captures enum value "CHECKOUT" PaymentOrderInfoPaymentProviderCHECKOUT string = "CHECKOUT" // PaymentOrderInfoPaymentProviderALIPAY captures enum value "ALIPAY" PaymentOrderInfoPaymentProviderALIPAY string = "ALIPAY" // PaymentOrderInfoPaymentProviderWXPAY captures enum value "WXPAY" PaymentOrderInfoPaymentProviderWXPAY string = "WXPAY" // PaymentOrderInfoPaymentProviderPAYPAL captures enum value "PAYPAL" PaymentOrderInfoPaymentProviderPAYPAL string = "PAYPAL" )
const ( // PaymentOrderInfoStatusINIT captures enum value "INIT" PaymentOrderInfoStatusINIT string = "INIT" // PaymentOrderInfoStatusAUTHORISED captures enum value "AUTHORISED" PaymentOrderInfoStatusAUTHORISED string = "AUTHORISED" // PaymentOrderInfoStatusAUTHORISEFAILED captures enum value "AUTHORISE_FAILED" PaymentOrderInfoStatusAUTHORISEFAILED string = "AUTHORISE_FAILED" // PaymentOrderInfoStatusCHARGED captures enum value "CHARGED" PaymentOrderInfoStatusCHARGED string = "CHARGED" // PaymentOrderInfoStatusCHARGEFAILED captures enum value "CHARGE_FAILED" PaymentOrderInfoStatusCHARGEFAILED string = "CHARGE_FAILED" // PaymentOrderInfoStatusNOTIFICATIONOFCHARGEBACK captures enum value "NOTIFICATION_OF_CHARGEBACK" PaymentOrderInfoStatusNOTIFICATIONOFCHARGEBACK string = "NOTIFICATION_OF_CHARGEBACK" // PaymentOrderInfoStatusREQUESTFORINFORMATION captures enum value "REQUEST_FOR_INFORMATION" PaymentOrderInfoStatusREQUESTFORINFORMATION string = "REQUEST_FOR_INFORMATION" // PaymentOrderInfoStatusCHARGEBACK captures enum value "CHARGEBACK" PaymentOrderInfoStatusCHARGEBACK string = "CHARGEBACK" // PaymentOrderInfoStatusCHARGEBACKREVERSED captures enum value "CHARGEBACK_REVERSED" PaymentOrderInfoStatusCHARGEBACKREVERSED string = "CHARGEBACK_REVERSED" // PaymentOrderInfoStatusREFUNDING captures enum value "REFUNDING" PaymentOrderInfoStatusREFUNDING string = "REFUNDING" // PaymentOrderInfoStatusREFUNDED captures enum value "REFUNDED" PaymentOrderInfoStatusREFUNDED string = "REFUNDED" // PaymentOrderInfoStatusREFUNDFAILED captures enum value "REFUND_FAILED" PaymentOrderInfoStatusREFUNDFAILED string = "REFUND_FAILED" // PaymentOrderInfoStatusDELETED captures enum value "DELETED" PaymentOrderInfoStatusDELETED string = "DELETED" )
const ( // PaymentOrderRefundResultStatusINIT captures enum value "INIT" PaymentOrderRefundResultStatusINIT string = "INIT" // PaymentOrderRefundResultStatusAUTHORISED captures enum value "AUTHORISED" PaymentOrderRefundResultStatusAUTHORISED string = "AUTHORISED" // PaymentOrderRefundResultStatusAUTHORISEFAILED captures enum value "AUTHORISE_FAILED" PaymentOrderRefundResultStatusAUTHORISEFAILED string = "AUTHORISE_FAILED" // PaymentOrderRefundResultStatusCHARGED captures enum value "CHARGED" PaymentOrderRefundResultStatusCHARGED string = "CHARGED" // PaymentOrderRefundResultStatusCHARGEFAILED captures enum value "CHARGE_FAILED" PaymentOrderRefundResultStatusCHARGEFAILED string = "CHARGE_FAILED" // PaymentOrderRefundResultStatusNOTIFICATIONOFCHARGEBACK captures enum value "NOTIFICATION_OF_CHARGEBACK" PaymentOrderRefundResultStatusNOTIFICATIONOFCHARGEBACK string = "NOTIFICATION_OF_CHARGEBACK" // PaymentOrderRefundResultStatusREQUESTFORINFORMATION captures enum value "REQUEST_FOR_INFORMATION" PaymentOrderRefundResultStatusREQUESTFORINFORMATION string = "REQUEST_FOR_INFORMATION" // PaymentOrderRefundResultStatusCHARGEBACK captures enum value "CHARGEBACK" PaymentOrderRefundResultStatusCHARGEBACK string = "CHARGEBACK" // PaymentOrderRefundResultStatusCHARGEBACKREVERSED captures enum value "CHARGEBACK_REVERSED" PaymentOrderRefundResultStatusCHARGEBACKREVERSED string = "CHARGEBACK_REVERSED" // PaymentOrderRefundResultStatusREFUNDING captures enum value "REFUNDING" PaymentOrderRefundResultStatusREFUNDING string = "REFUNDING" // PaymentOrderRefundResultStatusREFUNDED captures enum value "REFUNDED" PaymentOrderRefundResultStatusREFUNDED string = "REFUNDED" // PaymentOrderRefundResultStatusREFUNDFAILED captures enum value "REFUND_FAILED" PaymentOrderRefundResultStatusREFUNDFAILED string = "REFUND_FAILED" // PaymentOrderRefundResultStatusDELETED captures enum value "DELETED" PaymentOrderRefundResultStatusDELETED string = "DELETED" )
const ( // PaymentProviderConfigEditAggregateXSOLLA captures enum value "XSOLLA" PaymentProviderConfigEditAggregateXSOLLA string = "XSOLLA" // PaymentProviderConfigEditAggregateADYEN captures enum value "ADYEN" PaymentProviderConfigEditAggregateADYEN string = "ADYEN" )
const ( // PaymentProviderConfigInfoAggregateXSOLLA captures enum value "XSOLLA" PaymentProviderConfigInfoAggregateXSOLLA string = "XSOLLA" // PaymentProviderConfigInfoAggregateADYEN captures enum value "ADYEN" PaymentProviderConfigInfoAggregateADYEN string = "ADYEN" )
const ( // PaymentURLPaymentProviderWALLET captures enum value "WALLET" PaymentURLPaymentProviderWALLET string = "WALLET" // PaymentURLPaymentProviderXSOLLA captures enum value "XSOLLA" PaymentURLPaymentProviderXSOLLA string = "XSOLLA" // PaymentURLPaymentProviderADYEN captures enum value "ADYEN" PaymentURLPaymentProviderADYEN string = "ADYEN" // PaymentURLPaymentProviderSTRIPE captures enum value "STRIPE" PaymentURLPaymentProviderSTRIPE string = "STRIPE" // PaymentURLPaymentProviderCHECKOUT captures enum value "CHECKOUT" PaymentURLPaymentProviderCHECKOUT string = "CHECKOUT" // PaymentURLPaymentProviderALIPAY captures enum value "ALIPAY" PaymentURLPaymentProviderALIPAY string = "ALIPAY" // PaymentURLPaymentProviderWXPAY captures enum value "WXPAY" PaymentURLPaymentProviderWXPAY string = "WXPAY" // PaymentURLPaymentProviderPAYPAL captures enum value "PAYPAL" PaymentURLPaymentProviderPAYPAL string = "PAYPAL" )
const ( // PaymentURLPaymentTypeQRCODE captures enum value "QR_CODE" PaymentURLPaymentTypeQRCODE string = "QR_CODE" // PaymentURLPaymentTypeLINK captures enum value "LINK" PaymentURLPaymentTypeLINK string = "LINK" )
const ( // PaymentURLCreatePaymentProviderWALLET captures enum value "WALLET" PaymentURLCreatePaymentProviderWALLET string = "WALLET" // PaymentURLCreatePaymentProviderXSOLLA captures enum value "XSOLLA" PaymentURLCreatePaymentProviderXSOLLA string = "XSOLLA" // PaymentURLCreatePaymentProviderADYEN captures enum value "ADYEN" PaymentURLCreatePaymentProviderADYEN string = "ADYEN" // PaymentURLCreatePaymentProviderSTRIPE captures enum value "STRIPE" PaymentURLCreatePaymentProviderSTRIPE string = "STRIPE" // PaymentURLCreatePaymentProviderCHECKOUT captures enum value "CHECKOUT" PaymentURLCreatePaymentProviderCHECKOUT string = "CHECKOUT" // PaymentURLCreatePaymentProviderALIPAY captures enum value "ALIPAY" PaymentURLCreatePaymentProviderALIPAY string = "ALIPAY" // PaymentURLCreatePaymentProviderWXPAY captures enum value "WXPAY" PaymentURLCreatePaymentProviderWXPAY string = "WXPAY" // PaymentURLCreatePaymentProviderPAYPAL captures enum value "PAYPAL" PaymentURLCreatePaymentProviderPAYPAL string = "PAYPAL" )
const ( // PlayStationReconcileResultStatusVERIFIED captures enum value "VERIFIED" PlayStationReconcileResultStatusVERIFIED string = "VERIFIED" // PlayStationReconcileResultStatusFULFILLED captures enum value "FULFILLED" PlayStationReconcileResultStatusFULFILLED string = "FULFILLED" // PlayStationReconcileResultStatusFAILED captures enum value "FAILED" PlayStationReconcileResultStatusFAILED string = "FAILED" )
const ( // PopulatedItemInfoAppTypeGAME captures enum value "GAME" PopulatedItemInfoAppTypeGAME string = "GAME" // PopulatedItemInfoAppTypeSOFTWARE captures enum value "SOFTWARE" PopulatedItemInfoAppTypeSOFTWARE string = "SOFTWARE" // PopulatedItemInfoAppTypeDLC captures enum value "DLC" PopulatedItemInfoAppTypeDLC string = "DLC" // PopulatedItemInfoAppTypeDEMO captures enum value "DEMO" PopulatedItemInfoAppTypeDEMO string = "DEMO" )
const ( // PopulatedItemInfoEntitlementTypeDURABLE captures enum value "DURABLE" PopulatedItemInfoEntitlementTypeDURABLE string = "DURABLE" // PopulatedItemInfoEntitlementTypeCONSUMABLE captures enum value "CONSUMABLE" PopulatedItemInfoEntitlementTypeCONSUMABLE string = "CONSUMABLE" )
const ( // PopulatedItemInfoItemTypeAPP captures enum value "APP" PopulatedItemInfoItemTypeAPP string = "APP" // PopulatedItemInfoItemTypeCOINS captures enum value "COINS" PopulatedItemInfoItemTypeCOINS string = "COINS" // PopulatedItemInfoItemTypeINGAMEITEM captures enum value "INGAMEITEM" PopulatedItemInfoItemTypeINGAMEITEM string = "INGAMEITEM" // PopulatedItemInfoItemTypeBUNDLE captures enum value "BUNDLE" PopulatedItemInfoItemTypeBUNDLE string = "BUNDLE" // PopulatedItemInfoItemTypeCODE captures enum value "CODE" PopulatedItemInfoItemTypeCODE string = "CODE" // PopulatedItemInfoItemTypeSUBSCRIPTION captures enum value "SUBSCRIPTION" PopulatedItemInfoItemTypeSUBSCRIPTION string = "SUBSCRIPTION" )
const ( // PopulatedItemInfoStatusACTIVE captures enum value "ACTIVE" PopulatedItemInfoStatusACTIVE string = "ACTIVE" // PopulatedItemInfoStatusINACTIVE captures enum value "INACTIVE" PopulatedItemInfoStatusINACTIVE string = "INACTIVE" )
const ( // RecurringCycleWEEKLY captures enum value "WEEKLY" RecurringCycleWEEKLY string = "WEEKLY" // RecurringCycleMONTHLY captures enum value "MONTHLY" RecurringCycleMONTHLY string = "MONTHLY" // RecurringCycleQUARTERLY captures enum value "QUARTERLY" RecurringCycleQUARTERLY string = "QUARTERLY" // 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 ( // 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" // SlideVideoSourceYoutube captures enum value "youtube" SlideVideoSourceYoutube string = "youtube" // SlideVideoSourceVimeo captures enum value "vimeo" SlideVideoSourceVimeo string = "vimeo" )
const ( // StackableEntitlementInfoAppTypeGAME captures enum value "GAME" StackableEntitlementInfoAppTypeGAME string = "GAME" // StackableEntitlementInfoAppTypeSOFTWARE captures enum value "SOFTWARE" StackableEntitlementInfoAppTypeSOFTWARE string = "SOFTWARE" // StackableEntitlementInfoAppTypeDLC captures enum value "DLC" StackableEntitlementInfoAppTypeDLC string = "DLC" // StackableEntitlementInfoAppTypeDEMO captures enum value "DEMO" StackableEntitlementInfoAppTypeDEMO string = "DEMO" )
const ( // StackableEntitlementInfoClazzAPP captures enum value "APP" StackableEntitlementInfoClazzAPP string = "APP" // StackableEntitlementInfoClazzENTITLEMENT captures enum value "ENTITLEMENT" StackableEntitlementInfoClazzENTITLEMENT string = "ENTITLEMENT" // StackableEntitlementInfoClazzDISTRIBUTION captures enum value "DISTRIBUTION" StackableEntitlementInfoClazzDISTRIBUTION string = "DISTRIBUTION" // StackableEntitlementInfoClazzCODE captures enum value "CODE" StackableEntitlementInfoClazzCODE string = "CODE" // StackableEntitlementInfoClazzSUBSCRIPTION captures enum value "SUBSCRIPTION" StackableEntitlementInfoClazzSUBSCRIPTION string = "SUBSCRIPTION" )
const ( // StackableEntitlementInfoSourcePURCHASE captures enum value "PURCHASE" StackableEntitlementInfoSourcePURCHASE string = "PURCHASE" // StackableEntitlementInfoSourceIAP captures enum value "IAP" StackableEntitlementInfoSourceIAP string = "IAP" // StackableEntitlementInfoSourcePROMOTION captures enum value "PROMOTION" StackableEntitlementInfoSourcePROMOTION string = "PROMOTION" // StackableEntitlementInfoSourceACHIEVEMENT captures enum value "ACHIEVEMENT" StackableEntitlementInfoSourceACHIEVEMENT string = "ACHIEVEMENT" // StackableEntitlementInfoSourceREFERRALBONUS captures enum value "REFERRAL_BONUS" StackableEntitlementInfoSourceREFERRALBONUS string = "REFERRAL_BONUS" // StackableEntitlementInfoSourceREDEEMCODE captures enum value "REDEEM_CODE" StackableEntitlementInfoSourceREDEEMCODE string = "REDEEM_CODE" // StackableEntitlementInfoSourceOTHER captures enum value "OTHER" StackableEntitlementInfoSourceOTHER string = "OTHER" )
const ( // StackableEntitlementInfoStatusACTIVE captures enum value "ACTIVE" StackableEntitlementInfoStatusACTIVE string = "ACTIVE" // StackableEntitlementInfoStatusINACTIVE captures enum value "INACTIVE" StackableEntitlementInfoStatusINACTIVE string = "INACTIVE" // StackableEntitlementInfoStatusCONSUMED captures enum value "CONSUMED" StackableEntitlementInfoStatusCONSUMED string = "CONSUMED" // StackableEntitlementInfoStatusDISTRIBUTED captures enum value "DISTRIBUTED" StackableEntitlementInfoStatusDISTRIBUTED string = "DISTRIBUTED" // StackableEntitlementInfoStatusREVOKED captures enum value "REVOKED" StackableEntitlementInfoStatusREVOKED string = "REVOKED" )
const ( // StackableEntitlementInfoTypeDURABLE captures enum value "DURABLE" StackableEntitlementInfoTypeDURABLE string = "DURABLE" // StackableEntitlementInfoTypeCONSUMABLE captures enum value "CONSUMABLE" StackableEntitlementInfoTypeCONSUMABLE string = "CONSUMABLE" )
const ( // TradeNotificationPaymentProviderWALLET captures enum value "WALLET" TradeNotificationPaymentProviderWALLET string = "WALLET" // TradeNotificationPaymentProviderXSOLLA captures enum value "XSOLLA" TradeNotificationPaymentProviderXSOLLA string = "XSOLLA" // TradeNotificationPaymentProviderADYEN captures enum value "ADYEN" TradeNotificationPaymentProviderADYEN string = "ADYEN" // TradeNotificationPaymentProviderSTRIPE captures enum value "STRIPE" TradeNotificationPaymentProviderSTRIPE string = "STRIPE" // TradeNotificationPaymentProviderCHECKOUT captures enum value "CHECKOUT" TradeNotificationPaymentProviderCHECKOUT string = "CHECKOUT" // TradeNotificationPaymentProviderALIPAY captures enum value "ALIPAY" TradeNotificationPaymentProviderALIPAY string = "ALIPAY" // TradeNotificationPaymentProviderWXPAY captures enum value "WXPAY" TradeNotificationPaymentProviderWXPAY string = "WXPAY" // TradeNotificationPaymentProviderPAYPAL captures enum value "PAYPAL" TradeNotificationPaymentProviderPAYPAL string = "PAYPAL" )
const ( // TradeNotificationStatusINIT captures enum value "INIT" TradeNotificationStatusINIT string = "INIT" // TradeNotificationStatusAUTHORISED captures enum value "AUTHORISED" TradeNotificationStatusAUTHORISED string = "AUTHORISED" // TradeNotificationStatusAUTHORISEFAILED captures enum value "AUTHORISE_FAILED" TradeNotificationStatusAUTHORISEFAILED string = "AUTHORISE_FAILED" // TradeNotificationStatusCHARGED captures enum value "CHARGED" TradeNotificationStatusCHARGED string = "CHARGED" // TradeNotificationStatusCHARGEFAILED captures enum value "CHARGE_FAILED" TradeNotificationStatusCHARGEFAILED string = "CHARGE_FAILED" // TradeNotificationStatusNOTIFICATIONOFCHARGEBACK captures enum value "NOTIFICATION_OF_CHARGEBACK" TradeNotificationStatusNOTIFICATIONOFCHARGEBACK string = "NOTIFICATION_OF_CHARGEBACK" // TradeNotificationStatusREQUESTFORINFORMATION captures enum value "REQUEST_FOR_INFORMATION" TradeNotificationStatusREQUESTFORINFORMATION string = "REQUEST_FOR_INFORMATION" // TradeNotificationStatusCHARGEBACK captures enum value "CHARGEBACK" TradeNotificationStatusCHARGEBACK string = "CHARGEBACK" // TradeNotificationStatusCHARGEBACKREVERSED captures enum value "CHARGEBACK_REVERSED" TradeNotificationStatusCHARGEBACKREVERSED string = "CHARGEBACK_REVERSED" // TradeNotificationStatusREFUNDING captures enum value "REFUNDING" TradeNotificationStatusREFUNDING string = "REFUNDING" // TradeNotificationStatusREFUNDED captures enum value "REFUNDED" TradeNotificationStatusREFUNDED string = "REFUNDED" // TradeNotificationStatusREFUNDFAILED captures enum value "REFUND_FAILED" TradeNotificationStatusREFUNDFAILED string = "REFUND_FAILED" // TradeNotificationStatusDELETED captures enum value "DELETED" TradeNotificationStatusDELETED string = "DELETED" )
const ( // TransactionProviderWALLET captures enum value "WALLET" TransactionProviderWALLET string = "WALLET" // TransactionProviderXSOLLA captures enum value "XSOLLA" TransactionProviderXSOLLA string = "XSOLLA" // TransactionProviderADYEN captures enum value "ADYEN" TransactionProviderADYEN string = "ADYEN" // TransactionProviderSTRIPE captures enum value "STRIPE" TransactionProviderSTRIPE string = "STRIPE" // TransactionProviderCHECKOUT captures enum value "CHECKOUT" TransactionProviderCHECKOUT string = "CHECKOUT" // TransactionProviderALIPAY captures enum value "ALIPAY" TransactionProviderALIPAY string = "ALIPAY" // TransactionProviderWXPAY captures enum value "WXPAY" TransactionProviderWXPAY string = "WXPAY" // TransactionProviderPAYPAL captures enum value "PAYPAL" TransactionProviderPAYPAL string = "PAYPAL" )
const ( // TransactionStatusFINISHED captures enum value "FINISHED" TransactionStatusFINISHED string = "FINISHED" // TransactionStatusFAILED captures enum value "FAILED" TransactionStatusFAILED string = "FAILED" )
const ( // TransactionTypeAUTHORISATION captures enum value "AUTHORISATION" TransactionTypeAUTHORISATION string = "AUTHORISATION" // TransactionTypeCHARGE captures enum value "CHARGE" TransactionTypeCHARGE string = "CHARGE" // TransactionTypeCHARGEFAILED captures enum value "CHARGE_FAILED" TransactionTypeCHARGEFAILED string = "CHARGE_FAILED" // TransactionTypeNOTIFICATIONOFCHARGEBACK captures enum value "NOTIFICATION_OF_CHARGEBACK" TransactionTypeNOTIFICATIONOFCHARGEBACK string = "NOTIFICATION_OF_CHARGEBACK" // TransactionTypeREQUESTFORINFORMATION captures enum value "REQUEST_FOR_INFORMATION" TransactionTypeREQUESTFORINFORMATION string = "REQUEST_FOR_INFORMATION" // TransactionTypeCHARGEBACK captures enum value "CHARGEBACK" TransactionTypeCHARGEBACK string = "CHARGEBACK" // TransactionTypeCHARGEBACKREVERSED captures enum value "CHARGEBACK_REVERSED" TransactionTypeCHARGEBACKREVERSED string = "CHARGEBACK_REVERSED" // TransactionTypeREFUND captures enum value "REFUND" TransactionTypeREFUND string = "REFUND" // TransactionTypeREFUNDFAILED captures enum value "REFUND_FAILED" TransactionTypeREFUNDFAILED string = "REFUND_FAILED" )
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" // WalletTransactionInfoWalletActionPAYMENT captures enum value "PAYMENT" WalletTransactionInfoWalletActionPAYMENT string = "PAYMENT" // WalletTransactionInfoWalletActionDEBIT captures enum value "DEBIT" WalletTransactionInfoWalletActionDEBIT string = "DEBIT" )
const ( // XblReconcileResultIapOrderStatusVERIFIED captures enum value "VERIFIED" XblReconcileResultIapOrderStatusVERIFIED string = "VERIFIED" // XblReconcileResultIapOrderStatusFULFILLED captures enum value "FULFILLED" XblReconcileResultIapOrderStatusFULFILLED string = "FULFILLED" // XblReconcileResultIapOrderStatusFAILED captures enum value "FAILED" XblReconcileResultIapOrderStatusFAILED string = "FAILED" )
const ( // XsollaPaywallConfigDeviceDESKTOP captures enum value "DESKTOP" XsollaPaywallConfigDeviceDESKTOP string = "DESKTOP" // XsollaPaywallConfigDeviceMOBILE captures enum value "MOBILE" XsollaPaywallConfigDeviceMOBILE string = "MOBILE" )
const ( // XsollaPaywallConfigSizeSMALL captures enum value "SMALL" XsollaPaywallConfigSizeSMALL string = "SMALL" // XsollaPaywallConfigSizeMEDIUM captures enum value "MEDIUM" XsollaPaywallConfigSizeMEDIUM string = "MEDIUM" // XsollaPaywallConfigSizeLARGE captures enum value "LARGE" XsollaPaywallConfigSizeLARGE string = "LARGE" )
const ( // XsollaPaywallConfigThemeDEFAULT captures enum value "DEFAULT" XsollaPaywallConfigThemeDEFAULT string = "DEFAULT" // XsollaPaywallConfigThemeDARK captures enum value "DARK" XsollaPaywallConfigThemeDARK string = "DARK" // 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 ( // XsollaPaywallConfigRequestSizeSMALL captures enum value "SMALL" XsollaPaywallConfigRequestSizeSMALL string = "SMALL" // XsollaPaywallConfigRequestSizeMEDIUM captures enum value "MEDIUM" XsollaPaywallConfigRequestSizeMEDIUM string = "MEDIUM" // XsollaPaywallConfigRequestSizeLARGE captures enum value "LARGE" XsollaPaywallConfigRequestSizeLARGE string = "LARGE" )
const ( // XsollaPaywallConfigRequestThemeDEFAULT captures enum value "DEFAULT" XsollaPaywallConfigRequestThemeDEFAULT string = "DEFAULT" // XsollaPaywallConfigRequestThemeDARK captures enum value "DARK" XsollaPaywallConfigRequestThemeDARK string = "DARK" // XsollaPaywallConfigRequestThemeDEFAULTDARK captures enum value "DEFAULT_DARK" XsollaPaywallConfigRequestThemeDEFAULTDARK string = "DEFAULT_DARK" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 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,omitempty"`
// 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"`
// 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, 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: [GAME SOFTWARE DLC DEMO]
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"`
// itemSnapshot for distribution
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 INACTIVE CONSUMED DISTRIBUTED REVOKED]
Status *string `json:"status"`
// 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 Racing RPG 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 Racing RPG 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,omitempty"`
// language value from language tag, allowed format: en, en-US
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,omitempty"`
// 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: [GAME SOFTWARE DLC DEMO]
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: [DURABLE CONSUMABLE]
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 COINS INGAMEITEM BUNDLE CODE SUBSCRIPTION]
ItemType *string `json:"itemType"`
// Name
// Required: true
Name *string `json:"name"`
// Item namespace
// Required: true
Namespace *string `json:"namespace"`
// 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 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 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,omitempty"`
// 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 CreditRequest ¶
type CreditRequest struct {
// amount
// Required: true
// Minimum: 1
Amount *int64 `json:"amount"`
// reason, max length is 127
Reason string `json:"reason,omitempty"`
// source, purchase for default
// Enum: [PURCHASE IAP PROMOTION ACHIEVEMENT REFERRAL_BONUS REDEEM_CODE REFUND OTHER]
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"`
// max amount of per transaction
// Required: true
MaxAmountPerTransaction *int64 `json:"maxAmountPerTransaction"`
// max balance amount of the currency
// Required: true
MaxBalanceAmount *int64 `json:"maxBalanceAmount"`
// max transaction amount per day
// Required: true
MaxTransactionAmountPerDay *int64 `json:"maxTransactionAmountPerDay"`
}
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"`
// max amount of per transaction, default is -1, means no limit
MaxAmountPerTransaction int64 `json:"maxAmountPerTransaction,omitempty"`
// max balance amount of the currency, default is -1, means no limit
MaxBalanceAmount int64 `json:"maxBalanceAmount,omitempty"`
// max transaction amount per day, default is -1, means no limit
MaxTransactionAmountPerDay int64 `json:"maxTransactionAmountPerDay,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"`
// max amount of per transaction, default is -1, means no limit
// Required: true
MaxAmountPerTransaction *int64 `json:"maxAmountPerTransaction"`
// max balance amount of the currency, default is -1, means no limit
// Required: true
MaxBalanceAmount *int64 `json:"maxBalanceAmount"`
// max transaction amount per day, default is -1, means no limit
// Required: true
MaxTransactionAmountPerDay *int64 `json:"maxTransactionAmountPerDay"`
// 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"`
// max amount of per transaction, -1 means no limit
MaxAmountPerTransaction int64 `json:"maxAmountPerTransaction,omitempty"`
// max balance amount of the currency, -1 means no limit
MaxBalanceAmount int64 `json:"maxBalanceAmount,omitempty"`
// max transaction amount per day, -1 means no limit
MaxTransactionAmountPerDay int64 `json:"maxTransactionAmountPerDay,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 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 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 DistributionReceiverCreate ¶
type DistributionReceiverCreate struct {
// receiver custom attributes
Attributes map[string]string `json:"attributes,omitempty"`
}
DistributionReceiverCreate A DTO object for creating distribution receiver.
swagger:model DistributionReceiverCreate
func (*DistributionReceiverCreate) MarshalBinary ¶
func (m *DistributionReceiverCreate) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DistributionReceiverCreate) UnmarshalBinary ¶
func (m *DistributionReceiverCreate) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type DistributionReceiverInfo ¶
type DistributionReceiverInfo struct {
// receiver custom attributes
Attributes map[string]string `json:"attributes,omitempty"`
// external user id, commonly it's the character id
// Required: true
ExtUserID *string `json:"extUserId"`
// name that this receiver located in
// Required: true
Namespace *string `json:"namespace"`
// user that this receiver belong to
// Required: true
UserID *string `json:"userId"`
}
DistributionReceiverInfo distribution receiver info
swagger:model DistributionReceiverInfo
func (*DistributionReceiverInfo) MarshalBinary ¶
func (m *DistributionReceiverInfo) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*DistributionReceiverInfo) UnmarshalBinary ¶
func (m *DistributionReceiverInfo) 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
Language string `json:"language,omitempty"`
// quantity
// Required: true
Quantity *int32 `json:"quantity"`
// country value from ISO countries
Region string `json:"region,omitempty"`
// source
// Enum: [PURCHASE IAP PROMOTION ACHIEVEMENT REFERRAL_BONUS REDEEM_CODE OTHER]
Source string `json:"source,omitempty"`
// entitlement start date time
// Format: date-time
StartDate *strfmt.DateTime `json:"startDate,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: [GRANT UPDATE DECREMENT REVOKE DISABLE ENABLE DISTRIBUTE]
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"`
// The quantity of a distribution entitlement after perform the action.
Quantity int32 `json:"quantity,omitempty"`
// 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: [GAME SOFTWARE DLC DEMO]
AppType string `json:"appType,omitempty"`
// entitlement class
// Required: true
// Enum: [APP ENTITLEMENT DISTRIBUTION CODE SUBSCRIPTION]
Clazz *string `json:"clazz"`
// entitlement created at
// Required: true
// Format: date-time
CreatedAt *strfmt.DateTime `json:"createdAt"`
// distributed quantity for distribution, required if DISTRIBUTION
DistributedQuantity int32 `json:"distributedQuantity,omitempty"`
// 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 for distribution
ItemSnapshot *ItemSnapshot `json:"itemSnapshot,omitempty"`
// entitlement name
// Required: true
Name *string `json:"name"`
// entitlement namespace
// Required: true
Namespace *string `json:"namespace"`
// purchased quantity for distribution, required if DISTRIBUTION
Quantity int32 `json:"quantity,omitempty"`
// sku for purchased item
Sku string `json:"sku,omitempty"`
// entitlement source
// Required: true
// Enum: [PURCHASE IAP PROMOTION ACHIEVEMENT REFERRAL_BONUS REDEEM_CODE OTHER]
Source *string `json:"source"`
// Whether the CONSUMABLE entitlement is stackable
Stackable bool `json:"stackable,omitempty"`
// entitlement start date
// Format: date-time
StartDate *strfmt.DateTime `json:"startDate,omitempty"`
// entitlement status
// Required: true
// Enum: [ACTIVE INACTIVE CONSUMED DISTRIBUTED REVOKED]
Status *string `json:"status"`
// targetNamespace for distribution
TargetNamespace string `json:"targetNamespace,omitempty"`
// entitlement type
// Required: true
// Enum: [DURABLE CONSUMABLE]
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 ENTITLEMENT DISTRIBUTION CODE 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"`
// entitlement namespace
// Required: true
Namespace *string `json:"namespace"`
// Whether the CONSUMABLE entitlement is stackable
Stackable bool `json:"stackable,omitempty"`
// DISTRIBUTION entitlement stacked quantity
StackedQuantity int32 `json:"stackedQuantity,omitempty"`
// CONSUMABLE entitlement stacked use count
StackedUseCount int32 `json:"stackedUseCount,omitempty"`
// start date time
// Format: date-time
StartDate *strfmt.DateTime `json:"startDate,omitempty"`
// entitlement type
// Required: true
// Enum: [DURABLE CONSUMABLE]
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"`
// purchased quantity of a distributable entitlement
Quantity int32 `json:"quantity,omitempty"`
// 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 INACTIVE CONSUMED DISTRIBUTED 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"`
// IAP order status
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 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 COINS INGAMEITEM BUNDLE CODE SUBSCRIPTION]
ItemType string `json:"itemType,omitempty"`
// language value from language tag, allowed format: en, en-US
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,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,omitempty"`
// 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
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: [SUCCESS FAIL]
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 {
// item id
// Required: true
ItemID *string `json:"itemId"`
// item name
ItemName string `json:"itemName,omitempty"`
// quantity
// Required: true
Quantity *int32 `json:"quantity"`
}
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 {
// end date time
// Format: date-time
EndDate *strfmt.DateTime `json:"endDate,omitempty"`
// itemId
// Required: true
ItemID *string `json:"itemId"`
// language
Language string `json:"language,omitempty"`
// orderNo
OrderNo string `json:"orderNo,omitempty"`
// quantity
// Required: true
Quantity *int32 `json:"quantity"`
// region
Region string `json:"region,omitempty"`
// source
// Enum: [PURCHASE IAP PROMOTION ACHIEVEMENT REFERRAL_BONUS REDEEM_CODE OTHER]
Source string `json:"source,omitempty"`
// start date time
// Format: date-time
StartDate *strfmt.DateTime `json:"startDate,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"`
// 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 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 Racing RPG 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,omitempty"`
// 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: [GAME SOFTWARE DLC DEMO]
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"`
// 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: [DURABLE CONSUMABLE]
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"`
// Item type
// Required: true
// Enum: [APP COINS INGAMEITEM BUNDLE CODE SUBSCRIPTION]
ItemType *string `json:"itemType"`
// 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"`
// recurring for subscription
Recurring *Recurring `json:"recurring,omitempty"`
// Item region data
// Required: true
RegionData map[string][]RegionDataItem `json:"regionData"`
// Sku
Sku string `json:"sku,omitempty"`
// Whether stack the CONSUMABLE entitlement
Stackable bool `json:"stackable,omitempty"`
// 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 {
// language value from language tag, allowed format: en, en-US
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 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,omitempty"`
// 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 IAPOrderInfo ¶
type IAPOrderInfo struct {
// credit summary
Credits []*CreditSummary `json:"credits"`
// 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"`
// 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"`
// sandbox
Sandbox bool `json:"sandbox,omitempty"`
// status
// Required: true
// Enum: [VERIFIED FULFILLED FAILED]
Status *string `json:"status"`
// status reason
StatusReason string `json:"statusReason,omitempty"`
// transaction id
TransactionID string `json:"transactionId,omitempty"`
// IAP type
// Required: true
// Enum: [APPLE GOOGLE PLAYSTATION STEAM XBOX STADIA EPICGAMES]
Type *string `json:"type"`
// 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: [GAME SOFTWARE DLC DEMO]
AppType string `json:"appType,omitempty"`
// baseAppId, can set value of game appId if want to link to a game, only publisher namespace item will take effect
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: [DURABLE CONSUMABLE]
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"`
// Item Type
// Required: true
// Enum: [APP COINS INGAMEITEM BUNDLE CODE SUBSCRIPTION]
ItemType *string `json:"itemType"`
// 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"`
// 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"`
// 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,omitempty"`
// status
// Required: true
// Enum: [ACTIVE INACTIVE]
Status *string `json:"status"`
// Tags, allowed characters from a-zA-Z:_- with length range from 1 to 30, should start and end in upper/lowercase, 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"`
}
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: [GAME SOFTWARE DLC DEMO]
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"`
// 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: [DURABLE CONSUMABLE]
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"`
// Item type
// Required: true
// Enum: [APP COINS INGAMEITEM BUNDLE CODE SUBSCRIPTION]
ItemType *string `json:"itemType"`
// language
// Required: true
Language *string `json:"language"`
// 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"`
// recurring for subscription
Recurring *Recurring `json:"recurring,omitempty"`
// region
// Required: true
Region *string `json:"region"`
// Region data
RegionData []*RegionDataItem `json:"regionData"`
// Sku
Sku string `json:"sku,omitempty"`
// Whether stack the CONSUMABLE entitlement
Stackable bool `json:"stackable,omitempty"`
// 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: [GAME SOFTWARE DLC DEMO]
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: [DURABLE CONSUMABLE]
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"`
// Item type
// Required: true
// Enum: [APP COINS INGAMEITEM BUNDLE CODE SUBSCRIPTION]
ItemType *string `json:"itemType"`
// language
// Required: true
Language *string `json:"language"`
// 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"`
// recurring for subscription
Recurring *Recurring `json:"recurring,omitempty"`
// region
// Required: true
Region *string `json:"region"`
// Region data
RegionDataItem *RegionDataItem `json:"regionDataItem,omitempty"`
// Sku
Sku string `json:"sku,omitempty"`
// Whether stack the CONSUMABLE entitlement
Stackable bool `json:"stackable,omitempty"`
// 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: [GAME SOFTWARE DLC DEMO]
AppType string `json:"appType,omitempty"`
// baseAppId, can set value of game appId if want to link to a game, only publisher namespace item will take effect
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: [DURABLE CONSUMABLE]
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"`
// Item Type
// Required: true
// Enum: [APP COINS INGAMEITEM BUNDLE CODE SUBSCRIPTION]
ItemType *string `json:"itemType"`
// 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"`
// 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"`
// 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,omitempty"`
// status
// Enum: [ACTIVE INACTIVE]
Status string `json:"status,omitempty"`
// Tags, allowed characters from a-zA-Z:_- with length range from 1 to 30, should start and end in upper/lowercase, 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 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 {
// language value from language tag, allowed format: en, en-US
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 GOOGLE PLAYSTATION STEAM XBOX STADIA EPICGAMES]
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 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,omitempty"`
// 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,omitempty"`
// 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: [WALLET XSOLLA ADYEN STRIPE CHECKOUT ALIPAY WXPAY PAYPAL]
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,omitempty"`
// status
// Enum: [INIT CHARGED CHARGEBACK CHARGEBACK_REVERSED FULFILLED FULFILL_FAILED REFUNDING REFUNDED REFUND_FAILED CLOSED DELETED]
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
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: [INIT CHARGED CHARGEBACK CHARGEBACK_REVERSED FULFILLED FULFILL_FAILED REFUNDING REFUNDED REFUND_FAILED CLOSE DELETED 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: [WALLET XSOLLA ADYEN STRIPE CHECKOUT ALIPAY WXPAY PAYPAL]
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: [INIT CHARGED CHARGEBACK CHARGEBACK_REVERSED FULFILLED FULFILL_FAILED REFUNDING REFUNDED REFUND_FAILED CLOSED DELETED]
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 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: [INIT CHARGED CHARGEBACK CHARGEBACK_REVERSED FULFILLED FULFILL_FAILED REFUNDING REFUNDED REFUND_FAILED CLOSED DELETED]
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 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 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: [WALLET XSOLLA ADYEN STRIPE CHECKOUT ALIPAY WXPAY PAYPAL]
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: [WALLET XSOLLA ADYEN STRIPE CHECKOUT ALIPAY WXPAY PAYPAL]
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: [PROCESSED ERROR WARN IGNORED]
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,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"`
// 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 COINS INGAMEITEM BUNDLE CODE 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,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: [WALLET XSOLLA ADYEN STRIPE CHECKOUT ALIPAY WXPAY PAYPAL]
PaymentProvider string `json:"paymentProvider,omitempty"`
// payment provider fee
PaymentProviderFee int32 `json:"paymentProviderFee,omitempty"`
// payment station Url
PaymentStationURL string `json:"paymentStationUrl,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,omitempty"`
// sku
Sku string `json:"sku,omitempty"`
// state
State string `json:"state,omitempty"`
// status
// Enum: [INIT AUTHORISED AUTHORISE_FAILED CHARGED CHARGE_FAILED NOTIFICATION_OF_CHARGEBACK REQUEST_FOR_INFORMATION CHARGEBACK CHARGEBACK_REVERSED REFUNDING REFUNDED REFUND_FAILED DELETED]
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: [WALLET XSOLLA ADYEN STRIPE CHECKOUT ALIPAY WXPAY PAYPAL]
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,omitempty"`
// status
// Enum: [INIT AUTHORISED AUTHORISE_FAILED CHARGED CHARGE_FAILED NOTIFICATION_OF_CHARGEBACK REQUEST_FOR_INFORMATION CHARGEBACK CHARGEBACK_REVERSED REFUNDING REFUNDED REFUND_FAILED DELETED]
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 COINS INGAMEITEM BUNDLE CODE SUBSCRIPTION]
ItemType string `json:"itemType,omitempty"`
// language value from language tag, allowed format: en, en-US
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,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,omitempty"`
// 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: [INIT AUTHORISED AUTHORISE_FAILED CHARGED CHARGE_FAILED NOTIFICATION_OF_CHARGEBACK REQUEST_FOR_INFORMATION CHARGEBACK CHARGEBACK_REVERSED REFUNDING REFUNDED REFUND_FAILED DELETED]
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,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"`
// 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 COINS INGAMEITEM BUNDLE CODE 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,omitempty"`
// 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: [WALLET XSOLLA ADYEN STRIPE CHECKOUT ALIPAY WXPAY PAYPAL]
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: [INIT AUTHORISED AUTHORISE_FAILED CHARGED CHARGE_FAILED NOTIFICATION_OF_CHARGEBACK REQUEST_FOR_INFORMATION CHARGEBACK CHARGEBACK_REVERSED REFUNDING REFUNDED REFUND_FAILED DELETED]
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 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 {
// 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: [INIT AUTHORISED AUTHORISE_FAILED CHARGED CHARGE_FAILED NOTIFICATION_OF_CHARGEBACK REQUEST_FOR_INFORMATION CHARGEBACK CHARGEBACK_REVERSED REFUNDING REFUNDED REFUND_FAILED DELETED]
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: [XSOLLA ADYEN]
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,omitempty"`
// only works when taxJarEnabled=true, and if useGlobalTaxJarApiToken is true, we will reset the taxJarApiToken as null
UseGlobalTaxJarAPIToken bool `json:"useGlobalTaxJarApiToken,omitempty"`
}
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: [XSOLLA ADYEN]
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,omitempty"`
// if use global taxjar token
UseGlobalTaxJarAPIToken bool `json:"useGlobalTaxJarApiToken,omitempty"`
}
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"`
}
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,omitempty"`
// 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,omitempty"`
// 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: [WALLET XSOLLA ADYEN STRIPE CHECKOUT ALIPAY WXPAY PAYPAL]
PaymentProvider *string `json:"paymentProvider"`
// payment type
// Required: true
// Enum: [QR_CODE LINK]
PaymentType *string `json:"paymentType"`
// payment url
// Required: true
PaymentURL *string `json:"paymentUrl"`
// return url
ReturnURL string `json:"returnUrl,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: [WALLET XSOLLA ADYEN STRIPE CHECKOUT ALIPAY WXPAY PAYPAL]
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 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 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: [VERIFIED FULFILLED FAILED]
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: [GAME SOFTWARE DLC DEMO]
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"`
// 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: [DURABLE CONSUMABLE]
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"`
// Item type
// Required: true
// Enum: [APP COINS INGAMEITEM BUNDLE CODE SUBSCRIPTION]
ItemType *string `json:"itemType"`
// bundle items, only has value when item is bundle and is populated
Items []*ItemInfo `json:"items"`
// language
// Required: true
Language *string `json:"language"`
// 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"`
// recurring for subscription
Recurring *Recurring `json:"recurring,omitempty"`
// region
// Required: true
Region *string `json:"region"`
// Region data
RegionData []*RegionDataItem `json:"regionData"`
// Sku
Sku string `json:"sku,omitempty"`
// Whether stack the CONSUMABLE entitlement
Stackable bool `json:"stackable,omitempty"`
// 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: [WEEKLY MONTHLY QUARTERLY 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 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"`
// Reward code
// Required: true
RewardCode *string `json:"rewardCode"`
// list of reward condition
RewardConditions []*RewardCondition `json:"rewardConditions"`
}
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"`
// 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"`
}
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 {
// 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"`
// rewardCode
// Required: true
RewardCode *string `json:"rewardCode"`
// list of reward condition
RewardConditions []*RewardCondition `json:"rewardConditions"`
}
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 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 youtube vimeo]
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: [GAME SOFTWARE DLC DEMO]
AppType string `json:"appType,omitempty"`
// entitlement class
// Required: true
// Enum: [APP ENTITLEMENT DISTRIBUTION CODE SUBSCRIPTION]
Clazz *string `json:"clazz"`
// entitlement created at
// Required: true
// Format: date-time
CreatedAt *strfmt.DateTime `json:"createdAt"`
// distributed quantity for distribution, required if DISTRIBUTION
DistributedQuantity int32 `json:"distributedQuantity,omitempty"`
// 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 for distribution
ItemSnapshot *ItemSnapshot `json:"itemSnapshot,omitempty"`
// entitlement name
// Required: true
Name *string `json:"name"`
// entitlement namespace
// Required: true
Namespace *string `json:"namespace"`
// purchased quantity for distribution, required if DISTRIBUTION
Quantity int32 `json:"quantity,omitempty"`
// sku for purchased item
Sku string `json:"sku,omitempty"`
// entitlement source
// Required: true
// Enum: [PURCHASE IAP PROMOTION ACHIEVEMENT REFERRAL_BONUS REDEEM_CODE OTHER]
Source *string `json:"source"`
// whether the CONSUMABLE entitlement is stackable
Stackable bool `json:"stackable,omitempty"`
// DISTRIBUTION entitlement stacked quantity
StackedQuantity int32 `json:"stackedQuantity,omitempty"`
// 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 INACTIVE CONSUMED DISTRIBUTED REVOKED]
Status *string `json:"status"`
// targetNamespace for distribution
TargetNamespace string `json:"targetNamespace,omitempty"`
// entitlement type
// Required: true
// Enum: [DURABLE CONSUMABLE]
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
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 SteamIAPConfig ¶
type SteamIAPConfig struct {
// 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 {
// 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 {
// publisherAuthenticationKey
// Required: true
PublisherAuthenticationKey *string `json:"publisherAuthenticationKey"`
}
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"`
// language value from language tag, allowed format: en, en-US
Language string `json:"language,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 TaxResult ¶
type TaxResult struct {
// if enable tax
EnableTax bool `json:"enableTax,omitempty"`
// 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 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: [WALLET XSOLLA ADYEN STRIPE CHECKOUT ALIPAY WXPAY PAYPAL]
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: [INIT AUTHORISED AUTHORISE_FAILED CHARGED CHARGE_FAILED NOTIFICATION_OF_CHARGEBACK REQUEST_FOR_INFORMATION CHARGEBACK CHARGEBACK_REVERSED REFUNDING REFUNDED REFUND_FAILED DELETED]
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: distribution, 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,omitempty"`
// 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: [WALLET XSOLLA ADYEN STRIPE CHECKOUT ALIPAY WXPAY PAYPAL]
Provider string `json:"provider,omitempty"`
// sales tax
SalesTax int32 `json:"salesTax,omitempty"`
// status
// Enum: [FINISHED FAILED]
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 CHARGE_FAILED NOTIFICATION_OF_CHARGEBACK REQUEST_FOR_INFORMATION CHARGEBACK CHARGEBACK_REVERSED REFUND REFUND_FAILED]
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 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 {
// balance
// Required: true
Balance *int64 `json:"balance"`
// 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"`
// 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 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 PAYMENT DEBIT]
WalletAction *string `json:"walletAction"`
// wallet id
// Required: true
WalletID *string `json:"walletId"`
}
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 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 {
// 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: [VERIFIED FULFILLED FAILED]
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 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: [SMALL MEDIUM LARGE]
Size *string `json:"size"`
// theme
// Required: true
// Enum: [DEFAULT DARK 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,omitempty"`
// Payment UI size, MEDIUM for default.
// Enum: [SMALL MEDIUM LARGE]
Size string `json:"size,omitempty"`
// Payment UI theme, DEFAULT for default.
// Enum: [DEFAULT DARK 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
¶
- additional_data.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
- bulk_operation_result.go
- category_create.go
- category_info.go
- category_update.go
- checkout_config.go
- credit_request.go
- credit_summary.go
- currency_config.go
- currency_create.go
- currency_info.go
- currency_summary.go
- currency_update.go
- customization.go
- debit_request.go
- distribution_receiver_create.go
- distribution_receiver_info.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
- 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
- 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
- hierarchical_category_info.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
- localization.go
- mock_i_a_p_receipt.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_sync_result.go
- order_update.go
- ownership.go
- paging.go
- pay_pal_config.go
- payment_account.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_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
- play_station_i_a_p_config_info.go
- play_station_reconcile_result.go
- playstation_i_a_p_config_request.go
- populated_item_info.go
- purchased_item_count.go
- recurring.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
- slide.go
- stackable_entitlement_info.go
- stadia_i_a_p_config_info.go
- stadia_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
- tax_result.go
- test_result.go
- trade_notification.go
- transaction.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_i_a_p_config_info.go
- xbl_i_a_p_config_request.go
- xbl_reconcile_request.go
- xbl_reconcile_result.go
- xsolla_config.go
- xsolla_paywall_config.go
- xsolla_paywall_config_request.go