platformclientmodels

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2022 License: MIT Imports: 6 Imported by: 3 modules, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation ¶

Index ¶

Constants ¶

View Source
const (

	// AdminOrderCreatePlatformPlaystation captures enum value "Playstation"
	AdminOrderCreatePlatformPlaystation string = "Playstation"

	// AdminOrderCreatePlatformXbox captures enum value "Xbox"
	AdminOrderCreatePlatformXbox string = "Xbox"

	// AdminOrderCreatePlatformSteam captures enum value "Steam"
	AdminOrderCreatePlatformSteam string = "Steam"

	// AdminOrderCreatePlatformEpic captures enum value "Epic"
	AdminOrderCreatePlatformEpic string = "Epic"

	// AdminOrderCreatePlatformIOS captures enum value "IOS"
	AdminOrderCreatePlatformIOS string = "IOS"

	// AdminOrderCreatePlatformGooglePlay captures enum value "GooglePlay"
	AdminOrderCreatePlatformGooglePlay string = "GooglePlay"

	// AdminOrderCreatePlatformNintendo captures enum value "Nintendo"
	AdminOrderCreatePlatformNintendo string = "Nintendo"

	// AdminOrderCreatePlatformOther captures enum value "Other"
	AdminOrderCreatePlatformOther string = "Other"
)
View Source
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"
)
View Source
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"

	// AppEntitlementInfoStatusREVOKED captures enum value "REVOKED"
	AppEntitlementInfoStatusREVOKED string = "REVOKED"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
const (

	// BasicItemEntitlementTypeDURABLE captures enum value "DURABLE"
	BasicItemEntitlementTypeDURABLE string = "DURABLE"

	// BasicItemEntitlementTypeCONSUMABLE captures enum value "CONSUMABLE"
	BasicItemEntitlementTypeCONSUMABLE string = "CONSUMABLE"
)
View Source
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"

	// BasicItemItemTypeSEASON captures enum value "SEASON"
	BasicItemItemTypeSEASON string = "SEASON"

	// BasicItemItemTypeMEDIA captures enum value "MEDIA"
	BasicItemItemTypeMEDIA string = "MEDIA"
)
View Source
const (

	// BasicItemSeasonTypePASS captures enum value "PASS"
	BasicItemSeasonTypePASS string = "PASS"

	// BasicItemSeasonTypeTIER captures enum value "TIER"
	BasicItemSeasonTypeTIER string = "TIER"
)
View Source
const (

	// BasicItemStatusACTIVE captures enum value "ACTIVE"
	BasicItemStatusACTIVE string = "ACTIVE"

	// BasicItemStatusINACTIVE captures enum value "INACTIVE"
	BasicItemStatusINACTIVE string = "INACTIVE"
)
View Source
const (

	// BillingAccountPaymentProviderWALLET captures enum value "WALLET"
	BillingAccountPaymentProviderWALLET string = "WALLET"

	// BillingAccountPaymentProviderXSOLLA captures enum value "XSOLLA"
	BillingAccountPaymentProviderXSOLLA string = "XSOLLA"

	// BillingAccountPaymentProviderADYEN captures enum value "ADYEN"
	BillingAccountPaymentProviderADYEN string = "ADYEN"

	// BillingAccountPaymentProviderSTRIPE captures enum value "STRIPE"
	BillingAccountPaymentProviderSTRIPE string = "STRIPE"

	// BillingAccountPaymentProviderCHECKOUT captures enum value "CHECKOUT"
	BillingAccountPaymentProviderCHECKOUT string = "CHECKOUT"

	// BillingAccountPaymentProviderALIPAY captures enum value "ALIPAY"
	BillingAccountPaymentProviderALIPAY string = "ALIPAY"

	// BillingAccountPaymentProviderWXPAY captures enum value "WXPAY"
	BillingAccountPaymentProviderWXPAY string = "WXPAY"

	// BillingAccountPaymentProviderPAYPAL captures enum value "PAYPAL"
	BillingAccountPaymentProviderPAYPAL string = "PAYPAL"
)
View Source
const (

	// BillingHistoryInfoStatusINIT captures enum value "INIT"
	BillingHistoryInfoStatusINIT string = "INIT"

	// BillingHistoryInfoStatusCHARGED captures enum value "CHARGED"
	BillingHistoryInfoStatusCHARGED string = "CHARGED"

	// BillingHistoryInfoStatusCHARGEFAILED captures enum value "CHARGE_FAILED"
	BillingHistoryInfoStatusCHARGEFAILED string = "CHARGE_FAILED"

	// BillingHistoryInfoStatusREFUNDED captures enum value "REFUNDED"
	BillingHistoryInfoStatusREFUNDED string = "REFUNDED"

	// BillingHistoryInfoStatusREFUNDFAILED captures enum value "REFUND_FAILED"
	BillingHistoryInfoStatusREFUNDFAILED string = "REFUND_FAILED"
)
View Source
const (

	// BundledItemInfoAppTypeGAME captures enum value "GAME"
	BundledItemInfoAppTypeGAME string = "GAME"

	// BundledItemInfoAppTypeSOFTWARE captures enum value "SOFTWARE"
	BundledItemInfoAppTypeSOFTWARE string = "SOFTWARE"

	// BundledItemInfoAppTypeDLC captures enum value "DLC"
	BundledItemInfoAppTypeDLC string = "DLC"

	// BundledItemInfoAppTypeDEMO captures enum value "DEMO"
	BundledItemInfoAppTypeDEMO string = "DEMO"
)
View Source
const (

	// BundledItemInfoEntitlementTypeDURABLE captures enum value "DURABLE"
	BundledItemInfoEntitlementTypeDURABLE string = "DURABLE"

	// BundledItemInfoEntitlementTypeCONSUMABLE captures enum value "CONSUMABLE"
	BundledItemInfoEntitlementTypeCONSUMABLE string = "CONSUMABLE"
)
View Source
const (

	// BundledItemInfoItemTypeAPP captures enum value "APP"
	BundledItemInfoItemTypeAPP string = "APP"

	// BundledItemInfoItemTypeCOINS captures enum value "COINS"
	BundledItemInfoItemTypeCOINS string = "COINS"

	// BundledItemInfoItemTypeINGAMEITEM captures enum value "INGAMEITEM"
	BundledItemInfoItemTypeINGAMEITEM string = "INGAMEITEM"

	// BundledItemInfoItemTypeBUNDLE captures enum value "BUNDLE"
	BundledItemInfoItemTypeBUNDLE string = "BUNDLE"

	// BundledItemInfoItemTypeCODE captures enum value "CODE"
	BundledItemInfoItemTypeCODE string = "CODE"

	// BundledItemInfoItemTypeSUBSCRIPTION captures enum value "SUBSCRIPTION"
	BundledItemInfoItemTypeSUBSCRIPTION string = "SUBSCRIPTION"

	// BundledItemInfoItemTypeSEASON captures enum value "SEASON"
	BundledItemInfoItemTypeSEASON string = "SEASON"

	// BundledItemInfoItemTypeMEDIA captures enum value "MEDIA"
	BundledItemInfoItemTypeMEDIA string = "MEDIA"
)
View Source
const (

	// BundledItemInfoSeasonTypePASS captures enum value "PASS"
	BundledItemInfoSeasonTypePASS string = "PASS"

	// BundledItemInfoSeasonTypeTIER captures enum value "TIER"
	BundledItemInfoSeasonTypeTIER string = "TIER"
)
View Source
const (

	// BundledItemInfoStatusACTIVE captures enum value "ACTIVE"
	BundledItemInfoStatusACTIVE string = "ACTIVE"

	// BundledItemInfoStatusINACTIVE captures enum value "INACTIVE"
	BundledItemInfoStatusINACTIVE string = "INACTIVE"
)
View Source
const (

	// CampaignCreateStatusACTIVE captures enum value "ACTIVE"
	CampaignCreateStatusACTIVE string = "ACTIVE"

	// CampaignCreateStatusINACTIVE captures enum value "INACTIVE"
	CampaignCreateStatusINACTIVE string = "INACTIVE"
)
View Source
const (

	// CampaignInfoStatusACTIVE captures enum value "ACTIVE"
	CampaignInfoStatusACTIVE string = "ACTIVE"

	// CampaignInfoStatusINACTIVE captures enum value "INACTIVE"
	CampaignInfoStatusINACTIVE string = "INACTIVE"
)
View Source
const (

	// CampaignUpdateStatusACTIVE captures enum value "ACTIVE"
	CampaignUpdateStatusACTIVE string = "ACTIVE"

	// CampaignUpdateStatusINACTIVE captures enum value "INACTIVE"
	CampaignUpdateStatusINACTIVE string = "INACTIVE"
)
View Source
const (

	// CatalogChangeInfoActionCREATE captures enum value "CREATE"
	CatalogChangeInfoActionCREATE string = "CREATE"

	// CatalogChangeInfoActionUPDATE captures enum value "UPDATE"
	CatalogChangeInfoActionUPDATE string = "UPDATE"

	// CatalogChangeInfoActionDELETE captures enum value "DELETE"
	CatalogChangeInfoActionDELETE string = "DELETE"
)
View Source
const (

	// CatalogChangeInfoItemTypeAPP captures enum value "APP"
	CatalogChangeInfoItemTypeAPP string = "APP"

	// CatalogChangeInfoItemTypeCOINS captures enum value "COINS"
	CatalogChangeInfoItemTypeCOINS string = "COINS"

	// CatalogChangeInfoItemTypeINGAMEITEM captures enum value "INGAMEITEM"
	CatalogChangeInfoItemTypeINGAMEITEM string = "INGAMEITEM"

	// CatalogChangeInfoItemTypeBUNDLE captures enum value "BUNDLE"
	CatalogChangeInfoItemTypeBUNDLE string = "BUNDLE"

	// CatalogChangeInfoItemTypeCODE captures enum value "CODE"
	CatalogChangeInfoItemTypeCODE string = "CODE"

	// CatalogChangeInfoItemTypeSUBSCRIPTION captures enum value "SUBSCRIPTION"
	CatalogChangeInfoItemTypeSUBSCRIPTION string = "SUBSCRIPTION"

	// CatalogChangeInfoItemTypeSEASON captures enum value "SEASON"
	CatalogChangeInfoItemTypeSEASON string = "SEASON"

	// CatalogChangeInfoItemTypeMEDIA captures enum value "MEDIA"
	CatalogChangeInfoItemTypeMEDIA string = "MEDIA"
)
View Source
const (

	// CatalogChangeInfoStatusUNPUBLISHED captures enum value "UNPUBLISHED"
	CatalogChangeInfoStatusUNPUBLISHED string = "UNPUBLISHED"

	// CatalogChangeInfoStatusPUBLISHED captures enum value "PUBLISHED"
	CatalogChangeInfoStatusPUBLISHED string = "PUBLISHED"
)
View Source
const (

	// CatalogChangeInfoTypeSTORE captures enum value "STORE"
	CatalogChangeInfoTypeSTORE string = "STORE"

	// CatalogChangeInfoTypeCATEGORY captures enum value "CATEGORY"
	CatalogChangeInfoTypeCATEGORY string = "CATEGORY"

	// CatalogChangeInfoTypeITEM captures enum value "ITEM"
	CatalogChangeInfoTypeITEM string = "ITEM"
)
View Source
const (

	// CodeInfoStatusACTIVE captures enum value "ACTIVE"
	CodeInfoStatusACTIVE string = "ACTIVE"

	// CodeInfoStatusINACTIVE captures enum value "INACTIVE"
	CodeInfoStatusINACTIVE string = "INACTIVE"
)
View Source
const (

	// CreditRequestOriginPlaystation captures enum value "Playstation"
	CreditRequestOriginPlaystation string = "Playstation"

	// CreditRequestOriginXbox captures enum value "Xbox"
	CreditRequestOriginXbox string = "Xbox"

	// CreditRequestOriginSteam captures enum value "Steam"
	CreditRequestOriginSteam string = "Steam"

	// CreditRequestOriginEpic captures enum value "Epic"
	CreditRequestOriginEpic string = "Epic"

	// CreditRequestOriginStadia captures enum value "Stadia"
	CreditRequestOriginStadia string = "Stadia"

	// CreditRequestOriginIOS captures enum value "IOS"
	CreditRequestOriginIOS string = "IOS"

	// CreditRequestOriginGooglePlay captures enum value "GooglePlay"
	CreditRequestOriginGooglePlay string = "GooglePlay"

	// CreditRequestOriginTwitch captures enum value "Twitch"
	CreditRequestOriginTwitch string = "Twitch"

	// CreditRequestOriginNintendo captures enum value "Nintendo"
	CreditRequestOriginNintendo string = "Nintendo"

	// CreditRequestOriginSystem captures enum value "System"
	CreditRequestOriginSystem string = "System"

	// CreditRequestOriginOther captures enum value "Other"
	CreditRequestOriginOther string = "Other"
)
View Source
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"

	// CreditRequestSourceREWARD captures enum value "REWARD"
	CreditRequestSourceREWARD string = "REWARD"

	// CreditRequestSourceGIFT captures enum value "GIFT"
	CreditRequestSourceGIFT string = "GIFT"

	// CreditRequestSourceREFUND captures enum value "REFUND"
	CreditRequestSourceREFUND string = "REFUND"

	// CreditRequestSourceDLC captures enum value "DLC"
	CreditRequestSourceDLC string = "DLC"

	// CreditRequestSourceOTHER captures enum value "OTHER"
	CreditRequestSourceOTHER string = "OTHER"
)
View Source
const (

	// CurrencyCreateCurrencyTypeREAL captures enum value "REAL"
	CurrencyCreateCurrencyTypeREAL string = "REAL"

	// CurrencyCreateCurrencyTypeVIRTUAL captures enum value "VIRTUAL"
	CurrencyCreateCurrencyTypeVIRTUAL string = "VIRTUAL"
)
View Source
const (

	// CurrencyInfoCurrencyTypeREAL captures enum value "REAL"
	CurrencyInfoCurrencyTypeREAL string = "REAL"

	// CurrencyInfoCurrencyTypeVIRTUAL captures enum value "VIRTUAL"
	CurrencyInfoCurrencyTypeVIRTUAL string = "VIRTUAL"
)
View Source
const (

	// CurrencySummaryCurrencyTypeREAL captures enum value "REAL"
	CurrencySummaryCurrencyTypeREAL string = "REAL"

	// CurrencySummaryCurrencyTypeVIRTUAL captures enum value "VIRTUAL"
	CurrencySummaryCurrencyTypeVIRTUAL string = "VIRTUAL"
)
View Source
const (

	// DetailedWalletTransactionInfoWalletActionCREDIT captures enum value "CREDIT"
	DetailedWalletTransactionInfoWalletActionCREDIT string = "CREDIT"

	// DetailedWalletTransactionInfoWalletActionPAYMENT captures enum value "PAYMENT"
	DetailedWalletTransactionInfoWalletActionPAYMENT string = "PAYMENT"

	// DetailedWalletTransactionInfoWalletActionDEBIT captures enum value "DEBIT"
	DetailedWalletTransactionInfoWalletActionDEBIT string = "DEBIT"
)
View Source
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"

	// EntitlementGrantSourceREWARD captures enum value "REWARD"
	EntitlementGrantSourceREWARD string = "REWARD"

	// EntitlementGrantSourceGIFT captures enum value "GIFT"
	EntitlementGrantSourceGIFT string = "GIFT"

	// EntitlementGrantSourceOTHER captures enum value "OTHER"
	EntitlementGrantSourceOTHER string = "OTHER"
)
View Source
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"
)
View Source
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"
)
View Source
const (

	// EntitlementInfoClazzAPP captures enum value "APP"
	EntitlementInfoClazzAPP string = "APP"

	// EntitlementInfoClazzENTITLEMENT captures enum value "ENTITLEMENT"
	EntitlementInfoClazzENTITLEMENT string = "ENTITLEMENT"

	// EntitlementInfoClazzCODE captures enum value "CODE"
	EntitlementInfoClazzCODE string = "CODE"

	// EntitlementInfoClazzSUBSCRIPTION captures enum value "SUBSCRIPTION"
	EntitlementInfoClazzSUBSCRIPTION string = "SUBSCRIPTION"

	// EntitlementInfoClazzMEDIA captures enum value "MEDIA"
	EntitlementInfoClazzMEDIA string = "MEDIA"
)
View Source
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"

	// EntitlementInfoSourceREWARD captures enum value "REWARD"
	EntitlementInfoSourceREWARD string = "REWARD"

	// EntitlementInfoSourceGIFT captures enum value "GIFT"
	EntitlementInfoSourceGIFT string = "GIFT"

	// EntitlementInfoSourceOTHER captures enum value "OTHER"
	EntitlementInfoSourceOTHER string = "OTHER"
)
View Source
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"

	// EntitlementInfoStatusREVOKED captures enum value "REVOKED"
	EntitlementInfoStatusREVOKED string = "REVOKED"
)
View Source
const (

	// EntitlementInfoTypeDURABLE captures enum value "DURABLE"
	EntitlementInfoTypeDURABLE string = "DURABLE"

	// EntitlementInfoTypeCONSUMABLE captures enum value "CONSUMABLE"
	EntitlementInfoTypeCONSUMABLE string = "CONSUMABLE"
)
View Source
const (

	// EntitlementSummaryClazzAPP captures enum value "APP"
	EntitlementSummaryClazzAPP string = "APP"

	// EntitlementSummaryClazzENTITLEMENT captures enum value "ENTITLEMENT"
	EntitlementSummaryClazzENTITLEMENT string = "ENTITLEMENT"

	// EntitlementSummaryClazzCODE captures enum value "CODE"
	EntitlementSummaryClazzCODE string = "CODE"

	// EntitlementSummaryClazzSUBSCRIPTION captures enum value "SUBSCRIPTION"
	EntitlementSummaryClazzSUBSCRIPTION string = "SUBSCRIPTION"

	// EntitlementSummaryClazzMEDIA captures enum value "MEDIA"
	EntitlementSummaryClazzMEDIA string = "MEDIA"
)
View Source
const (

	// EntitlementSummaryTypeDURABLE captures enum value "DURABLE"
	EntitlementSummaryTypeDURABLE string = "DURABLE"

	// EntitlementSummaryTypeCONSUMABLE captures enum value "CONSUMABLE"
	EntitlementSummaryTypeCONSUMABLE string = "CONSUMABLE"
)
View Source
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"

	// EntitlementUpdateStatusREVOKED captures enum value "REVOKED"
	EntitlementUpdateStatusREVOKED string = "REVOKED"
)
View Source
const (

	// EpicGamesReconcileResultStatusVERIFIED captures enum value "VERIFIED"
	EpicGamesReconcileResultStatusVERIFIED string = "VERIFIED"

	// EpicGamesReconcileResultStatusFULFILLED captures enum value "FULFILLED"
	EpicGamesReconcileResultStatusFULFILLED string = "FULFILLED"

	// EpicGamesReconcileResultStatusFAILED captures enum value "FAILED"
	EpicGamesReconcileResultStatusFAILED string = "FAILED"
)
View Source
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"

	// ExternalPaymentOrderCreateItemTypeSEASON captures enum value "SEASON"
	ExternalPaymentOrderCreateItemTypeSEASON string = "SEASON"

	// ExternalPaymentOrderCreateItemTypeMEDIA captures enum value "MEDIA"
	ExternalPaymentOrderCreateItemTypeMEDIA string = "MEDIA"
)
View Source
const (

	// FulfillmentHistoryInfoStatusSUCCESS captures enum value "SUCCESS"
	FulfillmentHistoryInfoStatusSUCCESS string = "SUCCESS"

	// FulfillmentHistoryInfoStatusFAIL captures enum value "FAIL"
	FulfillmentHistoryInfoStatusFAIL string = "FAIL"
)
View Source
const (

	// FulfillmentItemItemTypeAPP captures enum value "APP"
	FulfillmentItemItemTypeAPP string = "APP"

	// FulfillmentItemItemTypeCOINS captures enum value "COINS"
	FulfillmentItemItemTypeCOINS string = "COINS"

	// FulfillmentItemItemTypeINGAMEITEM captures enum value "INGAMEITEM"
	FulfillmentItemItemTypeINGAMEITEM string = "INGAMEITEM"

	// FulfillmentItemItemTypeBUNDLE captures enum value "BUNDLE"
	FulfillmentItemItemTypeBUNDLE string = "BUNDLE"

	// FulfillmentItemItemTypeCODE captures enum value "CODE"
	FulfillmentItemItemTypeCODE string = "CODE"

	// FulfillmentItemItemTypeSUBSCRIPTION captures enum value "SUBSCRIPTION"
	FulfillmentItemItemTypeSUBSCRIPTION string = "SUBSCRIPTION"

	// FulfillmentItemItemTypeSEASON captures enum value "SEASON"
	FulfillmentItemItemTypeSEASON string = "SEASON"

	// FulfillmentItemItemTypeMEDIA captures enum value "MEDIA"
	FulfillmentItemItemTypeMEDIA string = "MEDIA"
)
View Source
const (

	// FulfillmentRequestOriginPlaystation captures enum value "Playstation"
	FulfillmentRequestOriginPlaystation string = "Playstation"

	// FulfillmentRequestOriginXbox captures enum value "Xbox"
	FulfillmentRequestOriginXbox string = "Xbox"

	// FulfillmentRequestOriginSteam captures enum value "Steam"
	FulfillmentRequestOriginSteam string = "Steam"

	// FulfillmentRequestOriginEpic captures enum value "Epic"
	FulfillmentRequestOriginEpic string = "Epic"

	// FulfillmentRequestOriginStadia captures enum value "Stadia"
	FulfillmentRequestOriginStadia string = "Stadia"

	// FulfillmentRequestOriginIOS captures enum value "IOS"
	FulfillmentRequestOriginIOS string = "IOS"

	// FulfillmentRequestOriginGooglePlay captures enum value "GooglePlay"
	FulfillmentRequestOriginGooglePlay string = "GooglePlay"

	// FulfillmentRequestOriginTwitch captures enum value "Twitch"
	FulfillmentRequestOriginTwitch string = "Twitch"

	// FulfillmentRequestOriginNintendo captures enum value "Nintendo"
	FulfillmentRequestOriginNintendo string = "Nintendo"

	// FulfillmentRequestOriginSystem captures enum value "System"
	FulfillmentRequestOriginSystem string = "System"

	// FulfillmentRequestOriginOther captures enum value "Other"
	FulfillmentRequestOriginOther string = "Other"
)
View Source
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"

	// FulfillmentRequestSourceREWARD captures enum value "REWARD"
	FulfillmentRequestSourceREWARD string = "REWARD"

	// FulfillmentRequestSourceGIFT captures enum value "GIFT"
	FulfillmentRequestSourceGIFT string = "GIFT"

	// FulfillmentRequestSourceDLC captures enum value "DLC"
	FulfillmentRequestSourceDLC string = "DLC"

	// FulfillmentRequestSourceOTHER captures enum value "OTHER"
	FulfillmentRequestSourceOTHER string = "OTHER"
)
View Source
const (

	// FulfillmentScriptContextSourcePURCHASE captures enum value "PURCHASE"
	FulfillmentScriptContextSourcePURCHASE string = "PURCHASE"

	// FulfillmentScriptContextSourceIAP captures enum value "IAP"
	FulfillmentScriptContextSourceIAP string = "IAP"

	// FulfillmentScriptContextSourcePROMOTION captures enum value "PROMOTION"
	FulfillmentScriptContextSourcePROMOTION string = "PROMOTION"

	// FulfillmentScriptContextSourceACHIEVEMENT captures enum value "ACHIEVEMENT"
	FulfillmentScriptContextSourceACHIEVEMENT string = "ACHIEVEMENT"

	// FulfillmentScriptContextSourceREFERRALBONUS captures enum value "REFERRAL_BONUS"
	FulfillmentScriptContextSourceREFERRALBONUS string = "REFERRAL_BONUS"

	// FulfillmentScriptContextSourceREDEEMCODE captures enum value "REDEEM_CODE"
	FulfillmentScriptContextSourceREDEEMCODE string = "REDEEM_CODE"

	// FulfillmentScriptContextSourceREWARD captures enum value "REWARD"
	FulfillmentScriptContextSourceREWARD string = "REWARD"

	// FulfillmentScriptContextSourceGIFT captures enum value "GIFT"
	FulfillmentScriptContextSourceGIFT string = "GIFT"

	// FulfillmentScriptContextSourceDLC captures enum value "DLC"
	FulfillmentScriptContextSourceDLC string = "DLC"

	// FulfillmentScriptContextSourceOTHER captures enum value "OTHER"
	FulfillmentScriptContextSourceOTHER string = "OTHER"
)
View Source
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"
)
View Source
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"
)
View Source
const (

	// FullItemInfoEntitlementTypeDURABLE captures enum value "DURABLE"
	FullItemInfoEntitlementTypeDURABLE string = "DURABLE"

	// FullItemInfoEntitlementTypeCONSUMABLE captures enum value "CONSUMABLE"
	FullItemInfoEntitlementTypeCONSUMABLE string = "CONSUMABLE"
)
View Source
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"

	// FullItemInfoItemTypeSEASON captures enum value "SEASON"
	FullItemInfoItemTypeSEASON string = "SEASON"

	// FullItemInfoItemTypeMEDIA captures enum value "MEDIA"
	FullItemInfoItemTypeMEDIA string = "MEDIA"
)
View Source
const (

	// FullItemInfoSeasonTypePASS captures enum value "PASS"
	FullItemInfoSeasonTypePASS string = "PASS"

	// FullItemInfoSeasonTypeTIER captures enum value "TIER"
	FullItemInfoSeasonTypeTIER string = "TIER"
)
View Source
const (

	// FullItemInfoStatusACTIVE captures enum value "ACTIVE"
	FullItemInfoStatusACTIVE string = "ACTIVE"

	// FullItemInfoStatusINACTIVE captures enum value "INACTIVE"
	FullItemInfoStatusINACTIVE string = "INACTIVE"
)
View Source
const (

	// IAPItemEntryItemIdentityTypeITEMID captures enum value "ITEM_ID"
	IAPItemEntryItemIdentityTypeITEMID string = "ITEM_ID"

	// IAPItemEntryItemIdentityTypeITEMSKU captures enum value "ITEM_SKU"
	IAPItemEntryItemIdentityTypeITEMSKU string = "ITEM_SKU"
)
View Source
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"
)
View Source
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"

	// IAPOrderInfoTypeTWITCH captures enum value "TWITCH"
	IAPOrderInfoTypeTWITCH string = "TWITCH"
)
View Source
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"
)
View Source
const (

	// ItemCreateEntitlementTypeDURABLE captures enum value "DURABLE"
	ItemCreateEntitlementTypeDURABLE string = "DURABLE"

	// ItemCreateEntitlementTypeCONSUMABLE captures enum value "CONSUMABLE"
	ItemCreateEntitlementTypeCONSUMABLE string = "CONSUMABLE"
)
View Source
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"

	// ItemCreateItemTypeSEASON captures enum value "SEASON"
	ItemCreateItemTypeSEASON string = "SEASON"

	// ItemCreateItemTypeMEDIA captures enum value "MEDIA"
	ItemCreateItemTypeMEDIA string = "MEDIA"
)
View Source
const (

	// ItemCreateSeasonTypePASS captures enum value "PASS"
	ItemCreateSeasonTypePASS string = "PASS"

	// ItemCreateSeasonTypeTIER captures enum value "TIER"
	ItemCreateSeasonTypeTIER string = "TIER"
)
View Source
const (

	// ItemCreateStatusACTIVE captures enum value "ACTIVE"
	ItemCreateStatusACTIVE string = "ACTIVE"

	// ItemCreateStatusINACTIVE captures enum value "INACTIVE"
	ItemCreateStatusINACTIVE string = "INACTIVE"
)
View Source
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"
)
View Source
const (

	// ItemInfoEntitlementTypeDURABLE captures enum value "DURABLE"
	ItemInfoEntitlementTypeDURABLE string = "DURABLE"

	// ItemInfoEntitlementTypeCONSUMABLE captures enum value "CONSUMABLE"
	ItemInfoEntitlementTypeCONSUMABLE string = "CONSUMABLE"
)
View Source
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"

	// ItemInfoItemTypeSEASON captures enum value "SEASON"
	ItemInfoItemTypeSEASON string = "SEASON"

	// ItemInfoItemTypeMEDIA captures enum value "MEDIA"
	ItemInfoItemTypeMEDIA string = "MEDIA"
)
View Source
const (

	// ItemInfoSeasonTypePASS captures enum value "PASS"
	ItemInfoSeasonTypePASS string = "PASS"

	// ItemInfoSeasonTypeTIER captures enum value "TIER"
	ItemInfoSeasonTypeTIER string = "TIER"
)
View Source
const (

	// ItemInfoStatusACTIVE captures enum value "ACTIVE"
	ItemInfoStatusACTIVE string = "ACTIVE"

	// ItemInfoStatusINACTIVE captures enum value "INACTIVE"
	ItemInfoStatusINACTIVE string = "INACTIVE"
)
View Source
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"
)
View Source
const (

	// ItemSnapshotEntitlementTypeDURABLE captures enum value "DURABLE"
	ItemSnapshotEntitlementTypeDURABLE string = "DURABLE"

	// ItemSnapshotEntitlementTypeCONSUMABLE captures enum value "CONSUMABLE"
	ItemSnapshotEntitlementTypeCONSUMABLE string = "CONSUMABLE"
)
View Source
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"

	// ItemSnapshotItemTypeSEASON captures enum value "SEASON"
	ItemSnapshotItemTypeSEASON string = "SEASON"

	// ItemSnapshotItemTypeMEDIA captures enum value "MEDIA"
	ItemSnapshotItemTypeMEDIA string = "MEDIA"
)
View Source
const (

	// ItemSnapshotSeasonTypePASS captures enum value "PASS"
	ItemSnapshotSeasonTypePASS string = "PASS"

	// ItemSnapshotSeasonTypeTIER captures enum value "TIER"
	ItemSnapshotSeasonTypeTIER string = "TIER"
)
View Source
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"
)
View Source
const (

	// ItemUpdateEntitlementTypeDURABLE captures enum value "DURABLE"
	ItemUpdateEntitlementTypeDURABLE string = "DURABLE"

	// ItemUpdateEntitlementTypeCONSUMABLE captures enum value "CONSUMABLE"
	ItemUpdateEntitlementTypeCONSUMABLE string = "CONSUMABLE"
)
View Source
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"

	// ItemUpdateItemTypeSEASON captures enum value "SEASON"
	ItemUpdateItemTypeSEASON string = "SEASON"

	// ItemUpdateItemTypeMEDIA captures enum value "MEDIA"
	ItemUpdateItemTypeMEDIA string = "MEDIA"
)
View Source
const (

	// ItemUpdateSeasonTypePASS captures enum value "PASS"
	ItemUpdateSeasonTypePASS string = "PASS"

	// ItemUpdateSeasonTypeTIER captures enum value "TIER"
	ItemUpdateSeasonTypeTIER string = "TIER"
)
View Source
const (

	// ItemUpdateStatusACTIVE captures enum value "ACTIVE"
	ItemUpdateStatusACTIVE string = "ACTIVE"

	// ItemUpdateStatusINACTIVE captures enum value "INACTIVE"
	ItemUpdateStatusINACTIVE string = "INACTIVE"
)
View Source
const (

	// KeyGroupCreateStatusACTIVE captures enum value "ACTIVE"
	KeyGroupCreateStatusACTIVE string = "ACTIVE"

	// KeyGroupCreateStatusINACTIVE captures enum value "INACTIVE"
	KeyGroupCreateStatusINACTIVE string = "INACTIVE"
)
View Source
const (

	// KeyGroupInfoStatusACTIVE captures enum value "ACTIVE"
	KeyGroupInfoStatusACTIVE string = "ACTIVE"

	// KeyGroupInfoStatusINACTIVE captures enum value "INACTIVE"
	KeyGroupInfoStatusINACTIVE string = "INACTIVE"
)
View Source
const (

	// KeyGroupUpdateStatusACTIVE captures enum value "ACTIVE"
	KeyGroupUpdateStatusACTIVE string = "ACTIVE"

	// KeyGroupUpdateStatusINACTIVE captures enum value "INACTIVE"
	KeyGroupUpdateStatusINACTIVE string = "INACTIVE"
)
View Source
const (

	// KeyInfoStatusACTIVE captures enum value "ACTIVE"
	KeyInfoStatusACTIVE string = "ACTIVE"

	// KeyInfoStatusACQUIRED captures enum value "ACQUIRED"
	KeyInfoStatusACQUIRED string = "ACQUIRED"
)
View Source
const (

	// MockIAPReceiptItemIdentityTypeITEMID captures enum value "ITEM_ID"
	MockIAPReceiptItemIdentityTypeITEMID string = "ITEM_ID"

	// MockIAPReceiptItemIdentityTypeITEMSKU captures enum value "ITEM_SKU"
	MockIAPReceiptItemIdentityTypeITEMSKU string = "ITEM_SKU"
)
View Source
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"

	// MockIAPReceiptTypeTWITCH captures enum value "TWITCH"
	MockIAPReceiptTypeTWITCH string = "TWITCH"
)
View Source
const (

	// NotificationProcessResultStatusPROCESSED captures enum value "PROCESSED"
	NotificationProcessResultStatusPROCESSED string = "PROCESSED"

	// NotificationProcessResultStatusERROR captures enum value "ERROR"
	NotificationProcessResultStatusERROR string = "ERROR"

	// NotificationProcessResultStatusWARN captures enum value "WARN"
	NotificationProcessResultStatusWARN string = "WARN"

	// NotificationProcessResultStatusIGNORED captures enum value "IGNORED"
	NotificationProcessResultStatusIGNORED string = "IGNORED"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
const (

	// PaymentAccountTypeCard captures enum value "card"
	PaymentAccountTypeCard string = "card"

	// PaymentAccountTypePaypal captures enum value "paypal"
	PaymentAccountTypePaypal string = "paypal"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
const (

	// PaymentOrderChannelEXTERNAL captures enum value "EXTERNAL"
	PaymentOrderChannelEXTERNAL string = "EXTERNAL"

	// PaymentOrderChannelINTERNAL captures enum value "INTERNAL"
	PaymentOrderChannelINTERNAL string = "INTERNAL"
)
View Source
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"

	// PaymentOrderItemTypeSEASON captures enum value "SEASON"
	PaymentOrderItemTypeSEASON string = "SEASON"

	// PaymentOrderItemTypeMEDIA captures enum value "MEDIA"
	PaymentOrderItemTypeMEDIA string = "MEDIA"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
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"

	// PaymentOrderCreateItemTypeSEASON captures enum value "SEASON"
	PaymentOrderCreateItemTypeSEASON string = "SEASON"

	// PaymentOrderCreateItemTypeMEDIA captures enum value "MEDIA"
	PaymentOrderCreateItemTypeMEDIA string = "MEDIA"
)
View Source
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"
)
View Source
const (

	// PaymentOrderInfoChannelEXTERNAL captures enum value "EXTERNAL"
	PaymentOrderInfoChannelEXTERNAL string = "EXTERNAL"

	// PaymentOrderInfoChannelINTERNAL captures enum value "INTERNAL"
	PaymentOrderInfoChannelINTERNAL string = "INTERNAL"
)
View Source
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"

	// PaymentOrderInfoItemTypeSEASON captures enum value "SEASON"
	PaymentOrderInfoItemTypeSEASON string = "SEASON"

	// PaymentOrderInfoItemTypeMEDIA captures enum value "MEDIA"
	PaymentOrderInfoItemTypeMEDIA string = "MEDIA"
)
View Source
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"
)
View Source
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"
)
View Source
const (

	// PaymentOrderNotifySimulationNotifyTypeCHARGE captures enum value "CHARGE"
	PaymentOrderNotifySimulationNotifyTypeCHARGE string = "CHARGE"

	// PaymentOrderNotifySimulationNotifyTypeREFUND captures enum value "REFUND"
	PaymentOrderNotifySimulationNotifyTypeREFUND string = "REFUND"
)
View Source
const (

	// PaymentOrderNotifySimulationPaymentProviderWALLET captures enum value "WALLET"
	PaymentOrderNotifySimulationPaymentProviderWALLET string = "WALLET"

	// PaymentOrderNotifySimulationPaymentProviderXSOLLA captures enum value "XSOLLA"
	PaymentOrderNotifySimulationPaymentProviderXSOLLA string = "XSOLLA"

	// PaymentOrderNotifySimulationPaymentProviderADYEN captures enum value "ADYEN"
	PaymentOrderNotifySimulationPaymentProviderADYEN string = "ADYEN"

	// PaymentOrderNotifySimulationPaymentProviderSTRIPE captures enum value "STRIPE"
	PaymentOrderNotifySimulationPaymentProviderSTRIPE string = "STRIPE"

	// PaymentOrderNotifySimulationPaymentProviderCHECKOUT captures enum value "CHECKOUT"
	PaymentOrderNotifySimulationPaymentProviderCHECKOUT string = "CHECKOUT"

	// PaymentOrderNotifySimulationPaymentProviderALIPAY captures enum value "ALIPAY"
	PaymentOrderNotifySimulationPaymentProviderALIPAY string = "ALIPAY"

	// PaymentOrderNotifySimulationPaymentProviderWXPAY captures enum value "WXPAY"
	PaymentOrderNotifySimulationPaymentProviderWXPAY string = "WXPAY"

	// PaymentOrderNotifySimulationPaymentProviderPAYPAL captures enum value "PAYPAL"
	PaymentOrderNotifySimulationPaymentProviderPAYPAL string = "PAYPAL"
)
View Source
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"
)
View Source
const (

	// PaymentProviderConfigEditAggregateXSOLLA captures enum value "XSOLLA"
	PaymentProviderConfigEditAggregateXSOLLA string = "XSOLLA"

	// PaymentProviderConfigEditAggregateADYEN captures enum value "ADYEN"
	PaymentProviderConfigEditAggregateADYEN string = "ADYEN"
)
View Source
const (

	// PaymentProviderConfigInfoAggregateXSOLLA captures enum value "XSOLLA"
	PaymentProviderConfigInfoAggregateXSOLLA string = "XSOLLA"

	// PaymentProviderConfigInfoAggregateADYEN captures enum value "ADYEN"
	PaymentProviderConfigInfoAggregateADYEN string = "ADYEN"
)
View Source
const (

	// PaymentRequestWalletPlatformPlaystation captures enum value "Playstation"
	PaymentRequestWalletPlatformPlaystation string = "Playstation"

	// PaymentRequestWalletPlatformXbox captures enum value "Xbox"
	PaymentRequestWalletPlatformXbox string = "Xbox"

	// PaymentRequestWalletPlatformSteam captures enum value "Steam"
	PaymentRequestWalletPlatformSteam string = "Steam"

	// PaymentRequestWalletPlatformEpic captures enum value "Epic"
	PaymentRequestWalletPlatformEpic string = "Epic"

	// PaymentRequestWalletPlatformIOS captures enum value "IOS"
	PaymentRequestWalletPlatformIOS string = "IOS"

	// PaymentRequestWalletPlatformGooglePlay captures enum value "GooglePlay"
	PaymentRequestWalletPlatformGooglePlay string = "GooglePlay"

	// PaymentRequestWalletPlatformNintendo captures enum value "Nintendo"
	PaymentRequestWalletPlatformNintendo string = "Nintendo"

	// PaymentRequestWalletPlatformOther captures enum value "Other"
	PaymentRequestWalletPlatformOther string = "Other"
)
View Source
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"
)
View Source
const (

	// PaymentURLPaymentTypeQRCODE captures enum value "QR_CODE"
	PaymentURLPaymentTypeQRCODE string = "QR_CODE"

	// PaymentURLPaymentTypeLINK captures enum value "LINK"
	PaymentURLPaymentTypeLINK string = "LINK"
)
View Source
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"
)
View Source
const (

	// PlatformDlcEntryPlatformPSN captures enum value "PSN"
	PlatformDlcEntryPlatformPSN string = "PSN"

	// PlatformDlcEntryPlatformSTEAM captures enum value "STEAM"
	PlatformDlcEntryPlatformSTEAM string = "STEAM"

	// PlatformDlcEntryPlatformXBOX captures enum value "XBOX"
	PlatformDlcEntryPlatformXBOX string = "XBOX"
)
View Source
const (

	// PlatformRewardTypeITEM captures enum value "ITEM"
	PlatformRewardTypeITEM string = "ITEM"

	// PlatformRewardTypeCURRENCY captures enum value "CURRENCY"
	PlatformRewardTypeCURRENCY string = "CURRENCY"
)
View Source
const (

	// PlatformWalletWalletStatusACTIVE captures enum value "ACTIVE"
	PlatformWalletWalletStatusACTIVE string = "ACTIVE"

	// PlatformWalletWalletStatusINACTIVE captures enum value "INACTIVE"
	PlatformWalletWalletStatusINACTIVE string = "INACTIVE"
)
View Source
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"
)
View Source
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"
)
View Source
const (

	// PopulatedItemInfoEntitlementTypeDURABLE captures enum value "DURABLE"
	PopulatedItemInfoEntitlementTypeDURABLE string = "DURABLE"

	// PopulatedItemInfoEntitlementTypeCONSUMABLE captures enum value "CONSUMABLE"
	PopulatedItemInfoEntitlementTypeCONSUMABLE string = "CONSUMABLE"
)
View Source
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"

	// PopulatedItemInfoItemTypeSEASON captures enum value "SEASON"
	PopulatedItemInfoItemTypeSEASON string = "SEASON"

	// PopulatedItemInfoItemTypeMEDIA captures enum value "MEDIA"
	PopulatedItemInfoItemTypeMEDIA string = "MEDIA"
)
View Source
const (

	// PopulatedItemInfoSeasonTypePASS captures enum value "PASS"
	PopulatedItemInfoSeasonTypePASS string = "PASS"

	// PopulatedItemInfoSeasonTypeTIER captures enum value "TIER"
	PopulatedItemInfoSeasonTypeTIER string = "TIER"
)
View Source
const (

	// PopulatedItemInfoStatusACTIVE captures enum value "ACTIVE"
	PopulatedItemInfoStatusACTIVE string = "ACTIVE"

	// PopulatedItemInfoStatusINACTIVE captures enum value "INACTIVE"
	PopulatedItemInfoStatusINACTIVE string = "INACTIVE"
)
View Source
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"
)
View Source
const (

	// RegionDataItemCurrencyTypeREAL captures enum value "REAL"
	RegionDataItemCurrencyTypeREAL string = "REAL"

	// RegionDataItemCurrencyTypeVIRTUAL captures enum value "VIRTUAL"
	RegionDataItemCurrencyTypeVIRTUAL string = "VIRTUAL"
)
View Source
const (

	// RewardsRequestOriginPlaystation captures enum value "Playstation"
	RewardsRequestOriginPlaystation string = "Playstation"

	// RewardsRequestOriginXbox captures enum value "Xbox"
	RewardsRequestOriginXbox string = "Xbox"

	// RewardsRequestOriginSteam captures enum value "Steam"
	RewardsRequestOriginSteam string = "Steam"

	// RewardsRequestOriginEpic captures enum value "Epic"
	RewardsRequestOriginEpic string = "Epic"

	// RewardsRequestOriginStadia captures enum value "Stadia"
	RewardsRequestOriginStadia string = "Stadia"

	// RewardsRequestOriginIOS captures enum value "IOS"
	RewardsRequestOriginIOS string = "IOS"

	// RewardsRequestOriginGooglePlay captures enum value "GooglePlay"
	RewardsRequestOriginGooglePlay string = "GooglePlay"

	// RewardsRequestOriginTwitch captures enum value "Twitch"
	RewardsRequestOriginTwitch string = "Twitch"

	// RewardsRequestOriginNintendo captures enum value "Nintendo"
	RewardsRequestOriginNintendo string = "Nintendo"

	// RewardsRequestOriginSystem captures enum value "System"
	RewardsRequestOriginSystem string = "System"

	// RewardsRequestOriginOther captures enum value "Other"
	RewardsRequestOriginOther string = "Other"
)
View Source
const (

	// RewardsRequestSourcePURCHASE captures enum value "PURCHASE"
	RewardsRequestSourcePURCHASE string = "PURCHASE"

	// RewardsRequestSourceIAP captures enum value "IAP"
	RewardsRequestSourceIAP string = "IAP"

	// RewardsRequestSourcePROMOTION captures enum value "PROMOTION"
	RewardsRequestSourcePROMOTION string = "PROMOTION"

	// RewardsRequestSourceACHIEVEMENT captures enum value "ACHIEVEMENT"
	RewardsRequestSourceACHIEVEMENT string = "ACHIEVEMENT"

	// RewardsRequestSourceREFERRALBONUS captures enum value "REFERRAL_BONUS"
	RewardsRequestSourceREFERRALBONUS string = "REFERRAL_BONUS"

	// RewardsRequestSourceREDEEMCODE captures enum value "REDEEM_CODE"
	RewardsRequestSourceREDEEMCODE string = "REDEEM_CODE"

	// RewardsRequestSourceREWARD captures enum value "REWARD"
	RewardsRequestSourceREWARD string = "REWARD"

	// RewardsRequestSourceGIFT captures enum value "GIFT"
	RewardsRequestSourceGIFT string = "GIFT"

	// RewardsRequestSourceDLC captures enum value "DLC"
	RewardsRequestSourceDLC string = "DLC"

	// RewardsRequestSourceOTHER captures enum value "OTHER"
	RewardsRequestSourceOTHER string = "OTHER"
)
View Source
const (

	// SlideTypeImage captures enum value "image"
	SlideTypeImage string = "image"

	// SlideTypeVideo captures enum value "video"
	SlideTypeVideo string = "video"
)
View Source
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"
)
View Source
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"
)
View Source
const (

	// StackableEntitlementInfoClazzAPP captures enum value "APP"
	StackableEntitlementInfoClazzAPP string = "APP"

	// StackableEntitlementInfoClazzENTITLEMENT captures enum value "ENTITLEMENT"
	StackableEntitlementInfoClazzENTITLEMENT string = "ENTITLEMENT"

	// StackableEntitlementInfoClazzCODE captures enum value "CODE"
	StackableEntitlementInfoClazzCODE string = "CODE"

	// StackableEntitlementInfoClazzSUBSCRIPTION captures enum value "SUBSCRIPTION"
	StackableEntitlementInfoClazzSUBSCRIPTION string = "SUBSCRIPTION"

	// StackableEntitlementInfoClazzMEDIA captures enum value "MEDIA"
	StackableEntitlementInfoClazzMEDIA string = "MEDIA"
)
View Source
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"

	// StackableEntitlementInfoSourceREWARD captures enum value "REWARD"
	StackableEntitlementInfoSourceREWARD string = "REWARD"

	// StackableEntitlementInfoSourceGIFT captures enum value "GIFT"
	StackableEntitlementInfoSourceGIFT string = "GIFT"

	// StackableEntitlementInfoSourceOTHER captures enum value "OTHER"
	StackableEntitlementInfoSourceOTHER string = "OTHER"
)
View Source
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"

	// StackableEntitlementInfoStatusREVOKED captures enum value "REVOKED"
	StackableEntitlementInfoStatusREVOKED string = "REVOKED"
)
View Source
const (

	// StackableEntitlementInfoTypeDURABLE captures enum value "DURABLE"
	StackableEntitlementInfoTypeDURABLE string = "DURABLE"

	// StackableEntitlementInfoTypeCONSUMABLE captures enum value "CONSUMABLE"
	StackableEntitlementInfoTypeCONSUMABLE string = "CONSUMABLE"
)
View Source
const (

	// SubscriptionActivityInfoActionSUBSCRIBE captures enum value "SUBSCRIBE"
	SubscriptionActivityInfoActionSUBSCRIBE string = "SUBSCRIBE"

	// SubscriptionActivityInfoActionCANCEL captures enum value "CANCEL"
	SubscriptionActivityInfoActionCANCEL string = "CANCEL"

	// SubscriptionActivityInfoActionIMMEDIATECANCEL captures enum value "IMMEDIATE_CANCEL"
	SubscriptionActivityInfoActionIMMEDIATECANCEL string = "IMMEDIATE_CANCEL"

	// SubscriptionActivityInfoActionRESUBSCRIBE captures enum value "RESUBSCRIBE"
	SubscriptionActivityInfoActionRESUBSCRIBE string = "RESUBSCRIBE"

	// SubscriptionActivityInfoActionGRANTDAYS captures enum value "GRANT_DAYS"
	SubscriptionActivityInfoActionGRANTDAYS string = "GRANT_DAYS"

	// SubscriptionActivityInfoActionCHANGEBILLINGACCOUNT captures enum value "CHANGE_BILLING_ACCOUNT"
	SubscriptionActivityInfoActionCHANGEBILLINGACCOUNT string = "CHANGE_BILLING_ACCOUNT"
)
View Source
const (

	// SubscriptionActivityInfoSubscribedByUSER captures enum value "USER"
	SubscriptionActivityInfoSubscribedByUSER string = "USER"

	// SubscriptionActivityInfoSubscribedByPLATFORM captures enum value "PLATFORM"
	SubscriptionActivityInfoSubscribedByPLATFORM string = "PLATFORM"
)
View Source
const (

	// SubscriptionInfoChargeStatusNEVER captures enum value "NEVER"
	SubscriptionInfoChargeStatusNEVER string = "NEVER"

	// SubscriptionInfoChargeStatusSETUP captures enum value "SETUP"
	SubscriptionInfoChargeStatusSETUP string = "SETUP"

	// SubscriptionInfoChargeStatusRECURRINGCHARGING captures enum value "RECURRING_CHARGING"
	SubscriptionInfoChargeStatusRECURRINGCHARGING string = "RECURRING_CHARGING"

	// SubscriptionInfoChargeStatusCHARGED captures enum value "CHARGED"
	SubscriptionInfoChargeStatusCHARGED string = "CHARGED"

	// SubscriptionInfoChargeStatusCHARGEFAILED captures enum value "CHARGE_FAILED"
	SubscriptionInfoChargeStatusCHARGEFAILED string = "CHARGE_FAILED"
)
View Source
const (

	// SubscriptionInfoStatusINIT captures enum value "INIT"
	SubscriptionInfoStatusINIT string = "INIT"

	// SubscriptionInfoStatusACTIVE captures enum value "ACTIVE"
	SubscriptionInfoStatusACTIVE string = "ACTIVE"

	// SubscriptionInfoStatusCANCELLED captures enum value "CANCELLED"
	SubscriptionInfoStatusCANCELLED string = "CANCELLED"

	// SubscriptionInfoStatusEXPIRED captures enum value "EXPIRED"
	SubscriptionInfoStatusEXPIRED string = "EXPIRED"
)
View Source
const (

	// SubscriptionInfoSubscribedByUSER captures enum value "USER"
	SubscriptionInfoSubscribedByUSER string = "USER"

	// SubscriptionInfoSubscribedByPLATFORM captures enum value "PLATFORM"
	SubscriptionInfoSubscribedByPLATFORM string = "PLATFORM"
)
View Source
const (

	// SubscriptionSummaryStatusINIT captures enum value "INIT"
	SubscriptionSummaryStatusINIT string = "INIT"

	// SubscriptionSummaryStatusACTIVE captures enum value "ACTIVE"
	SubscriptionSummaryStatusACTIVE string = "ACTIVE"

	// SubscriptionSummaryStatusCANCELLED captures enum value "CANCELLED"
	SubscriptionSummaryStatusCANCELLED string = "CANCELLED"

	// SubscriptionSummaryStatusEXPIRED captures enum value "EXPIRED"
	SubscriptionSummaryStatusEXPIRED string = "EXPIRED"
)
View Source
const (

	// SubscriptionSummarySubscribedByUSER captures enum value "USER"
	SubscriptionSummarySubscribedByUSER string = "USER"

	// SubscriptionSummarySubscribedByPLATFORM captures enum value "PLATFORM"
	SubscriptionSummarySubscribedByPLATFORM string = "PLATFORM"
)
View Source
const (

	// TicketBoothIDTypeCAMPAIGN captures enum value "CAMPAIGN"
	TicketBoothIDTypeCAMPAIGN string = "CAMPAIGN"

	// TicketBoothIDTypeKEYGROUP captures enum value "KEYGROUP"
	TicketBoothIDTypeKEYGROUP string = "KEYGROUP"
)
View Source
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"
)
View Source
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"
)
View Source
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"
)
View Source
const (

	// TransactionStatusFINISHED captures enum value "FINISHED"
	TransactionStatusFINISHED string = "FINISHED"

	// TransactionStatusFAILED captures enum value "FAILED"
	TransactionStatusFAILED string = "FAILED"
)
View Source
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"
)
View Source
const (

	// WalletInfoStatusACTIVE captures enum value "ACTIVE"
	WalletInfoStatusACTIVE string = "ACTIVE"

	// WalletInfoStatusINACTIVE captures enum value "INACTIVE"
	WalletInfoStatusINACTIVE string = "INACTIVE"
)
View Source
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"
)
View Source
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"
)
View Source
const (

	// XsollaPaywallConfigDeviceDESKTOP captures enum value "DESKTOP"
	XsollaPaywallConfigDeviceDESKTOP string = "DESKTOP"

	// XsollaPaywallConfigDeviceMOBILE captures enum value "MOBILE"
	XsollaPaywallConfigDeviceMOBILE string = "MOBILE"
)
View Source
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"
)
View Source
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"
)
View Source
const (

	// XsollaPaywallConfigRequestDeviceDESKTOP captures enum value "DESKTOP"
	XsollaPaywallConfigRequestDeviceDESKTOP string = "DESKTOP"

	// XsollaPaywallConfigRequestDeviceMOBILE captures enum value "MOBILE"
	XsollaPaywallConfigRequestDeviceMOBILE string = "MOBILE"
)
View Source
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"
)
View Source
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"
)
View Source
const (

	// CampaignCreateRedeemTypeITEM captures enum value "ITEM"
	CampaignCreateRedeemTypeITEM string = "ITEM"
)
View Source
const (

	// CampaignCreateTypeREDEMPTION captures enum value "REDEMPTION"
	CampaignCreateTypeREDEMPTION string = "REDEMPTION"
)
View Source
const (

	// CampaignInfoRedeemTypeITEM captures enum value "ITEM"
	CampaignInfoRedeemTypeITEM string = "ITEM"
)
View Source
const (

	// CampaignInfoTypeREDEMPTION captures enum value "REDEMPTION"
	CampaignInfoTypeREDEMPTION string = "REDEMPTION"
)
View Source
const (

	// CampaignUpdateRedeemTypeITEM captures enum value "ITEM"
	CampaignUpdateRedeemTypeITEM string = "ITEM"
)
View Source
const (

	// CodeInfoRedeemTypeITEM captures enum value "ITEM"
	CodeInfoRedeemTypeITEM string = "ITEM"
)
View Source
const (

	// CodeInfoTypeREDEMPTION captures enum value "REDEMPTION"
	CodeInfoTypeREDEMPTION string = "REDEMPTION"
)
View Source
const (

	// FulfillmentScriptEvalTestRequestTypeGrantDays captures enum value "grantDays"
	FulfillmentScriptEvalTestRequestTypeGrantDays string = "grantDays"
)

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

func (*AdditionalData) Validate ¶

func (m *AdditionalData) Validate(formats strfmt.Registry) error

Validate validates this additional data

type AdminOrderCreate ¶ added in v0.18.0

type AdminOrderCreate struct {

	// currency code, should match currency code in item region data
	// Required: true
	CurrencyCode *string `json:"currencyCode"`

	// Discounted price of order, this should match (item_discounted_price * quantity) ifitem discounted price is available, otherwise it should equal to (item_price * quantity)
	// Required: true
	DiscountedPrice *int32 `json:"discountedPrice"`

	// extra field to store external order information
	Ext map[string]interface{} `json:"ext,omitempty"`

	// item id
	// Required: true
	ItemID *string `json:"itemId"`

	// language value from language tag, allowed format: en, en-US
	Language string `json:"language,omitempty"`

	// platform
	// Enum: [Playstation Xbox Steam Epic IOS GooglePlay Nintendo Other]
	Platform string `json:"platform,omitempty"`

	// Price of order, should match (item_price * quantity)
	// Required: true
	Price *int32 `json:"price"`

	// Quantity of item, min is 1
	// Required: true
	Quantity *int32 `json:"quantity"`

	// country value from ISO countries
	// Required: true
	Region *string `json:"region"`

	// custom return url for real payment, user will be redirected to this url once payment is finished
	ReturnURL string `json:"returnUrl,omitempty"`

	// sandbox
	Sandbox bool `json:"sandbox"`
}

AdminOrderCreate admin order create

swagger:model AdminOrderCreate

func (*AdminOrderCreate) MarshalBinary ¶ added in v0.18.0

func (m *AdminOrderCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AdminOrderCreate) UnmarshalBinary ¶ added in v0.18.0

func (m *AdminOrderCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AdminOrderCreate) Validate ¶ added in v0.18.0

func (m *AdminOrderCreate) Validate(formats strfmt.Registry) error

Validate validates this admin order create

type AdyenConfig ¶

type AdyenConfig struct {

	// specifying the payment methods that are allowed to appear with the paymentMethod.type. paymentMethod.type of each payment method link: https://docs.adyen.com/developers/payment-methods
	AllowedPaymentMethods []string `json:"allowedPaymentMethods"`

	// api key, max length is 4096
	APIKey string `json:"apiKey,omitempty"`

	// authorise as capture means no separated capture event
	AuthoriseAsCapture bool `json:"authoriseAsCapture"`

	// specifying the payment methods that are blocked with the paymentMethod.type. paymentMethod.type of each payment method link: https://docs.adyen.com/developers/payment-methods
	BlockedPaymentMethods []string `json:"blockedPaymentMethods"`

	// client key, max length is 4096
	ClientKey string `json:"clientKey,omitempty"`

	// Adyen drop in settings json string
	DropInSettings string `json:"dropInSettings,omitempty"`

	// Provide the unique live url prefix from the "API URLs and Response" menu in the Adyen Customer Area. Under sandbox env, please input random words.
	LiveEndpointURLPrefix string `json:"liveEndpointUrlPrefix,omitempty"`

	// merchant account, max length is 255
	MerchantAccount string `json:"merchantAccount,omitempty"`

	// notification hmac key, max length is 4096
	NotificationHmacKey string `json:"notificationHmacKey,omitempty"`

	// notification password, max length is 255
	NotificationPassword string `json:"notificationPassword,omitempty"`

	// notification username, max length is 255
	NotificationUsername string `json:"notificationUsername,omitempty"`

	// return url, max length is 2000
	ReturnURL string `json:"returnUrl,omitempty"`

	// Adyen settings json string(Deprecated, please use dropInSettings field) adyen settings docs: https://docs.adyen.com/checkout/web-sdk/customization/settings/
	Settings string `json:"settings,omitempty"`
}

AdyenConfig A DTO object for updating adyen config.

swagger:model AdyenConfig

func (*AdyenConfig) MarshalBinary ¶

func (m *AdyenConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AdyenConfig) UnmarshalBinary ¶

func (m *AdyenConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AdyenConfig) Validate ¶

func (m *AdyenConfig) Validate(formats strfmt.Registry) error

Validate validates this adyen config

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

func (*AliPayConfig) Validate ¶

func (m *AliPayConfig) Validate(formats strfmt.Registry) error

Validate validates this ali pay config

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"`

	// item id
	ItemID string `json:"itemId,omitempty"`

	// itemSnapshot
	ItemSnapshot *ItemSnapshot `json:"itemSnapshot,omitempty"`

	// entitlement namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// unique sku no for item
	Sku string `json:"sku,omitempty"`

	// entitlement start date
	// Format: date-time
	StartDate *strfmt.DateTime `json:"startDate,omitempty"`

	// entitlement status
	// Required: true
	// Enum: [ACTIVE INACTIVE CONSUMED REVOKED]
	Status *string `json:"status"`

	// item store id, null if published store
	StoreID string `json:"storeId,omitempty"`

	// entitlement owner
	// Required: true
	UserID *string `json:"userId"`
}

AppEntitlementInfo app entitlement info

swagger:model AppEntitlementInfo

func (*AppEntitlementInfo) MarshalBinary ¶

func (m *AppEntitlementInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AppEntitlementInfo) UnmarshalBinary ¶

func (m *AppEntitlementInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AppEntitlementInfo) Validate ¶

func (m *AppEntitlementInfo) Validate(formats strfmt.Registry) error

Validate validates this app entitlement info

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

func (*AppEntitlementPagingSlicedResult) Validate ¶

Validate validates this app entitlement paging sliced result

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 ¶

func (m *AppInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AppInfo) UnmarshalBinary ¶

func (m *AppInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AppInfo) Validate ¶

func (m *AppInfo) Validate(formats strfmt.Registry) error

Validate validates this app info

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

func (*AppLocalization) Validate ¶

func (m *AppLocalization) Validate(formats strfmt.Registry) error

Validate validates this app localization

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 ¶

func (m *AppUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AppUpdate) UnmarshalBinary ¶

func (m *AppUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AppUpdate) Validate ¶

func (m *AppUpdate) Validate(formats strfmt.Registry) error

Validate validates this app update

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

func (*AppleIAPConfigInfo) Validate ¶

func (m *AppleIAPConfigInfo) Validate(formats strfmt.Registry) error

Validate validates this apple i a p config info

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

func (*AppleIAPConfigRequest) Validate ¶

func (m *AppleIAPConfigRequest) Validate(formats strfmt.Registry) error

Validate validates this apple i a p config request

type AppleIAPReceipt ¶

type AppleIAPReceipt struct {

	// Only used for iOS7 style app receipts that contain auto-renewable or non-renewing subscriptions. If value is true, response includes only the latest renewal transaction for any subscriptions.
	ExcludeOldTransactions bool `json:"excludeOldTransactions"`

	// language value from language tag, allowed format: en, en-US
	// Pattern: ^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$
	Language string `json:"language,omitempty"`

	// The product identifier of the item that was purchased.
	// Required: true
	ProductID *string `json:"productId"`

	// The base64 encoded receipt data.
	// Required: true
	ReceiptData *string `json:"receiptData"`

	// country value from ISO countries
	Region string `json:"region,omitempty"`

	// The transaction identifier of the item that was purchased.
	// Required: true
	TransactionID *string `json:"transactionId"`
}

AppleIAPReceipt apple i a p receipt

swagger:model AppleIAPReceipt

func (*AppleIAPReceipt) MarshalBinary ¶

func (m *AppleIAPReceipt) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*AppleIAPReceipt) UnmarshalBinary ¶

func (m *AppleIAPReceipt) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*AppleIAPReceipt) Validate ¶

func (m *AppleIAPReceipt) Validate(formats strfmt.Registry) error

Validate validates this apple i a p receipt

type BasicCategoryInfo ¶

type BasicCategoryInfo struct {

	// Category path
	// Required: true
	CategoryPath *string `json:"categoryPath"`

	// Category created time
	// Required: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt"`

	// Category namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// Parent category path
	// Required: true
	ParentCategoryPath *string `json:"parentCategoryPath"`

	// root
	Root bool `json:"root"`

	// Category updated time
	// Required: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt"`
}

BasicCategoryInfo basic category info

swagger:model BasicCategoryInfo

func (*BasicCategoryInfo) MarshalBinary ¶

func (m *BasicCategoryInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BasicCategoryInfo) UnmarshalBinary ¶

func (m *BasicCategoryInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BasicCategoryInfo) Validate ¶

func (m *BasicCategoryInfo) Validate(formats strfmt.Registry) error

Validate validates this basic category info

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 SEASON MEDIA]
	ItemType *string `json:"itemType"`

	// Name
	// Required: true
	Name *string `json:"name"`

	// Item namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// Season type, required while itemType is SEASON
	// Enum: [PASS TIER]
	SeasonType string `json:"seasonType,omitempty"`

	// Sku
	Sku string `json:"sku,omitempty"`

	// Item status
	// Required: true
	// Enum: [ACTIVE INACTIVE]
	Status *string `json:"status"`

	// Tags
	// Unique: true
	Tags []string `json:"tags"`

	// updated at
	// Required: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt"`

	// Item use count, required when entitlement type is consumable or itemType is COINS
	UseCount int32 `json:"useCount,omitempty"`
}

BasicItem basic item

swagger:model BasicItem

func (*BasicItem) MarshalBinary ¶

func (m *BasicItem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BasicItem) UnmarshalBinary ¶

func (m *BasicItem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BasicItem) Validate ¶

func (m *BasicItem) Validate(formats strfmt.Registry) error

Validate validates this basic item

type BillingAccount ¶ added in v0.7.0

type BillingAccount struct {

	// payment addition data
	AdditionalData *AdditionalData `json:"additionalData,omitempty"`

	// payment method
	PaymentMethod string `json:"paymentMethod,omitempty"`

	// payment provider
	// Enum: [WALLET XSOLLA ADYEN STRIPE CHECKOUT ALIPAY WXPAY PAYPAL]
	PaymentProvider string `json:"paymentProvider,omitempty"`
}

BillingAccount billing account

swagger:model BillingAccount

func (*BillingAccount) MarshalBinary ¶ added in v0.7.0

func (m *BillingAccount) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BillingAccount) UnmarshalBinary ¶ added in v0.7.0

func (m *BillingAccount) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BillingAccount) Validate ¶ added in v0.7.0

func (m *BillingAccount) Validate(formats strfmt.Registry) error

Validate validates this billing account

type BillingHistoryInfo ¶ added in v0.7.0

type BillingHistoryInfo struct {

	// charge amount
	// Required: true
	Amount *int32 `json:"amount"`

	// billing account
	BillingAccount *BillingAccount `json:"billingAccount,omitempty"`

	// Is this payment for billing account change
	ChangeBillingAccount bool `json:"changeBillingAccount"`

	// created at
	// Required: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt"`

	// currency
	// Required: true
	Currency *CurrencySummary `json:"currency"`

	// subscription description
	Description string `json:"description,omitempty"`

	// external transaction id
	ExtTxID string `json:"extTxId,omitempty"`

	// item id
	// Required: true
	ItemID *string `json:"itemId"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// payment order No
	// Required: true
	PaymentOrderNo *string `json:"paymentOrderNo"`

	// Recurring order No for this billing
	// Required: true
	RecurringOrderNo *string `json:"recurringOrderNo"`

	// Already retry attempted No
	RetryAttempted int32 `json:"retryAttempted,omitempty"`

	// sandbox
	// Required: true
	Sandbox *bool `json:"sandbox"`

	// subscription sku
	Sku string `json:"sku,omitempty"`

	// billing history status
	// Required: true
	// Enum: [INIT CHARGED CHARGE_FAILED REFUNDED REFUND_FAILED]
	Status *string `json:"status"`

	// status reason
	StatusReason string `json:"statusReason,omitempty"`

	// subscription id
	// Required: true
	SubscriptionID *string `json:"subscriptionId"`

	// subtotal price
	SubtotalPrice int32 `json:"subtotalPrice,omitempty"`

	// subscription title
	// Required: true
	Title *string `json:"title"`

	// total price
	TotalPrice int32 `json:"totalPrice,omitempty"`

	// total tax
	TotalTax int32 `json:"totalTax,omitempty"`

	// transaction end time
	// Format: date-time
	TxEndTime *strfmt.DateTime `json:"txEndTime,omitempty"`

	// updated at
	// Required: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt"`

	// user id
	// Required: true
	UserID *string `json:"userId"`
}

BillingHistoryInfo billing history info

swagger:model BillingHistoryInfo

func (*BillingHistoryInfo) MarshalBinary ¶ added in v0.7.0

func (m *BillingHistoryInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BillingHistoryInfo) UnmarshalBinary ¶ added in v0.7.0

func (m *BillingHistoryInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BillingHistoryInfo) Validate ¶ added in v0.7.0

func (m *BillingHistoryInfo) Validate(formats strfmt.Registry) error

Validate validates this billing history info

type BillingHistoryPagingSlicedResult ¶ added in v0.7.0

type BillingHistoryPagingSlicedResult struct {

	// data
	// Required: true
	Data []*BillingHistoryInfo `json:"data"`

	// paging
	Paging *Paging `json:"paging,omitempty"`
}

BillingHistoryPagingSlicedResult billing history paging sliced result

swagger:model BillingHistoryPagingSlicedResult

func (*BillingHistoryPagingSlicedResult) MarshalBinary ¶ added in v0.7.0

func (m *BillingHistoryPagingSlicedResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BillingHistoryPagingSlicedResult) UnmarshalBinary ¶ added in v0.7.0

func (m *BillingHistoryPagingSlicedResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BillingHistoryPagingSlicedResult) Validate ¶ added in v0.7.0

Validate validates this billing history paging sliced result

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

func (*BulkOperationResult) Validate ¶

func (m *BulkOperationResult) Validate(formats strfmt.Registry) error

Validate validates this bulk operation result

type BundledItemInfo ¶ added in v0.10.0

type BundledItemInfo struct {

	// App id, required when itemType is APP
	AppID string `json:"appId,omitempty"`

	// App type, required when itemType is APP
	// Enum: [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"`

	// the items which this item being bounded to
	// Unique: true
	BoundItemIds []string `json:"boundItemIds"`

	// bundled qty
	BundledQty int32 `json:"bundledQty,omitempty"`

	// Item category path
	// Required: true
	CategoryPath *string `json:"categoryPath"`

	// customized item clazz
	Clazz string `json:"clazz,omitempty"`

	// created at
	// Required: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt"`

	// description info
	Description string `json:"description,omitempty"`

	// display order
	DisplayOrder int32 `json:"displayOrder,omitempty"`

	// Entitlement type
	// Required: true
	// Enum: [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"`

	// itemQty, the quantity of item in itemIds, default 1, should be empty if item type is not "BUNDLE"
	ItemQty map[string]int32 `json:"itemQty,omitempty"`

	// Item type
	// Required: true
	// Enum: [APP COINS INGAMEITEM BUNDLE CODE SUBSCRIPTION SEASON MEDIA]
	ItemType *string `json:"itemType"`

	// language
	// Required: true
	Language *string `json:"language"`

	// Whether can be visible in Store for public user
	Listable bool `json:"listable"`

	// local ext
	LocalExt map[string]interface{} `json:"localExt,omitempty"`

	// long description info
	LongDescription string `json:"longDescription,omitempty"`

	// Max count, -1 means UNLIMITED, unset when itemType is CODE
	MaxCount int32 `json:"maxCount,omitempty"`

	// Max count per user, -1 means UNLIMITED
	MaxCountPerUser int32 `json:"maxCountPerUser,omitempty"`

	// Name
	// Required: true
	Name *string `json:"name"`

	// Item namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// Whether can be purchased
	Purchasable bool `json:"purchasable"`

	// recurring for subscription
	Recurring *Recurring `json:"recurring,omitempty"`

	// region
	// Required: true
	Region *string `json:"region"`

	// Region data
	RegionData []*RegionDataItem `json:"regionData"`

	// Season type, required while itemType is SEASON
	// Enum: [PASS TIER]
	SeasonType string `json:"seasonType,omitempty"`

	// Sku
	Sku string `json:"sku,omitempty"`

	// Whether stack the CONSUMABLE entitlement
	Stackable bool `json:"stackable"`

	// Item status
	// Required: true
	// Enum: [ACTIVE INACTIVE]
	Status *string `json:"status"`

	// Tags
	// Unique: true
	Tags []string `json:"tags"`

	// Target currency code of coin item
	TargetCurrencyCode string `json:"targetCurrencyCode,omitempty"`

	// Target item id if this item is mapping from game namespace
	TargetItemID string `json:"targetItemId,omitempty"`

	// The target namespace of a cross namespace item
	TargetNamespace string `json:"targetNamespace,omitempty"`

	// thumbnail url
	ThumbnailURL string `json:"thumbnailUrl,omitempty"`

	// title info
	// Required: true
	Title *string `json:"title"`

	// updated at
	// Required: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt"`

	// Item use count, required when entitlement type is consumable or itemType is COINS
	UseCount int32 `json:"useCount,omitempty"`
}

BundledItemInfo bundled item info

swagger:model BundledItemInfo

func (*BundledItemInfo) MarshalBinary ¶ added in v0.10.0

func (m *BundledItemInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*BundledItemInfo) UnmarshalBinary ¶ added in v0.10.0

func (m *BundledItemInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*BundledItemInfo) Validate ¶ added in v0.10.0

func (m *BundledItemInfo) Validate(formats strfmt.Registry) error

Validate validates this bundled item info

type CampaignCreate ¶ added in v0.7.0

type CampaignCreate struct {

	// The description of the campaign, max length is 1024 characters
	Description string `json:"description,omitempty"`

	// Redeemable items
	Items []*RedeemableItem `json:"items"`

	// The maximum redeem count per campaign per user, must equal or greater than -1, -1 means UNLIMITED, default is 1
	MaxRedeemCountPerCampaignPerUser int32 `json:"maxRedeemCountPerCampaignPerUser,omitempty"`

	// The maximum redeem count per code, must equal or greater than -1, -1 means UNLIMITED, default is 1
	MaxRedeemCountPerCode int32 `json:"maxRedeemCountPerCode,omitempty"`

	// The maximum redeem count per code per user, must equal or greater than -1, -1 means UNLIMITED, default is 1
	MaxRedeemCountPerCodePerUser int32 `json:"maxRedeemCountPerCodePerUser,omitempty"`

	// Max sale count, -1 means UNLIMITED
	MaxSaleCount int32 `json:"maxSaleCount,omitempty"`

	// The name of the campaign, it should starts and ends with alphabets uppercase/lowercase or numeric
	// Allowed separators ',.- and white-space, max length is 48
	// Required: true
	Name *string `json:"name"`

	// redeem end time in yyyy-MM-dd'T'HH:mm:ss.SSS'Z'
	// Format: date-time
	RedeemEnd *strfmt.DateTime `json:"redeemEnd,omitempty"`

	// redeem start time in yyyy-MM-dd'T'HH:mm:ss.SSS'Z'
	// Format: date-time
	RedeemStart *strfmt.DateTime `json:"redeemStart,omitempty"`

	// Redeem Type. Allowed values: ITEM. ITEM for default
	// Enum: [ITEM]
	RedeemType string `json:"redeemType,omitempty"`

	// The status of the campaign, default ACTIVE
	// Enum: [ACTIVE INACTIVE]
	Status string `json:"status,omitempty"`

	// The tags of the campaign
	Tags []string `json:"tags"`

	// Campaign type. Allowed values: REDEMPTION. REDEMPTION for default
	// Enum: [REDEMPTION]
	Type string `json:"type,omitempty"`
}

CampaignCreate A DTO object for creating campaign API call.

swagger:model CampaignCreate

func (*CampaignCreate) MarshalBinary ¶ added in v0.7.0

func (m *CampaignCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CampaignCreate) UnmarshalBinary ¶ added in v0.7.0

func (m *CampaignCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CampaignCreate) Validate ¶ added in v0.7.0

func (m *CampaignCreate) Validate(formats strfmt.Registry) error

Validate validates this campaign create

type CampaignDynamicInfo ¶ added in v0.7.0

type CampaignDynamicInfo struct {

	// The available sale count, -1 means UNLIMITED
	// Required: true
	AvailableSaleCount *int32 `json:"availableSaleCount"`

	// The batch number marks the manually code generation
	// Required: true
	LastBatchNo *int32 `json:"lastBatchNo"`

	// The total quantity of this campaign has
	// Required: true
	Quantity *int32 `json:"quantity"`

	// The remainder quantity of codes not been redeemed out
	// Required: true
	Remainder *int32 `json:"remainder"`

	// The sale count
	// Required: true
	SaleCount *int32 `json:"saleCount"`
}

CampaignDynamicInfo campaign dynamic info

swagger:model CampaignDynamicInfo

func (*CampaignDynamicInfo) MarshalBinary ¶ added in v0.7.0

func (m *CampaignDynamicInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CampaignDynamicInfo) UnmarshalBinary ¶ added in v0.7.0

func (m *CampaignDynamicInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CampaignDynamicInfo) Validate ¶ added in v0.7.0

func (m *CampaignDynamicInfo) Validate(formats strfmt.Registry) error

Validate validates this campaign dynamic info

type CampaignInfo ¶ added in v0.7.0

type CampaignInfo struct {

	// booth name
	// Required: true
	BoothName *string `json:"boothName"`

	// created at
	// Required: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt"`

	// campaign description
	Description string `json:"description,omitempty"`

	// campaign id
	// Required: true
	ID *string `json:"id"`

	// redeem items
	Items []*RedeemableItem `json:"items"`

	// The maximum redeem count of a campaign per user, -1 means UNLIMITED
	// Required: true
	MaxRedeemCountPerCampaignPerUser *int32 `json:"maxRedeemCountPerCampaignPerUser"`

	// The maximum redeem count of a code, -1 means UNLIMITED
	// Required: true
	MaxRedeemCountPerCode *int32 `json:"maxRedeemCountPerCode"`

	// The maximum redeem count of a code per user, -1 means UNLIMITED
	// Required: true
	MaxRedeemCountPerCodePerUser *int32 `json:"maxRedeemCountPerCodePerUser"`

	// The maximum sale count, -1 means UNLIMITED
	// Required: true
	MaxSaleCount *int32 `json:"maxSaleCount"`

	// campaign name
	// Required: true
	Name *string `json:"name"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// redeem end
	// Format: date-time
	RedeemEnd *strfmt.DateTime `json:"redeemEnd,omitempty"`

	// redeem start
	// Format: date-time
	RedeemStart *strfmt.DateTime `json:"redeemStart,omitempty"`

	// redeem type
	// Required: true
	// Enum: [ITEM]
	RedeemType *string `json:"redeemType"`

	// campaign status
	// Required: true
	// Enum: [ACTIVE INACTIVE]
	Status *string `json:"status"`

	// campaign tags
	Tags []string `json:"tags"`

	// campaign type
	// Required: true
	// Enum: [REDEMPTION]
	Type *string `json:"type"`

	// update at
	// Required: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt"`
}

CampaignInfo campaign info

swagger:model CampaignInfo

func (*CampaignInfo) MarshalBinary ¶ added in v0.7.0

func (m *CampaignInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CampaignInfo) UnmarshalBinary ¶ added in v0.7.0

func (m *CampaignInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CampaignInfo) Validate ¶ added in v0.7.0

func (m *CampaignInfo) Validate(formats strfmt.Registry) error

Validate validates this campaign info

type CampaignPagingSlicedResult ¶ added in v0.7.0

type CampaignPagingSlicedResult struct {

	// data
	// Required: true
	Data []*CampaignInfo `json:"data"`

	// paging
	Paging *Paging `json:"paging,omitempty"`
}

CampaignPagingSlicedResult campaign paging sliced result

swagger:model CampaignPagingSlicedResult

func (*CampaignPagingSlicedResult) MarshalBinary ¶ added in v0.7.0

func (m *CampaignPagingSlicedResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CampaignPagingSlicedResult) UnmarshalBinary ¶ added in v0.7.0

func (m *CampaignPagingSlicedResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CampaignPagingSlicedResult) Validate ¶ added in v0.7.0

func (m *CampaignPagingSlicedResult) Validate(formats strfmt.Registry) error

Validate validates this campaign paging sliced result

type CampaignUpdate ¶ added in v0.7.0

type CampaignUpdate struct {

	// The description of the campaign, max length is 1024 characters
	Description string `json:"description,omitempty"`

	// Redeemable Items
	Items []*RedeemableItem `json:"items"`

	// The maximum redeem count per campaign per user, must equal or greater than -1, -1 means UNLIMITED, default is 1
	MaxRedeemCountPerCampaignPerUser int32 `json:"maxRedeemCountPerCampaignPerUser,omitempty"`

	// The maximum redeems count per code, must equal or greater than -1, -1 means UNLIMITED
	MaxRedeemCountPerCode int32 `json:"maxRedeemCountPerCode,omitempty"`

	// The maximum redeem count per code per user, must equal or greater than -1, -1 means UNLIMITED
	MaxRedeemCountPerCodePerUser int32 `json:"maxRedeemCountPerCodePerUser,omitempty"`

	// Max sale count, -1 means UNLIMITED
	MaxSaleCount int32 `json:"maxSaleCount,omitempty"`

	// The name of the campaign, it should starts and ends with alphabets uppercase/lowercase or numeric
	// Allowed separators ',.- and white-space, max length is 48
	// Required: true
	Name *string `json:"name"`

	// redeem end time in yyyy-MM-dd'T'HH:mm:ss.SSS'Z'
	// Format: date-time
	RedeemEnd *strfmt.DateTime `json:"redeemEnd,omitempty"`

	// redeem start time in yyyy-MM-dd'T'HH:mm:ss.SSS'Z'
	// Format: date-time
	RedeemStart *strfmt.DateTime `json:"redeemStart,omitempty"`

	// Redeem Type. Allowed values: ITEM
	// Enum: [ITEM]
	RedeemType string `json:"redeemType,omitempty"`

	// The status of the campaign
	// Enum: [ACTIVE INACTIVE]
	Status string `json:"status,omitempty"`

	// The tags of the campaign
	Tags []string `json:"tags"`
}

CampaignUpdate A DTO object for updating campaign API call.

swagger:model CampaignUpdate

func (*CampaignUpdate) MarshalBinary ¶ added in v0.7.0

func (m *CampaignUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CampaignUpdate) UnmarshalBinary ¶ added in v0.7.0

func (m *CampaignUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CampaignUpdate) Validate ¶ added in v0.7.0

func (m *CampaignUpdate) Validate(formats strfmt.Registry) error

Validate validates this campaign update

type CancelRequest ¶ added in v0.7.0

type CancelRequest struct {

	// immediate, default false
	Immediate bool `json:"immediate"`

	// cancel reason
	Reason string `json:"reason,omitempty"`
}

CancelRequest cancel request

swagger:model CancelRequest

func (*CancelRequest) MarshalBinary ¶ added in v0.7.0

func (m *CancelRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CancelRequest) UnmarshalBinary ¶ added in v0.7.0

func (m *CancelRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CancelRequest) Validate ¶ added in v0.7.0

func (m *CancelRequest) Validate(formats strfmt.Registry) error

Validate validates this cancel request

type CatalogChangeInfo ¶ added in v0.17.0

type CatalogChangeInfo struct {

	// change action
	// Required: true
	// Enum: [CREATE UPDATE DELETE]
	Action *string `json:"action"`

	// category path id type Category
	CategoryPath string `json:"categoryPath,omitempty"`

	// change id
	// Required: true
	ChangeID *string `json:"changeId"`

	// created time
	// Required: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt"`

	// item id
	ItemID string `json:"itemId,omitempty"`

	// item type
	// Enum: [APP COINS INGAMEITEM BUNDLE CODE SUBSCRIPTION SEASON MEDIA]
	ItemType string `json:"itemType,omitempty"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// publish time
	// Format: date-time
	PublishedAt *strfmt.DateTime `json:"publishedAt,omitempty"`

	// item sku
	Sku string `json:"sku,omitempty"`

	// change status
	// Required: true
	// Enum: [UNPUBLISHED PUBLISHED]
	Status *string `json:"status"`

	// store id
	// Required: true
	StoreID *string `json:"storeId"`

	// store title or item's name
	Title string `json:"title,omitempty"`

	// change type
	// Enum: [STORE CATEGORY ITEM]
	Type string `json:"type,omitempty"`

	// updated time
	// Required: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt"`
}

CatalogChangeInfo catalog change info

swagger:model CatalogChangeInfo

func (*CatalogChangeInfo) MarshalBinary ¶ added in v0.17.0

func (m *CatalogChangeInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CatalogChangeInfo) UnmarshalBinary ¶ added in v0.17.0

func (m *CatalogChangeInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CatalogChangeInfo) Validate ¶ added in v0.17.0

func (m *CatalogChangeInfo) Validate(formats strfmt.Registry) error

Validate validates this catalog change info

type CatalogChangePagingSlicedResult ¶ added in v0.17.0

type CatalogChangePagingSlicedResult struct {

	// data
	// Required: true
	Data []*CatalogChangeInfo `json:"data"`

	// paging
	Paging *Paging `json:"paging,omitempty"`
}

CatalogChangePagingSlicedResult catalog change paging sliced result

swagger:model CatalogChangePagingSlicedResult

func (*CatalogChangePagingSlicedResult) MarshalBinary ¶ added in v0.17.0

func (m *CatalogChangePagingSlicedResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CatalogChangePagingSlicedResult) UnmarshalBinary ¶ added in v0.17.0

func (m *CatalogChangePagingSlicedResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CatalogChangePagingSlicedResult) Validate ¶ added in v0.17.0

Validate validates this catalog change paging sliced result

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

func (*CategoryCreate) Validate ¶

func (m *CategoryCreate) Validate(formats strfmt.Registry) error

Validate validates this category create

type CategoryInfo ¶

type CategoryInfo struct {

	// Category path
	// Required: true
	CategoryPath *string `json:"categoryPath"`

	// Category created time
	// Required: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt"`

	// Category display name
	// Required: true
	DisplayName *string `json:"displayName"`

	// Category namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// Parent category path
	// Required: true
	ParentCategoryPath *string `json:"parentCategoryPath"`

	// root
	Root bool `json:"root"`

	// Category updated time
	// Required: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt"`
}

CategoryInfo category info

swagger:model CategoryInfo

func (*CategoryInfo) MarshalBinary ¶

func (m *CategoryInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CategoryInfo) UnmarshalBinary ¶

func (m *CategoryInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CategoryInfo) Validate ¶

func (m *CategoryInfo) Validate(formats strfmt.Registry) error

Validate validates this category info

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

func (*CategoryUpdate) Validate ¶

func (m *CategoryUpdate) Validate(formats strfmt.Registry) error

Validate validates this category update

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

func (*CheckoutConfig) Validate ¶

func (m *CheckoutConfig) Validate(formats strfmt.Registry) error

Validate validates this checkout config

type CodeCreate ¶ added in v0.7.0

type CodeCreate struct {

	// The quantity of codes to generate
	// Required: true
	Quantity *int32 `json:"quantity"`
}

CodeCreate A DTO object for creating codes API call.

swagger:model CodeCreate

func (*CodeCreate) MarshalBinary ¶ added in v0.7.0

func (m *CodeCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CodeCreate) UnmarshalBinary ¶ added in v0.7.0

func (m *CodeCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CodeCreate) Validate ¶ added in v0.7.0

func (m *CodeCreate) Validate(formats strfmt.Registry) error

Validate validates this code create

type CodeCreateResult ¶ added in v0.7.0

type CodeCreateResult struct {

	// number created
	// Required: true
	NumCreated *int32 `json:"numCreated"`
}

CodeCreateResult code create result

swagger:model CodeCreateResult

func (*CodeCreateResult) MarshalBinary ¶ added in v0.7.0

func (m *CodeCreateResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CodeCreateResult) UnmarshalBinary ¶ added in v0.7.0

func (m *CodeCreateResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CodeCreateResult) Validate ¶ added in v0.7.0

func (m *CodeCreateResult) Validate(formats strfmt.Registry) error

Validate validates this code create result

type CodeInfo ¶ added in v0.7.0

type CodeInfo struct {

	// order No. that grant this code
	AcquireOrderNo string `json:"acquireOrderNo,omitempty"`

	// user Id who get this code
	AcquireUserID string `json:"acquireUserId,omitempty"`

	// batch No.
	// Required: true
	BatchNo *int32 `json:"batchNo"`

	// campaign id
	// Required: true
	CampaignID *string `json:"campaignId"`

	// created at
	// Required: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt"`

	// code id
	// Required: true
	ID *string `json:"id"`

	// redeem items
	Items []*RedeemableItem `json:"items"`

	// The maximum redeem count of a campaign per user, -1 means UNLIMITED
	// Required: true
	MaxRedeemCountPerCampaignPerUser *int32 `json:"maxRedeemCountPerCampaignPerUser"`

	// The maximum redeem count of a code, -1 means UNLIMITED
	// Required: true
	MaxRedeemCountPerCode *int32 `json:"maxRedeemCountPerCode"`

	// The maximum redeem count of a code per user, -1 means UNLIMITED
	// Required: true
	MaxRedeemCountPerCodePerUser *int32 `json:"maxRedeemCountPerCodePerUser"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// redeem end
	// Format: date-time
	RedeemEnd *strfmt.DateTime `json:"redeemEnd,omitempty"`

	// redeem start
	// Format: date-time
	RedeemStart *strfmt.DateTime `json:"redeemStart,omitempty"`

	// redeem type
	// Required: true
	// Enum: [ITEM]
	RedeemType *string `json:"redeemType"`

	// The total count of this code has been redeemed
	// Required: true
	RedeemedCount *int32 `json:"redeemedCount"`

	// Redemption remainder, -1 means unlimited
	// Required: true
	Remainder *int32 `json:"remainder"`

	// code status
	// Required: true
	// Enum: [ACTIVE INACTIVE]
	Status *string `json:"status"`

	// campaign type
	// Required: true
	// Enum: [REDEMPTION]
	Type *string `json:"type"`

	// updated at
	// Required: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt"`

	// code value
	// Required: true
	Value *string `json:"value"`
}

CodeInfo code info

swagger:model CodeInfo

func (*CodeInfo) MarshalBinary ¶ added in v0.7.0

func (m *CodeInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CodeInfo) UnmarshalBinary ¶ added in v0.7.0

func (m *CodeInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CodeInfo) Validate ¶ added in v0.7.0

func (m *CodeInfo) Validate(formats strfmt.Registry) error

Validate validates this code info

type CodeInfoPagingSlicedResult ¶ added in v0.7.0

type CodeInfoPagingSlicedResult struct {

	// data
	// Required: true
	Data []*CodeInfo `json:"data"`

	// paging
	Paging *Paging `json:"paging,omitempty"`
}

CodeInfoPagingSlicedResult code info paging sliced result

swagger:model CodeInfoPagingSlicedResult

func (*CodeInfoPagingSlicedResult) MarshalBinary ¶ added in v0.7.0

func (m *CodeInfoPagingSlicedResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CodeInfoPagingSlicedResult) UnmarshalBinary ¶ added in v0.7.0

func (m *CodeInfoPagingSlicedResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CodeInfoPagingSlicedResult) Validate ¶ added in v0.7.0

func (m *CodeInfoPagingSlicedResult) Validate(formats strfmt.Registry) error

Validate validates this code info paging sliced result

type ConditionMatchResult ¶ added in v0.8.0

type ConditionMatchResult struct {

	// matched
	Matched bool `json:"matched"`

	// matched conditions
	MatchedConditions []interface{} `json:"matchedConditions"`

	// not match reason
	NotMatchReason string `json:"notMatchReason,omitempty"`
}

ConditionMatchResult condition match result

swagger:model ConditionMatchResult

func (*ConditionMatchResult) MarshalBinary ¶ added in v0.8.0

func (m *ConditionMatchResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ConditionMatchResult) UnmarshalBinary ¶ added in v0.8.0

func (m *ConditionMatchResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ConditionMatchResult) Validate ¶ added in v0.8.0

func (m *ConditionMatchResult) Validate(formats strfmt.Registry) error

Validate validates this condition match result

type CreditRequest ¶

type CreditRequest struct {

	// amount
	// Required: true
	// Minimum: 1
	Amount *int64 `json:"amount"`

	// this amount expire time, using ISO 8601 format e.g. yyyy-MM-dd'T'HH:mm:ss.SSS'Z'
	// Format: date-time
	ExpireAt *strfmt.DateTime `json:"expireAt,omitempty"`

	// origin, balance origin decided on the type of wallet, default is System
	// Enum: [Playstation Xbox Steam Epic Stadia IOS GooglePlay Twitch Nintendo System Other]
	Origin string `json:"origin,omitempty"`

	// reason, max length is 127
	Reason string `json:"reason,omitempty"`

	// source, purchase for default
	// Enum: [PURCHASE IAP PROMOTION ACHIEVEMENT REFERRAL_BONUS REDEEM_CODE REWARD GIFT REFUND DLC 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

func (*CreditRequest) Validate ¶

func (m *CreditRequest) Validate(formats strfmt.Registry) error

Validate validates this credit request

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

func (*CreditSummary) Validate ¶

func (m *CreditSummary) Validate(formats strfmt.Registry) error

Validate validates this credit summary

type CurrencyConfig ¶

type CurrencyConfig struct {

	// currency symbol
	// Required: true
	CurrencySymbol *string `json:"currencySymbol"`
}

CurrencyConfig currency config

swagger:model CurrencyConfig

func (*CurrencyConfig) MarshalBinary ¶

func (m *CurrencyConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CurrencyConfig) UnmarshalBinary ¶

func (m *CurrencyConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CurrencyConfig) Validate ¶

func (m *CurrencyConfig) Validate(formats strfmt.Registry) error

Validate validates this currency config

type CurrencyCreate ¶

type CurrencyCreate struct {

	// currency code, alphabet uppercase
	// Required: true
	CurrencyCode *string `json:"currencyCode"`

	// currency symbol, max length is 8
	CurrencySymbol string `json:"currencySymbol,omitempty"`

	// currency type
	// Enum: [REAL VIRTUAL]
	CurrencyType string `json:"currencyType,omitempty"`

	// decimals, commonly set 2 if real currency or 0 if virtual currency
	Decimals int32 `json:"decimals,omitempty"`

	// Description, key is language, value is description max length is 255
	LocalizationDescriptions map[string]string `json:"localizationDescriptions,omitempty"`
}

CurrencyCreate A DTO for creating currency

swagger:model CurrencyCreate

func (*CurrencyCreate) MarshalBinary ¶

func (m *CurrencyCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CurrencyCreate) UnmarshalBinary ¶

func (m *CurrencyCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CurrencyCreate) Validate ¶

func (m *CurrencyCreate) Validate(formats strfmt.Registry) error

Validate validates this currency create

type CurrencyInfo ¶

type CurrencyInfo struct {

	// created at
	// Required: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt"`

	// currency code, alphabet uppercase
	// Required: true
	CurrencyCode *string `json:"currencyCode"`

	// currency symbol, max length is 8
	// Required: true
	CurrencySymbol *string `json:"currencySymbol"`

	// currency type
	// Required: true
	// Enum: [REAL VIRTUAL]
	CurrencyType *string `json:"currencyType"`

	// decimals
	// Required: true
	Decimals *int32 `json:"decimals"`

	// Description, key is language, value is description max length is 255
	LocalizationDescriptions map[string]string `json:"localizationDescriptions,omitempty"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// updated at
	// Required: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt"`
}

CurrencyInfo currency info

swagger:model CurrencyInfo

func (*CurrencyInfo) MarshalBinary ¶

func (m *CurrencyInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CurrencyInfo) UnmarshalBinary ¶

func (m *CurrencyInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CurrencyInfo) Validate ¶

func (m *CurrencyInfo) Validate(formats strfmt.Registry) error

Validate validates this currency info

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

func (*CurrencySummary) Validate ¶

func (m *CurrencySummary) Validate(formats strfmt.Registry) error

Validate validates this currency summary

type CurrencyUpdate ¶

type CurrencyUpdate struct {

	// Description, key is language, value is description max length is 255
	LocalizationDescriptions map[string]string `json:"localizationDescriptions,omitempty"`
}

CurrencyUpdate A DTO for update currency

swagger:model CurrencyUpdate

func (*CurrencyUpdate) MarshalBinary ¶

func (m *CurrencyUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CurrencyUpdate) UnmarshalBinary ¶

func (m *CurrencyUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CurrencyUpdate) Validate ¶

func (m *CurrencyUpdate) Validate(formats strfmt.Registry) error

Validate validates this currency update

type CurrencyWallet ¶ added in v0.18.0

type CurrencyWallet struct {

	// total balance, include time-limited balance
	// Required: true
	Balance *int64 `json:"balance"`

	// currency code
	// Required: true
	CurrencyCode *string `json:"currencyCode"`

	// currency symbol
	// Required: true
	CurrencySymbol *string `json:"currencySymbol"`

	// wallet namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// total permanent balance
	TotalPermanentBalance int64 `json:"totalPermanentBalance,omitempty"`

	// total time limited balance
	TotalTimeLimitedBalance int64 `json:"totalTimeLimitedBalance,omitempty"`

	// user id
	// Required: true
	UserID *string `json:"userId"`

	// wallets balances info
	WalletInfos []*WalletInfo `json:"walletInfos"`
}

CurrencyWallet currency wallet

swagger:model CurrencyWallet

func (*CurrencyWallet) MarshalBinary ¶ added in v0.18.0

func (m *CurrencyWallet) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*CurrencyWallet) UnmarshalBinary ¶ added in v0.18.0

func (m *CurrencyWallet) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*CurrencyWallet) Validate ¶ added in v0.18.0

func (m *CurrencyWallet) Validate(formats strfmt.Registry) error

Validate validates this currency wallet

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

func (*Customization) Validate ¶

func (m *Customization) Validate(formats strfmt.Registry) error

Validate validates this customization

type DLCItem ¶ added in v0.10.0

type DLCItem struct {

	// dlc id
	ID string `json:"id,omitempty"`

	// reward list
	Rewards []*PlatformReward `json:"rewards"`
}

DLCItem d l c item

swagger:model DLCItem

func (*DLCItem) MarshalBinary ¶ added in v0.10.0

func (m *DLCItem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DLCItem) UnmarshalBinary ¶ added in v0.10.0

func (m *DLCItem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DLCItem) Validate ¶ added in v0.10.0

func (m *DLCItem) Validate(formats strfmt.Registry) error

Validate validates this d l c item

type DLCItemConfigInfo ¶ added in v0.10.0

type DLCItemConfigInfo struct {

	// data
	Data []*DLCItem `json:"data"`
}

DLCItemConfigInfo d l c item config info

swagger:model DLCItemConfigInfo

func (*DLCItemConfigInfo) MarshalBinary ¶ added in v0.10.0

func (m *DLCItemConfigInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DLCItemConfigInfo) UnmarshalBinary ¶ added in v0.10.0

func (m *DLCItemConfigInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DLCItemConfigInfo) Validate ¶ added in v0.10.0

func (m *DLCItemConfigInfo) Validate(formats strfmt.Registry) error

Validate validates this d l c item config info

type DLCItemConfigUpdate ¶ added in v0.10.0

type DLCItemConfigUpdate struct {

	// data
	Data []*DLCItem `json:"data"`
}

DLCItemConfigUpdate d l c item config update

swagger:model DLCItemConfigUpdate

func (*DLCItemConfigUpdate) MarshalBinary ¶ added in v0.10.0

func (m *DLCItemConfigUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DLCItemConfigUpdate) UnmarshalBinary ¶ added in v0.10.0

func (m *DLCItemConfigUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DLCItemConfigUpdate) Validate ¶ added in v0.10.0

func (m *DLCItemConfigUpdate) Validate(formats strfmt.Registry) error

Validate validates this d l c item config update

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

func (*DebitRequest) Validate ¶

func (m *DebitRequest) Validate(formats strfmt.Registry) error

Validate validates this debit request

type DetailedWalletTransactionInfo ¶ added in v0.18.0

type DetailedWalletTransactionInfo struct {

	// Transaction amount, it is absolute value.
	// Required: true
	Amount *int64 `json:"amount"`

	// The source of credit
	BalanceSource string `json:"balanceSource,omitempty"`

	// Transaction created time
	// Required: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt"`

	// Transaction currency code
	// Required: true
	CurrencyCode *string `json:"currencyCode"`

	// Wallet namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// Operator userId or ClientId
	// Required: true
	Operator *string `json:"operator"`

	// Reason of the transaction
	Reason string `json:"reason,omitempty"`

	// Transaction updated time
	// Required: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt"`

	// Wallet owner's userId
	// Required: true
	UserID *string `json:"userId"`

	// Action type
	// Required: true
	// Enum: [CREDIT PAYMENT DEBIT]
	WalletAction *string `json:"walletAction"`

	// wallet id
	// Required: true
	WalletID *string `json:"walletId"`
}

DetailedWalletTransactionInfo detailed wallet transaction info

swagger:model DetailedWalletTransactionInfo

func (*DetailedWalletTransactionInfo) MarshalBinary ¶ added in v0.18.0

func (m *DetailedWalletTransactionInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DetailedWalletTransactionInfo) UnmarshalBinary ¶ added in v0.18.0

func (m *DetailedWalletTransactionInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DetailedWalletTransactionInfo) Validate ¶ added in v0.18.0

func (m *DetailedWalletTransactionInfo) Validate(formats strfmt.Registry) error

Validate validates this detailed wallet transaction info

type DetailedWalletTransactionPagingSlicedResult ¶ added in v0.18.0

type DetailedWalletTransactionPagingSlicedResult struct {

	// data
	// Required: true
	Data []*DetailedWalletTransactionInfo `json:"data"`

	// paging
	Paging *Paging `json:"paging,omitempty"`
}

DetailedWalletTransactionPagingSlicedResult detailed wallet transaction paging sliced result

swagger:model DetailedWalletTransactionPagingSlicedResult

func (*DetailedWalletTransactionPagingSlicedResult) MarshalBinary ¶ added in v0.18.0

func (m *DetailedWalletTransactionPagingSlicedResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*DetailedWalletTransactionPagingSlicedResult) UnmarshalBinary ¶ added in v0.18.0

func (m *DetailedWalletTransactionPagingSlicedResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*DetailedWalletTransactionPagingSlicedResult) Validate ¶ added in v0.18.0

Validate validates this detailed wallet transaction paging sliced result

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

func (*EntitlementDecrement) Validate ¶

func (m *EntitlementDecrement) Validate(formats strfmt.Registry) error

Validate validates this entitlement decrement

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
	// Pattern: ^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$
	Language string `json:"language,omitempty"`

	// quantity
	// Required: true
	Quantity *int32 `json:"quantity"`

	// country value from ISO countries
	Region string `json:"region,omitempty"`

	// source
	// Enum: [PURCHASE IAP PROMOTION ACHIEVEMENT REFERRAL_BONUS REDEEM_CODE REWARD GIFT OTHER]
	Source string `json:"source,omitempty"`

	// entitlement start date time
	// Format: date-time
	StartDate *strfmt.DateTime `json:"startDate,omitempty"`

	// storeId
	StoreID string `json:"storeId,omitempty"`
}

EntitlementGrant A DTO object for granting entitlement API call.

swagger:model EntitlementGrant

func (*EntitlementGrant) MarshalBinary ¶

func (m *EntitlementGrant) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntitlementGrant) UnmarshalBinary ¶

func (m *EntitlementGrant) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntitlementGrant) Validate ¶

func (m *EntitlementGrant) Validate(formats strfmt.Registry) error

Validate validates this entitlement grant

type EntitlementHistoryInfo ¶

type EntitlementHistoryInfo struct {

	// The action of entitlement, like GRANT, REVOKE
	// Required: true
	// Enum: [GRANT UPDATE DECREMENT REVOKE DISABLE ENABLE]
	Action *string `json:"action"`

	// History create time
	// Required: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt"`

	// The id of entitlement
	// Required: true
	EntitlementID *string `json:"entitlementId"`

	// The namespace of entitlement
	// Required: true
	Namespace *string `json:"namespace"`

	// The operator
	// Required: true
	Operator *string `json:"operator"`

	// History update time
	// Required: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt"`

	// The use count of a consumable entitlement.
	UseCount int32 `json:"useCount,omitempty"`

	// The owner id of entitlement
	// Required: true
	UserID *string `json:"userId"`
}

EntitlementHistoryInfo entitlement history info

swagger:model EntitlementHistoryInfo

func (*EntitlementHistoryInfo) MarshalBinary ¶

func (m *EntitlementHistoryInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EntitlementHistoryInfo) UnmarshalBinary ¶

func (m *EntitlementHistoryInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EntitlementHistoryInfo) Validate ¶

func (m *EntitlementHistoryInfo) Validate(formats strfmt.Registry) error

Validate validates this entitlement history info

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 CODE SUBSCRIPTION MEDIA]
	Clazz *string `json:"clazz"`

	// entitlement created at
	// Required: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt"`

	// entitlement end date
	// Format: date-time
	EndDate *strfmt.DateTime `json:"endDate,omitempty"`

	// entitlement features
	// Unique: true
	Features []string `json:"features"`

	// entitlement granted at
	// Required: true
	// Format: date-time
	GrantedAt strfmt.DateTime `json:"grantedAt"`

	// grantedCode, the granted code
	GrantedCode string `json:"grantedCode,omitempty"`

	// entitlement id
	// Required: true
	ID *string `json:"id"`

	// itemId of the entitlement
	// Required: true
	ItemID *string `json:"itemId"`

	// itemNamespace for the purchased item
	// Required: true
	ItemNamespace *string `json:"itemNamespace"`

	// itemSnapshot
	ItemSnapshot *ItemSnapshot `json:"itemSnapshot,omitempty"`

	// entitlement name
	// Required: true
	Name *string `json:"name"`

	// entitlement namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// sku for purchased item
	Sku string `json:"sku,omitempty"`

	// entitlement source
	// Required: true
	// Enum: [PURCHASE IAP PROMOTION ACHIEVEMENT REFERRAL_BONUS REDEEM_CODE REWARD GIFT OTHER]
	Source *string `json:"source"`

	// Whether the CONSUMABLE entitlement is stackable
	Stackable bool `json:"stackable"`

	// entitlement start date
	// Format: date-time
	StartDate *strfmt.DateTime `json:"startDate,omitempty"`

	// entitlement status
	// Required: true
	// Enum: [ACTIVE INACTIVE CONSUMED REVOKED]
	Status *string `json:"status"`

	// storeId of the item, published store if omitted
	StoreID string `json:"storeId,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

func (*EntitlementInfo) Validate ¶

func (m *EntitlementInfo) Validate(formats strfmt.Registry) error

Validate validates this entitlement info

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

func (*EntitlementPagingSlicedResult) Validate ¶

func (m *EntitlementPagingSlicedResult) Validate(formats strfmt.Registry) error

Validate validates this entitlement paging sliced result

type EntitlementSummary ¶

type EntitlementSummary struct {

	// entitlement class
	// Required: true
	// Enum: [APP ENTITLEMENT CODE SUBSCRIPTION MEDIA]
	Clazz *string `json:"clazz"`

	// created at
	// Required: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt"`

	// end date time
	// Format: date-time
	EndDate *strfmt.DateTime `json:"endDate,omitempty"`

	// granted code
	GrantedCode string `json:"grantedCode,omitempty"`

	// entitlement id
	// Required: true
	ID *string `json:"id"`

	// item id
	ItemID string `json:"itemId,omitempty"`

	// entitlement namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// Whether the CONSUMABLE entitlement is stackable
	Stackable bool `json:"stackable"`

	// CONSUMABLE entitlement stacked use count
	StackedUseCount int32 `json:"stackedUseCount,omitempty"`

	// start date time
	// Format: date-time
	StartDate *strfmt.DateTime `json:"startDate,omitempty"`

	// item store id, null if published store
	StoreID string `json:"storeId,omitempty"`

	// entitlement type
	// Required: true
	// Enum: [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

func (*EntitlementSummary) Validate ¶

func (m *EntitlementSummary) Validate(formats strfmt.Registry) error

Validate validates this entitlement summary

type EntitlementUpdate ¶

type EntitlementUpdate struct {

	// end date of the entitlement. yyyy-MM-dd'T'HH:mm:ss.SSS'Z'
	// Format: date-time
	EndDate *strfmt.DateTime `json:"endDate,omitempty"`

	// nullFieldList
	NullFieldList []string `json:"nullFieldList"`

	// start date of the entitlement. yyyy-MM-dd'T'HH:mm:ss.SSS'Z'
	// Format: date-time
	StartDate *strfmt.DateTime `json:"startDate,omitempty"`

	// status
	// Enum: [ACTIVE INACTIVE CONSUMED 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

func (*EntitlementUpdate) Validate ¶

func (m *EntitlementUpdate) Validate(formats strfmt.Registry) error

Validate validates this entitlement update

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

func (*EpicGamesIAPConfigInfo) Validate ¶

func (m *EpicGamesIAPConfigInfo) Validate(formats strfmt.Registry) error

Validate validates this epic games i a p config info

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

func (*EpicGamesIAPConfigRequest) Validate ¶

func (m *EpicGamesIAPConfigRequest) Validate(formats strfmt.Registry) error

Validate validates this epic games i a p config request

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

func (*EpicGamesReconcileRequest) Validate ¶

func (m *EpicGamesReconcileRequest) Validate(formats strfmt.Registry) error

Validate validates this epic games reconcile request

type EpicGamesReconcileResult ¶

type EpicGamesReconcileResult struct {

	// epic games item Id
	EpicGamesItemID string `json:"epicGamesItemId,omitempty"`

	// item Id
	ItemID string `json:"itemId,omitempty"`

	// sku
	Sku string `json:"sku,omitempty"`

	// status
	// Enum: [VERIFIED FULFILLED FAILED]
	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

func (*EpicGamesReconcileResult) Validate ¶

func (m *EpicGamesReconcileResult) Validate(formats strfmt.Registry) error

Validate validates this epic games reconcile result

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

func (*ErrorEntity) Validate ¶

func (m *ErrorEntity) Validate(formats strfmt.Registry) error

Validate validates this error entity

type EventPayload ¶ added in v0.8.0

type EventPayload struct {

	// payload
	Payload map[string]interface{} `json:"payload,omitempty"`
}

EventPayload event payload

swagger:model EventPayload

func (*EventPayload) MarshalBinary ¶ added in v0.8.0

func (m *EventPayload) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*EventPayload) UnmarshalBinary ¶ added in v0.8.0

func (m *EventPayload) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*EventPayload) Validate ¶ added in v0.8.0

func (m *EventPayload) Validate(formats strfmt.Registry) error

Validate validates this event payload

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 SEASON MEDIA]
	ItemType string `json:"itemType,omitempty"`

	// language value from language tag, allowed format: en, en-US
	// Pattern: ^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$
	Language string `json:"language,omitempty"`

	// metadata
	Metadata map[string]string `json:"metadata,omitempty"`

	// custom notify url for real payment, send notification to this url once payment action is finished
	NotifyURL string `json:"notifyUrl,omitempty"`

	// TEST PURPOSE, if set it will not send async notification to the API invoker, only can set true while this payment is sandbox
	OmitNotification bool `json:"omitNotification"`

	// platform
	Platform string `json:"platform,omitempty"`

	// Price of order
	// Required: true
	Price *int32 `json:"price"`

	// recurring payment order which has recurring token, will do recurring payment if present, otherwise start normal payment flow
	RecurringPaymentOrderNo string `json:"recurringPaymentOrderNo,omitempty"`

	// country value from ISO countries
	Region string `json:"region,omitempty"`

	// custom return url for real payment, user will be redirected to this url once payment is finished
	ReturnURL string `json:"returnUrl,omitempty"`

	// TEST PURPOSE, sandbox(Active in real currency mode), default is false
	Sandbox bool `json:"sandbox"`

	// optional, unique identity for the item
	Sku string `json:"sku,omitempty"`

	// subscriptionId, payment token will be saved for recurring payment
	SubscriptionID string `json:"subscriptionId,omitempty"`

	// The game namespace
	// Required: true
	TargetNamespace *string `json:"targetNamespace"`

	// The user id in game namespace
	// Required: true
	TargetUserID *string `json:"targetUserId"`

	// Order title
	// Required: true
	Title *string `json:"title"`
}

ExternalPaymentOrderCreate external payment order create

swagger:model ExternalPaymentOrderCreate

func (*ExternalPaymentOrderCreate) MarshalBinary ¶

func (m *ExternalPaymentOrderCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ExternalPaymentOrderCreate) UnmarshalBinary ¶

func (m *ExternalPaymentOrderCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ExternalPaymentOrderCreate) Validate ¶

func (m *ExternalPaymentOrderCreate) Validate(formats strfmt.Registry) error

Validate validates this external payment order create

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

func (*FieldValidationError) Validate ¶

func (m *FieldValidationError) Validate(formats strfmt.Registry) error

Validate validates this field validation error

type FulfillCodeRequest ¶

type FulfillCodeRequest struct {

	// campaign code
	// Required: true
	Code *string `json:"code"`

	// language value from language tag, allowed format: en, en-US
	// Pattern: ^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$
	Language string `json:"language,omitempty"`

	// country value from ISO countries
	Region string `json:"region,omitempty"`
}

FulfillCodeRequest fulfill code request

swagger:model FulfillCodeRequest

func (*FulfillCodeRequest) MarshalBinary ¶

func (m *FulfillCodeRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FulfillCodeRequest) UnmarshalBinary ¶

func (m *FulfillCodeRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FulfillCodeRequest) Validate ¶

func (m *FulfillCodeRequest) Validate(formats strfmt.Registry) error

Validate validates this fulfill code request

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

func (*FulfillmentError) Validate ¶

func (m *FulfillmentError) Validate(formats strfmt.Registry) error

Validate validates this fulfillment error

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

func (*FulfillmentHistoryInfo) Validate ¶

func (m *FulfillmentHistoryInfo) Validate(formats strfmt.Registry) error

Validate validates this fulfillment history info

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

func (*FulfillmentHistoryPagingSlicedResult) Validate ¶

Validate validates this fulfillment history paging sliced result

type FulfillmentItem ¶

type FulfillmentItem struct {

	// extra subscription days
	ExtraSubscriptionDays int32 `json:"extraSubscriptionDays,omitempty"`

	// item id
	ItemID string `json:"itemId,omitempty"`

	// item name
	ItemName string `json:"itemName,omitempty"`

	// item sku
	ItemSku string `json:"itemSku,omitempty"`

	// item type
	// Enum: [APP COINS INGAMEITEM BUNDLE CODE SUBSCRIPTION SEASON MEDIA]
	ItemType string `json:"itemType,omitempty"`

	// quantity
	// Required: true
	Quantity *int32 `json:"quantity"`

	// draft store id, published store if omitted
	StoreID string `json:"storeId,omitempty"`
}

FulfillmentItem fulfillment item

swagger:model FulfillmentItem

func (*FulfillmentItem) MarshalBinary ¶

func (m *FulfillmentItem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FulfillmentItem) UnmarshalBinary ¶

func (m *FulfillmentItem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FulfillmentItem) Validate ¶

func (m *FulfillmentItem) Validate(formats strfmt.Registry) error

Validate validates this fulfillment item

type FulfillmentRequest ¶

type FulfillmentRequest struct {

	// duration in seconds, ignored if the endDate is present
	Duration int32 `json:"duration,omitempty"`

	// end date time
	// Format: date-time
	EndDate *strfmt.DateTime `json:"endDate,omitempty"`

	// itemId
	ItemID string `json:"itemId,omitempty"`

	// itemSku
	ItemSku string `json:"itemSku,omitempty"`

	// language
	Language string `json:"language,omitempty"`

	// order summary for fulfillment scripts
	Order *OrderSummary `json:"order,omitempty"`

	// orderNo
	OrderNo string `json:"orderNo,omitempty"`

	// origin
	// Enum: [Playstation Xbox Steam Epic Stadia IOS GooglePlay Twitch Nintendo System Other]
	Origin string `json:"origin,omitempty"`

	// quantity
	// Required: true
	Quantity *int32 `json:"quantity"`

	// region
	Region string `json:"region,omitempty"`

	// source
	// Enum: [PURCHASE IAP PROMOTION ACHIEVEMENT REFERRAL_BONUS REDEEM_CODE REWARD GIFT DLC OTHER]
	Source string `json:"source,omitempty"`

	// start date time
	// Format: date-time
	StartDate *strfmt.DateTime `json:"startDate,omitempty"`

	// storeId
	StoreID string `json:"storeId,omitempty"`
}

FulfillmentRequest A DTO object for fulfillment request API call.

swagger:model FulfillmentRequest

func (*FulfillmentRequest) MarshalBinary ¶

func (m *FulfillmentRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FulfillmentRequest) UnmarshalBinary ¶

func (m *FulfillmentRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FulfillmentRequest) Validate ¶

func (m *FulfillmentRequest) Validate(formats strfmt.Registry) error

Validate validates this fulfillment request

type FulfillmentResult ¶

type FulfillmentResult struct {

	// credit granted
	CreditSummaries []*CreditSummary `json:"creditSummaries"`

	// entitlement granted
	EntitlementSummaries []*EntitlementSummary `json:"entitlementSummaries"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// affected subscriptions
	SubscriptionSummaries []*SubscriptionSummary `json:"subscriptionSummaries"`

	// userId
	// Required: true
	UserID *string `json:"userId"`
}

FulfillmentResult fulfillment result

swagger:model FulfillmentResult

func (*FulfillmentResult) MarshalBinary ¶

func (m *FulfillmentResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FulfillmentResult) UnmarshalBinary ¶

func (m *FulfillmentResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FulfillmentResult) Validate ¶

func (m *FulfillmentResult) Validate(formats strfmt.Registry) error

Validate validates this fulfillment result

type FulfillmentScriptContext ¶ added in v0.7.0

type FulfillmentScriptContext struct {

	// item info
	// Required: true
	Item *ItemInfo `json:"item"`

	// fulfillment namespace, default accelbyte
	// Required: true
	Namespace *string `json:"namespace"`

	// order summary
	Order *OrderSummary `json:"order,omitempty"`

	// fulfillment source, default PURCHASE
	// Required: true
	// Enum: [PURCHASE IAP PROMOTION ACHIEVEMENT REFERRAL_BONUS REDEEM_CODE REWARD GIFT DLC OTHER]
	Source *string `json:"source"`
}

FulfillmentScriptContext fulfillment script context

swagger:model FulfillmentScriptContext

func (*FulfillmentScriptContext) MarshalBinary ¶ added in v0.7.0

func (m *FulfillmentScriptContext) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FulfillmentScriptContext) UnmarshalBinary ¶ added in v0.7.0

func (m *FulfillmentScriptContext) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FulfillmentScriptContext) Validate ¶ added in v0.7.0

func (m *FulfillmentScriptContext) Validate(formats strfmt.Registry) error

Validate validates this fulfillment script context

type FulfillmentScriptCreate ¶ added in v0.7.0

type FulfillmentScriptCreate struct {

	// javascript script for grant days, expression expected to return integer, -1 means unlimited. It only execute while there's no endDate specified while do fulfillment
	GrantDays string `json:"grantDays,omitempty"`
}

FulfillmentScriptCreate fulfillment script create

swagger:model FulfillmentScriptCreate

func (*FulfillmentScriptCreate) MarshalBinary ¶ added in v0.7.0

func (m *FulfillmentScriptCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FulfillmentScriptCreate) UnmarshalBinary ¶ added in v0.7.0

func (m *FulfillmentScriptCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FulfillmentScriptCreate) Validate ¶ added in v0.7.0

func (m *FulfillmentScriptCreate) Validate(formats strfmt.Registry) error

Validate validates this fulfillment script create

type FulfillmentScriptEvalTestRequest ¶ added in v0.7.0

type FulfillmentScriptEvalTestRequest struct {

	// fulfillment script context
	// Required: true
	Context *FulfillmentScriptContext `json:"context"`

	// script
	// Required: true
	Script *string `json:"script"`

	// type, default grantDays
	// Required: true
	// Enum: [grantDays]
	Type *string `json:"type"`
}

FulfillmentScriptEvalTestRequest fulfillment script eval test request

swagger:model FulfillmentScriptEvalTestRequest

func (*FulfillmentScriptEvalTestRequest) MarshalBinary ¶ added in v0.7.0

func (m *FulfillmentScriptEvalTestRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FulfillmentScriptEvalTestRequest) UnmarshalBinary ¶ added in v0.7.0

func (m *FulfillmentScriptEvalTestRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FulfillmentScriptEvalTestRequest) Validate ¶ added in v0.7.0

Validate validates this fulfillment script eval test request

type FulfillmentScriptEvalTestResult ¶ added in v0.7.0

type FulfillmentScriptEvalTestResult struct {

	// error stack trace
	ErrorStackTrace string `json:"errorStackTrace,omitempty"`

	// result
	Result interface{} `json:"result,omitempty"`
}

FulfillmentScriptEvalTestResult fulfillment script eval test result

swagger:model FulfillmentScriptEvalTestResult

func (*FulfillmentScriptEvalTestResult) MarshalBinary ¶ added in v0.7.0

func (m *FulfillmentScriptEvalTestResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FulfillmentScriptEvalTestResult) UnmarshalBinary ¶ added in v0.7.0

func (m *FulfillmentScriptEvalTestResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FulfillmentScriptEvalTestResult) Validate ¶ added in v0.7.0

Validate validates this fulfillment script eval test result

type FulfillmentScriptInfo ¶ added in v0.7.0

type FulfillmentScriptInfo struct {

	// javascript script for grant days, expression expected to return integer, -1 means unlimited. It only execute while there's no endDate specified while do fulfillment
	GrantDays string `json:"grantDays,omitempty"`

	// id
	ID string `json:"id,omitempty"`
}

FulfillmentScriptInfo fulfillment script info

swagger:model FulfillmentScriptInfo

func (*FulfillmentScriptInfo) MarshalBinary ¶ added in v0.7.0

func (m *FulfillmentScriptInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FulfillmentScriptInfo) UnmarshalBinary ¶ added in v0.7.0

func (m *FulfillmentScriptInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FulfillmentScriptInfo) Validate ¶ added in v0.7.0

func (m *FulfillmentScriptInfo) Validate(formats strfmt.Registry) error

Validate validates this fulfillment script info

type FulfillmentScriptUpdate ¶ added in v0.7.0

type FulfillmentScriptUpdate struct {

	// javascript script for grant days, expression expected to return integer, -1 means unlimited. It only execute while there's no endDate specified while do fulfillment
	GrantDays string `json:"grantDays,omitempty"`
}

FulfillmentScriptUpdate fulfillment script update

swagger:model FulfillmentScriptUpdate

func (*FulfillmentScriptUpdate) MarshalBinary ¶ added in v0.7.0

func (m *FulfillmentScriptUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FulfillmentScriptUpdate) UnmarshalBinary ¶ added in v0.7.0

func (m *FulfillmentScriptUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FulfillmentScriptUpdate) Validate ¶ added in v0.7.0

func (m *FulfillmentScriptUpdate) Validate(formats strfmt.Registry) error

Validate validates this fulfillment script update

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

func (*FullAppInfo) Validate ¶

func (m *FullAppInfo) Validate(formats strfmt.Registry) error

Validate validates this full app info

type FullCategoryInfo ¶

type FullCategoryInfo struct {

	// Category path
	// Required: true
	CategoryPath *string `json:"categoryPath"`

	// Category created time
	// Required: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt"`

	// Category localization display name
	// Required: true
	LocalizationDisplayNames map[string]string `json:"localizationDisplayNames"`

	// Category namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// Parent category path
	// Required: true
	ParentCategoryPath *string `json:"parentCategoryPath"`

	// root
	Root bool `json:"root"`

	// Category updated time
	// Required: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt"`
}

FullCategoryInfo full category info

swagger:model FullCategoryInfo

func (*FullCategoryInfo) MarshalBinary ¶

func (m *FullCategoryInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FullCategoryInfo) UnmarshalBinary ¶

func (m *FullCategoryInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FullCategoryInfo) Validate ¶

func (m *FullCategoryInfo) Validate(formats strfmt.Registry) error

Validate validates this full category info

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"`

	// the items which this item being bounded to
	// Unique: true
	BoundItemIds []string `json:"boundItemIds"`

	// Item category path
	// Required: true
	CategoryPath *string `json:"categoryPath"`

	// customized item clazz
	Clazz string `json:"clazz,omitempty"`

	// created at
	// Required: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt"`

	// display order
	DisplayOrder int32 `json:"displayOrder,omitempty"`

	// Entitlement type
	// Required: true
	// Enum: [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"`

	// itemQty, the quantity of item in itemIds, default 1, should be empty if item type is not "BUNDLE"
	ItemQty map[string]int32 `json:"itemQty,omitempty"`

	// Item type
	// Required: true
	// Enum: [APP COINS INGAMEITEM BUNDLE CODE SUBSCRIPTION SEASON MEDIA]
	ItemType *string `json:"itemType"`

	// Whether can be visible in Store for public user
	Listable bool `json:"listable"`

	// Item localizations
	// Required: true
	Localizations map[string]Localization `json:"localizations"`

	// Max count, -1 means UNLIMITED, unset when itemType is CODE
	MaxCount int32 `json:"maxCount,omitempty"`

	// Max count per user, -1 means UNLIMITED
	MaxCountPerUser int32 `json:"maxCountPerUser,omitempty"`

	// Name
	// Required: true
	Name *string `json:"name"`

	// Item namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// Whether can be purchased
	Purchasable bool `json:"purchasable"`

	// recurring for subscription
	Recurring *Recurring `json:"recurring,omitempty"`

	// Item region data
	// Required: true
	RegionData map[string][]RegionDataItem `json:"regionData"`

	// Season type, required while itemType is SEASON
	// Enum: [PASS TIER]
	SeasonType string `json:"seasonType,omitempty"`

	// Sku
	Sku string `json:"sku,omitempty"`

	// Whether stack the CONSUMABLE entitlement
	Stackable bool `json:"stackable"`

	// Item status
	// Required: true
	// Enum: [ACTIVE INACTIVE]
	Status *string `json:"status"`

	// Tags
	// Unique: true
	Tags []string `json:"tags"`

	// The target currency code of coin Item
	TargetCurrencyCode string `json:"targetCurrencyCode,omitempty"`

	// Target item id if this item is mapping from game namespace
	TargetItemID string `json:"targetItemId,omitempty"`

	// The target namespace of a cross namespace item
	TargetNamespace string `json:"targetNamespace,omitempty"`

	// thumbnail url
	ThumbnailURL string `json:"thumbnailUrl,omitempty"`

	// updated at
	// Required: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt"`

	// Item use count, required when entitlement type is consumable or itemType is COINS
	UseCount int32 `json:"useCount,omitempty"`
}

FullItemInfo full item info

swagger:model FullItemInfo

func (*FullItemInfo) MarshalBinary ¶

func (m *FullItemInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*FullItemInfo) UnmarshalBinary ¶

func (m *FullItemInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*FullItemInfo) Validate ¶

func (m *FullItemInfo) Validate(formats strfmt.Registry) error

Validate validates this full item info

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

func (*FullItemPagingSlicedResult) Validate ¶

func (m *FullItemPagingSlicedResult) Validate(formats strfmt.Registry) error

Validate validates this full item paging sliced result

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

func (*GoogleIAPConfigInfo) Validate ¶

func (m *GoogleIAPConfigInfo) Validate(formats strfmt.Registry) error

Validate validates this google i a p config info

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

func (*GoogleIAPConfigRequest) Validate ¶

func (m *GoogleIAPConfigRequest) Validate(formats strfmt.Registry) error

Validate validates this google i a p config request

type GoogleIAPReceipt ¶

type GoogleIAPReceipt struct {

	// If invoke Google play's Acknowledge after sync an durable item
	AutoAck bool `json:"autoAck"`

	// language value from language tag, allowed format: en, en-US
	// Pattern: ^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$
	Language string `json:"language,omitempty"`

	// OrderId returned from google play
	// Required: true
	OrderID *string `json:"orderId"`

	// App package name
	// Required: true
	PackageName *string `json:"packageName"`

	// Product id (SKU)
	// Required: true
	ProductID *string `json:"productId"`

	// Purchase time returned from google play
	// Required: true
	PurchaseTime *int64 `json:"purchaseTime"`

	// Google play purchase token returned from google play
	// Required: true
	PurchaseToken *string `json:"purchaseToken"`

	// country value from ISO countries
	Region string `json:"region,omitempty"`
}

GoogleIAPReceipt google i a p receipt

swagger:model GoogleIAPReceipt

func (*GoogleIAPReceipt) MarshalBinary ¶

func (m *GoogleIAPReceipt) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GoogleIAPReceipt) UnmarshalBinary ¶

func (m *GoogleIAPReceipt) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GoogleIAPReceipt) Validate ¶

func (m *GoogleIAPReceipt) Validate(formats strfmt.Registry) error

Validate validates this google i a p receipt

type GoogleReceiptResolveResult ¶ added in v0.13.0

type GoogleReceiptResolveResult struct {

	// if client side need consume this receipt's product by invoke Google Billing client's consumeAsync
	NeedConsume bool `json:"needConsume"`
}

GoogleReceiptResolveResult google receipt resolve result

swagger:model GoogleReceiptResolveResult

func (*GoogleReceiptResolveResult) MarshalBinary ¶ added in v0.13.0

func (m *GoogleReceiptResolveResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GoogleReceiptResolveResult) UnmarshalBinary ¶ added in v0.13.0

func (m *GoogleReceiptResolveResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GoogleReceiptResolveResult) Validate ¶ added in v0.13.0

func (m *GoogleReceiptResolveResult) Validate(formats strfmt.Registry) error

Validate validates this google receipt resolve result

type GrantSubscriptionDaysRequest ¶ added in v0.7.0

type GrantSubscriptionDaysRequest struct {

	// grant days
	// Required: true
	GrantDays *int32 `json:"grantDays"`

	// grant reason
	Reason string `json:"reason,omitempty"`
}

GrantSubscriptionDaysRequest grant subscription days request

swagger:model GrantSubscriptionDaysRequest

func (*GrantSubscriptionDaysRequest) MarshalBinary ¶ added in v0.7.0

func (m *GrantSubscriptionDaysRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*GrantSubscriptionDaysRequest) UnmarshalBinary ¶ added in v0.7.0

func (m *GrantSubscriptionDaysRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*GrantSubscriptionDaysRequest) Validate ¶ added in v0.7.0

func (m *GrantSubscriptionDaysRequest) Validate(formats strfmt.Registry) error

Validate validates this grant subscription days request

type HierarchicalCategoryInfo ¶

type HierarchicalCategoryInfo struct {

	// Category path
	// Required: true
	CategoryPath *string `json:"categoryPath"`

	// Child category list
	// Required: true
	ChildCategories []*HierarchicalCategoryInfo `json:"childCategories"`

	// Category created time
	// Required: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt"`

	// Category display name
	// Required: true
	DisplayName *string `json:"displayName"`

	// Category namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// Parent category path
	// Required: true
	ParentCategoryPath *string `json:"parentCategoryPath"`

	// root
	Root bool `json:"root"`

	// Category updated time
	// Required: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt"`
}

HierarchicalCategoryInfo hierarchical category info

swagger:model HierarchicalCategoryInfo

func (*HierarchicalCategoryInfo) MarshalBinary ¶

func (m *HierarchicalCategoryInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*HierarchicalCategoryInfo) UnmarshalBinary ¶

func (m *HierarchicalCategoryInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*HierarchicalCategoryInfo) Validate ¶

func (m *HierarchicalCategoryInfo) Validate(formats strfmt.Registry) error

Validate validates this hierarchical category info

type IAPItemConfigInfo ¶ added in v0.10.0

type IAPItemConfigInfo struct {

	// data
	Data []*IAPItemEntry `json:"data"`
}

IAPItemConfigInfo i a p item config info

swagger:model IAPItemConfigInfo

func (*IAPItemConfigInfo) MarshalBinary ¶ added in v0.10.0

func (m *IAPItemConfigInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IAPItemConfigInfo) UnmarshalBinary ¶ added in v0.10.0

func (m *IAPItemConfigInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IAPItemConfigInfo) Validate ¶ added in v0.10.0

func (m *IAPItemConfigInfo) Validate(formats strfmt.Registry) error

Validate validates this i a p item config info

type IAPItemConfigUpdate ¶ added in v0.10.0

type IAPItemConfigUpdate struct {

	// data
	Data []*IAPItemEntry `json:"data"`
}

IAPItemConfigUpdate i a p item config update

swagger:model IAPItemConfigUpdate

func (*IAPItemConfigUpdate) MarshalBinary ¶ added in v0.10.0

func (m *IAPItemConfigUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IAPItemConfigUpdate) UnmarshalBinary ¶ added in v0.10.0

func (m *IAPItemConfigUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IAPItemConfigUpdate) Validate ¶ added in v0.10.0

func (m *IAPItemConfigUpdate) Validate(formats strfmt.Registry) error

Validate validates this i a p item config update

type IAPItemEntry ¶ added in v0.10.0

type IAPItemEntry struct {

	// item id or sku
	ItemIdentity string `json:"itemIdentity,omitempty"`

	// item identity type
	// Enum: [ITEM_ID ITEM_SKU]
	ItemIdentityType string `json:"itemIdentityType,omitempty"`

	// IAP Platform production ids related item id
	PlatformProductIDMap map[string]string `json:"platformProductIdMap,omitempty"`
}

IAPItemEntry i a p item entry

swagger:model IAPItemEntry

func (*IAPItemEntry) MarshalBinary ¶ added in v0.10.0

func (m *IAPItemEntry) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IAPItemEntry) UnmarshalBinary ¶ added in v0.10.0

func (m *IAPItemEntry) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IAPItemEntry) Validate ¶ added in v0.10.0

func (m *IAPItemEntry) Validate(formats strfmt.Registry) error

Validate validates this i a p item entry

type IAPOrderInfo ¶

type IAPOrderInfo struct {

	// created at
	// Required: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt"`

	// credit summary
	Credits []*CreditSummary `json:"credits"`

	// currency code
	CurrencyCode string `json:"currencyCode,omitempty"`

	// entitlement summary
	Entitlements []*EntitlementSummary `json:"entitlements"`

	// fulfill time if fulfilled
	// Format: date-time
	FulfilledTime *strfmt.DateTime `json:"fulfilledTime,omitempty"`

	// iap order No
	// Required: true
	IapOrderNo *string `json:"iapOrderNo"`

	// language
	Language string `json:"language,omitempty"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// price
	Price float64 `json:"price,omitempty"`

	// product id
	ProductID string `json:"productId,omitempty"`

	// quantity
	Quantity int32 `json:"quantity,omitempty"`

	// receipt data
	ReceiptData string `json:"receiptData,omitempty"`

	// region
	Region string `json:"region,omitempty"`

	// retry count
	RetryCount int32 `json:"retryCount,omitempty"`

	// sandbox
	Sandbox bool `json:"sandbox"`

	// status
	// Required: true
	// Enum: [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 TWITCH]
	Type *string `json:"type"`

	// updated at
	// Required: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt"`

	// user id
	// Required: true
	UserID *string `json:"userId"`
}

IAPOrderInfo i a p order info

swagger:model IAPOrderInfo

func (*IAPOrderInfo) MarshalBinary ¶

func (m *IAPOrderInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*IAPOrderInfo) UnmarshalBinary ¶

func (m *IAPOrderInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*IAPOrderInfo) Validate ¶

func (m *IAPOrderInfo) Validate(formats strfmt.Registry) error

Validate validates this i a p order info

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

func (*IAPOrderPagingSlicedResult) Validate ¶

func (m *IAPOrderPagingSlicedResult) Validate(formats strfmt.Registry) error

Validate validates this i a p order paging sliced result

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 ¶

func (m *Image) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Image) UnmarshalBinary ¶

func (m *Image) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Image) Validate ¶

func (m *Image) Validate(formats strfmt.Registry) error

Validate validates this image

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

func (*InGameItemSync) Validate ¶

func (m *InGameItemSync) Validate(formats strfmt.Registry) error

Validate validates this in game item sync

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

func (*ItemAcquireRequest) Validate ¶

func (m *ItemAcquireRequest) Validate(formats strfmt.Registry) error

Validate validates this item acquire request

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

func (*ItemAcquireResult) Validate ¶

func (m *ItemAcquireResult) Validate(formats strfmt.Registry) error

Validate validates this item acquire result

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
	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"`

	// itemQty, the quantity of item in itemIds, default 1, should be empty if item type is not "BUNDLE"
	ItemQty map[string]int32 `json:"itemQty,omitempty"`

	// Item Type
	// Required: true
	// Enum: [APP COINS INGAMEITEM BUNDLE CODE SUBSCRIPTION SEASON MEDIA]
	ItemType *string `json:"itemType"`

	// Whether can be visible in Store for public user
	Listable bool `json:"listable"`

	// Localization, key language, value localization content
	// Required: true
	Localizations map[string]Localization `json:"localizations"`

	// Max count, -1 means UNLIMITED, unset when itemType is CODE
	MaxCount int32 `json:"maxCount,omitempty"`

	// Max count per user, -1 means UNLIMITED
	MaxCountPerUser int32 `json:"maxCountPerUser,omitempty"`

	// Name, max length is 127
	// Required: true
	Name *string `json:"name"`

	// Whether can be purchased
	Purchasable bool `json:"purchasable"`

	// recurring for subscription
	Recurring *Recurring `json:"recurring,omitempty"`

	// region data map, key is region, value is region data list
	// Required: true
	RegionData map[string][]RegionDataItem `json:"regionData"`

	// seasonType
	// Enum: [PASS TIER]
	SeasonType string `json:"seasonType,omitempty"`

	// sku, allowed characters from a-zA-Z0-9_:- and start/end in alphanumeric, max length is 127
	Sku string `json:"sku,omitempty"`

	// Whether to stack the entitlement when entitlement type is "CONSUMABLE"
	Stackable bool `json:"stackable"`

	// status
	// Required: true
	// Enum: [ACTIVE INACTIVE]
	Status *string `json:"status"`

	// Tags, allowed characters from a-zA-Z0-9:_- with length range from 1 to 30, should start and end in upper/lowercase/number, an item has max 5 tags.
	// Unique: true
	Tags []string `json:"tags"`

	// target currency code, required if item type is "COINS"
	TargetCurrencyCode string `json:"targetCurrencyCode,omitempty"`

	// target namespace, require when sell a game's item on the publisher namespace
	TargetNamespace string `json:"targetNamespace,omitempty"`

	// thumbnail Url
	ThumbnailURL string `json:"thumbnailUrl,omitempty"`

	// Represent entitlement count when entitlement type is "CONSUMABLE", and represent coin count when itemType is "COINS"
	UseCount int32 `json:"useCount,omitempty"`
}

ItemCreate A DTO object for creating item API call.

swagger:model ItemCreate

func (*ItemCreate) MarshalBinary ¶

func (m *ItemCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ItemCreate) UnmarshalBinary ¶

func (m *ItemCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ItemCreate) Validate ¶

func (m *ItemCreate) Validate(formats strfmt.Registry) error

Validate validates this item create

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

func (*ItemDynamicDataInfo) Validate ¶

func (m *ItemDynamicDataInfo) Validate(formats strfmt.Registry) error

Validate validates this item dynamic data info

type ItemID ¶

type ItemID struct {

	// itemId
	// Required: true
	ItemID *string `json:"itemId"`

	// sku
	Sku string `json:"sku,omitempty"`
}

ItemID item Id

swagger:model ItemId

func (*ItemID) MarshalBinary ¶

func (m *ItemID) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ItemID) UnmarshalBinary ¶

func (m *ItemID) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ItemID) Validate ¶

func (m *ItemID) Validate(formats strfmt.Registry) error

Validate validates this item Id

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"`

	// the items which this item being bounded to
	// Unique: true
	BoundItemIds []string `json:"boundItemIds"`

	// Item category path
	// Required: true
	CategoryPath *string `json:"categoryPath"`

	// customized item clazz
	Clazz string `json:"clazz,omitempty"`

	// created at
	// Required: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt"`

	// description info
	Description string `json:"description,omitempty"`

	// display order
	DisplayOrder int32 `json:"displayOrder,omitempty"`

	// Entitlement type
	// Required: true
	// Enum: [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"`

	// itemQty, the quantity of item in itemIds, default 1, should be empty if item type is not "BUNDLE"
	ItemQty map[string]int32 `json:"itemQty,omitempty"`

	// Item type
	// Required: true
	// Enum: [APP COINS INGAMEITEM BUNDLE CODE SUBSCRIPTION SEASON MEDIA]
	ItemType *string `json:"itemType"`

	// language
	// Required: true
	Language *string `json:"language"`

	// Whether can be visible in Store for public user
	Listable bool `json:"listable"`

	// local ext
	LocalExt map[string]interface{} `json:"localExt,omitempty"`

	// long description info
	LongDescription string `json:"longDescription,omitempty"`

	// Max count, -1 means UNLIMITED, unset when itemType is CODE
	MaxCount int32 `json:"maxCount,omitempty"`

	// Max count per user, -1 means UNLIMITED
	MaxCountPerUser int32 `json:"maxCountPerUser,omitempty"`

	// Name
	// Required: true
	Name *string `json:"name"`

	// Item namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// Whether can be purchased
	Purchasable bool `json:"purchasable"`

	// recurring for subscription
	Recurring *Recurring `json:"recurring,omitempty"`

	// region
	// Required: true
	Region *string `json:"region"`

	// Region data
	RegionData []*RegionDataItem `json:"regionData"`

	// Season type, required while itemType is SEASON
	// Enum: [PASS TIER]
	SeasonType string `json:"seasonType,omitempty"`

	// Sku
	Sku string `json:"sku,omitempty"`

	// Whether stack the CONSUMABLE entitlement
	Stackable bool `json:"stackable"`

	// Item status
	// Required: true
	// Enum: [ACTIVE INACTIVE]
	Status *string `json:"status"`

	// Tags
	// Unique: true
	Tags []string `json:"tags"`

	// Target currency code of coin item
	TargetCurrencyCode string `json:"targetCurrencyCode,omitempty"`

	// Target item id if this item is mapping from game namespace
	TargetItemID string `json:"targetItemId,omitempty"`

	// The target namespace of a cross namespace item
	TargetNamespace string `json:"targetNamespace,omitempty"`

	// thumbnail url
	ThumbnailURL string `json:"thumbnailUrl,omitempty"`

	// title info
	// Required: true
	Title *string `json:"title"`

	// updated at
	// Required: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt"`

	// Item use count, required when entitlement type is consumable or itemType is COINS
	UseCount int32 `json:"useCount,omitempty"`
}

ItemInfo item info

swagger:model ItemInfo

func (*ItemInfo) MarshalBinary ¶

func (m *ItemInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ItemInfo) UnmarshalBinary ¶

func (m *ItemInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ItemInfo) Validate ¶

func (m *ItemInfo) Validate(formats strfmt.Registry) error

Validate validates this item info

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

func (*ItemPagingSlicedResult) Validate ¶

func (m *ItemPagingSlicedResult) Validate(formats strfmt.Registry) error

Validate validates this item paging sliced result

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

func (*ItemReturnRequest) Validate ¶

func (m *ItemReturnRequest) Validate(formats strfmt.Registry) error

Validate validates this item return request

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"`

	// itemQty, the quantity of item in itemIds, default 1, should be empty if item type is not "BUNDLE"
	ItemQty map[string]int32 `json:"itemQty,omitempty"`

	// Item type
	// Required: true
	// Enum: [APP COINS INGAMEITEM BUNDLE CODE SUBSCRIPTION SEASON MEDIA]
	ItemType *string `json:"itemType"`

	// language
	// Required: true
	Language *string `json:"language"`

	// Whether can be visible in Store for public user
	Listable bool `json:"listable"`

	// Max count, -1 means UNLIMITED, unset when itemType is CODE
	MaxCount int32 `json:"maxCount,omitempty"`

	// Max count per user, -1 means UNLIMITED
	MaxCountPerUser int32 `json:"maxCountPerUser,omitempty"`

	// Name
	// Required: true
	Name *string `json:"name"`

	// Item's namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// Whether can be purchased
	Purchasable bool `json:"purchasable"`

	// recurring for subscription
	Recurring *Recurring `json:"recurring,omitempty"`

	// region
	// Required: true
	Region *string `json:"region"`

	// Region data
	RegionDataItem *RegionDataItem `json:"regionDataItem,omitempty"`

	// Season type, required while itemType is SEASON
	// Enum: [PASS TIER]
	SeasonType string `json:"seasonType,omitempty"`

	// Sku
	Sku string `json:"sku,omitempty"`

	// Whether stack the CONSUMABLE entitlement
	Stackable bool `json:"stackable"`

	// Target currency code of coin item
	TargetCurrencyCode string `json:"targetCurrencyCode,omitempty"`

	// Target item id of mapping from game namespace to publisher namespace
	TargetItemID string `json:"targetItemId,omitempty"`

	// The target namespace of a cross namespace item
	TargetNamespace string `json:"targetNamespace,omitempty"`

	// thumbnail url
	ThumbnailURL string `json:"thumbnailUrl,omitempty"`

	// title info
	// Required: true
	Title *string `json:"title"`

	// updatedAt
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt,omitempty"`

	// Item use count, required when entitlement type is consumable or itemType is COINS
	UseCount int32 `json:"useCount,omitempty"`
}

ItemSnapshot item snapshot

swagger:model ItemSnapshot

func (*ItemSnapshot) MarshalBinary ¶

func (m *ItemSnapshot) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ItemSnapshot) UnmarshalBinary ¶

func (m *ItemSnapshot) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ItemSnapshot) Validate ¶

func (m *ItemSnapshot) Validate(formats strfmt.Registry) error

Validate validates this item snapshot

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
	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"`

	// itemQty, the quantity of item in itemIds, default 1, should be empty if item type is not "BUNDLE"
	ItemQty map[string]int32 `json:"itemQty,omitempty"`

	// Item Type
	// Required: true
	// Enum: [APP COINS INGAMEITEM BUNDLE CODE SUBSCRIPTION SEASON MEDIA]
	ItemType *string `json:"itemType"`

	// Whether can be visible in Store for public user
	Listable bool `json:"listable"`

	// Localization, key language, value localization content
	Localizations map[string]Localization `json:"localizations,omitempty"`

	// Max count, -1 means UNLIMITED, new value should >= old value if both old value and new value is limited, unset when itemType is CODE
	MaxCount int32 `json:"maxCount,omitempty"`

	// Max count per user, -1 means UNLIMITED
	MaxCountPerUser int32 `json:"maxCountPerUser,omitempty"`

	// Name
	Name string `json:"name,omitempty"`

	// Whether can be purchased
	Purchasable bool `json:"purchasable"`

	// recurring for subscription
	Recurring *Recurring `json:"recurring,omitempty"`

	// region data map, key is region, value is region data list
	RegionData map[string][]RegionDataItem `json:"regionData,omitempty"`

	// seasonType
	// Enum: [PASS TIER]
	SeasonType string `json:"seasonType,omitempty"`

	// sku, allowed characters from a-zA-Z0-9_:- and start/end in alphanumeric, max length is 127
	Sku string `json:"sku,omitempty"`

	// Whether to stack the entitlement when entitlement type is "CONSUMABLE"
	Stackable bool `json:"stackable"`

	// status
	// Enum: [ACTIVE INACTIVE]
	Status string `json:"status,omitempty"`

	// Tags, allowed characters from a-zA-Z0-9:_- with length range from 1 to 30, should start and end in upper/lowercase/number, an item has max 5 tags.
	// Unique: true
	Tags []string `json:"tags"`

	// target currency code, required if item type is "COINS"
	TargetCurrencyCode string `json:"targetCurrencyCode,omitempty"`

	// target namespace, require when sell a game's item on the publisher namespace
	TargetNamespace string `json:"targetNamespace,omitempty"`

	// thumbnail Url
	ThumbnailURL string `json:"thumbnailUrl,omitempty"`

	// Represent entitlement count when entitlement type is "CONSUMABLE", and represent coin count when itemType is "COINS"
	UseCount int32 `json:"useCount,omitempty"`
}

ItemUpdate A DTO object for updating item API call.

swagger:model ItemUpdate

func (*ItemUpdate) MarshalBinary ¶

func (m *ItemUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ItemUpdate) UnmarshalBinary ¶

func (m *ItemUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ItemUpdate) Validate ¶

func (m *ItemUpdate) Validate(formats strfmt.Registry) error

Validate validates this item update

type KeyGroupCreate ¶ added in v0.7.0

type KeyGroupCreate struct {

	// The description of the KeyGroup, max length is 1024 characters
	Description string `json:"description,omitempty"`

	// The name of the KeyGroup, a-z0-9_ 120 max length
	// Required: true
	Name *string `json:"name"`

	// The status of the KeyGroup, default ACTIVE
	// Enum: [ACTIVE INACTIVE]
	Status string `json:"status,omitempty"`

	// The tags of the KeyGroup
	Tags []string `json:"tags"`
}

KeyGroupCreate A DTO object for creating KeyGroup API call.

swagger:model KeyGroupCreate

func (*KeyGroupCreate) MarshalBinary ¶ added in v0.7.0

func (m *KeyGroupCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KeyGroupCreate) UnmarshalBinary ¶ added in v0.7.0

func (m *KeyGroupCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KeyGroupCreate) Validate ¶ added in v0.7.0

func (m *KeyGroupCreate) Validate(formats strfmt.Registry) error

Validate validates this key group create

type KeyGroupDynamicInfo ¶ added in v0.7.0

type KeyGroupDynamicInfo struct {

	// The available sale count, -1 means UNLIMITED
	// Required: true
	AvailableSaleCount *int32 `json:"availableSaleCount"`

	// The total quantity of this key group has
	// Required: true
	Quantity *int32 `json:"quantity"`

	// The sale count
	// Required: true
	SaleCount *int32 `json:"saleCount"`
}

KeyGroupDynamicInfo key group dynamic info

swagger:model KeyGroupDynamicInfo

func (*KeyGroupDynamicInfo) MarshalBinary ¶ added in v0.7.0

func (m *KeyGroupDynamicInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KeyGroupDynamicInfo) UnmarshalBinary ¶ added in v0.7.0

func (m *KeyGroupDynamicInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KeyGroupDynamicInfo) Validate ¶ added in v0.7.0

func (m *KeyGroupDynamicInfo) Validate(formats strfmt.Registry) error

Validate validates this key group dynamic info

type KeyGroupInfo ¶ added in v0.7.0

type KeyGroupInfo struct {

	// booth name
	// Required: true
	BoothName *string `json:"boothName"`

	// created at
	// Required: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt"`

	// description
	Description string `json:"description,omitempty"`

	// id
	// Required: true
	ID *string `json:"id"`

	// name
	// Required: true
	Name *string `json:"name"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// status
	// Required: true
	// Enum: [ACTIVE INACTIVE]
	Status *string `json:"status"`

	// tags
	Tags []string `json:"tags"`

	// updated at
	// Required: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt"`
}

KeyGroupInfo key group info

swagger:model KeyGroupInfo

func (*KeyGroupInfo) MarshalBinary ¶ added in v0.7.0

func (m *KeyGroupInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KeyGroupInfo) UnmarshalBinary ¶ added in v0.7.0

func (m *KeyGroupInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KeyGroupInfo) Validate ¶ added in v0.7.0

func (m *KeyGroupInfo) Validate(formats strfmt.Registry) error

Validate validates this key group info

type KeyGroupPagingSlicedResult ¶ added in v0.7.0

type KeyGroupPagingSlicedResult struct {

	// data
	// Required: true
	Data []*KeyGroupInfo `json:"data"`

	// paging
	Paging *Paging `json:"paging,omitempty"`
}

KeyGroupPagingSlicedResult key group paging sliced result

swagger:model KeyGroupPagingSlicedResult

func (*KeyGroupPagingSlicedResult) MarshalBinary ¶ added in v0.7.0

func (m *KeyGroupPagingSlicedResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KeyGroupPagingSlicedResult) UnmarshalBinary ¶ added in v0.7.0

func (m *KeyGroupPagingSlicedResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KeyGroupPagingSlicedResult) Validate ¶ added in v0.7.0

func (m *KeyGroupPagingSlicedResult) Validate(formats strfmt.Registry) error

Validate validates this key group paging sliced result

type KeyGroupUpdate ¶ added in v0.7.0

type KeyGroupUpdate struct {

	// The description of the KeyGroup, max length is 1024 characters
	Description string `json:"description,omitempty"`

	// The name of the KeyGroup, a-z0-9_ 120 max length
	// Required: true
	Name *string `json:"name"`

	// The status of the KeyGroup
	// Enum: [ACTIVE INACTIVE]
	Status string `json:"status,omitempty"`

	// The tags of the KeyGroup
	Tags []string `json:"tags"`
}

KeyGroupUpdate A DTO object for creating KeyGroup API call.

swagger:model KeyGroupUpdate

func (*KeyGroupUpdate) MarshalBinary ¶ added in v0.7.0

func (m *KeyGroupUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KeyGroupUpdate) UnmarshalBinary ¶ added in v0.7.0

func (m *KeyGroupUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KeyGroupUpdate) Validate ¶ added in v0.7.0

func (m *KeyGroupUpdate) Validate(formats strfmt.Registry) error

Validate validates this key group update

type KeyInfo ¶ added in v0.7.0

type KeyInfo struct {

	// order No. that grant this key
	AcquireOrderNo string `json:"acquireOrderNo,omitempty"`

	// user Id who get this key
	AcquireUserID string `json:"acquireUserId,omitempty"`

	// created at
	// Required: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt"`

	// key id
	// Required: true
	ID *string `json:"id"`

	// key upload file
	// Required: true
	KeyFile *string `json:"keyFile"`

	// key group id
	// Required: true
	KeyGroupID *string `json:"keyGroupId"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// status
	// Required: true
	// Enum: [ACTIVE ACQUIRED]
	Status *string `json:"status"`

	// updated at
	// Required: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt"`

	// key value
	// Required: true
	Value *string `json:"value"`
}

KeyInfo key info

swagger:model KeyInfo

func (*KeyInfo) MarshalBinary ¶ added in v0.7.0

func (m *KeyInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KeyInfo) UnmarshalBinary ¶ added in v0.7.0

func (m *KeyInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KeyInfo) Validate ¶ added in v0.7.0

func (m *KeyInfo) Validate(formats strfmt.Registry) error

Validate validates this key info

type KeyPagingSliceResult ¶ added in v0.7.0

type KeyPagingSliceResult struct {

	// data
	// Required: true
	Data []*KeyInfo `json:"data"`

	// paging
	Paging *Paging `json:"paging,omitempty"`
}

KeyPagingSliceResult key paging slice result

swagger:model KeyPagingSliceResult

func (*KeyPagingSliceResult) MarshalBinary ¶ added in v0.7.0

func (m *KeyPagingSliceResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*KeyPagingSliceResult) UnmarshalBinary ¶ added in v0.7.0

func (m *KeyPagingSliceResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*KeyPagingSliceResult) Validate ¶ added in v0.7.0

func (m *KeyPagingSliceResult) Validate(formats strfmt.Registry) error

Validate validates this key paging slice result

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

func (*Localization) Validate ¶

func (m *Localization) Validate(formats strfmt.Registry) error

Validate validates this localization

type MockIAPReceipt ¶

type MockIAPReceipt struct {

	// The item identity type
	// Enum: [ITEM_ID ITEM_SKU]
	ItemIdentityType string `json:"itemIdentityType,omitempty"`

	// language value from language tag, allowed format: en, en-US
	// Pattern: ^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$
	Language string `json:"language,omitempty"`

	// The product identifier of the item that was purchased.
	// Required: true
	ProductID *string `json:"productId"`

	// country value from ISO countries
	Region string `json:"region,omitempty"`

	// The IAP type.
	// Required: true
	// Enum: [APPLE GOOGLE PLAYSTATION STEAM XBOX STADIA EPICGAMES TWITCH]
	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

func (*MockIAPReceipt) Validate ¶

func (m *MockIAPReceipt) Validate(formats strfmt.Registry) error

Validate validates this mock i a p receipt

type NotificationProcessResult ¶ added in v0.7.0

type NotificationProcessResult struct {

	// code
	Code string `json:"code,omitempty"`

	// custom param
	CustomParam interface{} `json:"customParam,omitempty"`

	// severity
	Severity int32 `json:"severity,omitempty"`

	// status
	// Enum: [PROCESSED ERROR WARN IGNORED]
	Status string `json:"status,omitempty"`
}

NotificationProcessResult notification process result

swagger:model NotificationProcessResult

func (*NotificationProcessResult) MarshalBinary ¶ added in v0.7.0

func (m *NotificationProcessResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NotificationProcessResult) UnmarshalBinary ¶ added in v0.7.0

func (m *NotificationProcessResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NotificationProcessResult) Validate ¶ added in v0.7.0

func (m *NotificationProcessResult) Validate(formats strfmt.Registry) error

Validate validates this notification process result

type Order ¶

type Order struct {

	// chargeback reversed time
	// Format: date-time
	ChargebackReversedTime *strfmt.DateTime `json:"chargebackReversedTime,omitempty"`

	// chargeback time
	// Format: date-time
	ChargebackTime *strfmt.DateTime `json:"chargebackTime,omitempty"`

	// charged
	Charged bool `json:"charged"`

	// charged time
	// Format: date-time
	ChargedTime *strfmt.DateTime `json:"chargedTime,omitempty"`

	// count item Id
	CountItemID string `json:"countItemId,omitempty"`

	// count namespace
	CountNamespace string `json:"countNamespace,omitempty"`

	// count user Id
	CountUserID string `json:"countUserId,omitempty"`

	// created at
	// Format: date-time
	CreatedAt *strfmt.DateTime `json:"createdAt,omitempty"`

	// created time
	// Format: date-time
	CreatedTime *strfmt.DateTime `json:"createdTime,omitempty"`

	// currency
	Currency *CurrencySummary `json:"currency,omitempty"`

	// discounted price
	DiscountedPrice int32 `json:"discountedPrice,omitempty"`

	// expire time
	// Format: date-time
	ExpireTime *strfmt.DateTime `json:"expireTime,omitempty"`

	// ext
	Ext map[string]interface{} `json:"ext,omitempty"`

	// free
	Free bool `json:"free"`

	// fulfilled time
	// Format: date-time
	FulfilledTime *strfmt.DateTime `json:"fulfilledTime,omitempty"`

	// item Id
	ItemID string `json:"itemId,omitempty"`

	// item snapshot
	ItemSnapshot *ItemSnapshot `json:"itemSnapshot,omitempty"`

	// language
	Language string `json:"language,omitempty"`

	// namespace
	Namespace string `json:"namespace,omitempty"`

	// order no
	OrderNo string `json:"orderNo,omitempty"`

	// payment method
	PaymentMethod string `json:"paymentMethod,omitempty"`

	// payment method fee
	PaymentMethodFee int32 `json:"paymentMethodFee,omitempty"`

	// payment order no
	PaymentOrderNo string `json:"paymentOrderNo,omitempty"`

	// payment provider
	// Enum: [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"`

	// 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 ¶

func (m *Order) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Order) UnmarshalBinary ¶

func (m *Order) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Order) Validate ¶

func (m *Order) Validate(formats strfmt.Registry) error

Validate validates this order

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
	// Pattern: ^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$
	Language string `json:"language,omitempty"`

	// Price of order, should match (item_price * quantity)
	// Required: true
	Price *int32 `json:"price"`

	// Quantity of item, min is 1
	// Required: true
	Quantity *int32 `json:"quantity"`

	// country value from ISO countries
	Region string `json:"region,omitempty"`

	// custom return url for real payment, user will be redirected to this url once payment is finished
	ReturnURL string `json:"returnUrl,omitempty"`
}

OrderCreate order create

swagger:model OrderCreate

func (*OrderCreate) MarshalBinary ¶

func (m *OrderCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OrderCreate) UnmarshalBinary ¶

func (m *OrderCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OrderCreate) Validate ¶

func (m *OrderCreate) Validate(formats strfmt.Registry) error

Validate validates this order create

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

func (*OrderGrantInfo) Validate ¶

func (m *OrderGrantInfo) Validate(formats strfmt.Registry) error

Validate validates this order grant info

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

func (*OrderHistoryInfo) Validate ¶

func (m *OrderHistoryInfo) Validate(formats strfmt.Registry) error

Validate validates this order history info

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 ¶

func (m *OrderInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OrderInfo) UnmarshalBinary ¶

func (m *OrderInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OrderInfo) Validate ¶

func (m *OrderInfo) Validate(formats strfmt.Registry) error

Validate validates this order info

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

func (*OrderPagingResult) Validate ¶

func (m *OrderPagingResult) Validate(formats strfmt.Registry) error

Validate validates this order paging result

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

func (*OrderPagingSlicedResult) Validate ¶

func (m *OrderPagingSlicedResult) Validate(formats strfmt.Registry) error

Validate validates this order paging sliced result

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

func (*OrderRefundCreate) Validate ¶

func (m *OrderRefundCreate) Validate(formats strfmt.Registry) error

Validate validates this order refund create

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

func (*OrderStatistics) Validate ¶

func (m *OrderStatistics) Validate(formats strfmt.Registry) error

Validate validates this order statistics

type OrderSummary ¶ added in v0.7.0

type OrderSummary struct {

	// purchase currency
	Currency *CurrencySummary `json:"currency,omitempty"`

	// order custom properties
	Ext map[string]interface{} `json:"ext,omitempty"`

	// free
	Free bool `json:"free"`
}

OrderSummary order summary

swagger:model OrderSummary

func (*OrderSummary) MarshalBinary ¶ added in v0.7.0

func (m *OrderSummary) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OrderSummary) UnmarshalBinary ¶ added in v0.7.0

func (m *OrderSummary) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OrderSummary) Validate ¶ added in v0.7.0

func (m *OrderSummary) Validate(formats strfmt.Registry) error

Validate validates this order summary

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

func (*OrderSyncResult) Validate ¶

func (m *OrderSyncResult) Validate(formats strfmt.Registry) error

Validate validates this order sync result

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

func (*OrderUpdate) Validate ¶

func (m *OrderUpdate) Validate(formats strfmt.Registry) error

Validate validates this order update

type Ownership ¶

type Ownership struct {

	// ownership
	// Required: true
	Owned *bool `json:"owned"`
}

Ownership ownership

swagger:model Ownership

func (*Ownership) MarshalBinary ¶

func (m *Ownership) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Ownership) UnmarshalBinary ¶

func (m *Ownership) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Ownership) Validate ¶

func (m *Ownership) Validate(formats strfmt.Registry) error

Validate validates this ownership

type OwnershipToken ¶ added in v0.7.0

type OwnershipToken struct {

	// ownership token
	OwnershipToken string `json:"ownershipToken,omitempty"`
}

OwnershipToken ownership token

swagger:model OwnershipToken

func (*OwnershipToken) MarshalBinary ¶ added in v0.7.0

func (m *OwnershipToken) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OwnershipToken) UnmarshalBinary ¶ added in v0.7.0

func (m *OwnershipToken) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OwnershipToken) Validate ¶ added in v0.7.0

func (m *OwnershipToken) Validate(formats strfmt.Registry) error

Validate validates this ownership token

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 ¶

func (m *Paging) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Paging) UnmarshalBinary ¶

func (m *Paging) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Paging) Validate ¶

func (m *Paging) Validate(formats strfmt.Registry) error

Validate validates this paging

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

func (*PayPalConfig) Validate ¶

func (m *PayPalConfig) Validate(formats strfmt.Registry) error

Validate validates this pay pal config

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

func (*PaymentAccount) Validate ¶

func (m *PaymentAccount) Validate(formats strfmt.Registry) error

Validate validates this payment account

type PaymentCallbackConfigInfo ¶ added in v0.9.0

type PaymentCallbackConfigInfo struct {

	// mock workflow while set true, default false
	DryRun bool `json:"dryRun"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// notify url for ECommerce payment notification
	NotifyURL string `json:"notifyUrl,omitempty"`

	// private key to encode/decode ECommerce payload
	PrivateKey string `json:"privateKey,omitempty"`
}

PaymentCallbackConfigInfo payment callback config info

swagger:model PaymentCallbackConfigInfo

func (*PaymentCallbackConfigInfo) MarshalBinary ¶ added in v0.9.0

func (m *PaymentCallbackConfigInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PaymentCallbackConfigInfo) UnmarshalBinary ¶ added in v0.9.0

func (m *PaymentCallbackConfigInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PaymentCallbackConfigInfo) Validate ¶ added in v0.9.0

func (m *PaymentCallbackConfigInfo) Validate(formats strfmt.Registry) error

Validate validates this payment callback config info

type PaymentCallbackConfigUpdate ¶ added in v0.9.0

type PaymentCallbackConfigUpdate struct {

	// mock workflow while set true, default false
	DryRun bool `json:"dryRun"`

	// notify url for ECommerce payment notification
	NotifyURL string `json:"notifyUrl,omitempty"`

	// private key to encode/decode ECommerce payload
	PrivateKey string `json:"privateKey,omitempty"`
}

PaymentCallbackConfigUpdate payment callback config update

swagger:model PaymentCallbackConfigUpdate

func (*PaymentCallbackConfigUpdate) MarshalBinary ¶ added in v0.9.0

func (m *PaymentCallbackConfigUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PaymentCallbackConfigUpdate) UnmarshalBinary ¶ added in v0.9.0

func (m *PaymentCallbackConfigUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PaymentCallbackConfigUpdate) Validate ¶ added in v0.9.0

func (m *PaymentCallbackConfigUpdate) Validate(formats strfmt.Registry) error

Validate validates this payment callback config update

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

func (*PaymentMerchantConfigInfo) Validate ¶

func (m *PaymentMerchantConfigInfo) Validate(formats strfmt.Registry) error

Validate validates this payment merchant config info

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

func (*PaymentMethod) Validate ¶

func (m *PaymentMethod) Validate(formats strfmt.Registry) error

Validate validates this payment method

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

func (*PaymentNotificationInfo) Validate ¶

func (m *PaymentNotificationInfo) Validate(formats strfmt.Registry) error

Validate validates this payment notification info

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

func (*PaymentNotificationPagingSlicedResult) Validate ¶

Validate validates this payment notification paging sliced result

type PaymentOrder ¶

type PaymentOrder struct {

	// authorised time
	// Format: date-time
	AuthorisedTime *strfmt.DateTime `json:"authorisedTime,omitempty"`

	// channel
	// Enum: [EXTERNAL INTERNAL]
	Channel string `json:"channel,omitempty"`

	// chargeback reversed time
	// Format: date-time
	ChargebackReversedTime *strfmt.DateTime `json:"chargebackReversedTime,omitempty"`

	// chargeback time
	// Format: date-time
	ChargebackTime *strfmt.DateTime `json:"chargebackTime,omitempty"`

	// charged time
	// Format: date-time
	ChargedTime *strfmt.DateTime `json:"chargedTime,omitempty"`

	// charging
	Charging bool `json:"charging"`

	// created at
	// Format: date-time
	CreatedAt *strfmt.DateTime `json:"createdAt,omitempty"`

	// created time
	// Format: date-time
	CreatedTime *strfmt.DateTime `json:"createdTime,omitempty"`

	// currency
	Currency *CurrencySummary `json:"currency,omitempty"`

	// custom parameters
	CustomParameters map[string]interface{} `json:"customParameters,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// ext order no
	ExtOrderNo string `json:"extOrderNo,omitempty"`

	// ext user Id
	ExtUserID string `json:"extUserId,omitempty"`

	// item type
	// Enum: [APP COINS INGAMEITEM BUNDLE CODE SUBSCRIPTION SEASON MEDIA]
	ItemType string `json:"itemType,omitempty"`

	// language
	Language string `json:"language,omitempty"`

	// metadata
	Metadata map[string]string `json:"metadata,omitempty"`

	// namespace
	Namespace string `json:"namespace,omitempty"`

	// notify Url
	NotifyURL string `json:"notifyUrl,omitempty"`

	// omit notification
	OmitNotification bool `json:"omitNotification"`

	// payment method
	PaymentMethod string `json:"paymentMethod,omitempty"`

	// payment method fee
	PaymentMethodFee int32 `json:"paymentMethodFee,omitempty"`

	// payment order no
	PaymentOrderNo string `json:"paymentOrderNo,omitempty"`

	// payment provider
	// Enum: [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"`

	// platform
	Platform string `json:"platform,omitempty"`

	// price
	Price int32 `json:"price,omitempty"`

	// recurring payment order no
	RecurringPaymentOrderNo string `json:"recurringPaymentOrderNo,omitempty"`

	// refunded time
	// Format: date-time
	RefundedTime *strfmt.DateTime `json:"refundedTime,omitempty"`

	// region
	Region string `json:"region,omitempty"`

	// return Url
	ReturnURL string `json:"returnUrl,omitempty"`

	// rvn
	Rvn int32 `json:"rvn,omitempty"`

	// sales tax
	SalesTax int32 `json:"salesTax,omitempty"`

	// sandbox
	Sandbox bool `json:"sandbox"`

	// sku
	Sku string `json:"sku,omitempty"`

	// state
	State string `json:"state,omitempty"`

	// status
	// Enum: [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

func (*PaymentOrder) Validate ¶

func (m *PaymentOrder) Validate(formats strfmt.Registry) error

Validate validates this payment order

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

func (*PaymentOrderChargeRequest) Validate ¶

func (m *PaymentOrderChargeRequest) Validate(formats strfmt.Registry) error

Validate validates this payment order charge request

type PaymentOrderChargeStatus ¶

type PaymentOrderChargeStatus struct {

	// charging
	Charging bool `json:"charging"`

	// 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

func (*PaymentOrderChargeStatus) Validate ¶

func (m *PaymentOrderChargeStatus) Validate(formats strfmt.Registry) error

Validate validates this payment order charge status

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 SEASON MEDIA]
	ItemType string `json:"itemType,omitempty"`

	// language value from language tag, allowed format: en, en-US
	// Pattern: ^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$
	Language string `json:"language,omitempty"`

	// metadata
	Metadata map[string]string `json:"metadata,omitempty"`

	// custom notify url for real payment, send notification to this url once payment action is finished
	NotifyURL string `json:"notifyUrl,omitempty"`

	// TEST PURPOSE, if set it will not send async notification to the API invoker, only can set true while this payment is sandbox
	OmitNotification bool `json:"omitNotification"`

	// platform
	Platform string `json:"platform,omitempty"`

	// Price of order
	// Required: true
	Price *int32 `json:"price"`

	// recurring payment order which has recurring token, will do recurring payment if present, otherwise start normal payment flow
	RecurringPaymentOrderNo string `json:"recurringPaymentOrderNo,omitempty"`

	// country value from ISO countries
	Region string `json:"region,omitempty"`

	// custom return url for real payment, user will be redirected to this url once payment is finished
	ReturnURL string `json:"returnUrl,omitempty"`

	// TEST PURPOSE, sandbox(Active in real currency mode), default is false
	Sandbox bool `json:"sandbox"`

	// optional, unique identity for the item
	Sku string `json:"sku,omitempty"`

	// subscriptionId, payment token will be saved for recurring payment
	SubscriptionID string `json:"subscriptionId,omitempty"`

	// Order title
	// Required: true
	Title *string `json:"title"`
}

PaymentOrderCreate payment order create

swagger:model PaymentOrderCreate

func (*PaymentOrderCreate) MarshalBinary ¶

func (m *PaymentOrderCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PaymentOrderCreate) UnmarshalBinary ¶

func (m *PaymentOrderCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PaymentOrderCreate) Validate ¶

func (m *PaymentOrderCreate) Validate(formats strfmt.Registry) error

Validate validates this payment order create

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

func (*PaymentOrderCreateResult) Validate ¶

func (m *PaymentOrderCreateResult) Validate(formats strfmt.Registry) error

Validate validates this payment order create result

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

func (*PaymentOrderDetails) Validate ¶

func (m *PaymentOrderDetails) Validate(formats strfmt.Registry) error

Validate validates this payment order details

type PaymentOrderInfo ¶

type PaymentOrderInfo struct {

	// The time of the order authorised
	// Format: date-time
	AuthorisedTime *strfmt.DateTime `json:"authorisedTime,omitempty"`

	// Payment order channel: EXTERNAL or INTERNAL
	// Required: true
	// Enum: [EXTERNAL INTERNAL]
	Channel *string `json:"channel"`

	// The time of the order chargeback reversed time
	// Format: date-time
	ChargebackReversedTime *strfmt.DateTime `json:"chargebackReversedTime,omitempty"`

	// The time of the order chargeback time
	// Format: date-time
	ChargebackTime *strfmt.DateTime `json:"chargebackTime,omitempty"`

	// The time of the order charged
	// Format: date-time
	ChargedTime *strfmt.DateTime `json:"chargedTime,omitempty"`

	// if charging is true, means user have finished transaction, platform is waiting for payment notification
	Charging bool `json:"charging"`

	// createdAt
	// Required: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt"`

	// The time of the order created
	// Format: date-time
	CreatedTime *strfmt.DateTime `json:"createdTime,omitempty"`

	// Payment order currency info
	// Required: true
	Currency *CurrencySummary `json:"currency"`

	// User custom parameters
	CustomParameters map[string]interface{} `json:"customParameters,omitempty"`

	// Order description
	Description string `json:"description,omitempty"`

	// External order number
	// Required: true
	ExtOrderNo *string `json:"extOrderNo"`

	// optional, external user id, can be the character id
	ExtUserID string `json:"extUserId,omitempty"`

	// Order item type
	// Enum: [APP COINS INGAMEITEM BUNDLE CODE SUBSCRIPTION SEASON MEDIA]
	ItemType string `json:"itemType,omitempty"`

	// Payment user language
	Language string `json:"language,omitempty"`

	// metadata
	Metadata map[string]string `json:"metadata,omitempty"`

	// Payment order namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// The notify url if customized
	NotifyURL string `json:"notifyUrl,omitempty"`

	// TEST PURPOSE, if set it will not send async notification to the API invoker, only can set true while this payment is sandbox
	OmitNotification bool `json:"omitNotification"`

	// Payment method
	PaymentMethod string `json:"paymentMethod,omitempty"`

	// Payment method fee
	PaymentMethodFee int32 `json:"paymentMethodFee,omitempty"`

	// Payment order number
	// Required: true
	PaymentOrderNo *string `json:"paymentOrderNo"`

	// Payment provider
	// Required: true
	// Enum: [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

func (*PaymentOrderInfo) Validate ¶

func (m *PaymentOrderInfo) Validate(formats strfmt.Registry) error

Validate validates this payment order info

type PaymentOrderNotifySimulation ¶ added in v0.7.0

type PaymentOrderNotifySimulation struct {

	// amount
	Amount int32 `json:"amount,omitempty"`

	// currency code
	// Required: true
	CurrencyCode *string `json:"currencyCode"`

	// notify type
	// Required: true
	// Enum: [CHARGE REFUND]
	NotifyType *string `json:"notifyType"`

	// payment provider
	// Required: true
	// Enum: [WALLET XSOLLA ADYEN STRIPE CHECKOUT ALIPAY WXPAY PAYPAL]
	PaymentProvider *string `json:"paymentProvider"`

	// salesTax for xsolla
	SalesTax int32 `json:"salesTax,omitempty"`

	// vat for xsolla
	Vat int32 `json:"vat,omitempty"`
}

PaymentOrderNotifySimulation payment order notify simulation

swagger:model PaymentOrderNotifySimulation

func (*PaymentOrderNotifySimulation) MarshalBinary ¶ added in v0.7.0

func (m *PaymentOrderNotifySimulation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PaymentOrderNotifySimulation) UnmarshalBinary ¶ added in v0.7.0

func (m *PaymentOrderNotifySimulation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PaymentOrderNotifySimulation) Validate ¶ added in v0.7.0

func (m *PaymentOrderNotifySimulation) Validate(formats strfmt.Registry) error

Validate validates this payment order notify simulation

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

func (*PaymentOrderPagingSlicedResult) Validate ¶

func (m *PaymentOrderPagingSlicedResult) Validate(formats strfmt.Registry) error

Validate validates this payment order paging sliced result

type PaymentOrderPaidResult ¶

type PaymentOrderPaidResult struct {

	// charging
	// Required: true
	Charging *bool `json:"charging"`

	// success
	// Required: true
	Success *bool `json:"success"`
}

PaymentOrderPaidResult payment order paid result

swagger:model PaymentOrderPaidResult

func (*PaymentOrderPaidResult) MarshalBinary ¶

func (m *PaymentOrderPaidResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PaymentOrderPaidResult) UnmarshalBinary ¶

func (m *PaymentOrderPaidResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PaymentOrderPaidResult) Validate ¶

func (m *PaymentOrderPaidResult) Validate(formats strfmt.Registry) error

Validate validates this payment order paid result

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

func (*PaymentOrderRefund) Validate ¶

func (m *PaymentOrderRefund) Validate(formats strfmt.Registry) error

Validate validates this payment order refund

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

func (*PaymentOrderRefundResult) Validate ¶

func (m *PaymentOrderRefundResult) Validate(formats strfmt.Registry) error

Validate validates this payment order refund result

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

func (*PaymentOrderSyncResult) Validate ¶

func (m *PaymentOrderSyncResult) Validate(formats strfmt.Registry) error

Validate validates this payment order sync result

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

func (*PaymentProcessResult) Validate ¶

func (m *PaymentProcessResult) Validate(formats strfmt.Registry) error

Validate validates this payment process result

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"`

	// only works when taxJarEnabled=true, and if useGlobalTaxJarApiToken is true, we will reset the taxJarApiToken as null
	UseGlobalTaxJarAPIToken bool `json:"useGlobalTaxJarApiToken"`
}

PaymentProviderConfigEdit A DTO object for creating/updating payment provider config

swagger:model PaymentProviderConfigEdit

func (*PaymentProviderConfigEdit) MarshalBinary ¶

func (m *PaymentProviderConfigEdit) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PaymentProviderConfigEdit) UnmarshalBinary ¶

func (m *PaymentProviderConfigEdit) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PaymentProviderConfigEdit) Validate ¶

func (m *PaymentProviderConfigEdit) Validate(formats strfmt.Registry) error

Validate validates this payment provider config edit

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"`

	// if use global taxjar token
	UseGlobalTaxJarAPIToken bool `json:"useGlobalTaxJarApiToken"`
}

PaymentProviderConfigInfo payment provider config info

swagger:model PaymentProviderConfigInfo

func (*PaymentProviderConfigInfo) MarshalBinary ¶

func (m *PaymentProviderConfigInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PaymentProviderConfigInfo) UnmarshalBinary ¶

func (m *PaymentProviderConfigInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PaymentProviderConfigInfo) Validate ¶

func (m *PaymentProviderConfigInfo) Validate(formats strfmt.Registry) error

Validate validates this payment provider config info

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

func (*PaymentProviderConfigPagingSlicedResult) Validate ¶

Validate validates this payment provider config paging sliced result

type PaymentRequest ¶

type PaymentRequest struct {

	// amount
	// Required: true
	// Minimum: 0
	Amount *int64 `json:"amount"`

	// wallet platform, base on platform wallet rule to payment wallet
	// Enum: [Playstation Xbox Steam Epic IOS GooglePlay Nintendo Other]
	WalletPlatform string `json:"walletPlatform,omitempty"`
}

PaymentRequest A DTO for wallet's payment

swagger:model PaymentRequest

func (*PaymentRequest) MarshalBinary ¶

func (m *PaymentRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PaymentRequest) UnmarshalBinary ¶

func (m *PaymentRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PaymentRequest) Validate ¶

func (m *PaymentRequest) Validate(formats strfmt.Registry) error

Validate validates this payment request

type PaymentTaxConfigEdit ¶

type PaymentTaxConfigEdit struct {

	// sandbox taxJar API token
	SandboxTaxJarAPIToken string `json:"sandboxTaxJarApiToken,omitempty"`

	// taxJar API token
	TaxJarAPIToken string `json:"taxJarApiToken,omitempty"`

	// if taxJar integration is enabled
	TaxJarEnabled bool `json:"taxJarEnabled"`

	// taxJar product codes mappings, allow item types: APP, COINS, INGAMEITEM, BUNDLE, CODE, SUBSCRIPTION
	TaxJarProductCodesMapping map[string]string `json:"taxJarProductCodesMapping,omitempty"`
}

PaymentTaxConfigEdit A DTO object for updating payment tax config

swagger:model PaymentTaxConfigEdit

func (*PaymentTaxConfigEdit) MarshalBinary ¶

func (m *PaymentTaxConfigEdit) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PaymentTaxConfigEdit) UnmarshalBinary ¶

func (m *PaymentTaxConfigEdit) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PaymentTaxConfigEdit) Validate ¶

func (m *PaymentTaxConfigEdit) Validate(formats strfmt.Registry) error

Validate validates this payment tax config edit

type PaymentTaxConfigInfo ¶

type PaymentTaxConfigInfo struct {

	// sandbox taxJar API token
	SandboxTaxJarAPIToken string `json:"sandboxTaxJarApiToken,omitempty"`

	// taxJar API token
	TaxJarAPIToken string `json:"taxJarApiToken,omitempty"`

	// if taxJar integration is enabled
	TaxJarEnabled bool `json:"taxJarEnabled"`

	// taxJar product codes mappings
	TaxJarProductCodesMapping map[string]string `json:"taxJarProductCodesMapping,omitempty"`
}

PaymentTaxConfigInfo payment tax config info

swagger:model PaymentTaxConfigInfo

func (*PaymentTaxConfigInfo) MarshalBinary ¶

func (m *PaymentTaxConfigInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PaymentTaxConfigInfo) UnmarshalBinary ¶

func (m *PaymentTaxConfigInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PaymentTaxConfigInfo) Validate ¶

func (m *PaymentTaxConfigInfo) Validate(formats strfmt.Registry) error

Validate validates this payment tax config info

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

func (*PaymentToken) Validate ¶

func (m *PaymentToken) Validate(formats strfmt.Registry) error

Validate validates this payment token

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
	PaymentURL string `json:"paymentUrl,omitempty"`

	// return url
	ReturnURL string `json:"returnUrl,omitempty"`

	// adyen session data
	SessionData string `json:"sessionData,omitempty"`

	// adyen session id
	SessionID string `json:"sessionId,omitempty"`
}

PaymentURL payment Url

swagger:model PaymentUrl

func (*PaymentURL) MarshalBinary ¶

func (m *PaymentURL) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PaymentURL) UnmarshalBinary ¶

func (m *PaymentURL) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PaymentURL) Validate ¶

func (m *PaymentURL) Validate(formats strfmt.Registry) error

Validate validates this payment Url

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

func (*PaymentURLCreate) Validate ¶

func (m *PaymentURLCreate) Validate(formats strfmt.Registry) error

Validate validates this payment Url create

type PlatformDLCConfigInfo ¶ added in v0.10.0

type PlatformDLCConfigInfo struct {

	// data
	Data []*PlatformDlcEntry `json:"data"`
}

PlatformDLCConfigInfo platform d l c config info

swagger:model PlatformDLCConfigInfo

func (*PlatformDLCConfigInfo) MarshalBinary ¶ added in v0.10.0

func (m *PlatformDLCConfigInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PlatformDLCConfigInfo) UnmarshalBinary ¶ added in v0.10.0

func (m *PlatformDLCConfigInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PlatformDLCConfigInfo) Validate ¶ added in v0.10.0

func (m *PlatformDLCConfigInfo) Validate(formats strfmt.Registry) error

Validate validates this platform d l c config info

type PlatformDLCConfigUpdate ¶ added in v0.10.0

type PlatformDLCConfigUpdate struct {

	// platform dlc config list
	Data []*PlatformDlcEntry `json:"data"`
}

PlatformDLCConfigUpdate platform d l c config update

swagger:model PlatformDLCConfigUpdate

func (*PlatformDLCConfigUpdate) MarshalBinary ¶ added in v0.10.0

func (m *PlatformDLCConfigUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PlatformDLCConfigUpdate) UnmarshalBinary ¶ added in v0.10.0

func (m *PlatformDLCConfigUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PlatformDLCConfigUpdate) Validate ¶ added in v0.10.0

func (m *PlatformDLCConfigUpdate) Validate(formats strfmt.Registry) error

Validate validates this platform d l c config update

type PlatformDlcEntry ¶ added in v0.10.0

type PlatformDlcEntry struct {

	// platform: steam, psn, xbl
	// Enum: [PSN STEAM XBOX]
	Platform string `json:"platform,omitempty"`

	// key is platform product id, value is dlc id
	PlatformDlcIDMap map[string]string `json:"platformDlcIdMap,omitempty"`
}

PlatformDlcEntry platform dlc entry

swagger:model PlatformDlcEntry

func (*PlatformDlcEntry) MarshalBinary ¶ added in v0.10.0

func (m *PlatformDlcEntry) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PlatformDlcEntry) UnmarshalBinary ¶ added in v0.10.0

func (m *PlatformDlcEntry) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PlatformDlcEntry) Validate ¶ added in v0.10.0

func (m *PlatformDlcEntry) Validate(formats strfmt.Registry) error

Validate validates this platform dlc entry

type PlatformReward ¶ added in v0.10.0

type PlatformReward struct {

	// required if type is CURRENCY
	Currency *PlatformRewardCurrency `json:"currency,omitempty"`

	// required if type is ITEM, can be fulfilled by itemId or itemSku
	Item *PlatformRewardItem `json:"item,omitempty"`

	// quantity if type is ITEM, amount if type is CURRENCY
	Quantity int32 `json:"quantity,omitempty"`

	// reward type
	// Enum: [ITEM CURRENCY]
	Type string `json:"type,omitempty"`
}

PlatformReward platform reward

swagger:model PlatformReward

func (*PlatformReward) MarshalBinary ¶ added in v0.10.0

func (m *PlatformReward) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PlatformReward) UnmarshalBinary ¶ added in v0.10.0

func (m *PlatformReward) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PlatformReward) Validate ¶ added in v0.10.0

func (m *PlatformReward) Validate(formats strfmt.Registry) error

Validate validates this platform reward

type PlatformRewardCurrency ¶ added in v0.10.0

type PlatformRewardCurrency struct {

	// currency code, alphabet uppercase
	// Required: true
	CurrencyCode *string `json:"currencyCode"`

	// namespace, allowed values: game namespace or publisher namespace
	// Required: true
	Namespace *string `json:"namespace"`
}

PlatformRewardCurrency platform reward currency

swagger:model PlatformRewardCurrency

func (*PlatformRewardCurrency) MarshalBinary ¶ added in v0.10.0

func (m *PlatformRewardCurrency) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PlatformRewardCurrency) UnmarshalBinary ¶ added in v0.10.0

func (m *PlatformRewardCurrency) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PlatformRewardCurrency) Validate ¶ added in v0.10.0

func (m *PlatformRewardCurrency) Validate(formats strfmt.Registry) error

Validate validates this platform reward currency

type PlatformRewardItem ¶ added in v0.10.0

type PlatformRewardItem struct {

	// item Id
	ItemID string `json:"itemId,omitempty"`

	// item sku
	ItemSku string `json:"itemSku,omitempty"`

	// item type
	ItemType string `json:"itemType,omitempty"`
}

PlatformRewardItem platform reward item

swagger:model PlatformRewardItem

func (*PlatformRewardItem) MarshalBinary ¶ added in v0.10.0

func (m *PlatformRewardItem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PlatformRewardItem) UnmarshalBinary ¶ added in v0.10.0

func (m *PlatformRewardItem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PlatformRewardItem) Validate ¶ added in v0.10.0

func (m *PlatformRewardItem) Validate(formats strfmt.Registry) error

Validate validates this platform reward item

type PlatformSubscribeRequest ¶ added in v0.7.0

type PlatformSubscribeRequest struct {

	// grant days
	// Required: true
	GrantDays *int32 `json:"grantDays"`

	// subscription item id
	// Required: true
	ItemID *string `json:"itemId"`

	// language
	Language string `json:"language,omitempty"`

	// subscribe reason
	Reason string `json:"reason,omitempty"`

	// region
	Region string `json:"region,omitempty"`

	// source
	Source string `json:"source,omitempty"`
}

PlatformSubscribeRequest platform subscribe request

swagger:model PlatformSubscribeRequest

func (*PlatformSubscribeRequest) MarshalBinary ¶ added in v0.7.0

func (m *PlatformSubscribeRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PlatformSubscribeRequest) UnmarshalBinary ¶ added in v0.7.0

func (m *PlatformSubscribeRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PlatformSubscribeRequest) Validate ¶ added in v0.7.0

func (m *PlatformSubscribeRequest) Validate(formats strfmt.Registry) error

Validate validates this platform subscribe request

type PlatformWallet ¶ added in v0.18.0

type PlatformWallet struct {

	// total balance, include effective time-limited balance
	// Required: true
	Balance *int64 `json:"balance"`

	// currency code
	// Required: true
	CurrencyCode *string `json:"currencyCode"`

	// currency symbol
	// Required: true
	CurrencySymbol *string `json:"currencySymbol"`

	// id
	ID string `json:"id,omitempty"`

	// platform wallet namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// user id
	// Required: true
	UserID *string `json:"userId"`

	// wallets balances info
	WalletInfos []*WalletInfo `json:"walletInfos"`

	// wallet status
	// Enum: [ACTIVE INACTIVE]
	WalletStatus string `json:"walletStatus,omitempty"`
}

PlatformWallet platform wallet

swagger:model PlatformWallet

func (*PlatformWallet) MarshalBinary ¶ added in v0.18.0

func (m *PlatformWallet) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PlatformWallet) UnmarshalBinary ¶ added in v0.18.0

func (m *PlatformWallet) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PlatformWallet) Validate ¶ added in v0.18.0

func (m *PlatformWallet) Validate(formats strfmt.Registry) error

Validate validates this platform wallet

type PlatformWalletConfigInfo ¶ added in v0.18.0

type PlatformWalletConfigInfo struct {

	// allowed balance origin, sorted list
	// Required: true
	AllowedBalanceOrigins []string `json:"allowedBalanceOrigins"`

	// created at
	// Format: date-time
	CreatedAt *strfmt.DateTime `json:"createdAt,omitempty"`

	// config id
	ID string `json:"id,omitempty"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// platform
	// Required: true
	Platform *string `json:"platform"`

	// updated at
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt,omitempty"`
}

PlatformWalletConfigInfo platform wallet config info

swagger:model PlatformWalletConfigInfo

func (*PlatformWalletConfigInfo) MarshalBinary ¶ added in v0.18.0

func (m *PlatformWalletConfigInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PlatformWalletConfigInfo) UnmarshalBinary ¶ added in v0.18.0

func (m *PlatformWalletConfigInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PlatformWalletConfigInfo) Validate ¶ added in v0.18.0

func (m *PlatformWalletConfigInfo) Validate(formats strfmt.Registry) error

Validate validates this platform wallet config info

type PlatformWalletConfigUpdate ¶ added in v0.18.0

type PlatformWalletConfigUpdate struct {

	// allowed balance origins
	AllowedBalanceOrigins []string `json:"allowedBalanceOrigins"`
}

PlatformWalletConfigUpdate A DTO object for updating item API call.

swagger:model PlatformWalletConfigUpdate

func (*PlatformWalletConfigUpdate) MarshalBinary ¶ added in v0.18.0

func (m *PlatformWalletConfigUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PlatformWalletConfigUpdate) UnmarshalBinary ¶ added in v0.18.0

func (m *PlatformWalletConfigUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PlatformWalletConfigUpdate) Validate ¶ added in v0.18.0

func (m *PlatformWalletConfigUpdate) Validate(formats strfmt.Registry) error

Validate validates this platform wallet config update

type PlayStationDLCSyncRequest ¶ added in v0.10.0

type PlayStationDLCSyncRequest struct {

	// service label
	ServiceLabel int32 `json:"serviceLabel,omitempty"`
}

PlayStationDLCSyncRequest play station d l c sync request

swagger:model PlayStationDLCSyncRequest

func (*PlayStationDLCSyncRequest) MarshalBinary ¶ added in v0.10.0

func (m *PlayStationDLCSyncRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PlayStationDLCSyncRequest) UnmarshalBinary ¶ added in v0.10.0

func (m *PlayStationDLCSyncRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PlayStationDLCSyncRequest) Validate ¶ added in v0.10.0

func (m *PlayStationDLCSyncRequest) Validate(formats strfmt.Registry) error

Validate validates this play station d l c sync request

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

func (*PlayStationIAPConfigInfo) Validate ¶

func (m *PlayStationIAPConfigInfo) Validate(formats strfmt.Registry) error

Validate validates this play station i a p config info

type PlayStationReconcileRequest ¶ added in v0.9.0

type PlayStationReconcileRequest struct {

	// product price currency
	CurrencyCode string `json:"currencyCode,omitempty"`

	// product price
	Price float64 `json:"price,omitempty"`

	// productId
	ProductID string `json:"productId,omitempty"`

	// service label
	ServiceLabel int32 `json:"serviceLabel,omitempty"`
}

PlayStationReconcileRequest play station reconcile request

swagger:model PlayStationReconcileRequest

func (*PlayStationReconcileRequest) MarshalBinary ¶ added in v0.9.0

func (m *PlayStationReconcileRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PlayStationReconcileRequest) UnmarshalBinary ¶ added in v0.9.0

func (m *PlayStationReconcileRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PlayStationReconcileRequest) Validate ¶ added in v0.9.0

func (m *PlayStationReconcileRequest) Validate(formats strfmt.Registry) error

Validate validates this play station reconcile request

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

func (*PlayStationReconcileResult) Validate ¶

func (m *PlayStationReconcileResult) Validate(formats strfmt.Registry) error

Validate validates this play station reconcile result

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

func (*PlaystationIAPConfigRequest) Validate ¶

func (m *PlaystationIAPConfigRequest) Validate(formats strfmt.Registry) error

Validate validates this playstation i a p config request

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"`

	// the items which this item being bounded to
	// Unique: true
	BoundItemIds []string `json:"boundItemIds"`

	// Item category path
	// Required: true
	CategoryPath *string `json:"categoryPath"`

	// customized item clazz
	Clazz string `json:"clazz,omitempty"`

	// created at
	// Required: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt"`

	// description info
	Description string `json:"description,omitempty"`

	// display order
	DisplayOrder int32 `json:"displayOrder,omitempty"`

	// Entitlement type
	// Required: true
	// Enum: [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"`

	// itemQty, the quantity of item in itemIds, default 1, should be empty if item type is not "BUNDLE"
	ItemQty map[string]int32 `json:"itemQty,omitempty"`

	// Item type
	// Required: true
	// Enum: [APP COINS INGAMEITEM BUNDLE CODE SUBSCRIPTION SEASON MEDIA]
	ItemType *string `json:"itemType"`

	// bundle items, only has value when item is bundle and is populated
	Items []*BundledItemInfo `json:"items"`

	// language
	// Required: true
	Language *string `json:"language"`

	// Whether can be visible in Store for public user
	Listable bool `json:"listable"`

	// local ext
	LocalExt map[string]interface{} `json:"localExt,omitempty"`

	// long description info
	LongDescription string `json:"longDescription,omitempty"`

	// Max count, -1 means UNLIMITED, unset when itemType is CODE
	MaxCount int32 `json:"maxCount,omitempty"`

	// Max count per user, -1 means UNLIMITED
	MaxCountPerUser int32 `json:"maxCountPerUser,omitempty"`

	// Name
	// Required: true
	Name *string `json:"name"`

	// Item namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// Whether can be purchased
	Purchasable bool `json:"purchasable"`

	// recurring for subscription
	Recurring *Recurring `json:"recurring,omitempty"`

	// region
	// Required: true
	Region *string `json:"region"`

	// Region data
	RegionData []*RegionDataItem `json:"regionData"`

	// Season type, required while itemType is SEASON
	// Enum: [PASS TIER]
	SeasonType string `json:"seasonType,omitempty"`

	// Sku
	Sku string `json:"sku,omitempty"`

	// Whether stack the CONSUMABLE entitlement
	Stackable bool `json:"stackable"`

	// Item status
	// Required: true
	// Enum: [ACTIVE INACTIVE]
	Status *string `json:"status"`

	// Tags
	// Unique: true
	Tags []string `json:"tags"`

	// Target currency code of coin item
	TargetCurrencyCode string `json:"targetCurrencyCode,omitempty"`

	// Target item id if this item is mapping from game namespace
	TargetItemID string `json:"targetItemId,omitempty"`

	// The target namespace of a cross namespace item
	TargetNamespace string `json:"targetNamespace,omitempty"`

	// thumbnail url
	ThumbnailURL string `json:"thumbnailUrl,omitempty"`

	// title info
	// Required: true
	Title *string `json:"title"`

	// updated at
	// Required: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt"`

	// Item use count, required when entitlement type is consumable or itemType is COINS
	UseCount int32 `json:"useCount,omitempty"`
}

PopulatedItemInfo populated item info

swagger:model PopulatedItemInfo

func (*PopulatedItemInfo) MarshalBinary ¶

func (m *PopulatedItemInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PopulatedItemInfo) UnmarshalBinary ¶

func (m *PopulatedItemInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PopulatedItemInfo) Validate ¶

func (m *PopulatedItemInfo) Validate(formats strfmt.Registry) error

Validate validates this populated item info

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

func (*PurchasedItemCount) Validate ¶

func (m *PurchasedItemCount) Validate(formats strfmt.Registry) error

Validate validates this purchased item count

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 ¶

func (m *Recurring) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Recurring) UnmarshalBinary ¶

func (m *Recurring) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Recurring) Validate ¶

func (m *Recurring) Validate(formats strfmt.Registry) error

Validate validates this recurring

type RecurringChargeResult ¶ added in v0.7.0

type RecurringChargeResult struct {

	// code for fail to trigger
	Code string `json:"code,omitempty"`

	// detail for fail to trigger
	Detail string `json:"detail,omitempty"`

	// triggered or not
	// Required: true
	Triggered *bool `json:"triggered"`
}

RecurringChargeResult recurring charge result

swagger:model RecurringChargeResult

func (*RecurringChargeResult) MarshalBinary ¶ added in v0.7.0

func (m *RecurringChargeResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RecurringChargeResult) UnmarshalBinary ¶ added in v0.7.0

func (m *RecurringChargeResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RecurringChargeResult) Validate ¶ added in v0.7.0

func (m *RecurringChargeResult) Validate(formats strfmt.Registry) error

Validate validates this recurring charge result

type RedeemHistoryInfo ¶ added in v0.7.0

type RedeemHistoryInfo struct {

	// campaign id
	// Required: true
	CampaignID *string `json:"campaignId"`

	// code value
	// Required: true
	Code *string `json:"code"`

	// created at
	// Required: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt"`

	// id
	// Required: true
	ID *string `json:"id"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// order No
	OrderNo string `json:"orderNo,omitempty"`

	// redeemed at
	// Format: date-time
	RedeemedAt *strfmt.DateTime `json:"redeemedAt,omitempty"`

	// updated at
	// Required: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt"`

	// redeem user id
	// Required: true
	UserID *string `json:"userId"`
}

RedeemHistoryInfo redeem history info

swagger:model RedeemHistoryInfo

func (*RedeemHistoryInfo) MarshalBinary ¶ added in v0.7.0

func (m *RedeemHistoryInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RedeemHistoryInfo) UnmarshalBinary ¶ added in v0.7.0

func (m *RedeemHistoryInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RedeemHistoryInfo) Validate ¶ added in v0.7.0

func (m *RedeemHistoryInfo) Validate(formats strfmt.Registry) error

Validate validates this redeem history info

type RedeemHistoryPagingSlicedResult ¶ added in v0.7.0

type RedeemHistoryPagingSlicedResult struct {

	// data
	// Required: true
	Data []*RedeemHistoryInfo `json:"data"`

	// paging
	Paging *Paging `json:"paging,omitempty"`
}

RedeemHistoryPagingSlicedResult redeem history paging sliced result

swagger:model RedeemHistoryPagingSlicedResult

func (*RedeemHistoryPagingSlicedResult) MarshalBinary ¶ added in v0.7.0

func (m *RedeemHistoryPagingSlicedResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RedeemHistoryPagingSlicedResult) UnmarshalBinary ¶ added in v0.7.0

func (m *RedeemHistoryPagingSlicedResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RedeemHistoryPagingSlicedResult) Validate ¶ added in v0.7.0

Validate validates this redeem history paging sliced result

type RedeemRequest ¶ added in v0.7.0

type RedeemRequest struct {

	// The code for campaign
	// Required: true
	Code *string `json:"code"`

	// order No
	OrderNo string `json:"orderNo,omitempty"`
}

RedeemRequest redeem request

swagger:model RedeemRequest

func (*RedeemRequest) MarshalBinary ¶ added in v0.7.0

func (m *RedeemRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RedeemRequest) UnmarshalBinary ¶ added in v0.7.0

func (m *RedeemRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RedeemRequest) Validate ¶ added in v0.7.0

func (m *RedeemRequest) Validate(formats strfmt.Registry) error

Validate validates this redeem request

type RedeemResult ¶ added in v0.7.0

type RedeemResult struct {

	// redeemed items
	Items []*RedeemableItem `json:"items"`
}

RedeemResult redeem result

swagger:model RedeemResult

func (*RedeemResult) MarshalBinary ¶ added in v0.7.0

func (m *RedeemResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RedeemResult) UnmarshalBinary ¶ added in v0.7.0

func (m *RedeemResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RedeemResult) Validate ¶ added in v0.7.0

func (m *RedeemResult) Validate(formats strfmt.Registry) error

Validate validates this redeem result

type RedeemableItem ¶ added in v0.7.0

type RedeemableItem struct {

	// Extra subscription days if the item is a subscription, 0 by default
	ExtraSubscriptionDays int32 `json:"extraSubscriptionDays,omitempty"`

	// The redeemable item id
	// Required: true
	ItemID *string `json:"itemId"`

	// The redeemable item name
	// Required: true
	ItemName *string `json:"itemName"`

	// The redeemable item quantity, 1 for default
	Quantity int32 `json:"quantity,omitempty"`
}

RedeemableItem redeemable item

swagger:model RedeemableItem

func (*RedeemableItem) MarshalBinary ¶ added in v0.7.0

func (m *RedeemableItem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RedeemableItem) UnmarshalBinary ¶ added in v0.7.0

func (m *RedeemableItem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RedeemableItem) Validate ¶ added in v0.7.0

func (m *RedeemableItem) Validate(formats strfmt.Registry) error

Validate validates this redeemable item

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

func (*RegionDataItem) Validate ¶

func (m *RegionDataItem) Validate(formats strfmt.Registry) error

Validate validates this region data item

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

func (*Requirement) Validate ¶

func (m *Requirement) Validate(formats strfmt.Registry) error

Validate validates this requirement

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

func (*RewardCondition) Validate ¶

func (m *RewardCondition) Validate(formats strfmt.Registry) error

Validate validates this reward condition

type RewardCreate ¶

type RewardCreate struct {

	// Description
	Description string `json:"description,omitempty"`

	// event topic to listen to
	// Required: true
	EventTopic *string `json:"eventTopic"`

	// Max awarded
	MaxAwarded int32 `json:"maxAwarded,omitempty"`

	// Max awarded per user
	MaxAwardedPerUser int32 `json:"maxAwardedPerUser,omitempty"`

	//  The path to get namespace from event payload, if not present, will use default value "$.[0].namespace"
	NamespaceExpression string `json:"namespaceExpression,omitempty"`

	// Reward code
	// Required: true
	RewardCode *string `json:"rewardCode"`

	// list of reward condition
	RewardConditions []*RewardCondition `json:"rewardConditions"`

	// The path to get userId from event payload, if not present, will use default value "$.[0].userId"
	UserIDExpression string `json:"userIdExpression,omitempty"`
}

RewardCreate reward create

swagger:model RewardCreate

func (*RewardCreate) MarshalBinary ¶

func (m *RewardCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RewardCreate) UnmarshalBinary ¶

func (m *RewardCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RewardCreate) Validate ¶

func (m *RewardCreate) Validate(formats strfmt.Registry) error

Validate validates this reward create

type RewardInfo ¶

type RewardInfo struct {

	// created at
	// Format: date-time
	CreatedAt *strfmt.DateTime `json:"createdAt,omitempty"`

	// Description
	Description string `json:"description,omitempty"`

	// event topic to listen to
	// Required: true
	EventTopic *string `json:"eventTopic"`

	// Max awarded
	MaxAwarded int32 `json:"maxAwarded,omitempty"`

	// Max awarded per user
	MaxAwardedPerUser int32 `json:"maxAwardedPerUser,omitempty"`

	// Reward namespace
	// Required: true
	Namespace *string `json:"namespace"`

	//  The path to get namespace from event payload, if not present, will use default value
	NamespaceExpression string `json:"namespaceExpression,omitempty"`

	// Reward code
	RewardCode string `json:"rewardCode,omitempty"`

	// list of reward condition
	RewardConditions []*RewardCondition `json:"rewardConditions"`

	// Reward id
	// Required: true
	RewardID *string `json:"rewardId"`

	// updated at
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt,omitempty"`

	// The path to get userId from event payload, if not present, will use default value
	UserIDExpression string `json:"userIdExpression,omitempty"`
}

RewardInfo reward info

swagger:model RewardInfo

func (*RewardInfo) MarshalBinary ¶

func (m *RewardInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RewardInfo) UnmarshalBinary ¶

func (m *RewardInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RewardInfo) Validate ¶

func (m *RewardInfo) Validate(formats strfmt.Registry) error

Validate validates this reward info

type RewardItem ¶

type RewardItem struct {

	// duration
	Duration int32 `json:"duration,omitempty"`

	// item Id
	ItemID string `json:"itemId,omitempty"`

	// quantity
	Quantity int32 `json:"quantity,omitempty"`
}

RewardItem reward item

swagger:model RewardItem

func (*RewardItem) MarshalBinary ¶

func (m *RewardItem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RewardItem) UnmarshalBinary ¶

func (m *RewardItem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RewardItem) Validate ¶

func (m *RewardItem) Validate(formats strfmt.Registry) error

Validate validates this reward item

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

func (*RewardPagingSlicedResult) Validate ¶

func (m *RewardPagingSlicedResult) Validate(formats strfmt.Registry) error

Validate validates this reward paging sliced result

type RewardUpdate ¶

type RewardUpdate struct {

	// Description
	Description string `json:"description,omitempty"`

	// event topic to listen to
	// Required: true
	EventTopic *string `json:"eventTopic"`

	// Max awarded
	MaxAwarded int32 `json:"maxAwarded,omitempty"`

	// Max awarded per user
	MaxAwardedPerUser int32 `json:"maxAwardedPerUser,omitempty"`

	//  The path to get namespace from event payload, if not present, will use default value "$.[0].namespace"
	NamespaceExpression string `json:"namespaceExpression,omitempty"`

	// rewardCode
	// Required: true
	RewardCode *string `json:"rewardCode"`

	// list of reward condition
	RewardConditions []*RewardCondition `json:"rewardConditions"`

	// The path to get userId from event payload, if not present, will use default value "$.[0].userId"
	UserIDExpression string `json:"userIdExpression,omitempty"`
}

RewardUpdate reward update

swagger:model RewardUpdate

func (*RewardUpdate) MarshalBinary ¶

func (m *RewardUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RewardUpdate) UnmarshalBinary ¶

func (m *RewardUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RewardUpdate) Validate ¶

func (m *RewardUpdate) Validate(formats strfmt.Registry) error

Validate validates this reward update

type RewardsRequest ¶ added in v0.10.0

type RewardsRequest struct {

	// origin, if rewards contains item icon, it will credit into related origin wallet. if not set, it will be credit into System wallet
	// Enum: [Playstation Xbox Steam Epic Stadia IOS GooglePlay Twitch Nintendo System Other]
	Origin string `json:"origin,omitempty"`

	// reward
	// Required: true
	Rewards []*PlatformReward `json:"rewards"`

	// source
	// Enum: [PURCHASE IAP PROMOTION ACHIEVEMENT REFERRAL_BONUS REDEEM_CODE REWARD GIFT DLC OTHER]
	Source string `json:"source,omitempty"`
}

RewardsRequest A DTO object for rewards request API call.

swagger:model RewardsRequest

func (*RewardsRequest) MarshalBinary ¶ added in v0.10.0

func (m *RewardsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RewardsRequest) UnmarshalBinary ¶ added in v0.10.0

func (m *RewardsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RewardsRequest) Validate ¶ added in v0.10.0

func (m *RewardsRequest) Validate(formats strfmt.Registry) error

Validate validates this rewards request

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 ¶

func (m *Slide) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Slide) UnmarshalBinary ¶

func (m *Slide) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Slide) Validate ¶

func (m *Slide) Validate(formats strfmt.Registry) error

Validate validates this slide

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 CODE SUBSCRIPTION MEDIA]
	Clazz *string `json:"clazz"`

	// entitlement created at
	// Required: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt"`

	// entitlement end date
	// Format: date-time
	EndDate *strfmt.DateTime `json:"endDate,omitempty"`

	// entitlement features
	// Unique: true
	Features []string `json:"features"`

	// entitlement granted at
	// Required: true
	// Format: date-time
	GrantedAt strfmt.DateTime `json:"grantedAt"`

	// grantedCode, the granted code
	GrantedCode string `json:"grantedCode,omitempty"`

	// entitlement id
	// Required: true
	ID *string `json:"id"`

	// itemId of the entitlement
	// Required: true
	ItemID *string `json:"itemId"`

	// itemNamespace for the purchased item
	// Required: true
	ItemNamespace *string `json:"itemNamespace"`

	// itemSnapshot
	ItemSnapshot *ItemSnapshot `json:"itemSnapshot,omitempty"`

	// entitlement name
	// Required: true
	Name *string `json:"name"`

	// entitlement namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// sku for purchased item
	Sku string `json:"sku,omitempty"`

	// entitlement source
	// Required: true
	// Enum: [PURCHASE IAP PROMOTION ACHIEVEMENT REFERRAL_BONUS REDEEM_CODE REWARD GIFT OTHER]
	Source *string `json:"source"`

	// whether the CONSUMABLE entitlement is stackable
	Stackable bool `json:"stackable"`

	// CONSUMABLE entitlement stacked use count
	StackedUseCount int32 `json:"stackedUseCount,omitempty"`

	// entitlement start date
	// Format: date-time
	StartDate *strfmt.DateTime `json:"startDate,omitempty"`

	// entitlement status
	// Required: true
	// Enum: [ACTIVE INACTIVE CONSUMED REVOKED]
	Status *string `json:"status"`

	// storeId of the item, published store if omitted
	StoreID string `json:"storeId,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

func (*StackableEntitlementInfo) Validate ¶

func (m *StackableEntitlementInfo) Validate(formats strfmt.Registry) error

Validate validates this stackable entitlement info

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

func (*StadiaIAPConfigInfo) Validate ¶

func (m *StadiaIAPConfigInfo) Validate(formats strfmt.Registry) error

Validate validates this stadia i a p config info

type StadiaSyncRequest ¶

type StadiaSyncRequest struct {

	// app id
	// Required: true
	AppID *string `json:"appId"`

	// language value from language tag, allowed format: en, en-US
	// Pattern: ^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$
	Language string `json:"language,omitempty"`

	// country value from ISO countries
	Region string `json:"region,omitempty"`

	// Stadia player id
	// Required: true
	StadiaPlayerID *string `json:"stadiaPlayerId"`
}

StadiaSyncRequest stadia sync request

swagger:model StadiaSyncRequest

func (*StadiaSyncRequest) MarshalBinary ¶

func (m *StadiaSyncRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StadiaSyncRequest) UnmarshalBinary ¶

func (m *StadiaSyncRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StadiaSyncRequest) Validate ¶

func (m *StadiaSyncRequest) Validate(formats strfmt.Registry) error

Validate validates this stadia sync request

type SteamDLCSyncRequest ¶ added in v0.10.0

type SteamDLCSyncRequest struct {

	// Steam app id, this field is deprecated
	AppID string `json:"appId,omitempty"`

	// Steam ID of the user
	// Required: true
	SteamID *string `json:"steamId"`
}

SteamDLCSyncRequest steam d l c sync request

swagger:model SteamDLCSyncRequest

func (*SteamDLCSyncRequest) MarshalBinary ¶ added in v0.10.0

func (m *SteamDLCSyncRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SteamDLCSyncRequest) UnmarshalBinary ¶ added in v0.10.0

func (m *SteamDLCSyncRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SteamDLCSyncRequest) Validate ¶ added in v0.10.0

func (m *SteamDLCSyncRequest) Validate(formats strfmt.Registry) error

Validate validates this steam d l c sync request

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

func (*SteamIAPConfig) Validate ¶

func (m *SteamIAPConfig) Validate(formats strfmt.Registry) error

Validate validates this steam i a p config

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

func (*SteamIAPConfigInfo) Validate ¶

func (m *SteamIAPConfigInfo) Validate(formats strfmt.Registry) error

Validate validates this steam i a p config info

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

func (*SteamIAPConfigRequest) Validate ¶

func (m *SteamIAPConfigRequest) Validate(formats strfmt.Registry) error

Validate validates this steam i a p config request

type SteamSyncRequest ¶

type SteamSyncRequest struct {

	// Steam app id
	// Required: true
	AppID *string `json:"appId"`

	// product price currency
	CurrencyCode string `json:"currencyCode,omitempty"`

	// language value from language tag, allowed format: en, en-US
	// Pattern: ^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$
	Language string `json:"language,omitempty"`

	// product price
	Price float64 `json:"price,omitempty"`

	// steamdefid
	ProductID string `json:"productId,omitempty"`

	// country value from ISO countries
	Region string `json:"region,omitempty"`

	// Steam ID of the user
	// Required: true
	SteamID *string `json:"steamId"`
}

SteamSyncRequest steam sync request

swagger:model SteamSyncRequest

func (*SteamSyncRequest) MarshalBinary ¶

func (m *SteamSyncRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SteamSyncRequest) UnmarshalBinary ¶

func (m *SteamSyncRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SteamSyncRequest) Validate ¶

func (m *SteamSyncRequest) Validate(formats strfmt.Registry) error

Validate validates this steam sync request

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

func (*StoreBackupInfo) Validate ¶

func (m *StoreBackupInfo) Validate(formats strfmt.Registry) error

Validate validates this store backup info

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

func (*StoreCreate) Validate ¶

func (m *StoreCreate) Validate(formats strfmt.Registry) error

Validate validates this store create

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 ¶

func (m *StoreInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StoreInfo) UnmarshalBinary ¶

func (m *StoreInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StoreInfo) Validate ¶

func (m *StoreInfo) Validate(formats strfmt.Registry) error

Validate validates this store info

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

func (*StoreUpdate) Validate ¶

func (m *StoreUpdate) Validate(formats strfmt.Registry) error

Validate validates this store update

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

func (*StripeConfig) Validate ¶

func (m *StripeConfig) Validate(formats strfmt.Registry) error

Validate validates this stripe config

type Subscribable ¶ added in v0.7.0

type Subscribable struct {

	// subscribable
	// Required: true
	Subscribable *bool `json:"subscribable"`
}

Subscribable subscribable

swagger:model Subscribable

func (*Subscribable) MarshalBinary ¶ added in v0.7.0

func (m *Subscribable) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Subscribable) UnmarshalBinary ¶ added in v0.7.0

func (m *Subscribable) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Subscribable) Validate ¶ added in v0.7.0

func (m *Subscribable) Validate(formats strfmt.Registry) error

Validate validates this subscribable

type SubscribeRequest ¶ added in v0.7.0

type SubscribeRequest struct {

	// currency code, should match currency code in item region data
	// Required: true
	CurrencyCode *string `json:"currencyCode"`

	// item id
	// Required: true
	ItemID *string `json:"itemId"`

	// language value from language tag, allowed format: en, en-US
	// Pattern: ^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$
	Language string `json:"language,omitempty"`

	// country value from ISO countries
	Region string `json:"region,omitempty"`

	// custom return url for real payment, user will be redirected to this url once payment is finished
	ReturnURL string `json:"returnUrl,omitempty"`

	// subscription source
	Source string `json:"source,omitempty"`
}

SubscribeRequest subscribe request

swagger:model SubscribeRequest

func (*SubscribeRequest) MarshalBinary ¶ added in v0.7.0

func (m *SubscribeRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SubscribeRequest) UnmarshalBinary ¶ added in v0.7.0

func (m *SubscribeRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SubscribeRequest) Validate ¶ added in v0.7.0

func (m *SubscribeRequest) Validate(formats strfmt.Registry) error

Validate validates this subscribe request

type SubscriptionActivityInfo ¶ added in v0.7.0

type SubscriptionActivityInfo struct {

	// subscription action
	// Required: true
	// Enum: [SUBSCRIBE CANCEL IMMEDIATE_CANCEL RESUBSCRIBE GRANT_DAYS CHANGE_BILLING_ACCOUNT]
	Action *string `json:"action"`

	// subscription already charged cycle
	// Required: true
	ChargedCycles *int32 `json:"chargedCycles"`

	// created at
	// Required: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt"`

	// subscription current cycle number
	// Required: true
	CurrentCycle *int32 `json:"currentCycle"`

	// subscription grant days, negative indicates decrease
	GrantDays int32 `json:"grantDays,omitempty"`

	// Subscription in fixed cycle trial or not
	InFixedCycleTrial bool `json:"inFixedCycleTrial"`

	// Subscription in fixed free days or not
	InFixedFreeDays bool `json:"inFixedFreeDays"`

	// Subscription namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// operator
	// Required: true
	Operator *string `json:"operator"`

	// subscription action reason
	Reason string `json:"reason,omitempty"`

	// subscription subscribed by
	// Required: true
	// Enum: [USER PLATFORM]
	SubscribedBy *string `json:"subscribedBy"`

	// Subscription id
	// Required: true
	SubscriptionID *string `json:"subscriptionId"`

	// Subscription already trialed cycles if exist
	TrialedCycles int32 `json:"trialedCycles,omitempty"`

	// updated at
	// Required: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt"`

	// Subscription user id
	// Required: true
	UserID *string `json:"userId"`
}

SubscriptionActivityInfo subscription activity info

swagger:model SubscriptionActivityInfo

func (*SubscriptionActivityInfo) MarshalBinary ¶ added in v0.7.0

func (m *SubscriptionActivityInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SubscriptionActivityInfo) UnmarshalBinary ¶ added in v0.7.0

func (m *SubscriptionActivityInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SubscriptionActivityInfo) Validate ¶ added in v0.7.0

func (m *SubscriptionActivityInfo) Validate(formats strfmt.Registry) error

Validate validates this subscription activity info

type SubscriptionActivityPagingSlicedResult ¶ added in v0.7.0

type SubscriptionActivityPagingSlicedResult struct {

	// data
	// Required: true
	Data []*SubscriptionActivityInfo `json:"data"`

	// paging
	Paging *Paging `json:"paging,omitempty"`
}

SubscriptionActivityPagingSlicedResult subscription activity paging sliced result

swagger:model SubscriptionActivityPagingSlicedResult

func (*SubscriptionActivityPagingSlicedResult) MarshalBinary ¶ added in v0.7.0

func (m *SubscriptionActivityPagingSlicedResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SubscriptionActivityPagingSlicedResult) UnmarshalBinary ¶ added in v0.7.0

func (m *SubscriptionActivityPagingSlicedResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SubscriptionActivityPagingSlicedResult) Validate ¶ added in v0.7.0

Validate validates this subscription activity paging sliced result

type SubscriptionInfo ¶ added in v0.7.0

type SubscriptionInfo struct {

	// saved billing account
	BillingAccount *BillingAccount `json:"billingAccount,omitempty"`

	// charge status
	// Required: true
	// Enum: [NEVER SETUP RECURRING_CHARGING CHARGED CHARGE_FAILED]
	ChargeStatus *string `json:"chargeStatus"`

	// already charged cycles
	ChargedCycles int32 `json:"chargedCycles,omitempty"`

	// created at
	// Required: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt"`

	// currency
	Currency *CurrencySummary `json:"currency,omitempty"`

	// current cycle in
	CurrentCycle int32 `json:"currentCycle,omitempty"`

	// current period end
	// Format: date-time
	CurrentPeriodEnd *strfmt.DateTime `json:"currentPeriodEnd,omitempty"`

	// current period start
	// Format: date-time
	CurrentPeriodStart *strfmt.DateTime `json:"currentPeriodStart,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// end date time if exist, at current it's not used
	// Format: date-time
	End *strfmt.DateTime `json:"end,omitempty"`

	// granted entitlement summary
	Entitlements []*EntitlementSummary `json:"entitlements"`

	// is first subscribe, will enjoy trial if trial available if it's first time subscribe
	FirstSubscribe bool `json:"firstSubscribe"`

	// id
	// Required: true
	ID *string `json:"id"`

	// whether in fixed cycle trial
	// Required: true
	InFixedCycleTrial *bool `json:"inFixedCycleTrial"`

	// whether in fixed free days
	// Required: true
	InFixedFreeDays *bool `json:"inFixedFreeDays"`

	// item id
	// Required: true
	ItemID *string `json:"itemId"`

	// item snapshot
	ItemSnapshot *ItemSnapshot `json:"itemSnapshot,omitempty"`

	// created language
	Language string `json:"language,omitempty"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// next billing date
	// Format: date-time
	NextBillingDate *strfmt.DateTime `json:"nextBillingDate,omitempty"`

	// whether user paid from the subscription start
	Paid bool `json:"paid"`

	// whether need to go to payment station for payment
	// Required: true
	PaymentFlowRequired *bool `json:"paymentFlowRequired"`

	// current payment order no
	PaymentOrderNo string `json:"paymentOrderNo,omitempty"`

	// payment station url
	PaymentStationURL string `json:"paymentStationUrl,omitempty"`

	// normal price
	Price int32 `json:"price,omitempty"`

	// recurring
	// Required: true
	Recurring *Recurring `json:"recurring"`

	// created region
	Region string `json:"region,omitempty"`

	// payment retry attempted
	RetryAttempted int32 `json:"retryAttempted,omitempty"`

	// payment returnUrl for payment station
	ReturnURL string `json:"returnUrl,omitempty"`

	// is sandbox mode
	Sandbox bool `json:"sandbox"`

	// sku
	Sku string `json:"sku,omitempty"`

	// source
	Source string `json:"source,omitempty"`

	// start date time, it will record the first time subscribed
	// Format: date-time
	Start *strfmt.DateTime `json:"start,omitempty"`

	// status
	// Required: true
	// Enum: [INIT ACTIVE CANCELLED EXPIRED]
	Status *string `json:"status"`

	// subscribed date time
	// Format: date-time
	SubscribedAt *strfmt.DateTime `json:"subscribedAt,omitempty"`

	// subscribed by PLATFORM(system granted) or USER(subscribed by userself)
	// Enum: [USER PLATFORM]
	SubscribedBy string `json:"subscribedBy,omitempty"`

	// title
	Title string `json:"title,omitempty"`

	// trial price
	TrialPrice int32 `json:"trialPrice,omitempty"`

	// already trialed cycles if exist fixedCycleTrial
	TrialedCycles int32 `json:"trialedCycles,omitempty"`

	// unsubscribe reason
	UnsubscribeReason string `json:"unsubscribeReason,omitempty"`

	// unsubscribed date time
	// Format: date-time
	UnsubscribedAt *strfmt.DateTime `json:"unsubscribedAt,omitempty"`

	// updated at
	// Required: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt"`

	// user id
	// Required: true
	UserID *string `json:"userId"`
}

SubscriptionInfo subscription info

swagger:model SubscriptionInfo

func (*SubscriptionInfo) MarshalBinary ¶ added in v0.7.0

func (m *SubscriptionInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SubscriptionInfo) UnmarshalBinary ¶ added in v0.7.0

func (m *SubscriptionInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SubscriptionInfo) Validate ¶ added in v0.7.0

func (m *SubscriptionInfo) Validate(formats strfmt.Registry) error

Validate validates this subscription info

type SubscriptionPagingSlicedResult ¶ added in v0.7.0

type SubscriptionPagingSlicedResult struct {

	// data
	// Required: true
	Data []*SubscriptionInfo `json:"data"`

	// paging
	Paging *Paging `json:"paging,omitempty"`
}

SubscriptionPagingSlicedResult subscription paging sliced result

swagger:model SubscriptionPagingSlicedResult

func (*SubscriptionPagingSlicedResult) MarshalBinary ¶ added in v0.7.0

func (m *SubscriptionPagingSlicedResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SubscriptionPagingSlicedResult) UnmarshalBinary ¶ added in v0.7.0

func (m *SubscriptionPagingSlicedResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SubscriptionPagingSlicedResult) Validate ¶ added in v0.7.0

func (m *SubscriptionPagingSlicedResult) Validate(formats strfmt.Registry) error

Validate validates this subscription paging sliced result

type SubscriptionSummary ¶ added in v0.7.0

type SubscriptionSummary struct {

	// current period end
	// Format: date-time
	CurrentPeriodEnd *strfmt.DateTime `json:"currentPeriodEnd,omitempty"`

	// current period start
	// Format: date-time
	CurrentPeriodStart *strfmt.DateTime `json:"currentPeriodStart,omitempty"`

	// subscription id
	// Required: true
	ID *string `json:"id"`

	// item id
	// Required: true
	ItemID *string `json:"itemId"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// sku
	Sku string `json:"sku,omitempty"`

	// status
	// Required: true
	// Enum: [INIT ACTIVE CANCELLED EXPIRED]
	Status *string `json:"status"`

	// subscribed by PLATFORM(system granted) or USER(subscribed by userself)
	// Enum: [USER PLATFORM]
	SubscribedBy string `json:"subscribedBy,omitempty"`

	// user id
	// Required: true
	UserID *string `json:"userId"`
}

SubscriptionSummary subscription summary

swagger:model SubscriptionSummary

func (*SubscriptionSummary) MarshalBinary ¶ added in v0.7.0

func (m *SubscriptionSummary) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SubscriptionSummary) UnmarshalBinary ¶ added in v0.7.0

func (m *SubscriptionSummary) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SubscriptionSummary) Validate ¶ added in v0.7.0

func (m *SubscriptionSummary) Validate(formats strfmt.Registry) error

Validate validates this subscription summary

type TaxResult ¶

type TaxResult struct {

	// if enable tax
	EnableTax bool `json:"enableTax"`

	// formattedTax
	FormattedTax string `json:"formattedTax,omitempty"`

	// state
	State string `json:"state,omitempty"`

	// tax
	Tax int32 `json:"tax,omitempty"`
}

TaxResult tax result

swagger:model TaxResult

func (*TaxResult) MarshalBinary ¶

func (m *TaxResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TaxResult) UnmarshalBinary ¶

func (m *TaxResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TaxResult) Validate ¶

func (m *TaxResult) Validate(formats strfmt.Registry) error

Validate validates this tax result

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

func (*TestResult) Validate ¶

func (m *TestResult) Validate(formats strfmt.Registry) error

Validate validates this test result

type TicketAcquireRequest ¶ added in v0.7.0

type TicketAcquireRequest struct {

	// acquire count
	// Required: true
	Count *int32 `json:"count"`

	// order no
	// Required: true
	OrderNo *string `json:"orderNo"`
}

TicketAcquireRequest ticket acquire request

swagger:model TicketAcquireRequest

func (*TicketAcquireRequest) MarshalBinary ¶ added in v0.7.0

func (m *TicketAcquireRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TicketAcquireRequest) UnmarshalBinary ¶ added in v0.7.0

func (m *TicketAcquireRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TicketAcquireRequest) Validate ¶ added in v0.7.0

func (m *TicketAcquireRequest) Validate(formats strfmt.Registry) error

Validate validates this ticket acquire request

type TicketAcquireResult ¶ added in v0.7.0

type TicketAcquireResult struct {

	// acquired values
	Values []string `json:"values"`
}

TicketAcquireResult ticket acquire result

swagger:model TicketAcquireResult

func (*TicketAcquireResult) MarshalBinary ¶ added in v0.7.0

func (m *TicketAcquireResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TicketAcquireResult) UnmarshalBinary ¶ added in v0.7.0

func (m *TicketAcquireResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TicketAcquireResult) Validate ¶ added in v0.7.0

func (m *TicketAcquireResult) Validate(formats strfmt.Registry) error

Validate validates this ticket acquire result

type TicketBoothID ¶ added in v0.7.0

type TicketBoothID struct {

	// id
	// Required: true
	ID *string `json:"id"`

	// type
	// Required: true
	// Enum: [CAMPAIGN KEYGROUP]
	Type *string `json:"type"`
}

TicketBoothID ticket booth ID

swagger:model TicketBoothID

func (*TicketBoothID) MarshalBinary ¶ added in v0.7.0

func (m *TicketBoothID) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TicketBoothID) UnmarshalBinary ¶ added in v0.7.0

func (m *TicketBoothID) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TicketBoothID) Validate ¶ added in v0.7.0

func (m *TicketBoothID) Validate(formats strfmt.Registry) error

Validate validates this ticket booth ID

type TicketDynamicInfo ¶ added in v0.7.0

type TicketDynamicInfo struct {

	// The available sale count, -1 means UNLIMITED
	// Required: true
	AvailableSaleCount *int32 `json:"availableSaleCount"`
}

TicketDynamicInfo ticket dynamic info

swagger:model TicketDynamicInfo

func (*TicketDynamicInfo) MarshalBinary ¶ added in v0.7.0

func (m *TicketDynamicInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TicketDynamicInfo) UnmarshalBinary ¶ added in v0.7.0

func (m *TicketDynamicInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TicketDynamicInfo) Validate ¶ added in v0.7.0

func (m *TicketDynamicInfo) Validate(formats strfmt.Registry) error

Validate validates this ticket dynamic info

type TicketSaleDecrementRequest ¶ added in v0.7.0

type TicketSaleDecrementRequest struct {

	// orderNo
	// Required: true
	OrderNo *string `json:"orderNo"`
}

TicketSaleDecrementRequest ticket sale decrement request

swagger:model TicketSaleDecrementRequest

func (*TicketSaleDecrementRequest) MarshalBinary ¶ added in v0.7.0

func (m *TicketSaleDecrementRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TicketSaleDecrementRequest) UnmarshalBinary ¶ added in v0.7.0

func (m *TicketSaleDecrementRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TicketSaleDecrementRequest) Validate ¶ added in v0.7.0

func (m *TicketSaleDecrementRequest) Validate(formats strfmt.Registry) error

Validate validates this ticket sale decrement request

type TicketSaleIncrementRequest ¶ added in v0.7.0

type TicketSaleIncrementRequest struct {

	// increment
	// Required: true
	Count *int32 `json:"count"`

	// order No
	// Required: true
	OrderNo *string `json:"orderNo"`
}

TicketSaleIncrementRequest ticket sale increment request

swagger:model TicketSaleIncrementRequest

func (*TicketSaleIncrementRequest) MarshalBinary ¶ added in v0.7.0

func (m *TicketSaleIncrementRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TicketSaleIncrementRequest) UnmarshalBinary ¶ added in v0.7.0

func (m *TicketSaleIncrementRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TicketSaleIncrementRequest) Validate ¶ added in v0.7.0

func (m *TicketSaleIncrementRequest) Validate(formats strfmt.Registry) error

Validate validates this ticket sale increment request

type TicketSaleIncrementResult ¶ added in v0.7.0

type TicketSaleIncrementResult struct {

	// max sale count
	// Required: true
	MaxSaleCount *int32 `json:"maxSaleCount"`

	// operation result
	// Required: true
	Success *bool `json:"success"`
}

TicketSaleIncrementResult ticket sale increment result

swagger:model TicketSaleIncrementResult

func (*TicketSaleIncrementResult) MarshalBinary ¶ added in v0.7.0

func (m *TicketSaleIncrementResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TicketSaleIncrementResult) UnmarshalBinary ¶ added in v0.7.0

func (m *TicketSaleIncrementResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TicketSaleIncrementResult) Validate ¶ added in v0.7.0

func (m *TicketSaleIncrementResult) Validate(formats strfmt.Registry) error

Validate validates this ticket sale increment result

type TimeLimitedBalance ¶ added in v0.18.0

type TimeLimitedBalance struct {

	// balance
	Balance int64 `json:"balance,omitempty"`

	// balance source
	BalanceSource string `json:"balanceSource,omitempty"`

	// balance expire time
	// Format: date-time
	ExpireAt *strfmt.DateTime `json:"expireAt,omitempty"`
}

TimeLimitedBalance time limited balance

swagger:model Time-limited balance

func (*TimeLimitedBalance) MarshalBinary ¶ added in v0.18.0

func (m *TimeLimitedBalance) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TimeLimitedBalance) UnmarshalBinary ¶ added in v0.18.0

func (m *TimeLimitedBalance) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TimeLimitedBalance) Validate ¶ added in v0.18.0

func (m *TimeLimitedBalance) Validate(formats strfmt.Registry) error

Validate validates this time limited balance

type TimedOwnership ¶ added in v0.7.0

type TimedOwnership struct {

	// end date
	// Format: date-time
	EndDate *strfmt.DateTime `json:"endDate,omitempty"`

	// ownership
	// Required: true
	Owned *bool `json:"owned"`
}

TimedOwnership timed ownership

swagger:model TimedOwnership

func (*TimedOwnership) MarshalBinary ¶ added in v0.7.0

func (m *TimedOwnership) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TimedOwnership) UnmarshalBinary ¶ added in v0.7.0

func (m *TimedOwnership) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TimedOwnership) Validate ¶ added in v0.7.0

func (m *TimedOwnership) Validate(formats strfmt.Registry) error

Validate validates this timed ownership

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: 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

func (*TradeNotification) Validate ¶

func (m *TradeNotification) Validate(formats strfmt.Registry) error

Validate validates this trade notification

type Transaction ¶

type Transaction struct {

	// additional data
	AdditionalData *AdditionalData `json:"additionalData,omitempty"`

	// amount
	Amount int32 `json:"amount,omitempty"`

	// currency
	Currency *CurrencySummary `json:"currency,omitempty"`

	// ext message
	ExtMessage string `json:"extMessage,omitempty"`

	// ext status code
	ExtStatusCode string `json:"extStatusCode,omitempty"`

	// ext tx Id
	ExtTxID string `json:"extTxId,omitempty"`

	// merchant Id
	MerchantID string `json:"merchantId,omitempty"`

	// notified
	Notified bool `json:"notified"`

	// payment method
	PaymentMethod string `json:"paymentMethod,omitempty"`

	// payment method fee
	PaymentMethodFee int32 `json:"paymentMethodFee,omitempty"`

	// payment provider fee
	PaymentProviderFee int32 `json:"paymentProviderFee,omitempty"`

	// provider
	// Enum: [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

func (*Transaction) Validate ¶

func (m *Transaction) Validate(formats strfmt.Registry) error

Validate validates this transaction

type TransactionAmountDetails ¶ added in v0.18.0

type TransactionAmountDetails struct {

	// amount
	Amount int64 `json:"amount,omitempty"`

	// origin
	Origin string `json:"origin,omitempty"`

	// wallet Id
	WalletID string `json:"walletId,omitempty"`
}

TransactionAmountDetails transaction amount details

swagger:model TransactionAmountDetails

func (*TransactionAmountDetails) MarshalBinary ¶ added in v0.18.0

func (m *TransactionAmountDetails) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TransactionAmountDetails) UnmarshalBinary ¶ added in v0.18.0

func (m *TransactionAmountDetails) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TransactionAmountDetails) Validate ¶ added in v0.18.0

func (m *TransactionAmountDetails) Validate(formats strfmt.Registry) error

Validate validates this transaction amount details

type TwitchIAPConfigInfo ¶ added in v0.12.0

type TwitchIAPConfigInfo struct {

	// twitch client id
	ClientID string `json:"clientId,omitempty"`

	// twitch client secret
	ClientSecret string `json:"clientSecret,omitempty"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// twitch organization Id
	OrganizationID string `json:"organizationId,omitempty"`
}

TwitchIAPConfigInfo twitch i a p config info

swagger:model TwitchIAPConfigInfo

func (*TwitchIAPConfigInfo) MarshalBinary ¶ added in v0.12.0

func (m *TwitchIAPConfigInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TwitchIAPConfigInfo) UnmarshalBinary ¶ added in v0.12.0

func (m *TwitchIAPConfigInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TwitchIAPConfigInfo) Validate ¶ added in v0.12.0

func (m *TwitchIAPConfigInfo) Validate(formats strfmt.Registry) error

Validate validates this twitch i a p config info

type TwitchIAPConfigRequest ¶ added in v0.12.0

type TwitchIAPConfigRequest struct {

	// twitch client id
	ClientID string `json:"clientId,omitempty"`

	// twitch client secret
	ClientSecret string `json:"clientSecret,omitempty"`

	// twitch organization Id
	OrganizationID string `json:"organizationId,omitempty"`
}

TwitchIAPConfigRequest twitch i a p config request

swagger:model TwitchIAPConfigRequest

func (*TwitchIAPConfigRequest) MarshalBinary ¶ added in v0.12.0

func (m *TwitchIAPConfigRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TwitchIAPConfigRequest) UnmarshalBinary ¶ added in v0.12.0

func (m *TwitchIAPConfigRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TwitchIAPConfigRequest) Validate ¶ added in v0.12.0

func (m *TwitchIAPConfigRequest) Validate(formats strfmt.Registry) error

Validate validates this twitch i a p config request

type TwitchSyncRequest ¶ added in v0.12.0

type TwitchSyncRequest struct {

	// game id
	GameID string `json:"gameId,omitempty"`

	// language value from language tag, allowed format: en, en-US
	// Pattern: ^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$
	Language string `json:"language,omitempty"`

	// country value from ISO countries
	Region string `json:"region,omitempty"`
}

TwitchSyncRequest twitch sync request

swagger:model TwitchSyncRequest

func (*TwitchSyncRequest) MarshalBinary ¶ added in v0.12.0

func (m *TwitchSyncRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TwitchSyncRequest) UnmarshalBinary ¶ added in v0.12.0

func (m *TwitchSyncRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TwitchSyncRequest) Validate ¶ added in v0.12.0

func (m *TwitchSyncRequest) Validate(formats strfmt.Registry) error

Validate validates this twitch sync request

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

func (*ValidationErrorEntity) Validate ¶

func (m *ValidationErrorEntity) Validate(formats strfmt.Registry) error

Validate validates this validation error entity

type WalletInfo ¶

type WalletInfo struct {

	// total balance, include effective time-limited balance
	// Required: true
	Balance *int64 `json:"balance"`

	// origin of balance
	// Required: true
	BalanceOrigin *string `json:"balanceOrigin"`

	// created at
	// Required: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt"`

	// currency code
	// Required: true
	CurrencyCode *string `json:"currencyCode"`

	// currency symbol
	// Required: true
	CurrencySymbol *string `json:"currencySymbol"`

	// wallet id
	// Required: true
	ID *string `json:"id"`

	// wallet namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// status
	// Required: true
	// Enum: [ACTIVE INACTIVE]
	Status *string `json:"status"`

	// time-limited balances info
	TimeLimitedBalances []*TimeLimitedBalance `json:"timeLimitedBalances"`

	// total permanent balance
	TotalPermanentBalance int64 `json:"totalPermanentBalance,omitempty"`

	// total time limited balance
	TotalTimeLimitedBalance int64 `json:"totalTimeLimitedBalance,omitempty"`

	// updated at
	// Required: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt"`

	// user id
	// Required: true
	UserID *string `json:"userId"`
}

WalletInfo wallet info

swagger:model WalletInfo

func (*WalletInfo) MarshalBinary ¶

func (m *WalletInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*WalletInfo) UnmarshalBinary ¶

func (m *WalletInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*WalletInfo) Validate ¶

func (m *WalletInfo) Validate(formats strfmt.Registry) error

Validate validates this wallet info

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

func (*WalletPagingSlicedResult) Validate ¶

func (m *WalletPagingSlicedResult) Validate(formats strfmt.Registry) error

Validate validates this wallet paging sliced result

type WalletTransactionInfo ¶

type WalletTransactionInfo struct {

	// Transaction amount, it is absolute value.
	// Required: true
	Amount *int64 `json:"amount"`

	// The source of credit
	BalanceSource string `json:"balanceSource,omitempty"`

	// Transaction created time
	// Required: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt"`

	// Transaction currency code
	// Required: true
	CurrencyCode *string `json:"currencyCode"`

	// Wallet namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// Operator userId or ClientId
	// Required: true
	Operator *string `json:"operator"`

	// Reason of the transaction
	Reason string `json:"reason,omitempty"`

	// Transaction amount details
	TransactionAmountDetails []*TransactionAmountDetails `json:"transactionAmountDetails"`

	// Transaction updated time
	// Required: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt"`

	// Wallet owner's userId
	// Required: true
	UserID *string `json:"userId"`

	// Action type
	// Required: true
	// Enum: [CREDIT PAYMENT DEBIT]
	WalletAction *string `json:"walletAction"`
}

WalletTransactionInfo wallet transaction info

swagger:model WalletTransactionInfo

func (*WalletTransactionInfo) MarshalBinary ¶

func (m *WalletTransactionInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*WalletTransactionInfo) UnmarshalBinary ¶

func (m *WalletTransactionInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*WalletTransactionInfo) Validate ¶

func (m *WalletTransactionInfo) Validate(formats strfmt.Registry) error

Validate validates this wallet transaction info

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

func (*WalletTransactionPagingSlicedResult) Validate ¶

Validate validates this wallet transaction paging sliced result

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

func (*WxPayConfigInfo) Validate ¶

func (m *WxPayConfigInfo) Validate(formats strfmt.Registry) error

Validate validates this wx pay config info

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

func (*WxPayConfigRequest) Validate ¶

func (m *WxPayConfigRequest) Validate(formats strfmt.Registry) error

Validate validates this wx pay config request

type XblDLCSyncRequest ¶ added in v0.10.0

type XblDLCSyncRequest struct {

	// xstsToken
	XstsToken string `json:"xstsToken,omitempty"`
}

XblDLCSyncRequest xbl d l c sync request

swagger:model XblDLCSyncRequest

func (*XblDLCSyncRequest) MarshalBinary ¶ added in v0.10.0

func (m *XblDLCSyncRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*XblDLCSyncRequest) UnmarshalBinary ¶ added in v0.10.0

func (m *XblDLCSyncRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*XblDLCSyncRequest) Validate ¶ added in v0.10.0

func (m *XblDLCSyncRequest) Validate(formats strfmt.Registry) error

Validate validates this xbl d l c sync request

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

func (*XblIAPConfigInfo) Validate ¶

func (m *XblIAPConfigInfo) Validate(formats strfmt.Registry) error

Validate validates this xbl i a p config info

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

func (*XblIAPConfigRequest) Validate ¶

func (m *XblIAPConfigRequest) Validate(formats strfmt.Registry) error

Validate validates this xbl i a p config request

type XblReconcileRequest ¶

type XblReconcileRequest struct {

	// product price currency
	CurrencyCode string `json:"currencyCode,omitempty"`

	// product price
	Price float64 `json:"price,omitempty"`

	// productId
	ProductID string `json:"productId,omitempty"`

	// xstsToken
	XstsToken string `json:"xstsToken,omitempty"`
}

XblReconcileRequest xbl reconcile request

swagger:model XblReconcileRequest

func (*XblReconcileRequest) MarshalBinary ¶

func (m *XblReconcileRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*XblReconcileRequest) UnmarshalBinary ¶

func (m *XblReconcileRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*XblReconcileRequest) Validate ¶

func (m *XblReconcileRequest) Validate(formats strfmt.Registry) error

Validate validates this xbl reconcile request

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

func (*XblReconcileResult) Validate ¶

func (m *XblReconcileResult) Validate(formats strfmt.Registry) error

Validate validates this xbl reconcile result

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

func (*XsollaConfig) Validate ¶

func (m *XsollaConfig) Validate(formats strfmt.Registry) error

Validate validates this xsolla config

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

func (*XsollaPaywallConfig) Validate ¶

func (m *XsollaPaywallConfig) Validate(formats strfmt.Registry) error

Validate validates this xsolla paywall config

type XsollaPaywallConfigRequest ¶

type XsollaPaywallConfigRequest struct {

	// Payment UI device type, DESKTOP for default
	// Enum: [DESKTOP MOBILE]
	Device string `json:"device,omitempty"`

	// Whether to show a Close button in pay station. false by default
	ShowCloseButton bool `json:"showCloseButton"`

	// Payment UI size, MEDIUM for default.
	// Enum: [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

func (*XsollaPaywallConfigRequest) Validate ¶

func (m *XsollaPaywallConfigRequest) Validate(formats strfmt.Registry) error

Validate validates this xsolla paywall config request

Source Files ¶

Jump to

Keyboard shortcuts

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