platformclientmodels

package
v0.39.0 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2023 License: MIT Imports: 6 Imported by: 1

Documentation ¶

Index ¶

Constants ¶

View Source
const (

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

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

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

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

	// AdminOrderCreatePlatformOther captures enum value "Other"
	AdminOrderCreatePlatformOther string = "Other"

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

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

	// AdminOrderCreatePlatformXbox captures enum value "Xbox"
	AdminOrderCreatePlatformXbox string = "Xbox"
)
View Source
const (

	// AppEntitlementInfoAppTypeDEMO captures enum value "DEMO"
	AppEntitlementInfoAppTypeDEMO string = "DEMO"

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

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

	// AppEntitlementInfoAppTypeSOFTWARE captures enum value "SOFTWARE"
	AppEntitlementInfoAppTypeSOFTWARE string = "SOFTWARE"
)
View Source
const (

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

	// AppEntitlementInfoStatusCONSUMED captures enum value "CONSUMED"
	AppEntitlementInfoStatusCONSUMED string = "CONSUMED"

	// AppEntitlementInfoStatusINACTIVE captures enum value "INACTIVE"
	AppEntitlementInfoStatusINACTIVE string = "INACTIVE"

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

	// AppInfoPrimaryGenreRPG captures enum value "RPG"
	AppInfoPrimaryGenreRPG string = "RPG"

	// AppInfoPrimaryGenreRacing captures enum value "Racing"
	AppInfoPrimaryGenreRacing string = "Racing"

	// AppInfoPrimaryGenreSimulation captures enum value "Simulation"
	AppInfoPrimaryGenreSimulation string = "Simulation"

	// AppInfoPrimaryGenreSports captures enum value "Sports"
	AppInfoPrimaryGenreSports string = "Sports"

	// AppInfoPrimaryGenreStrategy captures enum value "Strategy"
	AppInfoPrimaryGenreStrategy string = "Strategy"
)
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"

	// AppUpdatePrimaryGenreRPG captures enum value "RPG"
	AppUpdatePrimaryGenreRPG string = "RPG"

	// AppUpdatePrimaryGenreRacing captures enum value "Racing"
	AppUpdatePrimaryGenreRacing string = "Racing"

	// AppUpdatePrimaryGenreSimulation captures enum value "Simulation"
	AppUpdatePrimaryGenreSimulation string = "Simulation"

	// AppUpdatePrimaryGenreSports captures enum value "Sports"
	AppUpdatePrimaryGenreSports string = "Sports"

	// AppUpdatePrimaryGenreStrategy captures enum value "Strategy"
	AppUpdatePrimaryGenreStrategy string = "Strategy"
)
View Source
const (

	// AvailableComparisonComparisonExcludes captures enum value "excludes"
	AvailableComparisonComparisonExcludes string = "excludes"

	// AvailableComparisonComparisonIncludes captures enum value "includes"
	AvailableComparisonComparisonIncludes string = "includes"

	// AvailableComparisonComparisonIs captures enum value "is"
	AvailableComparisonComparisonIs string = "is"

	// AvailableComparisonComparisonIsGreaterThan captures enum value "isGreaterThan"
	AvailableComparisonComparisonIsGreaterThan string = "isGreaterThan"

	// AvailableComparisonComparisonIsGreaterThanOrEqual captures enum value "isGreaterThanOrEqual"
	AvailableComparisonComparisonIsGreaterThanOrEqual string = "isGreaterThanOrEqual"

	// AvailableComparisonComparisonIsLessThan captures enum value "isLessThan"
	AvailableComparisonComparisonIsLessThan string = "isLessThan"

	// AvailableComparisonComparisonIsLessThanOrEqual captures enum value "isLessThanOrEqual"
	AvailableComparisonComparisonIsLessThanOrEqual string = "isLessThanOrEqual"

	// AvailableComparisonComparisonIsNot captures enum value "isNot"
	AvailableComparisonComparisonIsNot string = "isNot"
)
View Source
const (

	// AvailablePredicatePredicateTypeEntitlementPredicate captures enum value "EntitlementPredicate"
	AvailablePredicatePredicateTypeEntitlementPredicate string = "EntitlementPredicate"

	// AvailablePredicatePredicateTypeSeasonPassPredicate captures enum value "SeasonPassPredicate"
	AvailablePredicatePredicateTypeSeasonPassPredicate string = "SeasonPassPredicate"

	// AvailablePredicatePredicateTypeSeasonTierPredicate captures enum value "SeasonTierPredicate"
	AvailablePredicatePredicateTypeSeasonTierPredicate string = "SeasonTierPredicate"
)
View Source
const (

	// AvailablePredicateValueTypeList captures enum value "List"
	AvailablePredicateValueTypeList string = "List"

	// AvailablePredicateValueTypeNumber captures enum value "Number"
	AvailablePredicateValueTypeNumber string = "Number"

	// AvailablePredicateValueTypeString captures enum value "String"
	AvailablePredicateValueTypeString string = "String"
)
View Source
const (

	// BasicItemAppTypeDEMO captures enum value "DEMO"
	BasicItemAppTypeDEMO string = "DEMO"

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

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

	// BasicItemAppTypeSOFTWARE captures enum value "SOFTWARE"
	BasicItemAppTypeSOFTWARE string = "SOFTWARE"
)
View Source
const (

	// BasicItemEntitlementTypeCONSUMABLE captures enum value "CONSUMABLE"
	BasicItemEntitlementTypeCONSUMABLE string = "CONSUMABLE"

	// BasicItemEntitlementTypeDURABLE captures enum value "DURABLE"
	BasicItemEntitlementTypeDURABLE string = "DURABLE"
)
View Source
const (

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

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

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

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

	// BasicItemItemTypeEXTENSION captures enum value "EXTENSION"
	BasicItemItemTypeEXTENSION string = "EXTENSION"

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

	// BasicItemItemTypeLOOTBOX captures enum value "LOOTBOX"
	BasicItemItemTypeLOOTBOX string = "LOOTBOX"

	// BasicItemItemTypeMEDIA captures enum value "MEDIA"
	BasicItemItemTypeMEDIA string = "MEDIA"

	// BasicItemItemTypeOPTIONBOX captures enum value "OPTIONBOX"
	BasicItemItemTypeOPTIONBOX string = "OPTIONBOX"

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

	// BasicItemItemTypeSUBSCRIPTION captures enum value "SUBSCRIPTION"
	BasicItemItemTypeSUBSCRIPTION string = "SUBSCRIPTION"
)
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 (

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

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

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

	// BillingAccountPaymentProviderPAYPAL captures enum value "PAYPAL"
	BillingAccountPaymentProviderPAYPAL string = "PAYPAL"

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

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

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

	// BillingAccountPaymentProviderXSOLLA captures enum value "XSOLLA"
	BillingAccountPaymentProviderXSOLLA string = "XSOLLA"
)
View Source
const (

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

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

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

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

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

	// BundledItemInfoAppTypeDEMO captures enum value "DEMO"
	BundledItemInfoAppTypeDEMO string = "DEMO"

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

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

	// BundledItemInfoAppTypeSOFTWARE captures enum value "SOFTWARE"
	BundledItemInfoAppTypeSOFTWARE string = "SOFTWARE"
)
View Source
const (

	// BundledItemInfoEntitlementTypeCONSUMABLE captures enum value "CONSUMABLE"
	BundledItemInfoEntitlementTypeCONSUMABLE string = "CONSUMABLE"

	// BundledItemInfoEntitlementTypeDURABLE captures enum value "DURABLE"
	BundledItemInfoEntitlementTypeDURABLE string = "DURABLE"
)
View Source
const (

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

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

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

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

	// BundledItemInfoItemTypeEXTENSION captures enum value "EXTENSION"
	BundledItemInfoItemTypeEXTENSION string = "EXTENSION"

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

	// BundledItemInfoItemTypeLOOTBOX captures enum value "LOOTBOX"
	BundledItemInfoItemTypeLOOTBOX string = "LOOTBOX"

	// BundledItemInfoItemTypeMEDIA captures enum value "MEDIA"
	BundledItemInfoItemTypeMEDIA string = "MEDIA"

	// BundledItemInfoItemTypeOPTIONBOX captures enum value "OPTIONBOX"
	BundledItemInfoItemTypeOPTIONBOX string = "OPTIONBOX"

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

	// BundledItemInfoItemTypeSUBSCRIPTION captures enum value "SUBSCRIPTION"
	BundledItemInfoItemTypeSUBSCRIPTION string = "SUBSCRIPTION"
)
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"

	// CatalogChangeInfoActionDELETE captures enum value "DELETE"
	CatalogChangeInfoActionDELETE string = "DELETE"

	// CatalogChangeInfoActionUPDATE captures enum value "UPDATE"
	CatalogChangeInfoActionUPDATE string = "UPDATE"
)
View Source
const (

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

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

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

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

	// CatalogChangeInfoItemTypeEXTENSION captures enum value "EXTENSION"
	CatalogChangeInfoItemTypeEXTENSION string = "EXTENSION"

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

	// CatalogChangeInfoItemTypeLOOTBOX captures enum value "LOOTBOX"
	CatalogChangeInfoItemTypeLOOTBOX string = "LOOTBOX"

	// CatalogChangeInfoItemTypeMEDIA captures enum value "MEDIA"
	CatalogChangeInfoItemTypeMEDIA string = "MEDIA"

	// CatalogChangeInfoItemTypeOPTIONBOX captures enum value "OPTIONBOX"
	CatalogChangeInfoItemTypeOPTIONBOX string = "OPTIONBOX"

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

	// CatalogChangeInfoItemTypeSUBSCRIPTION captures enum value "SUBSCRIPTION"
	CatalogChangeInfoItemTypeSUBSCRIPTION string = "SUBSCRIPTION"
)
View Source
const (

	// CatalogChangeInfoStatusPUBLISHED captures enum value "PUBLISHED"
	CatalogChangeInfoStatusPUBLISHED string = "PUBLISHED"

	// CatalogChangeInfoStatusUNPUBLISHED captures enum value "UNPUBLISHED"
	CatalogChangeInfoStatusUNPUBLISHED string = "UNPUBLISHED"
)
View Source
const (

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

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

	// CatalogChangeInfoTypeSECTION captures enum value "SECTION"
	CatalogChangeInfoTypeSECTION string = "SECTION"

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

	// CatalogChangeInfoTypeVIEW captures enum value "VIEW"
	CatalogChangeInfoTypeVIEW string = "VIEW"
)
View Source
const (

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

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

	// ConditionGroupOperatorAnd captures enum value "and"
	ConditionGroupOperatorAnd string = "and"

	// ConditionGroupOperatorOr captures enum value "or"
	ConditionGroupOperatorOr string = "or"
)
View Source
const (

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

	// ConsumeItemItemIdentityTypeITEMSKU captures enum value "ITEM_SKU"
	ConsumeItemItemIdentityTypeITEMSKU string = "ITEM_SKU"
)
View Source
const (

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

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

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

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

	// CreditRequestOriginOther captures enum value "Other"
	CreditRequestOriginOther string = "Other"

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

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

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

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

	// CreditRequestOriginXbox captures enum value "Xbox"
	CreditRequestOriginXbox string = "Xbox"
)
View Source
const (

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

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

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

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

	// CreditRequestSourceOTHER captures enum value "OTHER"
	CreditRequestSourceOTHER string = "OTHER"

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

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

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

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

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

	// CreditRequestSourceREWARD captures enum value "REWARD"
	CreditRequestSourceREWARD string = "REWARD"
)
View Source
const (

	// CreditRevocationStatusFAIL captures enum value "FAIL"
	CreditRevocationStatusFAIL string = "FAIL"

	// CreditRevocationStatusSUCCESS captures enum value "SUCCESS"
	CreditRevocationStatusSUCCESS string = "SUCCESS"
)
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 (

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

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

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

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

	// DebitByCurrencyCodeRequestBalanceOriginOther captures enum value "Other"
	DebitByCurrencyCodeRequestBalanceOriginOther string = "Other"

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

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

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

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

	// DebitByCurrencyCodeRequestBalanceOriginXbox captures enum value "Xbox"
	DebitByCurrencyCodeRequestBalanceOriginXbox string = "Xbox"
)
View Source
const (

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

	// DetailedWalletTransactionInfoWalletActionDEBIT captures enum value "DEBIT"
	DetailedWalletTransactionInfoWalletActionDEBIT string = "DEBIT"

	// DetailedWalletTransactionInfoWalletActionPAYMENT captures enum value "PAYMENT"
	DetailedWalletTransactionInfoWalletActionPAYMENT string = "PAYMENT"
)
View Source
const (

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

	// DLCRecordStatusREVOKED captures enum value "REVOKED"
	DLCRecordStatusREVOKED string = "REVOKED"

	// DLCRecordStatusREVOKEFAILED captures enum value "REVOKE_FAILED"
	DLCRecordStatusREVOKEFAILED string = "REVOKE_FAILED"
)
View Source
const (

	// EntitlementDecrementResultAppTypeDEMO captures enum value "DEMO"
	EntitlementDecrementResultAppTypeDEMO string = "DEMO"

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

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

	// EntitlementDecrementResultAppTypeSOFTWARE captures enum value "SOFTWARE"
	EntitlementDecrementResultAppTypeSOFTWARE string = "SOFTWARE"
)
View Source
const (

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

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

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

	// EntitlementDecrementResultClazzLOOTBOX captures enum value "LOOTBOX"
	EntitlementDecrementResultClazzLOOTBOX string = "LOOTBOX"

	// EntitlementDecrementResultClazzMEDIA captures enum value "MEDIA"
	EntitlementDecrementResultClazzMEDIA string = "MEDIA"

	// EntitlementDecrementResultClazzOPTIONBOX captures enum value "OPTIONBOX"
	EntitlementDecrementResultClazzOPTIONBOX string = "OPTIONBOX"

	// EntitlementDecrementResultClazzSUBSCRIPTION captures enum value "SUBSCRIPTION"
	EntitlementDecrementResultClazzSUBSCRIPTION string = "SUBSCRIPTION"
)
View Source
const (

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

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

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

	// EntitlementDecrementResultSourceOTHER captures enum value "OTHER"
	EntitlementDecrementResultSourceOTHER string = "OTHER"

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

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

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

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

	// EntitlementDecrementResultSourceREWARD captures enum value "REWARD"
	EntitlementDecrementResultSourceREWARD string = "REWARD"
)
View Source
const (

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

	// EntitlementDecrementResultStatusCONSUMED captures enum value "CONSUMED"
	EntitlementDecrementResultStatusCONSUMED string = "CONSUMED"

	// EntitlementDecrementResultStatusINACTIVE captures enum value "INACTIVE"
	EntitlementDecrementResultStatusINACTIVE string = "INACTIVE"

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

	// EntitlementDecrementResultTypeCONSUMABLE captures enum value "CONSUMABLE"
	EntitlementDecrementResultTypeCONSUMABLE string = "CONSUMABLE"

	// EntitlementDecrementResultTypeDURABLE captures enum value "DURABLE"
	EntitlementDecrementResultTypeDURABLE string = "DURABLE"
)
View Source
const (

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

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

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

	// EntitlementGrantSourceOTHER captures enum value "OTHER"
	EntitlementGrantSourceOTHER string = "OTHER"

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

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

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

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

	// EntitlementGrantSourceREWARD captures enum value "REWARD"
	EntitlementGrantSourceREWARD string = "REWARD"
)
View Source
const (

	// EntitlementHistoryInfoActionDECREMENT captures enum value "DECREMENT"
	EntitlementHistoryInfoActionDECREMENT string = "DECREMENT"

	// EntitlementHistoryInfoActionDISABLE captures enum value "DISABLE"
	EntitlementHistoryInfoActionDISABLE string = "DISABLE"

	// EntitlementHistoryInfoActionENABLE captures enum value "ENABLE"
	EntitlementHistoryInfoActionENABLE string = "ENABLE"

	// EntitlementHistoryInfoActionGRANT captures enum value "GRANT"
	EntitlementHistoryInfoActionGRANT string = "GRANT"

	// EntitlementHistoryInfoActionREVOKE captures enum value "REVOKE"
	EntitlementHistoryInfoActionREVOKE string = "REVOKE"

	// EntitlementHistoryInfoActionUPDATE captures enum value "UPDATE"
	EntitlementHistoryInfoActionUPDATE string = "UPDATE"
)
View Source
const (

	// EntitlementInfoAppTypeDEMO captures enum value "DEMO"
	EntitlementInfoAppTypeDEMO string = "DEMO"

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

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

	// EntitlementInfoAppTypeSOFTWARE captures enum value "SOFTWARE"
	EntitlementInfoAppTypeSOFTWARE string = "SOFTWARE"
)
View Source
const (

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

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

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

	// EntitlementInfoClazzLOOTBOX captures enum value "LOOTBOX"
	EntitlementInfoClazzLOOTBOX string = "LOOTBOX"

	// EntitlementInfoClazzMEDIA captures enum value "MEDIA"
	EntitlementInfoClazzMEDIA string = "MEDIA"

	// EntitlementInfoClazzOPTIONBOX captures enum value "OPTIONBOX"
	EntitlementInfoClazzOPTIONBOX string = "OPTIONBOX"

	// EntitlementInfoClazzSUBSCRIPTION captures enum value "SUBSCRIPTION"
	EntitlementInfoClazzSUBSCRIPTION string = "SUBSCRIPTION"
)
View Source
const (

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

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

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

	// EntitlementInfoSourceOTHER captures enum value "OTHER"
	EntitlementInfoSourceOTHER string = "OTHER"

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

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

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

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

	// EntitlementInfoSourceREWARD captures enum value "REWARD"
	EntitlementInfoSourceREWARD string = "REWARD"
)
View Source
const (

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

	// EntitlementInfoStatusCONSUMED captures enum value "CONSUMED"
	EntitlementInfoStatusCONSUMED string = "CONSUMED"

	// EntitlementInfoStatusINACTIVE captures enum value "INACTIVE"
	EntitlementInfoStatusINACTIVE string = "INACTIVE"

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

	// EntitlementInfoTypeCONSUMABLE captures enum value "CONSUMABLE"
	EntitlementInfoTypeCONSUMABLE string = "CONSUMABLE"

	// EntitlementInfoTypeDURABLE captures enum value "DURABLE"
	EntitlementInfoTypeDURABLE string = "DURABLE"
)
View Source
const (

	// EntitlementRevocationStatusFAIL captures enum value "FAIL"
	EntitlementRevocationStatusFAIL string = "FAIL"

	// EntitlementRevocationStatusSUCCESS captures enum value "SUCCESS"
	EntitlementRevocationStatusSUCCESS string = "SUCCESS"
)
View Source
const (

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

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

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

	// EntitlementSummaryClazzLOOTBOX captures enum value "LOOTBOX"
	EntitlementSummaryClazzLOOTBOX string = "LOOTBOX"

	// EntitlementSummaryClazzMEDIA captures enum value "MEDIA"
	EntitlementSummaryClazzMEDIA string = "MEDIA"

	// EntitlementSummaryClazzOPTIONBOX captures enum value "OPTIONBOX"
	EntitlementSummaryClazzOPTIONBOX string = "OPTIONBOX"

	// EntitlementSummaryClazzSUBSCRIPTION captures enum value "SUBSCRIPTION"
	EntitlementSummaryClazzSUBSCRIPTION string = "SUBSCRIPTION"
)
View Source
const (

	// EntitlementSummaryTypeCONSUMABLE captures enum value "CONSUMABLE"
	EntitlementSummaryTypeCONSUMABLE string = "CONSUMABLE"

	// EntitlementSummaryTypeDURABLE captures enum value "DURABLE"
	EntitlementSummaryTypeDURABLE string = "DURABLE"
)
View Source
const (

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

	// EntitlementUpdateStatusCONSUMED captures enum value "CONSUMED"
	EntitlementUpdateStatusCONSUMED string = "CONSUMED"

	// EntitlementUpdateStatusINACTIVE captures enum value "INACTIVE"
	EntitlementUpdateStatusINACTIVE string = "INACTIVE"

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

	// EpicGamesReconcileResultStatusFAILED captures enum value "FAILED"
	EpicGamesReconcileResultStatusFAILED string = "FAILED"

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

	// EpicGamesReconcileResultStatusVERIFIED captures enum value "VERIFIED"
	EpicGamesReconcileResultStatusVERIFIED string = "VERIFIED"
)
View Source
const (

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

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

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

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

	// ExtensionFulfillmentSummaryItemTypeEXTENSION captures enum value "EXTENSION"
	ExtensionFulfillmentSummaryItemTypeEXTENSION string = "EXTENSION"

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

	// ExtensionFulfillmentSummaryItemTypeLOOTBOX captures enum value "LOOTBOX"
	ExtensionFulfillmentSummaryItemTypeLOOTBOX string = "LOOTBOX"

	// ExtensionFulfillmentSummaryItemTypeMEDIA captures enum value "MEDIA"
	ExtensionFulfillmentSummaryItemTypeMEDIA string = "MEDIA"

	// ExtensionFulfillmentSummaryItemTypeOPTIONBOX captures enum value "OPTIONBOX"
	ExtensionFulfillmentSummaryItemTypeOPTIONBOX string = "OPTIONBOX"

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

	// ExtensionFulfillmentSummaryItemTypeSUBSCRIPTION captures enum value "SUBSCRIPTION"
	ExtensionFulfillmentSummaryItemTypeSUBSCRIPTION string = "SUBSCRIPTION"
)
View Source
const (

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

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

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

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

	// ExternalPaymentOrderCreateItemTypeEXTENSION captures enum value "EXTENSION"
	ExternalPaymentOrderCreateItemTypeEXTENSION string = "EXTENSION"

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

	// ExternalPaymentOrderCreateItemTypeLOOTBOX captures enum value "LOOTBOX"
	ExternalPaymentOrderCreateItemTypeLOOTBOX string = "LOOTBOX"

	// ExternalPaymentOrderCreateItemTypeMEDIA captures enum value "MEDIA"
	ExternalPaymentOrderCreateItemTypeMEDIA string = "MEDIA"

	// ExternalPaymentOrderCreateItemTypeOPTIONBOX captures enum value "OPTIONBOX"
	ExternalPaymentOrderCreateItemTypeOPTIONBOX string = "OPTIONBOX"

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

	// ExternalPaymentOrderCreateItemTypeSUBSCRIPTION captures enum value "SUBSCRIPTION"
	ExternalPaymentOrderCreateItemTypeSUBSCRIPTION string = "SUBSCRIPTION"
)
View Source
const (

	// FixedPeriodRotationConfigBackfillTypeCUSTOM captures enum value "CUSTOM"
	FixedPeriodRotationConfigBackfillTypeCUSTOM string = "CUSTOM"

	// FixedPeriodRotationConfigBackfillTypeNONE captures enum value "NONE"
	FixedPeriodRotationConfigBackfillTypeNONE string = "NONE"
)
View Source
const (

	// FulfillmentHistoryInfoStatusFAIL captures enum value "FAIL"
	FulfillmentHistoryInfoStatusFAIL string = "FAIL"

	// FulfillmentHistoryInfoStatusSUCCESS captures enum value "SUCCESS"
	FulfillmentHistoryInfoStatusSUCCESS string = "SUCCESS"
)
View Source
const (

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

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

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

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

	// FulfillmentItemItemTypeEXTENSION captures enum value "EXTENSION"
	FulfillmentItemItemTypeEXTENSION string = "EXTENSION"

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

	// FulfillmentItemItemTypeLOOTBOX captures enum value "LOOTBOX"
	FulfillmentItemItemTypeLOOTBOX string = "LOOTBOX"

	// FulfillmentItemItemTypeMEDIA captures enum value "MEDIA"
	FulfillmentItemItemTypeMEDIA string = "MEDIA"

	// FulfillmentItemItemTypeOPTIONBOX captures enum value "OPTIONBOX"
	FulfillmentItemItemTypeOPTIONBOX string = "OPTIONBOX"

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

	// FulfillmentItemItemTypeSUBSCRIPTION captures enum value "SUBSCRIPTION"
	FulfillmentItemItemTypeSUBSCRIPTION string = "SUBSCRIPTION"
)
View Source
const (

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

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

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

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

	// FulfillmentRequestOriginOther captures enum value "Other"
	FulfillmentRequestOriginOther string = "Other"

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

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

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

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

	// FulfillmentRequestOriginXbox captures enum value "Xbox"
	FulfillmentRequestOriginXbox string = "Xbox"
)
View Source
const (

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

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

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

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

	// FulfillmentRequestSourceOTHER captures enum value "OTHER"
	FulfillmentRequestSourceOTHER string = "OTHER"

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

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

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

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

	// FulfillmentRequestSourceREWARD captures enum value "REWARD"
	FulfillmentRequestSourceREWARD string = "REWARD"
)
View Source
const (

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

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

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

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

	// FulfillmentScriptContextSourceOTHER captures enum value "OTHER"
	FulfillmentScriptContextSourceOTHER string = "OTHER"

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

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

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

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

	// FulfillmentScriptContextSourceREWARD captures enum value "REWARD"
	FulfillmentScriptContextSourceREWARD string = "REWARD"
)
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"

	// FullAppInfoPrimaryGenreRPG captures enum value "RPG"
	FullAppInfoPrimaryGenreRPG string = "RPG"

	// FullAppInfoPrimaryGenreRacing captures enum value "Racing"
	FullAppInfoPrimaryGenreRacing string = "Racing"

	// FullAppInfoPrimaryGenreSimulation captures enum value "Simulation"
	FullAppInfoPrimaryGenreSimulation string = "Simulation"

	// FullAppInfoPrimaryGenreSports captures enum value "Sports"
	FullAppInfoPrimaryGenreSports string = "Sports"

	// FullAppInfoPrimaryGenreStrategy captures enum value "Strategy"
	FullAppInfoPrimaryGenreStrategy string = "Strategy"
)
View Source
const (

	// FullItemInfoAppTypeDEMO captures enum value "DEMO"
	FullItemInfoAppTypeDEMO string = "DEMO"

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

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

	// FullItemInfoAppTypeSOFTWARE captures enum value "SOFTWARE"
	FullItemInfoAppTypeSOFTWARE string = "SOFTWARE"
)
View Source
const (

	// FullItemInfoEntitlementTypeCONSUMABLE captures enum value "CONSUMABLE"
	FullItemInfoEntitlementTypeCONSUMABLE string = "CONSUMABLE"

	// FullItemInfoEntitlementTypeDURABLE captures enum value "DURABLE"
	FullItemInfoEntitlementTypeDURABLE string = "DURABLE"
)
View Source
const (

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

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

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

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

	// FullItemInfoItemTypeEXTENSION captures enum value "EXTENSION"
	FullItemInfoItemTypeEXTENSION string = "EXTENSION"

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

	// FullItemInfoItemTypeLOOTBOX captures enum value "LOOTBOX"
	FullItemInfoItemTypeLOOTBOX string = "LOOTBOX"

	// FullItemInfoItemTypeMEDIA captures enum value "MEDIA"
	FullItemInfoItemTypeMEDIA string = "MEDIA"

	// FullItemInfoItemTypeOPTIONBOX captures enum value "OPTIONBOX"
	FullItemInfoItemTypeOPTIONBOX string = "OPTIONBOX"

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

	// FullItemInfoItemTypeSUBSCRIPTION captures enum value "SUBSCRIPTION"
	FullItemInfoItemTypeSUBSCRIPTION string = "SUBSCRIPTION"
)
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 (

	// FullSectionInfoRotationTypeCUSTOM captures enum value "CUSTOM"
	FullSectionInfoRotationTypeCUSTOM string = "CUSTOM"

	// FullSectionInfoRotationTypeFIXEDPERIOD captures enum value "FIXED_PERIOD"
	FullSectionInfoRotationTypeFIXEDPERIOD string = "FIXED_PERIOD"

	// FullSectionInfoRotationTypeNONE captures enum value "NONE"
	FullSectionInfoRotationTypeNONE string = "NONE"
)
View Source
const (

	// IAPConsumeHistoryInfoIAPTypeAPPLE captures enum value "APPLE"
	IAPConsumeHistoryInfoIAPTypeAPPLE string = "APPLE"

	// IAPConsumeHistoryInfoIAPTypeEPICGAMES captures enum value "EPICGAMES"
	IAPConsumeHistoryInfoIAPTypeEPICGAMES string = "EPICGAMES"

	// IAPConsumeHistoryInfoIAPTypeGOOGLE captures enum value "GOOGLE"
	IAPConsumeHistoryInfoIAPTypeGOOGLE string = "GOOGLE"

	// IAPConsumeHistoryInfoIAPTypePLAYSTATION captures enum value "PLAYSTATION"
	IAPConsumeHistoryInfoIAPTypePLAYSTATION string = "PLAYSTATION"

	// IAPConsumeHistoryInfoIAPTypeSTADIA captures enum value "STADIA"
	IAPConsumeHistoryInfoIAPTypeSTADIA string = "STADIA"

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

	// IAPConsumeHistoryInfoIAPTypeTWITCH captures enum value "TWITCH"
	IAPConsumeHistoryInfoIAPTypeTWITCH string = "TWITCH"

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

	// IAPConsumeHistoryInfoStatusFAIL captures enum value "FAIL"
	IAPConsumeHistoryInfoStatusFAIL string = "FAIL"

	// IAPConsumeHistoryInfoStatusPENDING captures enum value "PENDING"
	IAPConsumeHistoryInfoStatusPENDING string = "PENDING"

	// IAPConsumeHistoryInfoStatusSUCCESS captures enum value "SUCCESS"
	IAPConsumeHistoryInfoStatusSUCCESS string = "SUCCESS"
)
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 (

	// IAPOrderInfoStatusFAILED captures enum value "FAILED"
	IAPOrderInfoStatusFAILED string = "FAILED"

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

	// IAPOrderInfoStatusVERIFIED captures enum value "VERIFIED"
	IAPOrderInfoStatusVERIFIED string = "VERIFIED"
)
View Source
const (

	// IAPOrderInfoTypeAPPLE captures enum value "APPLE"
	IAPOrderInfoTypeAPPLE string = "APPLE"

	// IAPOrderInfoTypeEPICGAMES captures enum value "EPICGAMES"
	IAPOrderInfoTypeEPICGAMES string = "EPICGAMES"

	// IAPOrderInfoTypeGOOGLE captures enum value "GOOGLE"
	IAPOrderInfoTypeGOOGLE string = "GOOGLE"

	// IAPOrderInfoTypePLAYSTATION captures enum value "PLAYSTATION"
	IAPOrderInfoTypePLAYSTATION string = "PLAYSTATION"

	// IAPOrderInfoTypeSTADIA captures enum value "STADIA"
	IAPOrderInfoTypeSTADIA string = "STADIA"

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

	// IAPOrderInfoTypeTWITCH captures enum value "TWITCH"
	IAPOrderInfoTypeTWITCH string = "TWITCH"

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

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

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

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

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

	// ImportStoreItemInfoItemTypeEXTENSION captures enum value "EXTENSION"
	ImportStoreItemInfoItemTypeEXTENSION string = "EXTENSION"

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

	// ImportStoreItemInfoItemTypeLOOTBOX captures enum value "LOOTBOX"
	ImportStoreItemInfoItemTypeLOOTBOX string = "LOOTBOX"

	// ImportStoreItemInfoItemTypeMEDIA captures enum value "MEDIA"
	ImportStoreItemInfoItemTypeMEDIA string = "MEDIA"

	// ImportStoreItemInfoItemTypeOPTIONBOX captures enum value "OPTIONBOX"
	ImportStoreItemInfoItemTypeOPTIONBOX string = "OPTIONBOX"

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

	// ImportStoreItemInfoItemTypeSUBSCRIPTION captures enum value "SUBSCRIPTION"
	ImportStoreItemInfoItemTypeSUBSCRIPTION string = "SUBSCRIPTION"
)
View Source
const (

	// ItemCreateAppTypeDEMO captures enum value "DEMO"
	ItemCreateAppTypeDEMO string = "DEMO"

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

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

	// ItemCreateAppTypeSOFTWARE captures enum value "SOFTWARE"
	ItemCreateAppTypeSOFTWARE string = "SOFTWARE"
)
View Source
const (

	// ItemCreateEntitlementTypeCONSUMABLE captures enum value "CONSUMABLE"
	ItemCreateEntitlementTypeCONSUMABLE string = "CONSUMABLE"

	// ItemCreateEntitlementTypeDURABLE captures enum value "DURABLE"
	ItemCreateEntitlementTypeDURABLE string = "DURABLE"
)
View Source
const (

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

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

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

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

	// ItemCreateItemTypeEXTENSION captures enum value "EXTENSION"
	ItemCreateItemTypeEXTENSION string = "EXTENSION"

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

	// ItemCreateItemTypeLOOTBOX captures enum value "LOOTBOX"
	ItemCreateItemTypeLOOTBOX string = "LOOTBOX"

	// ItemCreateItemTypeMEDIA captures enum value "MEDIA"
	ItemCreateItemTypeMEDIA string = "MEDIA"

	// ItemCreateItemTypeOPTIONBOX captures enum value "OPTIONBOX"
	ItemCreateItemTypeOPTIONBOX string = "OPTIONBOX"

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

	// ItemCreateItemTypeSUBSCRIPTION captures enum value "SUBSCRIPTION"
	ItemCreateItemTypeSUBSCRIPTION string = "SUBSCRIPTION"
)
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 (

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

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

	// ItemInfoAppTypeDEMO captures enum value "DEMO"
	ItemInfoAppTypeDEMO string = "DEMO"

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

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

	// ItemInfoAppTypeSOFTWARE captures enum value "SOFTWARE"
	ItemInfoAppTypeSOFTWARE string = "SOFTWARE"
)
View Source
const (

	// ItemInfoEntitlementTypeCONSUMABLE captures enum value "CONSUMABLE"
	ItemInfoEntitlementTypeCONSUMABLE string = "CONSUMABLE"

	// ItemInfoEntitlementTypeDURABLE captures enum value "DURABLE"
	ItemInfoEntitlementTypeDURABLE string = "DURABLE"
)
View Source
const (

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

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

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

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

	// ItemInfoItemTypeEXTENSION captures enum value "EXTENSION"
	ItemInfoItemTypeEXTENSION string = "EXTENSION"

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

	// ItemInfoItemTypeLOOTBOX captures enum value "LOOTBOX"
	ItemInfoItemTypeLOOTBOX string = "LOOTBOX"

	// ItemInfoItemTypeMEDIA captures enum value "MEDIA"
	ItemInfoItemTypeMEDIA string = "MEDIA"

	// ItemInfoItemTypeOPTIONBOX captures enum value "OPTIONBOX"
	ItemInfoItemTypeOPTIONBOX string = "OPTIONBOX"

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

	// ItemInfoItemTypeSUBSCRIPTION captures enum value "SUBSCRIPTION"
	ItemInfoItemTypeSUBSCRIPTION string = "SUBSCRIPTION"
)
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 (

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

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

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

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

	// ItemNamingItemTypeEXTENSION captures enum value "EXTENSION"
	ItemNamingItemTypeEXTENSION string = "EXTENSION"

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

	// ItemNamingItemTypeLOOTBOX captures enum value "LOOTBOX"
	ItemNamingItemTypeLOOTBOX string = "LOOTBOX"

	// ItemNamingItemTypeMEDIA captures enum value "MEDIA"
	ItemNamingItemTypeMEDIA string = "MEDIA"

	// ItemNamingItemTypeOPTIONBOX captures enum value "OPTIONBOX"
	ItemNamingItemTypeOPTIONBOX string = "OPTIONBOX"

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

	// ItemNamingItemTypeSUBSCRIPTION captures enum value "SUBSCRIPTION"
	ItemNamingItemTypeSUBSCRIPTION string = "SUBSCRIPTION"
)
View Source
const (

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

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

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

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

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

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

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

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

	// ItemRevocationItemTypeEXTENSION captures enum value "EXTENSION"
	ItemRevocationItemTypeEXTENSION string = "EXTENSION"

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

	// ItemRevocationItemTypeLOOTBOX captures enum value "LOOTBOX"
	ItemRevocationItemTypeLOOTBOX string = "LOOTBOX"

	// ItemRevocationItemTypeMEDIA captures enum value "MEDIA"
	ItemRevocationItemTypeMEDIA string = "MEDIA"

	// ItemRevocationItemTypeOPTIONBOX captures enum value "OPTIONBOX"
	ItemRevocationItemTypeOPTIONBOX string = "OPTIONBOX"

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

	// ItemRevocationItemTypeSUBSCRIPTION captures enum value "SUBSCRIPTION"
	ItemRevocationItemTypeSUBSCRIPTION string = "SUBSCRIPTION"
)
View Source
const (

	// ItemRevocationStatusFAIL captures enum value "FAIL"
	ItemRevocationStatusFAIL string = "FAIL"

	// ItemRevocationStatusSUCCESS captures enum value "SUCCESS"
	ItemRevocationStatusSUCCESS string = "SUCCESS"
)
View Source
const (

	// ItemSnapshotAppTypeDEMO captures enum value "DEMO"
	ItemSnapshotAppTypeDEMO string = "DEMO"

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

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

	// ItemSnapshotAppTypeSOFTWARE captures enum value "SOFTWARE"
	ItemSnapshotAppTypeSOFTWARE string = "SOFTWARE"
)
View Source
const (

	// ItemSnapshotEntitlementTypeCONSUMABLE captures enum value "CONSUMABLE"
	ItemSnapshotEntitlementTypeCONSUMABLE string = "CONSUMABLE"

	// ItemSnapshotEntitlementTypeDURABLE captures enum value "DURABLE"
	ItemSnapshotEntitlementTypeDURABLE string = "DURABLE"
)
View Source
const (

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

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

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

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

	// ItemSnapshotItemTypeEXTENSION captures enum value "EXTENSION"
	ItemSnapshotItemTypeEXTENSION string = "EXTENSION"

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

	// ItemSnapshotItemTypeLOOTBOX captures enum value "LOOTBOX"
	ItemSnapshotItemTypeLOOTBOX string = "LOOTBOX"

	// ItemSnapshotItemTypeMEDIA captures enum value "MEDIA"
	ItemSnapshotItemTypeMEDIA string = "MEDIA"

	// ItemSnapshotItemTypeOPTIONBOX captures enum value "OPTIONBOX"
	ItemSnapshotItemTypeOPTIONBOX string = "OPTIONBOX"

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

	// ItemSnapshotItemTypeSUBSCRIPTION captures enum value "SUBSCRIPTION"
	ItemSnapshotItemTypeSUBSCRIPTION string = "SUBSCRIPTION"
)
View Source
const (

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

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

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

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

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

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

	// ItemTypeConfigCreateItemTypeEXTENSION captures enum value "EXTENSION"
	ItemTypeConfigCreateItemTypeEXTENSION string = "EXTENSION"

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

	// ItemTypeConfigCreateItemTypeLOOTBOX captures enum value "LOOTBOX"
	ItemTypeConfigCreateItemTypeLOOTBOX string = "LOOTBOX"

	// ItemTypeConfigCreateItemTypeMEDIA captures enum value "MEDIA"
	ItemTypeConfigCreateItemTypeMEDIA string = "MEDIA"

	// ItemTypeConfigCreateItemTypeOPTIONBOX captures enum value "OPTIONBOX"
	ItemTypeConfigCreateItemTypeOPTIONBOX string = "OPTIONBOX"

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

	// ItemTypeConfigCreateItemTypeSUBSCRIPTION captures enum value "SUBSCRIPTION"
	ItemTypeConfigCreateItemTypeSUBSCRIPTION string = "SUBSCRIPTION"
)
View Source
const (

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

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

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

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

	// ItemTypeConfigInfoItemTypeEXTENSION captures enum value "EXTENSION"
	ItemTypeConfigInfoItemTypeEXTENSION string = "EXTENSION"

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

	// ItemTypeConfigInfoItemTypeLOOTBOX captures enum value "LOOTBOX"
	ItemTypeConfigInfoItemTypeLOOTBOX string = "LOOTBOX"

	// ItemTypeConfigInfoItemTypeMEDIA captures enum value "MEDIA"
	ItemTypeConfigInfoItemTypeMEDIA string = "MEDIA"

	// ItemTypeConfigInfoItemTypeOPTIONBOX captures enum value "OPTIONBOX"
	ItemTypeConfigInfoItemTypeOPTIONBOX string = "OPTIONBOX"

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

	// ItemTypeConfigInfoItemTypeSUBSCRIPTION captures enum value "SUBSCRIPTION"
	ItemTypeConfigInfoItemTypeSUBSCRIPTION string = "SUBSCRIPTION"
)
View Source
const (

	// ItemUpdateAppTypeDEMO captures enum value "DEMO"
	ItemUpdateAppTypeDEMO string = "DEMO"

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

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

	// ItemUpdateAppTypeSOFTWARE captures enum value "SOFTWARE"
	ItemUpdateAppTypeSOFTWARE string = "SOFTWARE"
)
View Source
const (

	// ItemUpdateEntitlementTypeCONSUMABLE captures enum value "CONSUMABLE"
	ItemUpdateEntitlementTypeCONSUMABLE string = "CONSUMABLE"

	// ItemUpdateEntitlementTypeDURABLE captures enum value "DURABLE"
	ItemUpdateEntitlementTypeDURABLE string = "DURABLE"
)
View Source
const (

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

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

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

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

	// ItemUpdateItemTypeEXTENSION captures enum value "EXTENSION"
	ItemUpdateItemTypeEXTENSION string = "EXTENSION"

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

	// ItemUpdateItemTypeLOOTBOX captures enum value "LOOTBOX"
	ItemUpdateItemTypeLOOTBOX string = "LOOTBOX"

	// ItemUpdateItemTypeMEDIA captures enum value "MEDIA"
	ItemUpdateItemTypeMEDIA string = "MEDIA"

	// ItemUpdateItemTypeOPTIONBOX captures enum value "OPTIONBOX"
	ItemUpdateItemTypeOPTIONBOX string = "OPTIONBOX"

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

	// ItemUpdateItemTypeSUBSCRIPTION captures enum value "SUBSCRIPTION"
	ItemUpdateItemTypeSUBSCRIPTION string = "SUBSCRIPTION"
)
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 (

	// KeyInfoStatusACQUIRED captures enum value "ACQUIRED"
	KeyInfoStatusACQUIRED string = "ACQUIRED"

	// KeyInfoStatusACTIVE captures enum value "ACTIVE"
	KeyInfoStatusACTIVE string = "ACTIVE"
)
View Source
const (

	// LootBoxConfigRollFunctionCUSTOM captures enum value "CUSTOM"
	LootBoxConfigRollFunctionCUSTOM string = "CUSTOM"

	// LootBoxConfigRollFunctionDEFAULT captures enum value "DEFAULT"
	LootBoxConfigRollFunctionDEFAULT string = "DEFAULT"
)
View Source
const (

	// LootBoxRewardTypePROBABILITYGROUP captures enum value "PROBABILITY_GROUP"
	LootBoxRewardTypePROBABILITYGROUP string = "PROBABILITY_GROUP"

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

	// LootBoxRewardTypeREWARDGROUP captures enum value "REWARD_GROUP"
	LootBoxRewardTypeREWARDGROUP string = "REWARD_GROUP"
)
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"

	// MockIAPReceiptTypeEPICGAMES captures enum value "EPICGAMES"
	MockIAPReceiptTypeEPICGAMES string = "EPICGAMES"

	// MockIAPReceiptTypeGOOGLE captures enum value "GOOGLE"
	MockIAPReceiptTypeGOOGLE string = "GOOGLE"

	// MockIAPReceiptTypePLAYSTATION captures enum value "PLAYSTATION"
	MockIAPReceiptTypePLAYSTATION string = "PLAYSTATION"

	// MockIAPReceiptTypeSTADIA captures enum value "STADIA"
	MockIAPReceiptTypeSTADIA string = "STADIA"

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

	// MockIAPReceiptTypeTWITCH captures enum value "TWITCH"
	MockIAPReceiptTypeTWITCH string = "TWITCH"

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

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

	// NotificationProcessResultStatusIGNORED captures enum value "IGNORED"
	NotificationProcessResultStatusIGNORED string = "IGNORED"

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

	// NotificationProcessResultStatusWARN captures enum value "WARN"
	NotificationProcessResultStatusWARN string = "WARN"
)
View Source
const (

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

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

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

	// OrderPaymentProviderPAYPAL captures enum value "PAYPAL"
	OrderPaymentProviderPAYPAL string = "PAYPAL"

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

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

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

	// OrderPaymentProviderXSOLLA captures enum value "XSOLLA"
	OrderPaymentProviderXSOLLA string = "XSOLLA"
)
View Source
const (

	// OrderStatusCHARGEBACK captures enum value "CHARGEBACK"
	OrderStatusCHARGEBACK string = "CHARGEBACK"

	// OrderStatusCHARGEBACKREVERSED captures enum value "CHARGEBACK_REVERSED"
	OrderStatusCHARGEBACKREVERSED string = "CHARGEBACK_REVERSED"

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

	// OrderStatusCLOSED captures enum value "CLOSED"
	OrderStatusCLOSED string = "CLOSED"

	// OrderStatusDELETED captures enum value "DELETED"
	OrderStatusDELETED string = "DELETED"

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

	// OrderStatusFULFILLFAILED captures enum value "FULFILL_FAILED"
	OrderStatusFULFILLFAILED string = "FULFILL_FAILED"

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

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

	// OrderStatusREFUNDING captures enum value "REFUNDING"
	OrderStatusREFUNDING string = "REFUNDING"

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

	// OrderHistoryInfoActionCHARGEBACK captures enum value "CHARGEBACK"
	OrderHistoryInfoActionCHARGEBACK string = "CHARGEBACK"

	// OrderHistoryInfoActionCHARGEBACKREVERSED captures enum value "CHARGEBACK_REVERSED"
	OrderHistoryInfoActionCHARGEBACKREVERSED string = "CHARGEBACK_REVERSED"

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

	// OrderHistoryInfoActionCLOSE captures enum value "CLOSE"
	OrderHistoryInfoActionCLOSE string = "CLOSE"

	// OrderHistoryInfoActionDELETED captures enum value "DELETED"
	OrderHistoryInfoActionDELETED string = "DELETED"

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

	// OrderHistoryInfoActionFULFILLFAILED captures enum value "FULFILL_FAILED"
	OrderHistoryInfoActionFULFILLFAILED string = "FULFILL_FAILED"

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

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

	// OrderHistoryInfoActionREFUNDING captures enum value "REFUNDING"
	OrderHistoryInfoActionREFUNDING string = "REFUNDING"

	// OrderHistoryInfoActionREFUNDFAILED captures enum value "REFUND_FAILED"
	OrderHistoryInfoActionREFUNDFAILED string = "REFUND_FAILED"

	// OrderHistoryInfoActionSETSTATUS captures enum value "SET_STATUS"
	OrderHistoryInfoActionSETSTATUS string = "SET_STATUS"
)
View Source
const (

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

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

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

	// OrderInfoPaymentProviderPAYPAL captures enum value "PAYPAL"
	OrderInfoPaymentProviderPAYPAL string = "PAYPAL"

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

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

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

	// OrderInfoPaymentProviderXSOLLA captures enum value "XSOLLA"
	OrderInfoPaymentProviderXSOLLA string = "XSOLLA"
)
View Source
const (

	// OrderInfoStatusCHARGEBACK captures enum value "CHARGEBACK"
	OrderInfoStatusCHARGEBACK string = "CHARGEBACK"

	// OrderInfoStatusCHARGEBACKREVERSED captures enum value "CHARGEBACK_REVERSED"
	OrderInfoStatusCHARGEBACKREVERSED string = "CHARGEBACK_REVERSED"

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

	// OrderInfoStatusCLOSED captures enum value "CLOSED"
	OrderInfoStatusCLOSED string = "CLOSED"

	// OrderInfoStatusDELETED captures enum value "DELETED"
	OrderInfoStatusDELETED string = "DELETED"

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

	// OrderInfoStatusFULFILLFAILED captures enum value "FULFILL_FAILED"
	OrderInfoStatusFULFILLFAILED string = "FULFILL_FAILED"

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

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

	// OrderInfoStatusREFUNDING captures enum value "REFUNDING"
	OrderInfoStatusREFUNDING string = "REFUNDING"

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

	// OrderUpdateStatusCHARGEBACK captures enum value "CHARGEBACK"
	OrderUpdateStatusCHARGEBACK string = "CHARGEBACK"

	// OrderUpdateStatusCHARGEBACKREVERSED captures enum value "CHARGEBACK_REVERSED"
	OrderUpdateStatusCHARGEBACKREVERSED string = "CHARGEBACK_REVERSED"

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

	// OrderUpdateStatusCLOSED captures enum value "CLOSED"
	OrderUpdateStatusCLOSED string = "CLOSED"

	// OrderUpdateStatusDELETED captures enum value "DELETED"
	OrderUpdateStatusDELETED string = "DELETED"

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

	// OrderUpdateStatusFULFILLFAILED captures enum value "FULFILL_FAILED"
	OrderUpdateStatusFULFILLFAILED string = "FULFILL_FAILED"

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

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

	// OrderUpdateStatusREFUNDING captures enum value "REFUNDING"
	OrderUpdateStatusREFUNDING string = "REFUNDING"

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

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

	// PaymentAccountTypePaypal captures enum value "paypal"
	PaymentAccountTypePaypal string = "paypal"
)
View Source
const (

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

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

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

	// PaymentMethodPaymentProviderPAYPAL captures enum value "PAYPAL"
	PaymentMethodPaymentProviderPAYPAL string = "PAYPAL"

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

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

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

	// PaymentMethodPaymentProviderXSOLLA captures enum value "XSOLLA"
	PaymentMethodPaymentProviderXSOLLA string = "XSOLLA"
)
View Source
const (

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

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

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

	// PaymentNotificationInfoNotificationSourcePAYPAL captures enum value "PAYPAL"
	PaymentNotificationInfoNotificationSourcePAYPAL string = "PAYPAL"

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

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

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

	// PaymentNotificationInfoNotificationSourceXSOLLA captures enum value "XSOLLA"
	PaymentNotificationInfoNotificationSourceXSOLLA string = "XSOLLA"
)
View Source
const (

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

	// PaymentNotificationInfoStatusIGNORED captures enum value "IGNORED"
	PaymentNotificationInfoStatusIGNORED string = "IGNORED"

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

	// PaymentNotificationInfoStatusWARN captures enum value "WARN"
	PaymentNotificationInfoStatusWARN string = "WARN"
)
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"

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

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

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

	// PaymentOrderItemTypeEXTENSION captures enum value "EXTENSION"
	PaymentOrderItemTypeEXTENSION string = "EXTENSION"

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

	// PaymentOrderItemTypeLOOTBOX captures enum value "LOOTBOX"
	PaymentOrderItemTypeLOOTBOX string = "LOOTBOX"

	// PaymentOrderItemTypeMEDIA captures enum value "MEDIA"
	PaymentOrderItemTypeMEDIA string = "MEDIA"

	// PaymentOrderItemTypeOPTIONBOX captures enum value "OPTIONBOX"
	PaymentOrderItemTypeOPTIONBOX string = "OPTIONBOX"

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

	// PaymentOrderItemTypeSUBSCRIPTION captures enum value "SUBSCRIPTION"
	PaymentOrderItemTypeSUBSCRIPTION string = "SUBSCRIPTION"
)
View Source
const (

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

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

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

	// PaymentOrderPaymentProviderPAYPAL captures enum value "PAYPAL"
	PaymentOrderPaymentProviderPAYPAL string = "PAYPAL"

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

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

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

	// PaymentOrderPaymentProviderXSOLLA captures enum value "XSOLLA"
	PaymentOrderPaymentProviderXSOLLA string = "XSOLLA"
)
View Source
const (

	// PaymentOrderStatusAUTHORISED captures enum value "AUTHORISED"
	PaymentOrderStatusAUTHORISED string = "AUTHORISED"

	// PaymentOrderStatusAUTHORISEFAILED captures enum value "AUTHORISE_FAILED"
	PaymentOrderStatusAUTHORISEFAILED string = "AUTHORISE_FAILED"

	// PaymentOrderStatusCHARGEBACK captures enum value "CHARGEBACK"
	PaymentOrderStatusCHARGEBACK string = "CHARGEBACK"

	// PaymentOrderStatusCHARGEBACKREVERSED captures enum value "CHARGEBACK_REVERSED"
	PaymentOrderStatusCHARGEBACKREVERSED string = "CHARGEBACK_REVERSED"

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

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

	// PaymentOrderStatusDELETED captures enum value "DELETED"
	PaymentOrderStatusDELETED string = "DELETED"

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

	// PaymentOrderStatusNOTIFICATIONOFCHARGEBACK captures enum value "NOTIFICATION_OF_CHARGEBACK"
	PaymentOrderStatusNOTIFICATIONOFCHARGEBACK string = "NOTIFICATION_OF_CHARGEBACK"

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

	// PaymentOrderStatusREFUNDING captures enum value "REFUNDING"
	PaymentOrderStatusREFUNDING string = "REFUNDING"

	// PaymentOrderStatusREFUNDFAILED captures enum value "REFUND_FAILED"
	PaymentOrderStatusREFUNDFAILED string = "REFUND_FAILED"

	// PaymentOrderStatusREQUESTFORINFORMATION captures enum value "REQUEST_FOR_INFORMATION"
	PaymentOrderStatusREQUESTFORINFORMATION string = "REQUEST_FOR_INFORMATION"
)
View Source
const (

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

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

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

	// PaymentOrderChargeRequestPaymentProviderPAYPAL captures enum value "PAYPAL"
	PaymentOrderChargeRequestPaymentProviderPAYPAL string = "PAYPAL"

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

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

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

	// PaymentOrderChargeRequestPaymentProviderXSOLLA captures enum value "XSOLLA"
	PaymentOrderChargeRequestPaymentProviderXSOLLA string = "XSOLLA"
)
View Source
const (

	// PaymentOrderChargeStatusStatusAUTHORISED captures enum value "AUTHORISED"
	PaymentOrderChargeStatusStatusAUTHORISED string = "AUTHORISED"

	// PaymentOrderChargeStatusStatusAUTHORISEFAILED captures enum value "AUTHORISE_FAILED"
	PaymentOrderChargeStatusStatusAUTHORISEFAILED string = "AUTHORISE_FAILED"

	// PaymentOrderChargeStatusStatusCHARGEBACK captures enum value "CHARGEBACK"
	PaymentOrderChargeStatusStatusCHARGEBACK string = "CHARGEBACK"

	// PaymentOrderChargeStatusStatusCHARGEBACKREVERSED captures enum value "CHARGEBACK_REVERSED"
	PaymentOrderChargeStatusStatusCHARGEBACKREVERSED string = "CHARGEBACK_REVERSED"

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

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

	// PaymentOrderChargeStatusStatusDELETED captures enum value "DELETED"
	PaymentOrderChargeStatusStatusDELETED string = "DELETED"

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

	// PaymentOrderChargeStatusStatusNOTIFICATIONOFCHARGEBACK captures enum value "NOTIFICATION_OF_CHARGEBACK"
	PaymentOrderChargeStatusStatusNOTIFICATIONOFCHARGEBACK string = "NOTIFICATION_OF_CHARGEBACK"

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

	// PaymentOrderChargeStatusStatusREFUNDING captures enum value "REFUNDING"
	PaymentOrderChargeStatusStatusREFUNDING string = "REFUNDING"

	// PaymentOrderChargeStatusStatusREFUNDFAILED captures enum value "REFUND_FAILED"
	PaymentOrderChargeStatusStatusREFUNDFAILED string = "REFUND_FAILED"

	// PaymentOrderChargeStatusStatusREQUESTFORINFORMATION captures enum value "REQUEST_FOR_INFORMATION"
	PaymentOrderChargeStatusStatusREQUESTFORINFORMATION string = "REQUEST_FOR_INFORMATION"
)
View Source
const (

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

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

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

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

	// PaymentOrderCreateItemTypeEXTENSION captures enum value "EXTENSION"
	PaymentOrderCreateItemTypeEXTENSION string = "EXTENSION"

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

	// PaymentOrderCreateItemTypeLOOTBOX captures enum value "LOOTBOX"
	PaymentOrderCreateItemTypeLOOTBOX string = "LOOTBOX"

	// PaymentOrderCreateItemTypeMEDIA captures enum value "MEDIA"
	PaymentOrderCreateItemTypeMEDIA string = "MEDIA"

	// PaymentOrderCreateItemTypeOPTIONBOX captures enum value "OPTIONBOX"
	PaymentOrderCreateItemTypeOPTIONBOX string = "OPTIONBOX"

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

	// PaymentOrderCreateItemTypeSUBSCRIPTION captures enum value "SUBSCRIPTION"
	PaymentOrderCreateItemTypeSUBSCRIPTION string = "SUBSCRIPTION"
)
View Source
const (

	// PaymentOrderCreateResultStatusAUTHORISED captures enum value "AUTHORISED"
	PaymentOrderCreateResultStatusAUTHORISED string = "AUTHORISED"

	// PaymentOrderCreateResultStatusAUTHORISEFAILED captures enum value "AUTHORISE_FAILED"
	PaymentOrderCreateResultStatusAUTHORISEFAILED string = "AUTHORISE_FAILED"

	// PaymentOrderCreateResultStatusCHARGEBACK captures enum value "CHARGEBACK"
	PaymentOrderCreateResultStatusCHARGEBACK string = "CHARGEBACK"

	// PaymentOrderCreateResultStatusCHARGEBACKREVERSED captures enum value "CHARGEBACK_REVERSED"
	PaymentOrderCreateResultStatusCHARGEBACKREVERSED string = "CHARGEBACK_REVERSED"

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

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

	// PaymentOrderCreateResultStatusDELETED captures enum value "DELETED"
	PaymentOrderCreateResultStatusDELETED string = "DELETED"

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

	// PaymentOrderCreateResultStatusNOTIFICATIONOFCHARGEBACK captures enum value "NOTIFICATION_OF_CHARGEBACK"
	PaymentOrderCreateResultStatusNOTIFICATIONOFCHARGEBACK string = "NOTIFICATION_OF_CHARGEBACK"

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

	// PaymentOrderCreateResultStatusREFUNDING captures enum value "REFUNDING"
	PaymentOrderCreateResultStatusREFUNDING string = "REFUNDING"

	// PaymentOrderCreateResultStatusREFUNDFAILED captures enum value "REFUND_FAILED"
	PaymentOrderCreateResultStatusREFUNDFAILED string = "REFUND_FAILED"

	// PaymentOrderCreateResultStatusREQUESTFORINFORMATION captures enum value "REQUEST_FOR_INFORMATION"
	PaymentOrderCreateResultStatusREQUESTFORINFORMATION string = "REQUEST_FOR_INFORMATION"
)
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"

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

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

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

	// PaymentOrderInfoItemTypeEXTENSION captures enum value "EXTENSION"
	PaymentOrderInfoItemTypeEXTENSION string = "EXTENSION"

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

	// PaymentOrderInfoItemTypeLOOTBOX captures enum value "LOOTBOX"
	PaymentOrderInfoItemTypeLOOTBOX string = "LOOTBOX"

	// PaymentOrderInfoItemTypeMEDIA captures enum value "MEDIA"
	PaymentOrderInfoItemTypeMEDIA string = "MEDIA"

	// PaymentOrderInfoItemTypeOPTIONBOX captures enum value "OPTIONBOX"
	PaymentOrderInfoItemTypeOPTIONBOX string = "OPTIONBOX"

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

	// PaymentOrderInfoItemTypeSUBSCRIPTION captures enum value "SUBSCRIPTION"
	PaymentOrderInfoItemTypeSUBSCRIPTION string = "SUBSCRIPTION"
)
View Source
const (

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

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

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

	// PaymentOrderInfoPaymentProviderPAYPAL captures enum value "PAYPAL"
	PaymentOrderInfoPaymentProviderPAYPAL string = "PAYPAL"

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

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

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

	// PaymentOrderInfoPaymentProviderXSOLLA captures enum value "XSOLLA"
	PaymentOrderInfoPaymentProviderXSOLLA string = "XSOLLA"
)
View Source
const (

	// PaymentOrderInfoStatusAUTHORISED captures enum value "AUTHORISED"
	PaymentOrderInfoStatusAUTHORISED string = "AUTHORISED"

	// PaymentOrderInfoStatusAUTHORISEFAILED captures enum value "AUTHORISE_FAILED"
	PaymentOrderInfoStatusAUTHORISEFAILED string = "AUTHORISE_FAILED"

	// PaymentOrderInfoStatusCHARGEBACK captures enum value "CHARGEBACK"
	PaymentOrderInfoStatusCHARGEBACK string = "CHARGEBACK"

	// PaymentOrderInfoStatusCHARGEBACKREVERSED captures enum value "CHARGEBACK_REVERSED"
	PaymentOrderInfoStatusCHARGEBACKREVERSED string = "CHARGEBACK_REVERSED"

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

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

	// PaymentOrderInfoStatusDELETED captures enum value "DELETED"
	PaymentOrderInfoStatusDELETED string = "DELETED"

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

	// PaymentOrderInfoStatusNOTIFICATIONOFCHARGEBACK captures enum value "NOTIFICATION_OF_CHARGEBACK"
	PaymentOrderInfoStatusNOTIFICATIONOFCHARGEBACK string = "NOTIFICATION_OF_CHARGEBACK"

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

	// PaymentOrderInfoStatusREFUNDING captures enum value "REFUNDING"
	PaymentOrderInfoStatusREFUNDING string = "REFUNDING"

	// PaymentOrderInfoStatusREFUNDFAILED captures enum value "REFUND_FAILED"
	PaymentOrderInfoStatusREFUNDFAILED string = "REFUND_FAILED"

	// PaymentOrderInfoStatusREQUESTFORINFORMATION captures enum value "REQUEST_FOR_INFORMATION"
	PaymentOrderInfoStatusREQUESTFORINFORMATION string = "REQUEST_FOR_INFORMATION"
)
View Source
const (

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

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

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

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

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

	// PaymentOrderNotifySimulationPaymentProviderPAYPAL captures enum value "PAYPAL"
	PaymentOrderNotifySimulationPaymentProviderPAYPAL string = "PAYPAL"

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

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

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

	// PaymentOrderNotifySimulationPaymentProviderXSOLLA captures enum value "XSOLLA"
	PaymentOrderNotifySimulationPaymentProviderXSOLLA string = "XSOLLA"
)
View Source
const (

	// PaymentOrderRefundResultStatusAUTHORISED captures enum value "AUTHORISED"
	PaymentOrderRefundResultStatusAUTHORISED string = "AUTHORISED"

	// PaymentOrderRefundResultStatusAUTHORISEFAILED captures enum value "AUTHORISE_FAILED"
	PaymentOrderRefundResultStatusAUTHORISEFAILED string = "AUTHORISE_FAILED"

	// PaymentOrderRefundResultStatusCHARGEBACK captures enum value "CHARGEBACK"
	PaymentOrderRefundResultStatusCHARGEBACK string = "CHARGEBACK"

	// PaymentOrderRefundResultStatusCHARGEBACKREVERSED captures enum value "CHARGEBACK_REVERSED"
	PaymentOrderRefundResultStatusCHARGEBACKREVERSED string = "CHARGEBACK_REVERSED"

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

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

	// PaymentOrderRefundResultStatusDELETED captures enum value "DELETED"
	PaymentOrderRefundResultStatusDELETED string = "DELETED"

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

	// PaymentOrderRefundResultStatusNOTIFICATIONOFCHARGEBACK captures enum value "NOTIFICATION_OF_CHARGEBACK"
	PaymentOrderRefundResultStatusNOTIFICATIONOFCHARGEBACK string = "NOTIFICATION_OF_CHARGEBACK"

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

	// PaymentOrderRefundResultStatusREFUNDING captures enum value "REFUNDING"
	PaymentOrderRefundResultStatusREFUNDING string = "REFUNDING"

	// PaymentOrderRefundResultStatusREFUNDFAILED captures enum value "REFUND_FAILED"
	PaymentOrderRefundResultStatusREFUNDFAILED string = "REFUND_FAILED"

	// PaymentOrderRefundResultStatusREQUESTFORINFORMATION captures enum value "REQUEST_FOR_INFORMATION"
	PaymentOrderRefundResultStatusREQUESTFORINFORMATION string = "REQUEST_FOR_INFORMATION"
)
View Source
const (

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

	// PaymentProviderConfigEditAggregateXSOLLA captures enum value "XSOLLA"
	PaymentProviderConfigEditAggregateXSOLLA string = "XSOLLA"
)
View Source
const (

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

	// PaymentProviderConfigInfoAggregateXSOLLA captures enum value "XSOLLA"
	PaymentProviderConfigInfoAggregateXSOLLA string = "XSOLLA"
)
View Source
const (

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

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

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

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

	// PaymentRequestWalletPlatformOther captures enum value "Other"
	PaymentRequestWalletPlatformOther string = "Other"

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

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

	// PaymentRequestWalletPlatformXbox captures enum value "Xbox"
	PaymentRequestWalletPlatformXbox string = "Xbox"
)
View Source
const (

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

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

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

	// PaymentURLPaymentProviderPAYPAL captures enum value "PAYPAL"
	PaymentURLPaymentProviderPAYPAL string = "PAYPAL"

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

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

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

	// PaymentURLPaymentProviderXSOLLA captures enum value "XSOLLA"
	PaymentURLPaymentProviderXSOLLA string = "XSOLLA"
)
View Source
const (

	// PaymentURLPaymentTypeLINK captures enum value "LINK"
	PaymentURLPaymentTypeLINK string = "LINK"

	// PaymentURLPaymentTypeQRCODE captures enum value "QR_CODE"
	PaymentURLPaymentTypeQRCODE string = "QR_CODE"
)
View Source
const (

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

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

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

	// PaymentURLCreatePaymentProviderPAYPAL captures enum value "PAYPAL"
	PaymentURLCreatePaymentProviderPAYPAL string = "PAYPAL"

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

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

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

	// PaymentURLCreatePaymentProviderXSOLLA captures enum value "XSOLLA"
	PaymentURLCreatePaymentProviderXSOLLA string = "XSOLLA"
)
View Source
const (

	// PlatformDLCEntryPlatformEPICGAMES captures enum value "EPICGAMES"
	PlatformDLCEntryPlatformEPICGAMES string = "EPICGAMES"

	// 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 (

	// PlatformRewardTypeCURRENCY captures enum value "CURRENCY"
	PlatformRewardTypeCURRENCY string = "CURRENCY"

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

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

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

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

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

	// PlayStationReconcileResultStatusFAILED captures enum value "FAILED"
	PlayStationReconcileResultStatusFAILED string = "FAILED"

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

	// PlayStationReconcileResultStatusVERIFIED captures enum value "VERIFIED"
	PlayStationReconcileResultStatusVERIFIED string = "VERIFIED"
)
View Source
const (

	// PopulatedItemInfoAppTypeDEMO captures enum value "DEMO"
	PopulatedItemInfoAppTypeDEMO string = "DEMO"

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

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

	// PopulatedItemInfoAppTypeSOFTWARE captures enum value "SOFTWARE"
	PopulatedItemInfoAppTypeSOFTWARE string = "SOFTWARE"
)
View Source
const (

	// PopulatedItemInfoEntitlementTypeCONSUMABLE captures enum value "CONSUMABLE"
	PopulatedItemInfoEntitlementTypeCONSUMABLE string = "CONSUMABLE"

	// PopulatedItemInfoEntitlementTypeDURABLE captures enum value "DURABLE"
	PopulatedItemInfoEntitlementTypeDURABLE string = "DURABLE"
)
View Source
const (

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

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

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

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

	// PopulatedItemInfoItemTypeEXTENSION captures enum value "EXTENSION"
	PopulatedItemInfoItemTypeEXTENSION string = "EXTENSION"

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

	// PopulatedItemInfoItemTypeLOOTBOX captures enum value "LOOTBOX"
	PopulatedItemInfoItemTypeLOOTBOX string = "LOOTBOX"

	// PopulatedItemInfoItemTypeMEDIA captures enum value "MEDIA"
	PopulatedItemInfoItemTypeMEDIA string = "MEDIA"

	// PopulatedItemInfoItemTypeOPTIONBOX captures enum value "OPTIONBOX"
	PopulatedItemInfoItemTypeOPTIONBOX string = "OPTIONBOX"

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

	// PopulatedItemInfoItemTypeSUBSCRIPTION captures enum value "SUBSCRIPTION"
	PopulatedItemInfoItemTypeSUBSCRIPTION string = "SUBSCRIPTION"
)
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 (

	// PredicateComparisonExcludes captures enum value "excludes"
	PredicateComparisonExcludes string = "excludes"

	// PredicateComparisonIncludes captures enum value "includes"
	PredicateComparisonIncludes string = "includes"

	// PredicateComparisonIs captures enum value "is"
	PredicateComparisonIs string = "is"

	// PredicateComparisonIsGreaterThan captures enum value "isGreaterThan"
	PredicateComparisonIsGreaterThan string = "isGreaterThan"

	// PredicateComparisonIsGreaterThanOrEqual captures enum value "isGreaterThanOrEqual"
	PredicateComparisonIsGreaterThanOrEqual string = "isGreaterThanOrEqual"

	// PredicateComparisonIsLessThan captures enum value "isLessThan"
	PredicateComparisonIsLessThan string = "isLessThan"

	// PredicateComparisonIsLessThanOrEqual captures enum value "isLessThanOrEqual"
	PredicateComparisonIsLessThanOrEqual string = "isLessThanOrEqual"

	// PredicateComparisonIsNot captures enum value "isNot"
	PredicateComparisonIsNot string = "isNot"
)
View Source
const (

	// PredicatePredicateTypeEntitlementPredicate captures enum value "EntitlementPredicate"
	PredicatePredicateTypeEntitlementPredicate string = "EntitlementPredicate"

	// PredicatePredicateTypeSeasonPassPredicate captures enum value "SeasonPassPredicate"
	PredicatePredicateTypeSeasonPassPredicate string = "SeasonPassPredicate"

	// PredicatePredicateTypeSeasonTierPredicate captures enum value "SeasonTierPredicate"
	PredicatePredicateTypeSeasonTierPredicate string = "SeasonTierPredicate"
)
View Source
const (

	// RecurringCycleMONTHLY captures enum value "MONTHLY"
	RecurringCycleMONTHLY string = "MONTHLY"

	// RecurringCycleQUARTERLY captures enum value "QUARTERLY"
	RecurringCycleQUARTERLY string = "QUARTERLY"

	// RecurringCycleWEEKLY captures enum value "WEEKLY"
	RecurringCycleWEEKLY string = "WEEKLY"

	// RecurringCycleYEARLY captures enum value "YEARLY"
	RecurringCycleYEARLY string = "YEARLY"
)
View Source
const (

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

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

	// RequestHistoryStatusFAIL captures enum value "FAIL"
	RequestHistoryStatusFAIL string = "FAIL"

	// RequestHistoryStatusPENDING captures enum value "PENDING"
	RequestHistoryStatusPENDING string = "PENDING"

	// RequestHistoryStatusSUCCESS captures enum value "SUCCESS"
	RequestHistoryStatusSUCCESS string = "SUCCESS"
)
View Source
const (

	// RevocationHistoryInfoStatusFAIL captures enum value "FAIL"
	RevocationHistoryInfoStatusFAIL string = "FAIL"

	// RevocationHistoryInfoStatusSUCCESS captures enum value "SUCCESS"
	RevocationHistoryInfoStatusSUCCESS string = "SUCCESS"
)
View Source
const (

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

	// RevocationRequestSourceORDER captures enum value "ORDER"
	RevocationRequestSourceORDER string = "ORDER"

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

	// RevocationResultStatusFAIL captures enum value "FAIL"
	RevocationResultStatusFAIL string = "FAIL"

	// RevocationResultStatusSUCCESS captures enum value "SUCCESS"
	RevocationResultStatusSUCCESS string = "SUCCESS"
)
View Source
const (

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

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

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

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

	// RevokeCurrencyBalanceOriginOther captures enum value "Other"
	RevokeCurrencyBalanceOriginOther string = "Other"

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

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

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

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

	// RevokeCurrencyBalanceOriginXbox captures enum value "Xbox"
	RevokeCurrencyBalanceOriginXbox string = "Xbox"
)
View Source
const (

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

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

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

	// RevokeEntitlementClazzLOOTBOX captures enum value "LOOTBOX"
	RevokeEntitlementClazzLOOTBOX string = "LOOTBOX"

	// RevokeEntitlementClazzMEDIA captures enum value "MEDIA"
	RevokeEntitlementClazzMEDIA string = "MEDIA"

	// RevokeEntitlementClazzOPTIONBOX captures enum value "OPTIONBOX"
	RevokeEntitlementClazzOPTIONBOX string = "OPTIONBOX"

	// RevokeEntitlementClazzSUBSCRIPTION captures enum value "SUBSCRIPTION"
	RevokeEntitlementClazzSUBSCRIPTION string = "SUBSCRIPTION"
)
View Source
const (

	// RevokeEntitlementTypeCONSUMABLE captures enum value "CONSUMABLE"
	RevokeEntitlementTypeCONSUMABLE string = "CONSUMABLE"

	// RevokeEntitlementTypeDURABLE captures enum value "DURABLE"
	RevokeEntitlementTypeDURABLE string = "DURABLE"
)
View Source
const (

	// RevokeEntryTypeCURRENCY captures enum value "CURRENCY"
	RevokeEntryTypeCURRENCY string = "CURRENCY"

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

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

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

	// RevokeItemItemIdentityTypeITEMSKU captures enum value "ITEM_SKU"
	RevokeItemItemIdentityTypeITEMSKU string = "ITEM_SKU"
)
View Source
const (

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

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

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

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

	// RevokeItemOriginOther captures enum value "Other"
	RevokeItemOriginOther string = "Other"

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

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

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

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

	// RevokeItemOriginXbox captures enum value "Xbox"
	RevokeItemOriginXbox string = "Xbox"
)
View Source
const (

	// RevokeItemSummaryRevokeStatusCOMPLETED captures enum value "COMPLETED"
	RevokeItemSummaryRevokeStatusCOMPLETED string = "COMPLETED"

	// RevokeItemSummaryRevokeStatusSKIPPED captures enum value "SKIPPED"
	RevokeItemSummaryRevokeStatusSKIPPED string = "SKIPPED"
)
View Source
const (

	// RevokeResultStatusCOMPLETED captures enum value "COMPLETED"
	RevokeResultStatusCOMPLETED string = "COMPLETED"

	// RevokeResultStatusSKIPPED captures enum value "SKIPPED"
	RevokeResultStatusSKIPPED string = "SKIPPED"
)
View Source
const (

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

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

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

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

	// RewardsRequestOriginOther captures enum value "Other"
	RewardsRequestOriginOther string = "Other"

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

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

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

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

	// RewardsRequestOriginXbox captures enum value "Xbox"
	RewardsRequestOriginXbox string = "Xbox"
)
View Source
const (

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

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

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

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

	// RewardsRequestSourceOTHER captures enum value "OTHER"
	RewardsRequestSourceOTHER string = "OTHER"

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

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

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

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

	// RewardsRequestSourceREWARD captures enum value "REWARD"
	RewardsRequestSourceREWARD string = "REWARD"
)
View Source
const (

	// SectionCreateRotationTypeCUSTOM captures enum value "CUSTOM"
	SectionCreateRotationTypeCUSTOM string = "CUSTOM"

	// SectionCreateRotationTypeFIXEDPERIOD captures enum value "FIXED_PERIOD"
	SectionCreateRotationTypeFIXEDPERIOD string = "FIXED_PERIOD"

	// SectionCreateRotationTypeNONE captures enum value "NONE"
	SectionCreateRotationTypeNONE string = "NONE"
)
View Source
const (

	// SectionUpdateRotationTypeCUSTOM captures enum value "CUSTOM"
	SectionUpdateRotationTypeCUSTOM string = "CUSTOM"

	// SectionUpdateRotationTypeFIXEDPERIOD captures enum value "FIXED_PERIOD"
	SectionUpdateRotationTypeFIXEDPERIOD string = "FIXED_PERIOD"

	// SectionUpdateRotationTypeNONE captures enum value "NONE"
	SectionUpdateRotationTypeNONE string = "NONE"
)
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"

	// SlideVideoSourceVimeo captures enum value "vimeo"
	SlideVideoSourceVimeo string = "vimeo"

	// SlideVideoSourceYoutube captures enum value "youtube"
	SlideVideoSourceYoutube string = "youtube"
)
View Source
const (

	// StackableEntitlementInfoAppTypeDEMO captures enum value "DEMO"
	StackableEntitlementInfoAppTypeDEMO string = "DEMO"

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

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

	// StackableEntitlementInfoAppTypeSOFTWARE captures enum value "SOFTWARE"
	StackableEntitlementInfoAppTypeSOFTWARE string = "SOFTWARE"
)
View Source
const (

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

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

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

	// StackableEntitlementInfoClazzLOOTBOX captures enum value "LOOTBOX"
	StackableEntitlementInfoClazzLOOTBOX string = "LOOTBOX"

	// StackableEntitlementInfoClazzMEDIA captures enum value "MEDIA"
	StackableEntitlementInfoClazzMEDIA string = "MEDIA"

	// StackableEntitlementInfoClazzOPTIONBOX captures enum value "OPTIONBOX"
	StackableEntitlementInfoClazzOPTIONBOX string = "OPTIONBOX"

	// StackableEntitlementInfoClazzSUBSCRIPTION captures enum value "SUBSCRIPTION"
	StackableEntitlementInfoClazzSUBSCRIPTION string = "SUBSCRIPTION"
)
View Source
const (

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

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

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

	// StackableEntitlementInfoSourceOTHER captures enum value "OTHER"
	StackableEntitlementInfoSourceOTHER string = "OTHER"

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

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

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

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

	// StackableEntitlementInfoSourceREWARD captures enum value "REWARD"
	StackableEntitlementInfoSourceREWARD string = "REWARD"
)
View Source
const (

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

	// StackableEntitlementInfoStatusCONSUMED captures enum value "CONSUMED"
	StackableEntitlementInfoStatusCONSUMED string = "CONSUMED"

	// StackableEntitlementInfoStatusINACTIVE captures enum value "INACTIVE"
	StackableEntitlementInfoStatusINACTIVE string = "INACTIVE"

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

	// StackableEntitlementInfoTypeCONSUMABLE captures enum value "CONSUMABLE"
	StackableEntitlementInfoTypeCONSUMABLE string = "CONSUMABLE"

	// StackableEntitlementInfoTypeDURABLE captures enum value "DURABLE"
	StackableEntitlementInfoTypeDURABLE string = "DURABLE"
)
View Source
const (

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

	// SubscriptionActivityInfoActionCHANGEBILLINGACCOUNT captures enum value "CHANGE_BILLING_ACCOUNT"
	SubscriptionActivityInfoActionCHANGEBILLINGACCOUNT string = "CHANGE_BILLING_ACCOUNT"

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

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

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

	// SubscriptionActivityInfoActionSUBSCRIBE captures enum value "SUBSCRIBE"
	SubscriptionActivityInfoActionSUBSCRIBE string = "SUBSCRIBE"
)
View Source
const (

	// SubscriptionActivityInfoSubscribedByPLATFORM captures enum value "PLATFORM"
	SubscriptionActivityInfoSubscribedByPLATFORM string = "PLATFORM"

	// SubscriptionActivityInfoSubscribedByUSER captures enum value "USER"
	SubscriptionActivityInfoSubscribedByUSER string = "USER"
)
View Source
const (

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

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

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

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

	// SubscriptionInfoChargeStatusSETUP captures enum value "SETUP"
	SubscriptionInfoChargeStatusSETUP string = "SETUP"
)
View Source
const (

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

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

	// SubscriptionInfoStatusEXPIRED captures enum value "EXPIRED"
	SubscriptionInfoStatusEXPIRED string = "EXPIRED"

	// SubscriptionInfoStatusINIT captures enum value "INIT"
	SubscriptionInfoStatusINIT string = "INIT"
)
View Source
const (

	// SubscriptionInfoSubscribedByPLATFORM captures enum value "PLATFORM"
	SubscriptionInfoSubscribedByPLATFORM string = "PLATFORM"

	// SubscriptionInfoSubscribedByUSER captures enum value "USER"
	SubscriptionInfoSubscribedByUSER string = "USER"
)
View Source
const (

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

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

	// SubscriptionSummaryStatusEXPIRED captures enum value "EXPIRED"
	SubscriptionSummaryStatusEXPIRED string = "EXPIRED"

	// SubscriptionSummaryStatusINIT captures enum value "INIT"
	SubscriptionSummaryStatusINIT string = "INIT"
)
View Source
const (

	// SubscriptionSummarySubscribedByPLATFORM captures enum value "PLATFORM"
	SubscriptionSummarySubscribedByPLATFORM string = "PLATFORM"

	// SubscriptionSummarySubscribedByUSER captures enum value "USER"
	SubscriptionSummarySubscribedByUSER string = "USER"
)
View Source
const (

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

	// TicketBoothIDTypeKEYGROUP captures enum value "KEYGROUP"
	TicketBoothIDTypeKEYGROUP string = "KEYGROUP"
)
View Source
const (

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

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

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

	// TradeNotificationPaymentProviderPAYPAL captures enum value "PAYPAL"
	TradeNotificationPaymentProviderPAYPAL string = "PAYPAL"

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

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

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

	// TradeNotificationPaymentProviderXSOLLA captures enum value "XSOLLA"
	TradeNotificationPaymentProviderXSOLLA string = "XSOLLA"
)
View Source
const (

	// TradeNotificationStatusAUTHORISED captures enum value "AUTHORISED"
	TradeNotificationStatusAUTHORISED string = "AUTHORISED"

	// TradeNotificationStatusAUTHORISEFAILED captures enum value "AUTHORISE_FAILED"
	TradeNotificationStatusAUTHORISEFAILED string = "AUTHORISE_FAILED"

	// TradeNotificationStatusCHARGEBACK captures enum value "CHARGEBACK"
	TradeNotificationStatusCHARGEBACK string = "CHARGEBACK"

	// TradeNotificationStatusCHARGEBACKREVERSED captures enum value "CHARGEBACK_REVERSED"
	TradeNotificationStatusCHARGEBACKREVERSED string = "CHARGEBACK_REVERSED"

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

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

	// TradeNotificationStatusDELETED captures enum value "DELETED"
	TradeNotificationStatusDELETED string = "DELETED"

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

	// TradeNotificationStatusNOTIFICATIONOFCHARGEBACK captures enum value "NOTIFICATION_OF_CHARGEBACK"
	TradeNotificationStatusNOTIFICATIONOFCHARGEBACK string = "NOTIFICATION_OF_CHARGEBACK"

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

	// TradeNotificationStatusREFUNDING captures enum value "REFUNDING"
	TradeNotificationStatusREFUNDING string = "REFUNDING"

	// TradeNotificationStatusREFUNDFAILED captures enum value "REFUND_FAILED"
	TradeNotificationStatusREFUNDFAILED string = "REFUND_FAILED"

	// TradeNotificationStatusREQUESTFORINFORMATION captures enum value "REQUEST_FOR_INFORMATION"
	TradeNotificationStatusREQUESTFORINFORMATION string = "REQUEST_FOR_INFORMATION"
)
View Source
const (

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

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

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

	// TransactionProviderPAYPAL captures enum value "PAYPAL"
	TransactionProviderPAYPAL string = "PAYPAL"

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

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

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

	// TransactionProviderXSOLLA captures enum value "XSOLLA"
	TransactionProviderXSOLLA string = "XSOLLA"
)
View Source
const (

	// TransactionStatusFAILED captures enum value "FAILED"
	TransactionStatusFAILED string = "FAILED"

	// TransactionStatusFINISHED captures enum value "FINISHED"
	TransactionStatusFINISHED string = "FINISHED"
)
View Source
const (

	// TransactionTypeAUTHORISATION captures enum value "AUTHORISATION"
	TransactionTypeAUTHORISATION string = "AUTHORISATION"

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

	// TransactionTypeCHARGEBACK captures enum value "CHARGEBACK"
	TransactionTypeCHARGEBACK string = "CHARGEBACK"

	// TransactionTypeCHARGEBACKREVERSED captures enum value "CHARGEBACK_REVERSED"
	TransactionTypeCHARGEBACKREVERSED string = "CHARGEBACK_REVERSED"

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

	// TransactionTypeNOTIFICATIONOFCHARGEBACK captures enum value "NOTIFICATION_OF_CHARGEBACK"
	TransactionTypeNOTIFICATIONOFCHARGEBACK string = "NOTIFICATION_OF_CHARGEBACK"

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

	// TransactionTypeREFUNDFAILED captures enum value "REFUND_FAILED"
	TransactionTypeREFUNDFAILED string = "REFUND_FAILED"

	// TransactionTypeREQUESTFORINFORMATION captures enum value "REQUEST_FOR_INFORMATION"
	TransactionTypeREQUESTFORINFORMATION string = "REQUEST_FOR_INFORMATION"
)
View Source
const (

	// UserDLCPlatformEPICGAMES captures enum value "EPICGAMES"
	UserDLCPlatformEPICGAMES string = "EPICGAMES"

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

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

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

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

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

	// WalletRevocationConfigStrategyALWAYSREVOKE captures enum value "ALWAYS_REVOKE"
	WalletRevocationConfigStrategyALWAYSREVOKE string = "ALWAYS_REVOKE"

	// WalletRevocationConfigStrategyREVOKEORREPORT captures enum value "REVOKE_OR_REPORT"
	WalletRevocationConfigStrategyREVOKEORREPORT string = "REVOKE_OR_REPORT"
)
View Source
const (

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

	// WalletTransactionInfoWalletActionDEBIT captures enum value "DEBIT"
	WalletTransactionInfoWalletActionDEBIT string = "DEBIT"

	// WalletTransactionInfoWalletActionPAYMENT captures enum value "PAYMENT"
	WalletTransactionInfoWalletActionPAYMENT string = "PAYMENT"
)
View Source
const (

	// XblReconcileResultIAPOrderStatusFAILED captures enum value "FAILED"
	XblReconcileResultIAPOrderStatusFAILED string = "FAILED"

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

	// XblReconcileResultIAPOrderStatusVERIFIED captures enum value "VERIFIED"
	XblReconcileResultIAPOrderStatusVERIFIED string = "VERIFIED"
)
View Source
const (

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

	// XsollaPaywallConfigDeviceMOBILE captures enum value "MOBILE"
	XsollaPaywallConfigDeviceMOBILE string = "MOBILE"
)
View Source
const (

	// XsollaPaywallConfigSizeLARGE captures enum value "LARGE"
	XsollaPaywallConfigSizeLARGE string = "LARGE"

	// XsollaPaywallConfigSizeMEDIUM captures enum value "MEDIUM"
	XsollaPaywallConfigSizeMEDIUM string = "MEDIUM"

	// XsollaPaywallConfigSizeSMALL captures enum value "SMALL"
	XsollaPaywallConfigSizeSMALL string = "SMALL"
)
View Source
const (

	// XsollaPaywallConfigThemeDARK captures enum value "DARK"
	XsollaPaywallConfigThemeDARK string = "DARK"

	// XsollaPaywallConfigThemeDEFAULT captures enum value "DEFAULT"
	XsollaPaywallConfigThemeDEFAULT string = "DEFAULT"

	// XsollaPaywallConfigThemeDEFAULTDARK captures enum value "DEFAULT_DARK"
	XsollaPaywallConfigThemeDEFAULTDARK string = "DEFAULT_DARK"
)
View Source
const (

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

	// XsollaPaywallConfigRequestDeviceMOBILE captures enum value "MOBILE"
	XsollaPaywallConfigRequestDeviceMOBILE string = "MOBILE"
)
View Source
const (

	// XsollaPaywallConfigRequestSizeLARGE captures enum value "LARGE"
	XsollaPaywallConfigRequestSizeLARGE string = "LARGE"

	// XsollaPaywallConfigRequestSizeMEDIUM captures enum value "MEDIUM"
	XsollaPaywallConfigRequestSizeMEDIUM string = "MEDIUM"

	// XsollaPaywallConfigRequestSizeSMALL captures enum value "SMALL"
	XsollaPaywallConfigRequestSizeSMALL string = "SMALL"
)
View Source
const (

	// XsollaPaywallConfigRequestThemeDARK captures enum value "DARK"
	XsollaPaywallConfigRequestThemeDARK string = "DARK"

	// XsollaPaywallConfigRequestThemeDEFAULT captures enum value "DEFAULT"
	XsollaPaywallConfigRequestThemeDEFAULT string = "DEFAULT"

	// XsollaPaywallConfigRequestThemeDEFAULTDARK captures enum value "DEFAULT_DARK"
	XsollaPaywallConfigRequestThemeDEFAULTDARK string = "DEFAULT_DARK"
)
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 (

	// DurableEntitlementRevocationConfigStrategyREVOKEORREPORT captures enum value "REVOKE_OR_REPORT"
	DurableEntitlementRevocationConfigStrategyREVOKEORREPORT string = "REVOKE_OR_REPORT"
)
View Source
const (

	// FixedPeriodRotationConfigRuleSEQUENCE captures enum value "SEQUENCE"
	FixedPeriodRotationConfigRuleSEQUENCE string = "SEQUENCE"
)
View Source
const (

	// FulfillmentScriptEvalTestRequestTypeGrantDays captures enum value "grantDays"
	FulfillmentScriptEvalTestRequestTypeGrantDays string = "grantDays"
)
View Source
const (

	// ImportStoreErrorTypeITEM captures enum value "ITEM"
	ImportStoreErrorTypeITEM string = "ITEM"
)

Variables ¶

This section is empty.

Functions ¶

This section is empty.

Types ¶

type Achievement ¶ added in v0.39.0

type Achievement struct {

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

	// value
	Value int64 `json:"value,omitempty"`
}

Achievement steam achievement request

swagger:model Achievement

func (*Achievement) MarshalBinary ¶ added in v0.39.0

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

MarshalBinary interface implementation

func (*Achievement) UnmarshalBinary ¶ added in v0.39.0

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

UnmarshalBinary interface implementation

func (*Achievement) Validate ¶ added in v0.39.0

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

Validate validates this achievement

type AchievementInfo ¶ added in v0.23.0

type AchievementInfo struct {

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

	// achievement display name
	Name string `json:"name,omitempty"`

	// achievement progress
	ProgressState string `json:"progressState,omitempty"`

	// achievement progression
	Progression map[string]interface{} `json:"progression,omitempty"`

	// service config id
	ServiceConfigID string `json:"serviceConfigId,omitempty"`
}

AchievementInfo achievement info

swagger:model AchievementInfo

func (*AchievementInfo) MarshalBinary ¶ added in v0.23.0

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

MarshalBinary interface implementation

func (*AchievementInfo) UnmarshalBinary ¶ added in v0.23.0

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

UnmarshalBinary interface implementation

func (*AchievementInfo) Validate ¶ added in v0.23.0

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

Validate validates this achievement info

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

	// currency namespace, if options.skipPriceValidation is true, then this is required. If current namespace is publisher namespace, then currency namespace must be publisher namespace; if current is game namespace, currency namespace must be the same game namespace or publisher namespace
	CurrencyNamespace string `json:"currencyNamespace,omitempty"`

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

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

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

	// language value from language tag, allowed format: en, en-US.<p>Supported language tag : [RFC5646](https://gist.github.com/msikma/8912e62ed866778ff8cd) and [IETF](https://datahub.io/core/language-codes#resource-ietf-language-tags)</p>
	Language string `json:"language,omitempty"`

	// Creation options
	Options *OrderCreationOptions `json:"options,omitempty"`

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

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

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

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

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

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

AdminOrderCreate admin order create

swagger:model AdminOrderCreate

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

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

MarshalBinary interface implementation

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

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

UnmarshalBinary interface implementation

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: [DEMO DLC GAME SOFTWARE]
	AppType string `json:"appType,omitempty"`

	// entitlement end date
	// Format: date-time
	EndDate *strfmt.DateTime `json:"endDate,omitempty"`

	// entitlement granted at
	// Required: true
	// Format: date-time
	GrantedAt strfmt.DateTime `json:"grantedAt"`

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

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

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

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

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

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

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

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

AppEntitlementInfo app entitlement info

swagger:model AppEntitlementInfo

func (*AppEntitlementInfo) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*AppEntitlementInfo) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

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 RPG Racing Simulation Sports Strategy]
	PrimaryGenre string `json:"primaryGenre,omitempty"`

	// publisher
	Publisher string `json:"publisher,omitempty"`

	// region
	Region string `json:"region,omitempty"`

	// release date
	// Format: date-time
	ReleaseDate *strfmt.DateTime `json:"releaseDate,omitempty"`

	// slogan
	Slogan string `json:"slogan,omitempty"`

	// website url
	WebsiteURL string `json:"websiteUrl,omitempty"`
}

AppInfo app info

swagger:model AppInfo

func (*AppInfo) MarshalBinary ¶

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 RPG Racing Simulation Sports Strategy]
	PrimaryGenre string `json:"primaryGenre,omitempty"`

	// publisher, it should starts and ends with alphabets uppercase/lowercase or numeric, allowed separators, these symbols ',.-, and white-space, max length is 48
	Publisher string `json:"publisher,omitempty"`

	// release date in format yyyy-MM-dd'T'HH:mm:ss.SSS'Z'
	// Format: date-time
	ReleaseDate *strfmt.DateTime `json:"releaseDate,omitempty"`

	// website url, max length is 2000
	WebsiteURL string `json:"websiteUrl,omitempty"`
}

AppUpdate app update

swagger:model AppUpdate

func (*AppUpdate) MarshalBinary ¶

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 IAP 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 IAP config info

type AppleIAPConfigRequest ¶

type AppleIAPConfigRequest struct {

	// bundleId
	// Required: true
	BundleID *string `json:"bundleId"`

	// password
	Password string `json:"password,omitempty"`
}

AppleIAPConfigRequest apple IAP 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 IAP 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.<p>Supported language tag : [RFC5646](https://gist.github.com/msikma/8912e62ed866778ff8cd) and [IETF](https://datahub.io/core/language-codes#resource-ietf-language-tags)</p>
	// Pattern: ^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$
	Language string `json:"language,omitempty"`

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

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

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

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

AppleIAPReceipt apple IAP 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 IAP receipt

type AvailableComparison ¶ added in v0.39.0

type AvailableComparison struct {

	// available comparison
	// Enum: [excludes includes is isGreaterThan isGreaterThanOrEqual isLessThan isLessThanOrEqual isNot]
	Comparison string `json:"comparison,omitempty"`

	// comparison text
	Text string `json:"text,omitempty"`
}

AvailableComparison available comparison object

swagger:model AvailableComparison

func (*AvailableComparison) MarshalBinary ¶ added in v0.39.0

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

MarshalBinary interface implementation

func (*AvailableComparison) UnmarshalBinary ¶ added in v0.39.0

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

UnmarshalBinary interface implementation

func (*AvailableComparison) Validate ¶ added in v0.39.0

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

Validate validates this available comparison

type AvailablePredicate ¶ added in v0.39.0

type AvailablePredicate struct {

	// available comparison list
	AvailableComparisons []*AvailableComparison `json:"availableComparisons"`

	// available predicate type
	// Enum: [EntitlementPredicate SeasonPassPredicate SeasonTierPredicate]
	PredicateType string `json:"predicateType,omitempty"`

	// whether show any of on config page
	ShowAnyOf bool `json:"showAnyOf"`

	// predicate value type
	// Enum: [List Number String]
	ValueType string `json:"valueType,omitempty"`
}

AvailablePredicate available predicate object

swagger:model AvailablePredicate

func (*AvailablePredicate) MarshalBinary ¶ added in v0.39.0

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

MarshalBinary interface implementation

func (*AvailablePredicate) UnmarshalBinary ¶ added in v0.39.0

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

UnmarshalBinary interface implementation

func (*AvailablePredicate) Validate ¶ added in v0.39.0

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

Validate validates this available predicate

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: [DEMO DLC GAME SOFTWARE]
	AppType string `json:"appType,omitempty"`

	// Base app id
	BaseAppID string `json:"baseAppId,omitempty"`

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

	// Entitlement type
	// Required: true
	// Enum: [CONSUMABLE DURABLE]
	EntitlementType *string `json:"entitlementType"`

	// Features
	// Unique: true
	Features []string `json:"features"`

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

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

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

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

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

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

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

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

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

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

BasicItem basic item

swagger:model BasicItem

func (*BasicItem) MarshalBinary ¶

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: [ADYEN ALIPAY CHECKOUT PAYPAL STRIPE WALLET WXPAY XSOLLA]
	PaymentProvider string `json:"paymentProvider,omitempty"`
}

BillingAccount billing account

swagger:model BillingAccount

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

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

MarshalBinary interface implementation

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

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

UnmarshalBinary interface implementation

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: [CHARGED CHARGE_FAILED INIT REFUNDED REFUND_FAILED]
	Status *string `json:"status"`

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

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

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

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

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

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

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

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

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

BillingHistoryInfo billing history info

swagger:model BillingHistoryInfo

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

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

MarshalBinary interface implementation

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

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

UnmarshalBinary interface implementation

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 BoxItem ¶ added in v0.32.0

type BoxItem struct {

	// count
	Count int32 `json:"count,omitempty"`

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

	// item sku
	ItemSku string `json:"itemSku,omitempty"`

	// item type
	ItemType string `json:"itemType,omitempty"`
}

BoxItem box item

swagger:model BoxItem

func (*BoxItem) MarshalBinary ¶ added in v0.32.0

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

MarshalBinary interface implementation

func (*BoxItem) UnmarshalBinary ¶ added in v0.32.0

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

UnmarshalBinary interface implementation

func (*BoxItem) Validate ¶ added in v0.32.0

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

Validate validates this box item

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: [DEMO DLC GAME SOFTWARE]
	AppType string `json:"appType,omitempty"`

	// Base app id
	BaseAppID string `json:"baseAppId,omitempty"`

	// booth name to get tickets while it's item type is CODE
	BoothName string `json:"boothName,omitempty"`

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

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

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

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

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

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

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

	// Entitlement type
	// Required: true
	// Enum: [CONSUMABLE DURABLE]
	EntitlementType *string `json:"entitlementType"`

	// customized item properties
	Ext map[string]interface{} `json:"ext,omitempty"`

	// Features
	// Unique: true
	Features []string `json:"features"`

	// fresh
	Fresh bool `json:"fresh"`

	// images
	Images []*Image `json:"images"`

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

	// itemIds, should be empty if item type is not "BUNDLE"
	ItemIds []string `json:"itemIds"`

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

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

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

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

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

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

	// loot box config
	LootBoxConfig *LootBoxConfig `json:"lootBoxConfig,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"`

	// option box config
	OptionBoxConfig *OptionBoxConfig `json:"optionBoxConfig,omitempty"`

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

	// purchase condition
	PurchaseCondition *PurchaseCondition `json:"purchaseCondition,omitempty"`

	// 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 DELETE UPDATE]
	Action *string `json:"action"`

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

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

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

	// a description if this change is not directly caused by user action. eg: bundle item
	Description string `json:"description,omitempty"`

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

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

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

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

	// section id, only exists when change type is section
	SectionID string `json:"sectionId,omitempty"`

	// if it is selected for partial publish
	// Required: true
	Selected *bool `json:"selected"`

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

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

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

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

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

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

	// view id, only exists when change type is view
	ViewID string `json:"viewId,omitempty"`
}

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 CatalogChangeStatistics ¶ added in v0.22.0

type CatalogChangeStatistics struct {

	// all change count
	// Required: true
	Count *int64 `json:"count"`

	// selected change count
	// Required: true
	SelectedCount *int64 `json:"selectedCount"`
}

CatalogChangeStatistics catalog change statistics

swagger:model CatalogChangeStatistics

func (*CatalogChangeStatistics) MarshalBinary ¶ added in v0.22.0

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

MarshalBinary interface implementation

func (*CatalogChangeStatistics) UnmarshalBinary ¶ added in v0.22.0

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

UnmarshalBinary interface implementation

func (*CatalogChangeStatistics) Validate ¶ added in v0.22.0

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

Validate validates this catalog change statistics

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 ClientRequestParameter ¶ added in v0.30.0

type ClientRequestParameter struct {

	// currency code
	CurrencyCode string `json:"currencyCode,omitempty"`

	// language
	Language string `json:"language,omitempty"`

	// price
	Price float64 `json:"price,omitempty"`

	// region
	Region string `json:"region,omitempty"`
}

ClientRequestParameter client request parameter

swagger:model ClientRequestParameter

func (*ClientRequestParameter) MarshalBinary ¶ added in v0.30.0

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

MarshalBinary interface implementation

func (*ClientRequestParameter) UnmarshalBinary ¶ added in v0.30.0

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

UnmarshalBinary interface implementation

func (*ClientRequestParameter) Validate ¶ added in v0.30.0

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

Validate validates this client request parameter

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 ConditionGroup ¶ added in v0.24.0

type ConditionGroup struct {

	// predicate operator, default is and
	// Enum: [and or]
	Operator string `json:"operator,omitempty"`

	// predicate list
	Predicates []*Predicate `json:"predicates"`
}

ConditionGroup condition group

swagger:model ConditionGroup

func (*ConditionGroup) MarshalBinary ¶ added in v0.24.0

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

MarshalBinary interface implementation

func (*ConditionGroup) UnmarshalBinary ¶ added in v0.24.0

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

UnmarshalBinary interface implementation

func (*ConditionGroup) Validate ¶ added in v0.24.0

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

Validate validates this condition group

type ConditionGroupValidateResult ¶ added in v0.24.0

type ConditionGroupValidateResult struct {

	// predicate validate details, list of predicate validate results
	PredicateValidateResults []*PredicateValidateResult `json:"predicateValidateResults"`
}

ConditionGroupValidateResult condition group validate result

swagger:model ConditionGroupValidateResult

func (*ConditionGroupValidateResult) MarshalBinary ¶ added in v0.24.0

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

MarshalBinary interface implementation

func (*ConditionGroupValidateResult) UnmarshalBinary ¶ added in v0.24.0

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

UnmarshalBinary interface implementation

func (*ConditionGroupValidateResult) Validate ¶ added in v0.24.0

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

Validate validates this condition group validate 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 ConsumeItem ¶ added in v0.30.0

type ConsumeItem struct {

	// ext item Id
	ExtItemID string `json:"extItemId,omitempty"`

	// item identity
	ItemIdentity string `json:"itemIdentity,omitempty"`

	// item identity type
	// Enum: [ITEM_ID ITEM_SKU]
	ItemIdentityType string `json:"itemIdentityType,omitempty"`
}

ConsumeItem consume item

swagger:model ConsumeItem

func (*ConsumeItem) MarshalBinary ¶ added in v0.30.0

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

MarshalBinary interface implementation

func (*ConsumeItem) UnmarshalBinary ¶ added in v0.30.0

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

UnmarshalBinary interface implementation

func (*ConsumeItem) Validate ¶ added in v0.30.0

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

Validate validates this consume item

type CreditRequest ¶

type CreditRequest struct {

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

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

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

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

	// source, purchase for default
	// Enum: [ACHIEVEMENT DLC GIFT IAP OTHER PROMOTION PURCHASE REDEEM_CODE REFERRAL_BONUS REFUND REWARD]
	Source string `json:"source,omitempty"`
}

CreditRequest A DTO for wallet's credit

swagger:model CreditRequest

func (*CreditRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*CreditRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*CreditRequest) Validate ¶

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

Validate validates this credit request

type CreditRevocation ¶ added in v0.38.0

type CreditRevocation struct {

	// amount
	Amount int64 `json:"amount,omitempty"`

	// balance origin
	BalanceOrigin string `json:"balanceOrigin,omitempty"`

	// currency code
	CurrencyCode string `json:"currencyCode,omitempty"`

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

	// revocation strategy
	RevocationStrategy string `json:"revocationStrategy,omitempty"`

	// skipped
	Skipped bool `json:"skipped"`

	// status
	// Enum: [FAIL SUCCESS]
	Status string `json:"status,omitempty"`

	// wallet Id
	WalletID string `json:"walletId,omitempty"`
}

CreditRevocation credit revocation

swagger:model CreditRevocation

func (*CreditRevocation) MarshalBinary ¶ added in v0.38.0

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

MarshalBinary interface implementation

func (*CreditRevocation) UnmarshalBinary ¶ added in v0.38.0

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

UnmarshalBinary interface implementation

func (*CreditRevocation) Validate ¶ added in v0.38.0

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

Validate validates this credit revocation

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 DLC 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 DLC item

type DLCItemConfigInfo ¶ added in v0.10.0

type DLCItemConfigInfo struct {

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

DLCItemConfigInfo DLC 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 DLC item config info

type DLCItemConfigUpdate ¶ added in v0.10.0

type DLCItemConfigUpdate struct {

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

DLCItemConfigUpdate DLC 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 DLC item config update

type DLCRecord ¶ added in v0.33.0

type DLCRecord struct {

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

	// obtained at
	// Format: date-time
	ObtainedAt *strfmt.DateTime `json:"obtainedAt,omitempty"`

	// revocation result
	RevocationResult *RevocationResult `json:"revocationResult,omitempty"`

	// revoke results
	RevokeResults []*RevokeResult `json:"revokeResults"`

	// revoked at
	// Format: date-time
	RevokedAt *strfmt.DateTime `json:"revokedAt,omitempty"`

	// rewards
	Rewards []*PlatformReward `json:"rewards"`

	// sources
	// Unique: true
	Sources []string `json:"sources"`

	// status
	// Enum: [FULFILLED REVOKED REVOKE_FAILED]
	Status string `json:"status,omitempty"`

	// transaction Id
	TransactionID string `json:"transactionId,omitempty"`

	// version
	Version int32 `json:"version,omitempty"`
}

DLCRecord DLC record

swagger:model DLCRecord

func (*DLCRecord) MarshalBinary ¶ added in v0.33.0

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

MarshalBinary interface implementation

func (*DLCRecord) UnmarshalBinary ¶ added in v0.33.0

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

UnmarshalBinary interface implementation

func (*DLCRecord) Validate ¶ added in v0.33.0

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

Validate validates this DLC record

type DebitByCurrencyCodeRequest ¶ added in v0.38.0

type DebitByCurrencyCodeRequest struct {

	// allow to debit wallet balance to negative value
	AllowOverdraft bool `json:"allowOverdraft"`

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

	// balance origin
	// Enum: [Epic GooglePlay IOS Nintendo Other Playstation Steam System Twitch Xbox]
	BalanceOrigin string `json:"balanceOrigin,omitempty"`

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

DebitByCurrencyCodeRequest A DTO for wallet's debit

swagger:model DebitByCurrencyCodeRequest

func (*DebitByCurrencyCodeRequest) MarshalBinary ¶ added in v0.38.0

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

MarshalBinary interface implementation

func (*DebitByCurrencyCodeRequest) UnmarshalBinary ¶ added in v0.38.0

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

UnmarshalBinary interface implementation

func (*DebitByCurrencyCodeRequest) Validate ¶ added in v0.38.0

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

Validate validates this debit by currency code request

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 DeleteRewardConditionRequest ¶ added in v0.25.0

type DeleteRewardConditionRequest struct {

	// condition name
	ConditionName string `json:"conditionName,omitempty"`

	// user Id
	UserID string `json:"userId,omitempty"`
}

DeleteRewardConditionRequest delete reward condition request

swagger:model DeleteRewardConditionRequest

func (*DeleteRewardConditionRequest) MarshalBinary ¶ added in v0.25.0

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

MarshalBinary interface implementation

func (*DeleteRewardConditionRequest) UnmarshalBinary ¶ added in v0.25.0

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

UnmarshalBinary interface implementation

func (*DeleteRewardConditionRequest) Validate ¶ added in v0.25.0

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

Validate validates this delete reward condition 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 DEBIT PAYMENT]
	WalletAction *string `json:"walletAction"`

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

DetailedWalletTransactionInfo detailed wallet transaction info

swagger:model DetailedWalletTransactionInfo

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

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

MarshalBinary interface implementation

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

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

UnmarshalBinary interface implementation

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 DurableEntitlementRevocationConfig ¶ added in v0.38.0

type DurableEntitlementRevocationConfig struct {

	// will do revocation if enabled, otherwise will skip do revocation.
	Enabled bool `json:"enabled"`

	// durable entitlement revocation strategy
	// Enum: [REVOKE_OR_REPORT]
	Strategy string `json:"strategy,omitempty"`
}

DurableEntitlementRevocationConfig durable entitlement revocation config

swagger:model DurableEntitlementRevocationConfig

func (*DurableEntitlementRevocationConfig) MarshalBinary ¶ added in v0.38.0

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

MarshalBinary interface implementation

func (*DurableEntitlementRevocationConfig) UnmarshalBinary ¶ added in v0.38.0

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

UnmarshalBinary interface implementation

func (*DurableEntitlementRevocationConfig) Validate ¶ added in v0.38.0

Validate validates this durable entitlement revocation config

type EntitlementDecrement ¶

type EntitlementDecrement struct {

	// options, it is only available when entitlement clazz is OPTIONBOX and value should be item id.
	Options []string `json:"options"`

	// Request id(Optional), client should provide a unique request id to perform at most once execution, When a request id is resubmitted, it will return original successful response
	RequestID string `json:"requestId,omitempty"`

	// the count to decrease, 1 for default, option box entitlement only allow 1
	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 EntitlementDecrementResult ¶ added in v0.32.0

type EntitlementDecrementResult struct {

	// appId if entitlement is an app
	AppID string `json:"appId,omitempty"`

	// appType if entitlement is an app
	// Enum: [DEMO DLC GAME SOFTWARE]
	AppType string `json:"appType,omitempty"`

	// entitlement class
	// Required: true
	// Enum: [APP CODE ENTITLEMENT LOOTBOX MEDIA OPTIONBOX SUBSCRIPTION]
	Clazz *string `json:"clazz"`

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

	// entitlement end date
	// Format: date-time
	EndDate *strfmt.DateTime `json:"endDate,omitempty"`

	// entitlement features
	// Unique: true
	Features []string `json:"features"`

	// entitlement granted at
	// Required: true
	// Format: date-time
	GrantedAt strfmt.DateTime `json:"grantedAt"`

	// grantedCode, the granted code
	GrantedCode string `json:"grantedCode,omitempty"`

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

	// itemId of the entitlement
	// Required: true
	ItemID *string `json:"itemId"`

	// itemNamespace for the purchased item
	// Required: true
	ItemNamespace *string `json:"itemNamespace"`

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

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

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

	// replayed, if true,the response is original successful response. This will not be included in response if client have not pass request id.
	Replayed bool `json:"replayed"`

	// request id
	RequestID string `json:"requestId,omitempty"`

	// loot reward, only return when consume a loot box entitlement
	Rewards []*EntitlementLootBoxReward `json:"rewards"`

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

	// entitlement source
	// Required: true
	// Enum: [ACHIEVEMENT GIFT IAP OTHER PROMOTION PURCHASE REDEEM_CODE REFERRAL_BONUS REWARD]
	Source *string `json:"source"`

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

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

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

	// storeId of the item, published store if omitted
	StoreID string `json:"storeId,omitempty"`

	// entitlement type
	// Required: true
	// Enum: [CONSUMABLE DURABLE]
	Type *string `json:"type"`

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

	// useCount for entitlement
	UseCount int32 `json:"useCount,omitempty"`

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

EntitlementDecrementResult entitlement decrement result

swagger:model EntitlementDecrementResult

func (*EntitlementDecrementResult) MarshalBinary ¶ added in v0.32.0

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

MarshalBinary interface implementation

func (*EntitlementDecrementResult) UnmarshalBinary ¶ added in v0.32.0

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

UnmarshalBinary interface implementation

func (*EntitlementDecrementResult) Validate ¶ added in v0.32.0

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

Validate validates this entitlement decrement result

type EntitlementGrant ¶

type EntitlementGrant struct {

	// entitlement end date time
	// Format: date-time
	EndDate *strfmt.DateTime `json:"endDate,omitempty"`

	// grantedCode, the granted code
	GrantedCode string `json:"grantedCode,omitempty"`

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

	// itemNamespace
	// Required: true
	ItemNamespace *string `json:"itemNamespace"`

	// language value from language tag, allowed format: en, en-US.<p>Supported language tag : [RFC5646](https://gist.github.com/msikma/8912e62ed866778ff8cd) and [IETF](https://datahub.io/core/language-codes#resource-ietf-language-tags)</p>
	// Pattern: ^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$
	Language string `json:"language,omitempty"`

	// quantity
	// Required: true
	Quantity *int32 `json:"quantity"`

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

	// source
	// Enum: [ACHIEVEMENT GIFT IAP OTHER PROMOTION PURCHASE REDEEM_CODE REFERRAL_BONUS REWARD]
	Source string `json:"source,omitempty"`

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

	// storeId
	StoreID string `json:"storeId,omitempty"`
}

EntitlementGrant A DTO object for granting entitlement API call.

swagger:model EntitlementGrant

func (*EntitlementGrant) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*EntitlementGrant) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

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: [DECREMENT DISABLE ENABLE GRANT REVOKE UPDATE]
	Action *string `json:"action"`

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

	// The id of entitlement
	// Required: true
	EntitlementID *string `json:"entitlementId"`

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

	// The operator
	// Required: true
	Operator *string `json:"operator"`

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

	// The use count of a consumable entitlement.
	UseCount int32 `json:"useCount,omitempty"`

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

EntitlementHistoryInfo entitlement history info

swagger:model EntitlementHistoryInfo

func (*EntitlementHistoryInfo) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*EntitlementHistoryInfo) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

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: [DEMO DLC GAME SOFTWARE]
	AppType string `json:"appType,omitempty"`

	// entitlement class
	// Required: true
	// Enum: [APP CODE ENTITLEMENT LOOTBOX MEDIA OPTIONBOX SUBSCRIPTION]
	Clazz *string `json:"clazz"`

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

	// entitlement end date
	// Format: date-time
	EndDate *strfmt.DateTime `json:"endDate,omitempty"`

	// entitlement features
	// Unique: true
	Features []string `json:"features"`

	// entitlement granted at
	// Required: true
	// Format: date-time
	GrantedAt strfmt.DateTime `json:"grantedAt"`

	// grantedCode, the granted code
	GrantedCode string `json:"grantedCode,omitempty"`

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

	// itemId of the entitlement
	// Required: true
	ItemID *string `json:"itemId"`

	// itemNamespace for the purchased item
	// Required: true
	ItemNamespace *string `json:"itemNamespace"`

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

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

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

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

	// entitlement source
	// Required: true
	// Enum: [ACHIEVEMENT GIFT IAP OTHER PROMOTION PURCHASE REDEEM_CODE REFERRAL_BONUS REWARD]
	Source *string `json:"source"`

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

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

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

	// storeId of the item, published store if omitted
	StoreID string `json:"storeId,omitempty"`

	// entitlement type
	// Required: true
	// Enum: [CONSUMABLE DURABLE]
	Type *string `json:"type"`

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

	// useCount for entitlement
	UseCount int32 `json:"useCount,omitempty"`

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

EntitlementInfo entitlement info

swagger:model EntitlementInfo

func (*EntitlementInfo) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*EntitlementInfo) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*EntitlementInfo) Validate ¶

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

Validate validates this entitlement info

type EntitlementLootBoxReward ¶ added in v0.32.0

type EntitlementLootBoxReward struct {

	// count
	Count int32 `json:"count,omitempty"`

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

	// item sku
	ItemSku string `json:"itemSku,omitempty"`
}

EntitlementLootBoxReward entitlement loot box reward

swagger:model EntitlementLootBoxReward

func (*EntitlementLootBoxReward) MarshalBinary ¶ added in v0.32.0

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

MarshalBinary interface implementation

func (*EntitlementLootBoxReward) UnmarshalBinary ¶ added in v0.32.0

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

UnmarshalBinary interface implementation

func (*EntitlementLootBoxReward) Validate ¶ added in v0.32.0

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

Validate validates this entitlement loot box reward

type EntitlementOwnership ¶ added in v0.24.0

type EntitlementOwnership struct {

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

	// ownership
	// Required: true
	Owned *bool `json:"owned"`
}

EntitlementOwnership entitlement ownership

swagger:model EntitlementOwnership

func (*EntitlementOwnership) MarshalBinary ¶ added in v0.24.0

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

MarshalBinary interface implementation

func (*EntitlementOwnership) UnmarshalBinary ¶ added in v0.24.0

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

UnmarshalBinary interface implementation

func (*EntitlementOwnership) Validate ¶ added in v0.24.0

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

Validate validates this entitlement ownership

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 EntitlementRevocation ¶ added in v0.38.0

type EntitlementRevocation struct {

	// entitlement Id
	EntitlementID string `json:"entitlementId,omitempty"`

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

	// item sku
	ItemSku string `json:"itemSku,omitempty"`

	// quantity
	Quantity int64 `json:"quantity,omitempty"`

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

	// revocation strategy
	RevocationStrategy string `json:"revocationStrategy,omitempty"`

	// skipped
	Skipped bool `json:"skipped"`

	// status
	// Enum: [FAIL SUCCESS]
	Status string `json:"status,omitempty"`
}

EntitlementRevocation entitlement revocation

swagger:model EntitlementRevocation

func (*EntitlementRevocation) MarshalBinary ¶ added in v0.38.0

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

MarshalBinary interface implementation

func (*EntitlementRevocation) UnmarshalBinary ¶ added in v0.38.0

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

UnmarshalBinary interface implementation

func (*EntitlementRevocation) Validate ¶ added in v0.38.0

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

Validate validates this entitlement revocation

type EntitlementRevocationConfig ¶ added in v0.38.0

type EntitlementRevocationConfig struct {

	// durable entitlement revocation config
	Durable *DurableEntitlementRevocationConfig `json:"durable,omitempty"`
}

EntitlementRevocationConfig entitlement revocation config

swagger:model EntitlementRevocationConfig

func (*EntitlementRevocationConfig) MarshalBinary ¶ added in v0.38.0

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

MarshalBinary interface implementation

func (*EntitlementRevocationConfig) UnmarshalBinary ¶ added in v0.38.0

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

UnmarshalBinary interface implementation

func (*EntitlementRevocationConfig) Validate ¶ added in v0.38.0

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

Validate validates this entitlement revocation config

type EntitlementSummary ¶

type EntitlementSummary struct {

	// entitlement class
	// Required: true
	// Enum: [APP CODE ENTITLEMENT LOOTBOX MEDIA OPTIONBOX SUBSCRIPTION]
	Clazz *string `json:"clazz"`

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

	// end date time
	// Format: date-time
	EndDate *strfmt.DateTime `json:"endDate,omitempty"`

	// granted code
	GrantedCode string `json:"grantedCode,omitempty"`

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

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

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

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

	// CONSUMABLE entitlement stacked use count
	StackedUseCount int32 `json:"stackedUseCount,omitempty"`

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

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

	// entitlement type
	// Required: true
	// Enum: [CONSUMABLE DURABLE]
	Type *string `json:"type"`

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

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

EntitlementSummary entitlement summary

swagger:model EntitlementSummary

func (*EntitlementSummary) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*EntitlementSummary) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

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 CONSUMED INACTIVE REVOKED]
	Status string `json:"status,omitempty"`

	// useCount of a consumable entitlement
	UseCount int32 `json:"useCount,omitempty"`
}

EntitlementUpdate A DTO object for updating entitlement API call. Leave the field empty if don't want to update.

swagger:model EntitlementUpdate

func (*EntitlementUpdate) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*EntitlementUpdate) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

func (*EntitlementUpdate) Validate ¶

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

Validate validates this entitlement update

type EpicGamesDLCSyncRequest ¶ added in v0.23.0

type EpicGamesDLCSyncRequest struct {

	// epicGamesJwtToken
	EpicGamesJwtToken string `json:"epicGamesJwtToken,omitempty"`
}

EpicGamesDLCSyncRequest epic games DLC sync request

swagger:model EpicGamesDLCSyncRequest

func (*EpicGamesDLCSyncRequest) MarshalBinary ¶ added in v0.23.0

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

MarshalBinary interface implementation

func (*EpicGamesDLCSyncRequest) UnmarshalBinary ¶ added in v0.23.0

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

UnmarshalBinary interface implementation

func (*EpicGamesDLCSyncRequest) Validate ¶ added in v0.23.0

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

Validate validates this epic games DLC sync request

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 IAP 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 IAP config info

type EpicGamesIAPConfigRequest ¶

type EpicGamesIAPConfigRequest struct {

	// sandboxId
	// Required: true
	SandboxID *string `json:"sandboxId"`
}

EpicGamesIAPConfigRequest epic games IAP 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 IAP 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: [FAILED FULFILLED VERIFIED]
	Status string `json:"status,omitempty"`

	// transaction Id
	TransactionID string `json:"transactionId,omitempty"`
}

EpicGamesReconcileResult epic games reconcile result

swagger:model EpicGamesReconcileResult

func (*EpicGamesReconcileResult) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*EpicGamesReconcileResult) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

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 ExportStoreRequest ¶ added in v0.29.0

type ExportStoreRequest struct {

	// item ids
	ItemIds []string `json:"itemIds"`
}

ExportStoreRequest export store request

swagger:model ExportStoreRequest

func (*ExportStoreRequest) MarshalBinary ¶ added in v0.29.0

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

MarshalBinary interface implementation

func (*ExportStoreRequest) UnmarshalBinary ¶ added in v0.29.0

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

UnmarshalBinary interface implementation

func (*ExportStoreRequest) Validate ¶ added in v0.29.0

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

Validate validates this export store request

type ExtensionFulfillmentSummary ¶ added in v0.26.0

type ExtensionFulfillmentSummary struct {

	// grantedAt
	// Format: date-time
	GrantedAt *strfmt.DateTime `json:"grantedAt,omitempty"`

	// customized item sub type
	ItemClazz string `json:"itemClazz,omitempty"`

	// customized item properties
	ItemExt map[string]interface{} `json:"itemExt,omitempty"`

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

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

	// customized external fulfillment results
	Metadata map[string]interface{} `json:"metadata,omitempty"`

	// namespace
	Namespace string `json:"namespace,omitempty"`

	// quantity
	// Required: true
	Quantity *int32 `json:"quantity"`

	// userId
	UserID string `json:"userId,omitempty"`
}

ExtensionFulfillmentSummary extension fulfillment summary

swagger:model ExtensionFulfillmentSummary

func (*ExtensionFulfillmentSummary) MarshalBinary ¶ added in v0.26.0

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

MarshalBinary interface implementation

func (*ExtensionFulfillmentSummary) UnmarshalBinary ¶ added in v0.26.0

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

UnmarshalBinary interface implementation

func (*ExtensionFulfillmentSummary) Validate ¶ added in v0.26.0

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

Validate validates this extension fulfillment summary

type ExternalPaymentOrderCreate ¶

type ExternalPaymentOrderCreate struct {

	// currency code, default is USD
	CurrencyCode string `json:"currencyCode,omitempty"`

	// currency namespace, default is publisher namespace
	CurrencyNamespace string `json:"currencyNamespace,omitempty"`

	// custom parameters
	CustomParameters map[string]interface{} `json:"customParameters,omitempty"`

	// Order desc, max length 2000
	// Required: true
	Description *string `json:"description"`

	// External order id
	// Required: true
	ExtOrderNo *string `json:"extOrderNo"`

	// optional, external user id, can be the character id
	ExtUserID string `json:"extUserId,omitempty"`

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

	// language value from language tag, allowed format: en, en-US.<p>Supported language tag : [RFC5646](https://gist.github.com/msikma/8912e62ed866778ff8cd) and [IETF](https://datahub.io/core/language-codes#resource-ietf-language-tags)</p>
	// Pattern: ^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$
	Language string `json:"language,omitempty"`

	// metadata
	Metadata map[string]string `json:"metadata,omitempty"`

	// custom notify url for real payment, send notification to this url once payment action is finished
	NotifyURL string `json:"notifyUrl,omitempty"`

	// TEST PURPOSE, if set it will not send async notification to the API invoker, only can set true while this payment is sandbox
	OmitNotification bool `json:"omitNotification"`

	// platform
	Platform string `json:"platform,omitempty"`

	// Price of order
	// Required: true
	Price *int32 `json:"price"`

	// recurring payment order which has recurring token, will do recurring payment if present, otherwise start normal payment flow
	RecurringPaymentOrderNo string `json:"recurringPaymentOrderNo,omitempty"`

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

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

	// TEST PURPOSE, sandbox(Active in real currency mode), default is false
	Sandbox bool `json:"sandbox"`

	// optional, unique identity for the item
	Sku string `json:"sku,omitempty"`

	// subscriptionId, payment token will be saved for recurring payment
	SubscriptionID string `json:"subscriptionId,omitempty"`

	// The game namespace
	// Required: true
	TargetNamespace *string `json:"targetNamespace"`

	// The user id in game namespace
	// Required: true
	TargetUserID *string `json:"targetUserId"`

	// Order title
	// Required: true
	Title *string `json:"title"`
}

ExternalPaymentOrderCreate external payment order create

swagger:model ExternalPaymentOrderCreate

func (*ExternalPaymentOrderCreate) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*ExternalPaymentOrderCreate) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

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 FixedPeriodRotationConfig ¶ added in v0.35.0

type FixedPeriodRotationConfig struct {

	// backfill type: NONE/CUSTOM, default is NONE
	// Enum: [CUSTOM NONE]
	BackfillType string `json:"backfillType,omitempty"`

	// duration: rotation duration, unit is minutes, min duration is 1
	Duration int32 `json:"duration,omitempty"`

	// returned item count, min is 1, default is 1
	ItemCount int32 `json:"itemCount,omitempty"`

	// rotation rule: SEQUENCE, default is SEQUENCE
	// Enum: [SEQUENCE]
	Rule string `json:"rule,omitempty"`
}

FixedPeriodRotationConfig fixed period rotation config

swagger:model FixedPeriodRotationConfig

func (*FixedPeriodRotationConfig) MarshalBinary ¶ added in v0.35.0

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

MarshalBinary interface implementation

func (*FixedPeriodRotationConfig) UnmarshalBinary ¶ added in v0.35.0

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

UnmarshalBinary interface implementation

func (*FixedPeriodRotationConfig) Validate ¶ added in v0.35.0

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

Validate validates this fixed period rotation config

type FulfillCodeRequest ¶

type FulfillCodeRequest struct {

	// campaign code
	// Required: true
	Code *string `json:"code"`

	// language value from language tag, allowed format: en, en-US.<p>Supported language tag : [RFC5646](https://gist.github.com/msikma/8912e62ed866778ff8cd) and [IETF](https://datahub.io/core/language-codes#resource-ietf-language-tags)</p>
	// Pattern: ^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$
	Language string `json:"language,omitempty"`

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

FulfillCodeRequest fulfill code request

swagger:model FulfillCodeRequest

func (*FulfillCodeRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*FulfillCodeRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

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

	// extension fulfillment granted
	ExtensionFulfillmentSummaries []*ExtensionFulfillmentSummary `json:"extensionFulfillmentSummaries"`

	// items should do fulfillment
	FulfillItems []*FulfillmentItem `json:"fulfillItems"`

	// fulfillment error detail
	FulfillmentError *FulfillmentError `json:"fulfillmentError,omitempty"`

	// item ids already granted
	GrantedItemIds []string `json:"grantedItemIds"`

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

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

	// orderNo
	OrderNo string `json:"orderNo,omitempty"`

	// fulfillment status
	// Required: true
	// Enum: [FAIL SUCCESS]
	Status *string `json:"status"`

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

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

FulfillmentHistoryInfo fulfillment history info

swagger:model FulfillmentHistoryInfo

func (*FulfillmentHistoryInfo) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*FulfillmentHistoryInfo) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

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 BUNDLE CODE COINS EXTENSION INGAMEITEM LOOTBOX MEDIA OPTIONBOX SEASON SUBSCRIPTION]
	ItemType string `json:"itemType,omitempty"`

	// quantity
	// Required: true
	Quantity *int32 `json:"quantity"`

	// draft store id, published store if omitted
	StoreID string `json:"storeId,omitempty"`
}

FulfillmentItem fulfillment item

swagger:model FulfillmentItem

func (*FulfillmentItem) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*FulfillmentItem) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

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: [Epic GooglePlay IOS Nintendo Other Playstation Steam System Twitch Xbox]
	Origin string `json:"origin,omitempty"`

	// quantity
	// Required: true
	Quantity *int32 `json:"quantity"`

	// region
	Region string `json:"region,omitempty"`

	// source
	// Enum: [ACHIEVEMENT DLC GIFT IAP OTHER PROMOTION PURCHASE REDEEM_CODE REFERRAL_BONUS REWARD]
	Source string `json:"source,omitempty"`

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

	// storeId
	StoreID string `json:"storeId,omitempty"`
}

FulfillmentRequest A DTO object for fulfillment request API call.

swagger:model FulfillmentRequest

func (*FulfillmentRequest) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*FulfillmentRequest) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

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: [ACHIEVEMENT DLC GIFT IAP OTHER PROMOTION PURCHASE REDEEM_CODE REFERRAL_BONUS REWARD]
	Source *string `json:"source"`
}

FulfillmentScriptContext fulfillment script context

swagger:model FulfillmentScriptContext

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

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

MarshalBinary interface implementation

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

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

UnmarshalBinary interface implementation

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 RPG Racing Simulation Sports Strategy]
	PrimaryGenre string `json:"primaryGenre,omitempty"`

	// publisher
	Publisher string `json:"publisher,omitempty"`

	// release date
	// Format: date-time
	ReleaseDate *strfmt.DateTime `json:"releaseDate,omitempty"`

	// website url
	WebsiteURL string `json:"websiteUrl,omitempty"`
}

FullAppInfo full app info

swagger:model FullAppInfo

func (*FullAppInfo) MarshalBinary ¶

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

MarshalBinary interface implementation

func (*FullAppInfo) UnmarshalBinary ¶

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

UnmarshalBinary interface implementation

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: [DEMO DLC GAME SOFTWARE]
	AppType string `json:"appType,omitempty"`

	// Base app id
	BaseAppID string `json:"baseAppId,omitempty"`

	// booth name to get tickets while it's item type is CODE
	BoothName string `json:"boothName,omitempty"`

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

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

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

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

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

	// Entitlement type
	// Required: true
	// Enum: [CONSUMABLE DURABLE]
	EntitlementType *string `json:"entitlementType"`

	// customized item properties
	Ext map[string]interface{} `json:"ext,omitempty"`

	// Features
	// Unique: true
	Features []string `json:"features"`

	// images
	Images []*Image `json:"images"`

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

	// Bundle item's item ids
	ItemIds []string `json:"itemIds"`

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

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

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

	// Item localizations
	// Required: true
	Localizations map[string]Localization `json:"localizations"`

	// loot box config
	LootBoxConfig *LootBoxConfig `json:"lootBoxConfig,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"`

	// option box config
	OptionBoxConfig *OptionBoxConfig `json:"optionBoxConfig,omitempty"`

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

	// purchase condition
	PurchaseCondition *PurchaseCondition `json:"purchaseCondition,omitempty"`

	// 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 FullSectionInfo ¶ added in v0.35.0

type FullSectionInfo struct {

	// active
	// Required: true
	Active *bool `json:"active"`

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

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

	// end date
	// Required: true
	// Format: date-time
	EndDate strfmt.DateTime `json:"endDate"`

	// section extension
	Ext map[string]interface{} `json:"ext,omitempty"`

	// fix period rotation config, don't allow null when rotation type is FIXED_PERIOD
	FixedPeriodRotationConfig *FixedPeriodRotationConfig `json:"fixedPeriodRotationConfig,omitempty"`

	// section item namings
	ItemNamings []*ItemNaming `json:"itemNamings"`

	// section items
	Items []*SectionItem `json:"items"`

	// Localization, key language, value localization content
	// Required: true
	Localizations map[string]Localization `json:"localizations"`

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

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

	// rotation type, default is NONE
	// Enum: [CUSTOM FIXED_PERIOD NONE]
	RotationType string `json:"rotationType,omitempty"`

	// id
	// Required: true
	SectionID *string `json:"sectionId"`

	// start date
	// Required: true
	// Format: date-time
	StartDate strfmt.DateTime `json:"startDate"`

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

	// view id
	// Required: true
	ViewID *string `json:"viewId"`

	// view name
	// Required: true
	ViewName *string `json:"viewName"`
}

FullSectionInfo full section info

swagger:model FullSectionInfo

func (*FullSectionInfo) MarshalBinary ¶ added in v0.35.0

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

MarshalBinary interface implementation

func (*FullSectionInfo) UnmarshalBinary ¶ added in v0.35.0

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

UnmarshalBinary interface implementation

func (*FullSectionInfo) Validate ¶ added in v0.35.0

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

Validate validates this full section info

type FullViewInfo ¶ added in v0.35.0

type FullViewInfo struct {

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

	// display order
	// Required: true
	DisplayOrder *int32 `json:"displayOrder"`

	// Localization, key language, value localization content
	// Required: true
	Localizations map[string]Localization `json:"localizations"`

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

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

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

	// view id
	// Required: true
	ViewID *string `json:"viewId"`
}

FullViewInfo full view info

swagger:model FullViewInfo

func (*FullViewInfo) MarshalBinary ¶ added in v0.35.0

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

MarshalBinary interface implementation

func (*FullViewInfo) UnmarshalBinary ¶ added in v0.35.0

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

UnmarshalBinary interface implementation

func (*FullViewInfo) Validate ¶ added in v0.35.0

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

Validate validates this full view info

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 IAP 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 IAP config info

type GoogleIAPConfigRequest ¶

type GoogleIAPConfigRequest struct {

	// applicationName
	// Required: true
	ApplicationName *string `json:"applicationName"`

	// serviceAccountId
	// Required: true
	ServiceAccountID *string `json:"serviceAccountId"`
}

GoogleIAPConfigRequest google IAP 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 IAP config request

type GoogleIAPReceipt ¶

type GoogleIAPReceipt struct {

	// If invoke Google play's Acknowledge after sync & fulfill item
	AutoAck bool `json:"autoAck"`

	// language value from language tag, allowed format: en, en-US.<p>Supported language tag : [RFC5646](https://gist.github.com/msikma/8912e62ed866778ff8cd) and [IETF](https://datahub.io/core/language-codes#resource-ietf-language-tags)</p>
	// Pattern: ^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$
	Language string `json:"language,omitempty"`

	// OrderId returned from google play
	// Required: true
	OrderID *string `json:"orderId"`

	// App package name
	// Required: true
	PackageName *string `json:"packageName"`

	// Product id (SKU)
	// Required: true
	ProductID *string `json:"productId"`

	// Purchase time returned from google play
	// Required: true
	PurchaseTime *int64 `json:"purchaseTime"`

	// Google play purchase token returned from google play
	// Required: true
	PurchaseToken *string `json:"purchaseToken"`

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

GoogleIAPReceipt google IAP 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 IAP 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 IAPConsumeHistoryInfo ¶ added in v0.30.0

type IAPConsumeHistoryInfo struct {

	// client request parameter
	ClientRequestParameter *ClientRequestParameter `json:"clientRequestParameter,omitempty"`

	// consume items
	ConsumeItems []*ConsumeItem `json:"consumeItems"`

	// iap type
	// Enum: [APPLE EPICGAMES GOOGLE PLAYSTATION STADIA STEAM TWITCH XBOX]
	IAPType string `json:"iapType,omitempty"`

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

	// namespace
	Namespace string `json:"namespace,omitempty"`

	// request body
	RequestBody interface{} `json:"requestBody,omitempty"`

	// request histories
	RequestHistories []*RequestHistory `json:"requestHistories"`

	// request Url
	RequestURL string `json:"requestUrl,omitempty"`

	// status
	// Enum: [FAIL PENDING SUCCESS]
	Status string `json:"status,omitempty"`

	// user Id
	UserID string `json:"userId,omitempty"`
}

IAPConsumeHistoryInfo IAP consume history info

swagger:model IAPConsumeHistoryInfo

func (*IAPConsumeHistoryInfo) MarshalBinary ¶ added in v0.30.0

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

MarshalBinary interface implementation

func (*IAPConsumeHistoryInfo) UnmarshalBinary ¶ added in v0.30.0

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

UnmarshalBinary interface implementation

func (*IAPConsumeHistoryInfo) Validate ¶ added in v0.30.0

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

Validate validates this IAP consume history info

type IAPConsumeHistoryPagingSlicedResult ¶ added in v0.30.0

type IAPConsumeHistoryPagingSlicedResult struct {

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

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

IAPConsumeHistoryPagingSlicedResult IAP consume history paging sliced result

swagger:model IAPConsumeHistoryPagingSlicedResult

func (*IAPConsumeHistoryPagingSlicedResult) MarshalBinary ¶ added in v0.30.0

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

MarshalBinary interface implementation

func (*IAPConsumeHistoryPagingSlicedResult) UnmarshalBinary ¶ added in v0.30.0

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

UnmarshalBinary interface implementation

func (*IAPConsumeHistoryPagingSlicedResult) Validate ¶ added in v0.30.0

Validate validates this IAP consume history paging sliced result

type IAPItemConfigInfo ¶ added in v0.10.0

type IAPItemConfigInfo struct {

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

IAPItemConfigInfo IAP 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 IAP item config info

type IAPItemConfigUpdate ¶ added in v0.10.0

type IAPItemConfigUpdate struct {

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

IAPItemConfigUpdate IAP 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 IAP 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 IAP 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 IAP 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: [FAILED FULFILLED VERIFIED]
	Status *string `json:"status"`

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

	// transaction id
	TransactionID string `json:"transactionId,omitempty"`

	// IAP type
	// Required: true
	// Enum: [APPLE EPICGAMES GOOGLE PLAYSTATION STADIA STEAM TWITCH XBOX]
	Type *string `json:"type"`

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

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

IAPOrderInfo IAP 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 IAP order info

type IAPOrderPagingSlicedResult ¶

type IAPOrderPagingSlicedResult struct {

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

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

IAPOrderPagingSlicedResult IAP 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 IAP 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 ImportErrorDetails ¶ added in v0.29.0

type ImportErrorDetails struct {

	// error code
	ErrorCode int32 `json:"errorCode,omitempty"`

	// error message
	ErrorMessage string `json:"errorMessage,omitempty"`

	// message variables
	MessageVariables map[string]string `json:"messageVariables,omitempty"`
}

ImportErrorDetails import error details

swagger:model ImportErrorDetails

func (*ImportErrorDetails) MarshalBinary ¶ added in v0.29.0

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

MarshalBinary interface implementation

func (*ImportErrorDetails) UnmarshalBinary ¶ added in v0.29.0

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

UnmarshalBinary interface implementation

func (*ImportErrorDetails) Validate ¶ added in v0.29.0

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

Validate validates this import error details

type ImportStoreError ¶ added in v0.29.0

type ImportStoreError struct {

	// errors
	Errors []*ImportErrorDetails `json:"errors"`

	// item info
	Item *ImportStoreItemInfo `json:"item,omitempty"`

	// type
	// Enum: [ITEM]
	Type string `json:"type,omitempty"`
}

ImportStoreError import store error

swagger:model ImportStoreError

func (*ImportStoreError) MarshalBinary ¶ added in v0.29.0

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

MarshalBinary interface implementation

func (*ImportStoreError) UnmarshalBinary ¶ added in v0.29.0

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

UnmarshalBinary interface implementation

func (*ImportStoreError) Validate ¶ added in v0.29.0

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

Validate validates this import store error

type ImportStoreItemInfo ¶ added in v0.29.0

type ImportStoreItemInfo struct {

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

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

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

	// Item localizations
	// Required: true
	Localizations map[string]Localization `json:"localizations"`

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

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

ImportStoreItemInfo import store item info

swagger:model ImportStoreItemInfo

func (*ImportStoreItemInfo) MarshalBinary ¶ added in v0.29.0

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

MarshalBinary interface implementation

func (*ImportStoreItemInfo) UnmarshalBinary ¶ added in v0.29.0

func (m *ImportStoreItemInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ImportStoreItemInfo) Validate ¶ added in v0.29.0

func (m *ImportStoreItemInfo) Validate(formats strfmt.Registry) error

Validate validates this import store item info

type ImportStoreResult ¶ added in v0.29.0

type ImportStoreResult struct {

	// errors
	Errors []*ImportStoreError `json:"errors"`

	// store info
	StoreInfo *StoreInfo `json:"storeInfo,omitempty"`

	// import result
	Success bool `json:"success"`
}

ImportStoreResult import store result

swagger:model ImportStoreResult

func (*ImportStoreResult) MarshalBinary ¶ added in v0.29.0

func (m *ImportStoreResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ImportStoreResult) UnmarshalBinary ¶ added in v0.29.0

func (m *ImportStoreResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ImportStoreResult) Validate ¶ added in v0.29.0

func (m *ImportStoreResult) Validate(formats strfmt.Registry) error

Validate validates this import store result

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 InvoiceCurrencySummary ¶ added in v0.27.0

type InvoiceCurrencySummary struct {

	// currency
	// Required: true
	Currency *CurrencySummary `json:"currency"`

	// sales volume
	// Required: true
	SalesVolume *int64 `json:"salesVolume"`

	// subtotal price
	// Required: true
	SubtotalPrice *int64 `json:"subtotalPrice"`

	// total price
	// Required: true
	TotalPrice *int64 `json:"totalPrice"`

	// total tax
	// Required: true
	TotalTax *int64 `json:"totalTax"`
}

InvoiceCurrencySummary invoice currency summary

swagger:model InvoiceCurrencySummary

func (*InvoiceCurrencySummary) MarshalBinary ¶ added in v0.27.0

func (m *InvoiceCurrencySummary) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InvoiceCurrencySummary) UnmarshalBinary ¶ added in v0.27.0

func (m *InvoiceCurrencySummary) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InvoiceCurrencySummary) Validate ¶ added in v0.27.0

func (m *InvoiceCurrencySummary) Validate(formats strfmt.Registry) error

Validate validates this invoice currency summary

type InvoiceSummary ¶ added in v0.27.0

type InvoiceSummary struct {

	// invoice currency summary
	// Required: true
	InvoiceCurrencySummary []*InvoiceCurrencySummary `json:"invoiceCurrencySummary"`

	// total sales volume
	// Required: true
	TotalSalesVolume *int64 `json:"totalSalesVolume"`
}

InvoiceSummary invoice summary

swagger:model InvoiceSummary

func (*InvoiceSummary) MarshalBinary ¶ added in v0.27.0

func (m *InvoiceSummary) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*InvoiceSummary) UnmarshalBinary ¶ added in v0.27.0

func (m *InvoiceSummary) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*InvoiceSummary) Validate ¶ added in v0.27.0

func (m *InvoiceSummary) Validate(formats strfmt.Registry) error

Validate validates this invoice summary

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: [DEMO DLC GAME SOFTWARE]
	AppType string `json:"appType,omitempty"`

	// baseAppId, can set value of game appId if want to link to a game
	BaseAppID string `json:"baseAppId,omitempty"`

	// booth name to get tickets while ItemType is CODE, Campaign or KeyGroup should located in targetNamespace if targetNamespace not null
	BoothName string `json:"boothName,omitempty"`

	// Category Path, A path separated by "/", will not show in store if it set to blank, max length is 255
	// Required: true
	CategoryPath *string `json:"categoryPath"`

	// customized item clazz
	Clazz string `json:"clazz,omitempty"`

	// display order
	DisplayOrder int32 `json:"displayOrder,omitempty"`

	// Entitlement Type
	// Required: true
	// Enum: [CONSUMABLE DURABLE]
	EntitlementType *string `json:"entitlementType"`

	// customized item properties
	Ext map[string]interface{} `json:"ext,omitempty"`

	// Features, allowed characters from a-zA-Z0-9_:- and start/end in alphanumeric with length range from 1 to 127
	// Unique: true
	Features []string `json:"features"`

	// images
	Images []*Image `json:"images"`

	// itemIds, should be empty if item type is not "BUNDLE"
	ItemIds []string `json:"itemIds"`

	// itemQty, the quantity of item in itemIds, default 1, should be empty if item type is not "BUNDLE"
	ItemQty map[string]int32 `json:"itemQty,omitempty"`

	// Item Type
	// Required: true
	// Enum: [APP BUNDLE CODE COINS EXTENSION INGAMEITEM LOOTBOX MEDIA OPTIONBOX SEASON SUBSCRIPTION]
	ItemType *string `json:"itemType"`

	// Whether can be visible in Store for public user
	Listable bool `json:"listable"`

	// Localization, key language, value localization content
	// Required: true
	Localizations map[string]Localization `json:"localizations"`

	// loot box config, should be empty if item type is not "LOOTBOX"
	LootBoxConfig *LootBoxConfig `json:"lootBoxConfig,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, max length is 127
	// Required: true
	Name *string `json:"name"`

	// option box config, should be empty if item type is not "OPTIONBOX"
	OptionBoxConfig *OptionBoxConfig `json:"optionBoxConfig,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
	// 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"`

	// status
	// Enum: [ACTIVE INACTIVE]
	Status string `json:"status,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: [DEMO DLC GAME SOFTWARE]
	AppType string `json:"appType,omitempty"`

	// Base app id
	BaseAppID string `json:"baseAppId,omitempty"`

	// booth name to get tickets while it's item type is CODE
	BoothName string `json:"boothName,omitempty"`

	// the items which this item being bounded to
	// Unique: true
	BoundItemIds []string `json:"boundItemIds"`

	// Item category path
	// Required: true
	CategoryPath *string `json:"categoryPath"`

	// customized item clazz
	Clazz string `json:"clazz,omitempty"`

	// created at
	// Required: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt"`

	// description info
	Description string `json:"description,omitempty"`

	// display order
	DisplayOrder int32 `json:"displayOrder,omitempty"`

	// Entitlement type
	// Required: true
	// Enum: [CONSUMABLE DURABLE]
	EntitlementType *string `json:"entitlementType"`

	// customized item properties
	Ext map[string]interface{} `json:"ext,omitempty"`

	// Features
	// Unique: true
	Features []string `json:"features"`

	// fresh
	Fresh bool `json:"fresh"`

	// images
	Images []*Image `json:"images"`

	// Item id
	// Required: true
	ItemID *string `json:"itemId"`

	// itemIds, should be empty if item type is not "BUNDLE"
	ItemIds []string `json:"itemIds"`

	// itemQty, the quantity of item in itemIds, default 1, should be empty if item type is not "BUNDLE"
	ItemQty map[string]int32 `json:"itemQty,omitempty"`

	// Item type
	// Required: true
	// Enum: [APP BUNDLE CODE COINS EXTENSION INGAMEITEM LOOTBOX MEDIA OPTIONBOX SEASON SUBSCRIPTION]
	ItemType *string `json:"itemType"`

	// language
	// Required: true
	Language *string `json:"language"`

	// Whether can be visible in Store for public user
	Listable bool `json:"listable"`

	// local ext
	LocalExt map[string]interface{} `json:"localExt,omitempty"`

	// long description info
	LongDescription string `json:"longDescription,omitempty"`

	// loot box config
	LootBoxConfig *LootBoxConfig `json:"lootBoxConfig,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"`

	// option box config
	OptionBoxConfig *OptionBoxConfig `json:"optionBoxConfig,omitempty"`

	// Whether can be purchased
	Purchasable bool `json:"purchasable"`

	// purchase condition
	PurchaseCondition *PurchaseCondition `json:"purchaseCondition,omitempty"`

	// 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 ItemNaming ¶ added in v0.35.0

type ItemNaming struct {

	// Category Path
	CategoryPath string `json:"categoryPath,omitempty"`

	// Item id
	// Required: true
	ItemID *string `json:"itemId"`

	// Item type
	// Required: true
	// Enum: [APP BUNDLE CODE COINS EXTENSION INGAMEITEM LOOTBOX MEDIA OPTIONBOX SEASON SUBSCRIPTION]
	ItemType *string `json:"itemType"`

	// Name
	// Required: true
	Name *string `json:"name"`

	// Item namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// season type
	// Enum: [PASS TIER]
	SeasonType string `json:"seasonType,omitempty"`

	// Sku
	Sku string `json:"sku,omitempty"`

	// status
	// Enum: [ACTIVE INACTIVE]
	Status string `json:"status,omitempty"`
}

ItemNaming item naming

swagger:model ItemNaming

func (*ItemNaming) MarshalBinary ¶ added in v0.35.0

func (m *ItemNaming) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ItemNaming) UnmarshalBinary ¶ added in v0.35.0

func (m *ItemNaming) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ItemNaming) Validate ¶ added in v0.35.0

func (m *ItemNaming) Validate(formats strfmt.Registry) error

Validate validates this item naming

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 ItemPurchaseConditionValidateRequest ¶ added in v0.24.0

type ItemPurchaseConditionValidateRequest struct {

	// item ids
	ItemIds []string `json:"itemIds"`
}

ItemPurchaseConditionValidateRequest item purchase condition validate request

swagger:model ItemPurchaseConditionValidateRequest

func (*ItemPurchaseConditionValidateRequest) MarshalBinary ¶ added in v0.24.0

func (m *ItemPurchaseConditionValidateRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ItemPurchaseConditionValidateRequest) UnmarshalBinary ¶ added in v0.24.0

func (m *ItemPurchaseConditionValidateRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ItemPurchaseConditionValidateRequest) Validate ¶ added in v0.24.0

Validate validates this item purchase condition validate request

type ItemPurchaseConditionValidateResult ¶ added in v0.24.0

type ItemPurchaseConditionValidateResult struct {

	// item id
	ItemID string `json:"itemId,omitempty"`

	// purchasable
	Purchasable bool `json:"purchasable"`

	// item sku
	Sku string `json:"sku,omitempty"`

	// validate details: list of condition group validate result. index is same as purchase condition group.
	ValidateDetails []*ConditionGroupValidateResult `json:"validateDetails"`
}

ItemPurchaseConditionValidateResult item purchase condition validate result

swagger:model ItemPurchaseConditionValidateResult

func (*ItemPurchaseConditionValidateResult) MarshalBinary ¶ added in v0.24.0

func (m *ItemPurchaseConditionValidateResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ItemPurchaseConditionValidateResult) UnmarshalBinary ¶ added in v0.24.0

func (m *ItemPurchaseConditionValidateResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ItemPurchaseConditionValidateResult) Validate ¶ added in v0.24.0

Validate validates this item purchase condition validate 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 ItemRevocation ¶ added in v0.38.0

type ItemRevocation struct {

	// credit revocations
	CreditRevocations []*CreditRevocation `json:"creditRevocations"`

	// entitlement revocations
	EntitlementRevocations []*EntitlementRevocation `json:"entitlementRevocations"`

	// item Id
	ItemID string `json:"itemId,omitempty"`

	// item revocations
	ItemRevocations []*ItemRevocation `json:"itemRevocations"`

	// item sku
	ItemSku string `json:"itemSku,omitempty"`

	// item type
	// Enum: [APP BUNDLE CODE COINS EXTENSION INGAMEITEM LOOTBOX MEDIA OPTIONBOX SEASON SUBSCRIPTION]
	ItemType string `json:"itemType,omitempty"`

	// quantity
	Quantity int64 `json:"quantity,omitempty"`

	// skipped
	Skipped bool `json:"skipped"`

	// status
	// Enum: [FAIL SUCCESS]
	Status string `json:"status,omitempty"`
}

ItemRevocation item revocation

swagger:model ItemRevocation

func (*ItemRevocation) MarshalBinary ¶ added in v0.38.0

func (m *ItemRevocation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ItemRevocation) UnmarshalBinary ¶ added in v0.38.0

func (m *ItemRevocation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ItemRevocation) Validate ¶ added in v0.38.0

func (m *ItemRevocation) Validate(formats strfmt.Registry) error

Validate validates this item revocation

type ItemSnapshot ¶

type ItemSnapshot struct {

	// App id, required when itemType is APP
	AppID string `json:"appId,omitempty"`

	// App type, required when itemType is APP
	// Enum: [DEMO DLC GAME SOFTWARE]
	AppType string `json:"appType,omitempty"`

	// Base app Id
	BaseAppID string `json:"baseAppId,omitempty"`

	// booth name to get tickets while it's item type is CODE
	BoothName string `json:"boothName,omitempty"`

	// createdAt
	// Format: date-time
	CreatedAt *strfmt.DateTime `json:"createdAt,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// Entitlement type
	// Required: true
	// Enum: [CONSUMABLE DURABLE]
	EntitlementType *string `json:"entitlementType"`

	// supported features
	// Unique: true
	Features []string `json:"features"`

	// Item id
	// Required: true
	ItemID *string `json:"itemId"`

	// itemIds, should be empty if item type is not "BUNDLE"
	ItemIds []string `json:"itemIds"`

	// itemQty, the quantity of item in itemIds, default 1, should be empty if item type is not "BUNDLE"
	ItemQty map[string]int32 `json:"itemQty,omitempty"`

	// Item type
	// Required: true
	// Enum: [APP BUNDLE CODE COINS EXTENSION INGAMEITEM LOOTBOX MEDIA OPTIONBOX SEASON SUBSCRIPTION]
	ItemType *string `json:"itemType"`

	// language
	// Required: true
	Language *string `json:"language"`

	// Whether can be visible in Store for public user
	Listable bool `json:"listable"`

	// loot box config
	LootBoxConfig *LootBoxConfig `json:"lootBoxConfig,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's namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// option box config
	OptionBoxConfig *OptionBoxConfig `json:"optionBoxConfig,omitempty"`

	// 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 ItemTypeConfigCreate ¶ added in v0.26.0

type ItemTypeConfigCreate struct {

	// customized item clazz
	Clazz string `json:"clazz,omitempty"`

	// mock workflow while set true, default false
	DryRun bool `json:"dryRun"`

	// url to send the fulfillment notification
	// Required: true
	FulfillmentURL *string `json:"fulfillmentUrl"`

	// Item Type
	// Required: true
	// Enum: [APP BUNDLE CODE COINS EXTENSION INGAMEITEM LOOTBOX MEDIA OPTIONBOX SEASON SUBSCRIPTION]
	ItemType *string `json:"itemType"`

	// url to check if the item is purchasable
	PurchaseConditionURL string `json:"purchaseConditionUrl,omitempty"`
}

ItemTypeConfigCreate A DTO object for creating item type config API call.

swagger:model ItemTypeConfigCreate

func (*ItemTypeConfigCreate) MarshalBinary ¶ added in v0.26.0

func (m *ItemTypeConfigCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ItemTypeConfigCreate) UnmarshalBinary ¶ added in v0.26.0

func (m *ItemTypeConfigCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ItemTypeConfigCreate) Validate ¶ added in v0.26.0

func (m *ItemTypeConfigCreate) Validate(formats strfmt.Registry) error

Validate validates this item type config create

type ItemTypeConfigInfo ¶ added in v0.26.0

type ItemTypeConfigInfo struct {

	// customized item clazz
	Clazz string `json:"clazz,omitempty"`

	// created time
	// Required: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt"`

	// mock workflow while set true, default false
	DryRun bool `json:"dryRun"`

	// url to send the fulfillment notification
	// Required: true
	FulfillmentURL *string `json:"fulfillmentUrl"`

	// Item type config id
	// Required: true
	ID *string `json:"id"`

	// Item type
	// Required: true
	// Enum: [APP BUNDLE CODE COINS EXTENSION INGAMEITEM LOOTBOX MEDIA OPTIONBOX SEASON SUBSCRIPTION]
	ItemType *string `json:"itemType"`

	// url to check if the item is purchasable
	PurchaseConditionURL string `json:"purchaseConditionUrl,omitempty"`

	// updated time
	// Required: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt"`
}

ItemTypeConfigInfo item type config info

swagger:model ItemTypeConfigInfo

func (*ItemTypeConfigInfo) MarshalBinary ¶ added in v0.26.0

func (m *ItemTypeConfigInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ItemTypeConfigInfo) UnmarshalBinary ¶ added in v0.26.0

func (m *ItemTypeConfigInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ItemTypeConfigInfo) Validate ¶ added in v0.26.0

func (m *ItemTypeConfigInfo) Validate(formats strfmt.Registry) error

Validate validates this item type config info

type ItemTypeConfigUpdate ¶ added in v0.26.0

type ItemTypeConfigUpdate struct {

	// customized item clazz
	Clazz string `json:"clazz,omitempty"`

	// mock workflow while set true, default false
	DryRun bool `json:"dryRun"`

	// url to send the fulfillment notification
	// Required: true
	FulfillmentURL *string `json:"fulfillmentUrl"`

	// url to check if the item is purchasable
	PurchaseConditionURL string `json:"purchaseConditionUrl,omitempty"`
}

ItemTypeConfigUpdate A DTO object for updating item API call.

swagger:model ItemTypeConfigUpdate

func (*ItemTypeConfigUpdate) MarshalBinary ¶ added in v0.26.0

func (m *ItemTypeConfigUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ItemTypeConfigUpdate) UnmarshalBinary ¶ added in v0.26.0

func (m *ItemTypeConfigUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ItemTypeConfigUpdate) Validate ¶ added in v0.26.0

func (m *ItemTypeConfigUpdate) Validate(formats strfmt.Registry) error

Validate validates this item type config update

type ItemUpdate ¶

type ItemUpdate struct {

	// appId, required if appType is present, alpha numeric, max length is 255
	AppID string `json:"appId,omitempty"`

	// appType
	// Enum: [DEMO DLC GAME SOFTWARE]
	AppType string `json:"appType,omitempty"`

	// baseAppId, can set value of game appId if want to link to a game
	BaseAppID string `json:"baseAppId,omitempty"`

	// booth name to get tickets while ItemType is CODE, Campaign or KeyGroup should located in targetNamespace if targetNamespace not null
	BoothName string `json:"boothName,omitempty"`

	// Category Path, A path separated by "/", will not show in store if it set to blank, max length is 255
	CategoryPath string `json:"categoryPath,omitempty"`

	// customized item clazz
	Clazz string `json:"clazz,omitempty"`

	// display order
	DisplayOrder int32 `json:"displayOrder,omitempty"`

	// Entitlement Type
	// Required: true
	// Enum: [CONSUMABLE DURABLE]
	EntitlementType *string `json:"entitlementType"`

	// customized item properties
	Ext map[string]interface{} `json:"ext,omitempty"`

	// Features, allowed characters from a-zA-Z0-9_:- and start/end in alphanumeric with length range from 1 to 127
	// Unique: true
	Features []string `json:"features"`

	// images
	Images []*Image `json:"images"`

	// itemIds, should be empty if item type is not "BUNDLE"
	ItemIds []string `json:"itemIds"`

	// itemQty, the quantity of item in itemIds, default 1, should be empty if item type is not "BUNDLE"
	ItemQty map[string]int32 `json:"itemQty,omitempty"`

	// Item Type
	// Required: true
	// Enum: [APP BUNDLE CODE COINS EXTENSION INGAMEITEM LOOTBOX MEDIA OPTIONBOX SEASON SUBSCRIPTION]
	ItemType *string `json:"itemType"`

	// Whether can be visible in Store for public user
	Listable bool `json:"listable"`

	// Localization, key language, value localization content
	Localizations map[string]Localization `json:"localizations,omitempty"`

	// loot box config, should be empty if item type is not "LOOTBOX"
	LootBoxConfig *LootBoxConfig `json:"lootBoxConfig,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"`

	// option box config, should be empty if item type is not "OPTIONBOX"
	OptionBoxConfig *OptionBoxConfig `json:"optionBoxConfig,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: [ACQUIRED ACTIVE]
	Status *string `json:"status"`

	// updated at
	// Required: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt"`

	// key value
	// Required: true
	Value *string `json:"value"`
}

KeyInfo key info

swagger:model KeyInfo

func (*KeyInfo) MarshalBinary ¶ added in v0.7.0

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 ListViewInfo ¶ added in v0.35.0

type ListViewInfo struct {

	// view created time
	// Required: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt"`

	// display order
	// Required: true
	DisplayOrder *int32 `json:"displayOrder"`

	// view name
	// Required: true
	Name *string `json:"name"`

	// view namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// view updated time
	// Required: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt"`

	// view id
	// Required: true
	ViewID *string `json:"viewId"`
}

ListViewInfo list view info

swagger:model ListViewInfo

func (*ListViewInfo) MarshalBinary ¶ added in v0.35.0

func (m *ListViewInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ListViewInfo) UnmarshalBinary ¶ added in v0.35.0

func (m *ListViewInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ListViewInfo) Validate ¶ added in v0.35.0

func (m *ListViewInfo) Validate(formats strfmt.Registry) error

Validate validates this list view info

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 LootBoxConfig ¶ added in v0.32.0

type LootBoxConfig struct {

	// reward count, default is 1
	RewardCount int32 `json:"rewardCount,omitempty"`

	// rewards
	Rewards []*LootBoxReward `json:"rewards"`

	// roll function
	// Enum: [CUSTOM DEFAULT]
	RollFunction string `json:"rollFunction,omitempty"`
}

LootBoxConfig loot box config

swagger:model LootBoxConfig

func (*LootBoxConfig) MarshalBinary ¶ added in v0.32.0

func (m *LootBoxConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LootBoxConfig) UnmarshalBinary ¶ added in v0.32.0

func (m *LootBoxConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LootBoxConfig) Validate ¶ added in v0.32.0

func (m *LootBoxConfig) Validate(formats strfmt.Registry) error

Validate validates this loot box config

type LootBoxReward ¶ added in v0.32.0

type LootBoxReward struct {

	// reward items, if type is PROBABILITY_GROUP, will random get one of items in it, if type is REWARD, will grant all items to user when roll this reward
	LootBoxItems []*BoxItem `json:"lootBoxItems"`

	// reward name
	Name string `json:"name,omitempty"`

	// odds, automatic calculation based on weights.
	Odds float64 `json:"odds,omitempty"`

	// reward type
	// Enum: [PROBABILITY_GROUP REWARD REWARD_GROUP]
	Type string `json:"type,omitempty"`

	// reward weight
	Weight int32 `json:"weight,omitempty"`
}

LootBoxReward loot box reward

swagger:model LootBoxReward

func (*LootBoxReward) MarshalBinary ¶ added in v0.32.0

func (m *LootBoxReward) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*LootBoxReward) UnmarshalBinary ¶ added in v0.32.0

func (m *LootBoxReward) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*LootBoxReward) Validate ¶ added in v0.32.0

func (m *LootBoxReward) Validate(formats strfmt.Registry) error

Validate validates this loot box reward

type MockIAPReceipt ¶

type MockIAPReceipt struct {

	// The item identity type
	// Enum: [ITEM_ID ITEM_SKU]
	ItemIdentityType string `json:"itemIdentityType,omitempty"`

	// language value from language tag, allowed format: en, en-US.<p>Supported language tag : [RFC5646](https://gist.github.com/msikma/8912e62ed866778ff8cd) and [IETF](https://datahub.io/core/language-codes#resource-ietf-language-tags)</p>
	// Pattern: ^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$
	Language string `json:"language,omitempty"`

	// The product identifier of the item that was purchased.
	// Required: true
	ProductID *string `json:"productId"`

	// country value from ISO countries
	Region string `json:"region,omitempty"`

	// The IAP type.
	// Required: true
	// Enum: [APPLE EPICGAMES GOOGLE PLAYSTATION STADIA STEAM TWITCH XBOX]
	Type *string `json:"type"`
}

MockIAPReceipt mock IAP 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 IAP 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: [ERROR IGNORED PROCESSED WARN]
	Status string `json:"status,omitempty"`
}

NotificationProcessResult notification process result

swagger:model NotificationProcessResult

func (*NotificationProcessResult) MarshalBinary ¶ added in v0.7.0

func (m *NotificationProcessResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*NotificationProcessResult) UnmarshalBinary ¶ added in v0.7.0

func (m *NotificationProcessResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*NotificationProcessResult) Validate ¶ added in v0.7.0

func (m *NotificationProcessResult) Validate(formats strfmt.Registry) error

Validate validates this notification process result

type OptionBoxConfig ¶ added in v0.24.0

type OptionBoxConfig struct {

	// Option box items
	BoxItems []*BoxItem `json:"boxItems"`
}

OptionBoxConfig Option box config.

swagger:model OptionBoxConfig

func (*OptionBoxConfig) MarshalBinary ¶ added in v0.24.0

func (m *OptionBoxConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OptionBoxConfig) UnmarshalBinary ¶ added in v0.24.0

func (m *OptionBoxConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OptionBoxConfig) Validate ¶ added in v0.24.0

func (m *OptionBoxConfig) Validate(formats strfmt.Registry) error

Validate validates this option box config

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"`

	// creation options
	CreationOptions *OrderCreationOptions `json:"creationOptions,omitempty"`

	// currency
	Currency *CurrencySummary `json:"currency,omitempty"`

	// discounted price
	DiscountedPrice int32 `json:"discountedPrice,omitempty"`

	// expire time
	// Format: date-time
	ExpireTime *strfmt.DateTime `json:"expireTime,omitempty"`

	// ext
	Ext map[string]interface{} `json:"ext,omitempty"`

	// free
	Free bool `json:"free"`

	// fulfilled time
	// Format: date-time
	FulfilledTime *strfmt.DateTime `json:"fulfilledTime,omitempty"`

	// item Id
	ItemID string `json:"itemId,omitempty"`

	// item snapshot
	ItemSnapshot *ItemSnapshot `json:"itemSnapshot,omitempty"`

	// language
	Language string `json:"language,omitempty"`

	// namespace
	Namespace string `json:"namespace,omitempty"`

	// order no
	OrderNo string `json:"orderNo,omitempty"`

	// payment method
	PaymentMethod string `json:"paymentMethod,omitempty"`

	// payment method fee
	PaymentMethodFee int32 `json:"paymentMethodFee,omitempty"`

	// payment order no
	PaymentOrderNo string `json:"paymentOrderNo,omitempty"`

	// payment provider
	// Enum: [ADYEN ALIPAY CHECKOUT PAYPAL STRIPE WALLET WXPAY XSOLLA]
	PaymentProvider string `json:"paymentProvider,omitempty"`

	// payment provider fee
	PaymentProviderFee int32 `json:"paymentProviderFee,omitempty"`

	// payment remain seconds
	PaymentRemainSeconds int32 `json:"paymentRemainSeconds,omitempty"`

	// payment station Url
	PaymentStationURL string `json:"paymentStationUrl,omitempty"`

	// price
	Price int32 `json:"price,omitempty"`

	// quantity
	Quantity int32 `json:"quantity,omitempty"`

	// refunded time
	// Format: date-time
	RefundedTime *strfmt.DateTime `json:"refundedTime,omitempty"`

	// region
	Region string `json:"region,omitempty"`

	// return Url
	ReturnURL string `json:"returnUrl,omitempty"`

	// rvn
	Rvn int32 `json:"rvn,omitempty"`

	// sales tax
	SalesTax int32 `json:"salesTax,omitempty"`

	// sandbox
	Sandbox bool `json:"sandbox"`

	// status
	// Enum: [CHARGEBACK CHARGEBACK_REVERSED CHARGED CLOSED DELETED FULFILLED FULFILL_FAILED INIT REFUNDED REFUNDING REFUND_FAILED]
	Status string `json:"status,omitempty"`

	// status reason
	StatusReason string `json:"statusReason,omitempty"`

	// subtotal price
	SubtotalPrice int32 `json:"subtotalPrice,omitempty"`

	// tax
	Tax int32 `json:"tax,omitempty"`

	// total price
	TotalPrice int32 `json:"totalPrice,omitempty"`

	// total tax
	TotalTax int32 `json:"totalTax,omitempty"`

	// updated at
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt,omitempty"`

	// user Id
	UserID string `json:"userId,omitempty"`

	// vat
	Vat int32 `json:"vat,omitempty"`
}

Order order

swagger:model Order

func (*Order) MarshalBinary ¶

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.<p>Supported language tag : [RFC5646](https://gist.github.com/msikma/8912e62ed866778ff8cd) and [IETF](https://datahub.io/core/language-codes#resource-ietf-language-tags)</p>
	// Pattern: ^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$
	Language string `json:"language,omitempty"`

	// Price of order, should match (item_price * quantity)
	// Required: true
	Price *int32 `json:"price"`

	// Quantity of item, min is 1
	// Required: true
	Quantity *int32 `json:"quantity"`

	// country value from ISO countries
	Region string `json:"region,omitempty"`

	// custom return url for real payment, user will be redirected to this url once payment is finished
	ReturnURL string `json:"returnUrl,omitempty"`
}

OrderCreate order create

swagger:model OrderCreate

func (*OrderCreate) MarshalBinary ¶

func (m *OrderCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OrderCreate) UnmarshalBinary ¶

func (m *OrderCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OrderCreate) Validate ¶

func (m *OrderCreate) Validate(formats strfmt.Registry) error

Validate validates this order create

type OrderCreationOptions ¶ added in v0.39.0

type OrderCreationOptions struct {

	// skip price validation
	SkipPriceValidation bool `json:"skipPriceValidation"`
}

OrderCreationOptions A DTO object for order creation options

swagger:model OrderCreationOptions

func (*OrderCreationOptions) MarshalBinary ¶ added in v0.39.0

func (m *OrderCreationOptions) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OrderCreationOptions) UnmarshalBinary ¶ added in v0.39.0

func (m *OrderCreationOptions) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*OrderCreationOptions) Validate ¶ added in v0.39.0

func (m *OrderCreationOptions) Validate(formats strfmt.Registry) error

Validate validates this order creation options

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: [CHARGEBACK CHARGEBACK_REVERSED CHARGED CLOSE DELETED FULFILLED FULFILL_FAILED INIT REFUNDED REFUNDING REFUND_FAILED SET_STATUS]
	Action *string `json:"action"`

	// created at
	// Required: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt"`

	// The namespace of this order
	// Required: true
	Namespace *string `json:"namespace"`

	// The operator to this order
	// Required: true
	Operator *string `json:"operator"`

	// The Order number
	// Required: true
	OrderNo *string `json:"orderNo"`

	// The reason of this operation
	Reason string `json:"reason,omitempty"`

	// updated at
	// Required: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt"`

	// The owner of the order
	// Required: true
	UserID *string `json:"userId"`
}

OrderHistoryInfo order history info

swagger:model OrderHistoryInfo

func (*OrderHistoryInfo) MarshalBinary ¶

func (m *OrderHistoryInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OrderHistoryInfo) UnmarshalBinary ¶

func (m *OrderHistoryInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

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"`

	// The creation options of this order
	CreationOptions *OrderCreationOptions `json:"creationOptions,omitempty"`

	// Order currency info
	// Required: true
	Currency *CurrencySummary `json:"currency"`

	// Order discounted price
	// Required: true
	DiscountedPrice *int32 `json:"discountedPrice"`

	// payment expire time
	// Required: true
	// Format: date-time
	ExpireTime strfmt.DateTime `json:"expireTime"`

	// extra field to store external order information
	Ext map[string]interface{} `json:"ext,omitempty"`

	// The time of the order fulfilled
	// Format: date-time
	FulfilledTime *strfmt.DateTime `json:"fulfilledTime,omitempty"`

	// Item id
	// Required: true
	ItemID *string `json:"itemId"`

	// Item snapshot
	ItemSnapshot *ItemSnapshot `json:"itemSnapshot,omitempty"`

	// Order created language
	Language string `json:"language,omitempty"`

	// Order namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// Order number
	// Required: true
	OrderNo *string `json:"orderNo"`

	// Payment method
	PaymentMethod string `json:"paymentMethod,omitempty"`

	// Payment method fee
	PaymentMethodFee int32 `json:"paymentMethodFee,omitempty"`

	// Payment order number
	PaymentOrderNo string `json:"paymentOrderNo,omitempty"`

	// Payment provider
	// Enum: [ADYEN ALIPAY CHECKOUT PAYPAL STRIPE WALLET WXPAY XSOLLA]
	PaymentProvider string `json:"paymentProvider,omitempty"`

	// Payment provider fee
	PaymentProviderFee int32 `json:"paymentProviderFee,omitempty"`

	// payment remain seconds
	// Required: true
	PaymentRemainSeconds *int32 `json:"paymentRemainSeconds"`

	// Payment url info
	PaymentStationURL string `json:"paymentStationUrl,omitempty"`

	// Order price
	// Required: true
	Price *int32 `json:"price"`

	// Order quantity
	// Required: true
	Quantity *int32 `json:"quantity"`

	// The time of the order refunded
	// Format: date-time
	RefundedTime *strfmt.DateTime `json:"refundedTime,omitempty"`

	// Order created region
	Region string `json:"region,omitempty"`

	// Order sales tax
	SalesTax int32 `json:"salesTax,omitempty"`

	// isSandbox, indicate if order is sandbox
	// Required: true
	Sandbox *bool `json:"sandbox"`

	// Order status
	// Required: true
	// Enum: [CHARGEBACK CHARGEBACK_REVERSED CHARGED CLOSED DELETED FULFILLED FULFILL_FAILED INIT REFUNDED REFUNDING REFUND_FAILED]
	Status *string `json:"status"`

	// Order status reason
	StatusReason string `json:"statusReason,omitempty"`

	// subtotal price
	SubtotalPrice int32 `json:"subtotalPrice,omitempty"`

	// Order total tax
	Tax int32 `json:"tax,omitempty"`

	// total price
	TotalPrice int32 `json:"totalPrice,omitempty"`

	// total tax
	TotalTax int32 `json:"totalTax,omitempty"`

	// updatedAt
	// Required: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt"`

	// User id
	// Required: true
	UserID *string `json:"userId"`

	// Order VAT
	Vat int32 `json:"vat,omitempty"`
}

OrderInfo order info

swagger:model OrderInfo

func (*OrderInfo) MarshalBinary ¶

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: [CHARGEBACK CHARGEBACK_REVERSED CHARGED CLOSED DELETED FULFILLED FULFILL_FAILED INIT REFUNDED REFUNDING REFUND_FAILED]
	Status *string `json:"status"`

	// update status reason
	// Required: true
	StatusReason *string `json:"statusReason"`
}

OrderUpdate A DTO object for updating order API call.

swagger:model OrderUpdate

func (*OrderUpdate) MarshalBinary ¶

func (m *OrderUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*OrderUpdate) UnmarshalBinary ¶

func (m *OrderUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

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: [ADYEN ALIPAY CHECKOUT PAYPAL STRIPE WALLET WXPAY XSOLLA]
	PaymentProvider *string `json:"paymentProvider"`
}

PaymentMethod payment method

swagger:model PaymentMethod

func (*PaymentMethod) MarshalBinary ¶

func (m *PaymentMethod) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PaymentMethod) UnmarshalBinary ¶

func (m *PaymentMethod) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

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: [ADYEN ALIPAY CHECKOUT PAYPAL STRIPE WALLET WXPAY XSOLLA]
	NotificationSource *string `json:"notificationSource"`

	// notification type
	// Required: true
	NotificationType *string `json:"notificationType"`

	// payment order No
	// Required: true
	PaymentOrderNo *string `json:"paymentOrderNo"`

	// status
	// Required: true
	// Enum: [ERROR IGNORED PROCESSED WARN]
	Status *string `json:"status"`

	// status reason
	StatusReason string `json:"statusReason,omitempty"`

	// updatedAt
	// Required: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt"`
}

PaymentNotificationInfo payment notification info

swagger:model PaymentNotificationInfo

func (*PaymentNotificationInfo) MarshalBinary ¶

func (m *PaymentNotificationInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PaymentNotificationInfo) UnmarshalBinary ¶

func (m *PaymentNotificationInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

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 BUNDLE CODE COINS EXTENSION INGAMEITEM LOOTBOX MEDIA OPTIONBOX SEASON SUBSCRIPTION]
	ItemType string `json:"itemType,omitempty"`

	// language
	Language string `json:"language,omitempty"`

	// metadata
	Metadata map[string]string `json:"metadata,omitempty"`

	// namespace
	Namespace string `json:"namespace,omitempty"`

	// notify Url
	NotifyURL string `json:"notifyUrl,omitempty"`

	// omit notification
	OmitNotification bool `json:"omitNotification"`

	// payment method
	PaymentMethod string `json:"paymentMethod,omitempty"`

	// payment method fee
	PaymentMethodFee int32 `json:"paymentMethodFee,omitempty"`

	// payment order no
	PaymentOrderNo string `json:"paymentOrderNo,omitempty"`

	// payment provider
	// Enum: [ADYEN ALIPAY CHECKOUT PAYPAL STRIPE WALLET WXPAY XSOLLA]
	PaymentProvider string `json:"paymentProvider,omitempty"`

	// payment provider fee
	PaymentProviderFee int32 `json:"paymentProviderFee,omitempty"`

	// payment station Url
	PaymentStationURL string `json:"paymentStationUrl,omitempty"`

	// platform
	Platform string `json:"platform,omitempty"`

	// price
	Price int32 `json:"price,omitempty"`

	// recurring payment order no
	RecurringPaymentOrderNo string `json:"recurringPaymentOrderNo,omitempty"`

	// refunded time
	// Format: date-time
	RefundedTime *strfmt.DateTime `json:"refundedTime,omitempty"`

	// region
	Region string `json:"region,omitempty"`

	// return Url
	ReturnURL string `json:"returnUrl,omitempty"`

	// rvn
	Rvn int32 `json:"rvn,omitempty"`

	// sales tax
	SalesTax int32 `json:"salesTax,omitempty"`

	// sandbox
	Sandbox bool `json:"sandbox"`

	// sku
	Sku string `json:"sku,omitempty"`

	// state
	State string `json:"state,omitempty"`

	// status
	// Enum: [AUTHORISED AUTHORISE_FAILED CHARGEBACK CHARGEBACK_REVERSED CHARGED CHARGE_FAILED DELETED INIT NOTIFICATION_OF_CHARGEBACK REFUNDED REFUNDING REFUND_FAILED REQUEST_FOR_INFORMATION]
	Status string `json:"status,omitempty"`

	// status reason
	StatusReason string `json:"statusReason,omitempty"`

	// subscription Id
	SubscriptionID string `json:"subscriptionId,omitempty"`

	// subtotal price
	SubtotalPrice int32 `json:"subtotalPrice,omitempty"`

	// target namespace
	TargetNamespace string `json:"targetNamespace,omitempty"`

	// target user Id
	TargetUserID string `json:"targetUserId,omitempty"`

	// tax
	Tax int32 `json:"tax,omitempty"`

	// title
	Title string `json:"title,omitempty"`

	// total price
	TotalPrice int32 `json:"totalPrice,omitempty"`

	// total tax
	TotalTax int32 `json:"totalTax,omitempty"`

	// transactions
	Transactions []*Transaction `json:"transactions"`

	// updated at
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt,omitempty"`

	// user Id
	UserID string `json:"userId,omitempty"`

	// vat
	Vat int32 `json:"vat,omitempty"`

	// zip code
	ZipCode string `json:"zipCode,omitempty"`
}

PaymentOrder payment order

swagger:model PaymentOrder

func (*PaymentOrder) MarshalBinary ¶

func (m *PaymentOrder) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PaymentOrder) UnmarshalBinary ¶

func (m *PaymentOrder) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

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: [ADYEN ALIPAY CHECKOUT PAYPAL STRIPE WALLET WXPAY XSOLLA]
	PaymentProvider *string `json:"paymentProvider"`
}

PaymentOrderChargeRequest payment order charge request

swagger:model PaymentOrderChargeRequest

func (*PaymentOrderChargeRequest) MarshalBinary ¶

func (m *PaymentOrderChargeRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PaymentOrderChargeRequest) UnmarshalBinary ¶

func (m *PaymentOrderChargeRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

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: [AUTHORISED AUTHORISE_FAILED CHARGEBACK CHARGEBACK_REVERSED CHARGED CHARGE_FAILED DELETED INIT NOTIFICATION_OF_CHARGEBACK REFUNDED REFUNDING REFUND_FAILED REQUEST_FOR_INFORMATION]
	Status string `json:"status,omitempty"`
}

PaymentOrderChargeStatus payment order charge status

swagger:model PaymentOrderChargeStatus

func (*PaymentOrderChargeStatus) MarshalBinary ¶

func (m *PaymentOrderChargeStatus) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PaymentOrderChargeStatus) UnmarshalBinary ¶

func (m *PaymentOrderChargeStatus) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

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 BUNDLE CODE COINS EXTENSION INGAMEITEM LOOTBOX MEDIA OPTIONBOX SEASON SUBSCRIPTION]
	ItemType string `json:"itemType,omitempty"`

	// language value from language tag, allowed format: en, en-US.<p>Supported language tag : [RFC5646](https://gist.github.com/msikma/8912e62ed866778ff8cd) and [IETF](https://datahub.io/core/language-codes#resource-ietf-language-tags)</p>
	// Pattern: ^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$
	Language string `json:"language,omitempty"`

	// metadata
	Metadata map[string]string `json:"metadata,omitempty"`

	// custom notify url for real payment, send notification to this url once payment action is finished
	NotifyURL string `json:"notifyUrl,omitempty"`

	// TEST PURPOSE, if set it will not send async notification to the API invoker, only can set true while this payment is sandbox
	OmitNotification bool `json:"omitNotification"`

	// platform
	Platform string `json:"platform,omitempty"`

	// Price of order
	// Required: true
	Price *int32 `json:"price"`

	// recurring payment order which has recurring token, will do recurring payment if present, otherwise start normal payment flow
	RecurringPaymentOrderNo string `json:"recurringPaymentOrderNo,omitempty"`

	// country value from ISO countries
	Region string `json:"region,omitempty"`

	// custom return url for real payment, user will be redirected to this url once payment is finished
	ReturnURL string `json:"returnUrl,omitempty"`

	// TEST PURPOSE, sandbox(Active in real currency mode), default is false
	Sandbox bool `json:"sandbox"`

	// optional, unique identity for the item
	Sku string `json:"sku,omitempty"`

	// subscriptionId, payment token will be saved for recurring payment
	SubscriptionID string `json:"subscriptionId,omitempty"`

	// Order title
	// Required: true
	Title *string `json:"title"`
}

PaymentOrderCreate payment order create

swagger:model PaymentOrderCreate

func (*PaymentOrderCreate) MarshalBinary ¶

func (m *PaymentOrderCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PaymentOrderCreate) UnmarshalBinary ¶

func (m *PaymentOrderCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

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: [AUTHORISED AUTHORISE_FAILED CHARGEBACK CHARGEBACK_REVERSED CHARGED CHARGE_FAILED DELETED INIT NOTIFICATION_OF_CHARGEBACK REFUNDED REFUNDING REFUND_FAILED REQUEST_FOR_INFORMATION]
	Status *string `json:"status"`

	// Game namespace
	TargetNamespace string `json:"targetNamespace,omitempty"`

	// User id in game namespace
	TargetUserID string `json:"targetUserId,omitempty"`
}

PaymentOrderCreateResult payment order create result

swagger:model PaymentOrderCreateResult

func (*PaymentOrderCreateResult) MarshalBinary ¶

func (m *PaymentOrderCreateResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PaymentOrderCreateResult) UnmarshalBinary ¶

func (m *PaymentOrderCreateResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

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 BUNDLE CODE COINS EXTENSION INGAMEITEM LOOTBOX MEDIA OPTIONBOX SEASON SUBSCRIPTION]
	ItemType string `json:"itemType,omitempty"`

	// Payment user language
	Language string `json:"language,omitempty"`

	// metadata
	Metadata map[string]string `json:"metadata,omitempty"`

	// Payment order namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// The notify url if customized
	NotifyURL string `json:"notifyUrl,omitempty"`

	// TEST PURPOSE, if set it will not send async notification to the API invoker, only can set true while this payment is sandbox
	OmitNotification bool `json:"omitNotification"`

	// Payment method
	PaymentMethod string `json:"paymentMethod,omitempty"`

	// Payment method fee
	PaymentMethodFee int32 `json:"paymentMethodFee,omitempty"`

	// Payment order number
	// Required: true
	PaymentOrderNo *string `json:"paymentOrderNo"`

	// Payment provider
	// Required: true
	// Enum: [ADYEN ALIPAY CHECKOUT PAYPAL STRIPE WALLET WXPAY XSOLLA]
	PaymentProvider *string `json:"paymentProvider"`

	// Payment provider fee
	PaymentProviderFee int32 `json:"paymentProviderFee,omitempty"`

	// Payment url
	PaymentStationURL string `json:"paymentStationUrl,omitempty"`

	// Payment order price
	// Required: true
	Price *int32 `json:"price"`

	// recurring payment order which has recurring token, will do recurring payment if present, otherwise start normal payment flow
	RecurringPaymentOrderNo string `json:"recurringPaymentOrderNo,omitempty"`

	// The time of the order refunded
	// Format: date-time
	RefundedTime *strfmt.DateTime `json:"refundedTime,omitempty"`

	// Payment user region
	Region string `json:"region,omitempty"`

	// The return url if customized
	ReturnURL string `json:"returnUrl,omitempty"`

	// Payment order sales tax
	SalesTax int32 `json:"salesTax,omitempty"`

	// isSandbox, indicate if order is sandbox
	// Required: true
	Sandbox *bool `json:"sandbox"`

	// optional, unique identity for the item
	Sku string `json:"sku,omitempty"`

	// Payment order status
	// Required: true
	// Enum: [AUTHORISED AUTHORISE_FAILED CHARGEBACK CHARGEBACK_REVERSED CHARGED CHARGE_FAILED DELETED INIT NOTIFICATION_OF_CHARGEBACK REFUNDED REFUNDING REFUND_FAILED REQUEST_FOR_INFORMATION]
	Status *string `json:"status"`

	// Payment order status reason
	StatusReason string `json:"statusReason,omitempty"`

	// subscriptionId, payment token will be saved for recurring payment
	SubscriptionID string `json:"subscriptionId,omitempty"`

	// subtotal price
	SubtotalPrice int32 `json:"subtotalPrice,omitempty"`

	// The game namespace if it's an external in-game-purchase that resides in publisher namespace
	TargetNamespace string `json:"targetNamespace,omitempty"`

	// The user id in game namespace if it's an external in-game-purchase that resides in publisher namespace
	TargetUserID string `json:"targetUserId,omitempty"`

	// Payment total tax
	Tax int32 `json:"tax,omitempty"`

	// Order title
	// Required: true
	Title *string `json:"title"`

	// total price
	TotalPrice int32 `json:"totalPrice,omitempty"`

	// total tax
	TotalTax int32 `json:"totalTax,omitempty"`

	// Payment order transactions
	Transactions []*Transaction `json:"transactions"`

	// updatedAt
	// Required: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt"`

	// User id
	// Required: true
	UserID *string `json:"userId"`

	// Payment order VAT
	Vat int32 `json:"vat,omitempty"`
}

PaymentOrderInfo payment order info

swagger:model PaymentOrderInfo

func (*PaymentOrderInfo) MarshalBinary ¶

func (m *PaymentOrderInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PaymentOrderInfo) UnmarshalBinary ¶

func (m *PaymentOrderInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

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: [ADYEN ALIPAY CHECKOUT PAYPAL STRIPE WALLET WXPAY XSOLLA]
	PaymentProvider *string `json:"paymentProvider"`

	// salesTax for xsolla
	SalesTax int32 `json:"salesTax,omitempty"`

	// vat for xsolla
	Vat int32 `json:"vat,omitempty"`
}

PaymentOrderNotifySimulation payment order notify simulation

swagger:model PaymentOrderNotifySimulation

func (*PaymentOrderNotifySimulation) MarshalBinary ¶ added in v0.7.0

func (m *PaymentOrderNotifySimulation) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PaymentOrderNotifySimulation) UnmarshalBinary ¶ added in v0.7.0

func (m *PaymentOrderNotifySimulation) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

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: [AUTHORISED AUTHORISE_FAILED CHARGEBACK CHARGEBACK_REVERSED CHARGED CHARGE_FAILED DELETED INIT NOTIFICATION_OF_CHARGEBACK REFUNDED REFUNDING REFUND_FAILED REQUEST_FOR_INFORMATION]
	Status *string `json:"status"`

	// Game namespace
	TargetNamespace string `json:"targetNamespace,omitempty"`

	// User id in game namespace
	TargetUserID string `json:"targetUserId,omitempty"`
}

PaymentOrderRefundResult payment order refund result

swagger:model PaymentOrderRefundResult

func (*PaymentOrderRefundResult) MarshalBinary ¶

func (m *PaymentOrderRefundResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PaymentOrderRefundResult) UnmarshalBinary ¶

func (m *PaymentOrderRefundResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

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: [ADYEN XSOLLA]
	Aggregate string `json:"aggregate,omitempty"`

	// namespace, * indicates all namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// region, * indicates all regions
	// Required: true
	Region *string `json:"region"`

	// sandbox taxjar api token
	SandboxTaxJarAPIToken string `json:"sandboxTaxJarApiToken,omitempty"`

	// special payment providers = ['ALIPAY', 'WXPAY'], allow empty value
	Specials []string `json:"specials"`

	// taxjar api token, required when taxJarEnabled=true and useGlobalTaxJarApiToken=false
	TaxJarAPIToken string `json:"taxJarApiToken,omitempty"`

	// taxjar api integration enable
	TaxJarEnabled bool `json:"taxJarEnabled"`

	// only works when taxJarEnabled=true, and if useGlobalTaxJarApiToken is true, we will reset the taxJarApiToken as null
	UseGlobalTaxJarAPIToken bool `json:"useGlobalTaxJarApiToken"`
}

PaymentProviderConfigEdit A DTO object for creating/updating payment provider config

swagger:model PaymentProviderConfigEdit

func (*PaymentProviderConfigEdit) MarshalBinary ¶

func (m *PaymentProviderConfigEdit) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PaymentProviderConfigEdit) UnmarshalBinary ¶

func (m *PaymentProviderConfigEdit) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

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: [ADYEN XSOLLA]
	Aggregate string `json:"aggregate,omitempty"`

	// id
	// Required: true
	ID *string `json:"id"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// paymentMerchantConfigId
	// Required: true
	PaymentMerchantConfigID *string `json:"paymentMerchantConfigId"`

	// region
	// Required: true
	Region *string `json:"region"`

	// sandbox taxjar api token
	SandboxTaxJarAPIToken string `json:"sandboxTaxJarApiToken,omitempty"`

	// special payment providers = ['ALIPAY', 'WXPAY'], allow empty value
	Specials []string `json:"specials"`

	// taxjar api token, required when taxJarEnabled=true and useGlobalTaxJarApiToken=false
	TaxJarAPIToken string `json:"taxJarApiToken,omitempty"`

	// taxjar integration enabled
	TaxJarEnabled bool `json:"taxJarEnabled"`

	// if use global taxjar token
	UseGlobalTaxJarAPIToken bool `json:"useGlobalTaxJarApiToken"`
}

PaymentProviderConfigInfo payment provider config info

swagger:model PaymentProviderConfigInfo

func (*PaymentProviderConfigInfo) MarshalBinary ¶

func (m *PaymentProviderConfigInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PaymentProviderConfigInfo) UnmarshalBinary ¶

func (m *PaymentProviderConfigInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

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: [Epic GooglePlay IOS Nintendo Other Playstation Steam Xbox]
	WalletPlatform string `json:"walletPlatform,omitempty"`
}

PaymentRequest A DTO for wallet's payment

swagger:model PaymentRequest

func (*PaymentRequest) MarshalBinary ¶

func (m *PaymentRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PaymentRequest) UnmarshalBinary ¶

func (m *PaymentRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

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: [ADYEN ALIPAY CHECKOUT PAYPAL STRIPE WALLET WXPAY XSOLLA]
	PaymentProvider *string `json:"paymentProvider"`

	// payment type
	// Required: true
	// Enum: [LINK QR_CODE]
	PaymentType *string `json:"paymentType"`

	// payment url
	PaymentURL string `json:"paymentUrl,omitempty"`

	// return url
	ReturnURL string `json:"returnUrl,omitempty"`

	// adyen session data
	SessionData string `json:"sessionData,omitempty"`

	// adyen session id
	SessionID string `json:"sessionId,omitempty"`
}

PaymentURL payment Url

swagger:model PaymentUrl

func (*PaymentURL) MarshalBinary ¶

func (m *PaymentURL) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PaymentURL) UnmarshalBinary ¶

func (m *PaymentURL) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

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: [ADYEN ALIPAY CHECKOUT PAYPAL STRIPE WALLET WXPAY XSOLLA]
	PaymentProvider *string `json:"paymentProvider"`

	// returnUrl
	ReturnURL string `json:"returnUrl,omitempty"`

	// ui, custom json string, ignore if payment provider not support or invalid setting.
	UI string `json:"ui,omitempty"`

	// payment zipCode
	ZipCode string `json:"zipCode,omitempty"`
}

PaymentURLCreate payment Url create

swagger:model PaymentUrlCreate

func (*PaymentURLCreate) MarshalBinary ¶

func (m *PaymentURLCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PaymentURLCreate) UnmarshalBinary ¶

func (m *PaymentURLCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

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 DLC 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 DLC config info

type PlatformDLCConfigUpdate ¶ added in v0.10.0

type PlatformDLCConfigUpdate struct {

	// platform dlc config list
	Data []*PlatformDLCEntry `json:"data"`
}

PlatformDLCConfigUpdate platform DLC 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 DLC config update

type PlatformDLCEntry ¶ added in v0.39.0

type PlatformDLCEntry struct {

	// platform: PSN, STEAM, XBOX, EPICGAMES
	// Enum: [EPICGAMES 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.39.0

func (m *PlatformDLCEntry) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PlatformDLCEntry) UnmarshalBinary ¶ added in v0.39.0

func (m *PlatformDLCEntry) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PlatformDLCEntry) Validate ¶ added in v0.39.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: [CURRENCY ITEM]
	Type string `json:"type,omitempty"`
}

PlatformReward platform reward

swagger:model PlatformReward

func (*PlatformReward) MarshalBinary ¶ added in v0.10.0

func (m *PlatformReward) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PlatformReward) UnmarshalBinary ¶ added in v0.10.0

func (m *PlatformReward) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

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"`

	// status
	// Enum: [ACTIVE INACTIVE]
	Status string `json:"status,omitempty"`

	// user id
	// Required: true
	UserID *string `json:"userId"`

	// wallets balances info
	WalletInfos []*WalletInfo `json:"walletInfos"`

	// wallet status will be deprecated in the feature, pls use status field.
	// 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 PlayStationDLCSyncMultiServiceLabelsRequest ¶ added in v0.32.0

type PlayStationDLCSyncMultiServiceLabelsRequest struct {

	// service labels
	// Unique: true
	ServiceLabels []int32 `json:"serviceLabels"`
}

PlayStationDLCSyncMultiServiceLabelsRequest play station DLC sync multi service labels request

swagger:model PlayStationDLCSyncMultiServiceLabelsRequest

func (*PlayStationDLCSyncMultiServiceLabelsRequest) MarshalBinary ¶ added in v0.32.0

func (m *PlayStationDLCSyncMultiServiceLabelsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PlayStationDLCSyncMultiServiceLabelsRequest) UnmarshalBinary ¶ added in v0.32.0

func (m *PlayStationDLCSyncMultiServiceLabelsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PlayStationDLCSyncMultiServiceLabelsRequest) Validate ¶ added in v0.32.0

Validate validates this play station DLC sync multi service labels request

type PlayStationDLCSyncRequest ¶ added in v0.10.0

type PlayStationDLCSyncRequest struct {

	// service label
	ServiceLabel int32 `json:"serviceLabel,omitempty"`
}

PlayStationDLCSyncRequest play station DLC 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 DLC sync request

type PlayStationIAPConfigInfo ¶

type PlayStationIAPConfigInfo struct {

	// environment
	// Required: true
	Environment *string `json:"environment"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`
}

PlayStationIAPConfigInfo play station IAP 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 IAP config info

type PlayStationMultiServiceLabelsReconcileRequest ¶ added in v0.32.0

type PlayStationMultiServiceLabelsReconcileRequest struct {

	// product price currency
	CurrencyCode string `json:"currencyCode,omitempty"`

	// product price
	Price float64 `json:"price,omitempty"`

	// productId
	ProductID string `json:"productId,omitempty"`

	// service labels
	// Unique: true
	ServiceLabels []int32 `json:"serviceLabels"`
}

PlayStationMultiServiceLabelsReconcileRequest play station multi service labels reconcile request

swagger:model PlayStationMultiServiceLabelsReconcileRequest

func (*PlayStationMultiServiceLabelsReconcileRequest) MarshalBinary ¶ added in v0.32.0

MarshalBinary interface implementation

func (*PlayStationMultiServiceLabelsReconcileRequest) UnmarshalBinary ¶ added in v0.32.0

UnmarshalBinary interface implementation

func (*PlayStationMultiServiceLabelsReconcileRequest) Validate ¶ added in v0.32.0

Validate validates this play station multi service labels reconcile request

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: [FAILED FULFILLED VERIFIED]
	Status string `json:"status,omitempty"`

	// transaction Id
	TransactionID string `json:"transactionId,omitempty"`
}

PlayStationReconcileResult play station reconcile result

swagger:model PlayStationReconcileResult

func (*PlayStationReconcileResult) MarshalBinary ¶

func (m *PlayStationReconcileResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PlayStationReconcileResult) UnmarshalBinary ¶

func (m *PlayStationReconcileResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

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 IAP 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 IAP 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: [DEMO DLC GAME SOFTWARE]
	AppType string `json:"appType,omitempty"`

	// Base app id
	BaseAppID string `json:"baseAppId,omitempty"`

	// booth name to get tickets while it's item type is CODE
	BoothName string `json:"boothName,omitempty"`

	// the items which this item being bounded to
	// Unique: true
	BoundItemIds []string `json:"boundItemIds"`

	// Item category path
	// Required: true
	CategoryPath *string `json:"categoryPath"`

	// customized item clazz
	Clazz string `json:"clazz,omitempty"`

	// created at
	// Required: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt"`

	// description info
	Description string `json:"description,omitempty"`

	// display order
	DisplayOrder int32 `json:"displayOrder,omitempty"`

	// Entitlement type
	// Required: true
	// Enum: [CONSUMABLE DURABLE]
	EntitlementType *string `json:"entitlementType"`

	// customized item properties
	Ext map[string]interface{} `json:"ext,omitempty"`

	// Features
	// Unique: true
	Features []string `json:"features"`

	// fresh
	Fresh bool `json:"fresh"`

	// images
	Images []*Image `json:"images"`

	// Item id
	// Required: true
	ItemID *string `json:"itemId"`

	// itemIds, should be empty if item type is not "BUNDLE"
	ItemIds []string `json:"itemIds"`

	// itemQty, the quantity of item in itemIds, default 1, should be empty if item type is not "BUNDLE"
	ItemQty map[string]int32 `json:"itemQty,omitempty"`

	// Item type
	// Required: true
	// Enum: [APP BUNDLE CODE COINS EXTENSION INGAMEITEM LOOTBOX MEDIA OPTIONBOX SEASON SUBSCRIPTION]
	ItemType *string `json:"itemType"`

	// bundle items, only has value when item is bundle or optionbox 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"`

	// loot box config
	LootBoxConfig *LootBoxConfig `json:"lootBoxConfig,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"`

	// option box config
	OptionBoxConfig *OptionBoxConfig `json:"optionBoxConfig,omitempty"`

	// Whether can be purchased
	Purchasable bool `json:"purchasable"`

	// purchase condition
	PurchaseCondition *PurchaseCondition `json:"purchaseCondition,omitempty"`

	// 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 Predicate ¶ added in v0.39.0

type Predicate struct {

	// anyOf, only available if comparison is includes or excludes
	AnyOf int32 `json:"anyOf,omitempty"`

	// comparison
	// Enum: [excludes includes is isGreaterThan isGreaterThanOrEqual isLessThan isLessThanOrEqual isNot]
	Comparison string `json:"comparison,omitempty"`

	// predicate name
	Name string `json:"name,omitempty"`

	// predicate type
	// Enum: [EntitlementPredicate SeasonPassPredicate SeasonTierPredicate]
	PredicateType string `json:"predicateType,omitempty"`

	// value, pass check value when predicateType is SeasonTierPredicate
	Value string `json:"value,omitempty"`

	// values, pass check value when predicateType is EntitlementPredicate or SeasonPassPredicateEntitlementPredicate requires item sku list, SeasonPassPredicate requires pass code list
	// Unique: true
	Values []string `json:"values"`
}

Predicate predicate object

swagger:model Predicate

func (*Predicate) MarshalBinary ¶ added in v0.39.0

func (m *Predicate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Predicate) UnmarshalBinary ¶ added in v0.39.0

func (m *Predicate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*Predicate) Validate ¶ added in v0.39.0

func (m *Predicate) Validate(formats strfmt.Registry) error

Validate validates this predicate

type PredicateValidateResult ¶ added in v0.24.0

type PredicateValidateResult struct {

	// matched value list
	Matched []string `json:"matched"`

	// predicate name
	PredicateName string `json:"predicateName,omitempty"`

	// unmatched value list
	Unmatched []string `json:"unmatched"`

	// is validated
	Validated bool `json:"validated"`
}

PredicateValidateResult predicate validate result

swagger:model PredicateValidateResult

func (*PredicateValidateResult) MarshalBinary ¶ added in v0.24.0

func (m *PredicateValidateResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PredicateValidateResult) UnmarshalBinary ¶ added in v0.24.0

func (m *PredicateValidateResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PredicateValidateResult) Validate ¶ added in v0.24.0

func (m *PredicateValidateResult) Validate(formats strfmt.Registry) error

Validate validates this predicate validate result

type PurchaseCondition ¶ added in v0.24.0

type PurchaseCondition struct {

	// condition groups, the operator for condition group is 'or'
	ConditionGroups []*ConditionGroup `json:"conditionGroups"`
}

PurchaseCondition purchase condition

swagger:model PurchaseCondition

func (*PurchaseCondition) MarshalBinary ¶ added in v0.24.0

func (m *PurchaseCondition) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PurchaseCondition) UnmarshalBinary ¶ added in v0.24.0

func (m *PurchaseCondition) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PurchaseCondition) Validate ¶ added in v0.24.0

func (m *PurchaseCondition) Validate(formats strfmt.Registry) error

Validate validates this purchase condition

type PurchaseConditionUpdate ¶ added in v0.24.0

type PurchaseConditionUpdate struct {

	// purchase condition
	PurchaseCondition *PurchaseCondition `json:"purchaseCondition,omitempty"`
}

PurchaseConditionUpdate A DTO object for creating/updating item purchase condition

swagger:model PurchaseConditionUpdate

func (*PurchaseConditionUpdate) MarshalBinary ¶ added in v0.24.0

func (m *PurchaseConditionUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*PurchaseConditionUpdate) UnmarshalBinary ¶ added in v0.24.0

func (m *PurchaseConditionUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*PurchaseConditionUpdate) Validate ¶ added in v0.24.0

func (m *PurchaseConditionUpdate) Validate(formats strfmt.Registry) error

Validate validates this purchase condition update

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: [MONTHLY QUARTERLY WEEKLY YEARLY]
	Cycle *string `json:"cycle"`

	// fixed free days, 0 means not set
	// Required: true
	FixedFreeDays *int32 `json:"fixedFreeDays"`

	// fixed trial cycles, 0 means not set
	// Required: true
	FixedTrialCycles *int32 `json:"fixedTrialCycles"`

	// recurring grace days, retry recurring charge within configured days if charge fail, default 7
	// Required: true
	GraceDays *int32 `json:"graceDays"`
}

Recurring recurring

swagger:model Recurring

func (*Recurring) MarshalBinary ¶

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 RequestHistory ¶ added in v0.30.0

type RequestHistory struct {

	// request time
	// Format: date-time
	RequestTime *strfmt.DateTime `json:"requestTime,omitempty"`

	// response body
	ResponseBody interface{} `json:"responseBody,omitempty"`

	// response time
	// Format: date-time
	ResponseTime *strfmt.DateTime `json:"responseTime,omitempty"`

	// status
	// Enum: [FAIL PENDING SUCCESS]
	Status string `json:"status,omitempty"`

	// status code
	StatusCode int32 `json:"statusCode,omitempty"`
}

RequestHistory request history

swagger:model RequestHistory

func (*RequestHistory) MarshalBinary ¶ added in v0.30.0

func (m *RequestHistory) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RequestHistory) UnmarshalBinary ¶ added in v0.30.0

func (m *RequestHistory) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RequestHistory) Validate ¶ added in v0.30.0

func (m *RequestHistory) Validate(formats strfmt.Registry) error

Validate validates this request history

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 RevocationConfigInfo ¶ added in v0.38.0

type RevocationConfigInfo struct {

	// entitlement
	Entitlement *EntitlementRevocationConfig `json:"entitlement,omitempty"`

	// namespace
	Namespace string `json:"namespace,omitempty"`

	// wallet
	Wallet *WalletRevocationConfig `json:"wallet,omitempty"`
}

RevocationConfigInfo revocation config info

swagger:model RevocationConfigInfo

func (*RevocationConfigInfo) MarshalBinary ¶ added in v0.38.0

func (m *RevocationConfigInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RevocationConfigInfo) UnmarshalBinary ¶ added in v0.38.0

func (m *RevocationConfigInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RevocationConfigInfo) Validate ¶ added in v0.38.0

func (m *RevocationConfigInfo) Validate(formats strfmt.Registry) error

Validate validates this revocation config info

type RevocationConfigUpdate ¶ added in v0.38.0

type RevocationConfigUpdate struct {

	// entitlement revocation config
	Entitlement *EntitlementRevocationConfig `json:"entitlement,omitempty"`

	// wallet revocation config
	Wallet *WalletRevocationConfig `json:"wallet,omitempty"`
}

RevocationConfigUpdate revocation config update

swagger:model RevocationConfigUpdate

func (*RevocationConfigUpdate) MarshalBinary ¶ added in v0.38.0

func (m *RevocationConfigUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RevocationConfigUpdate) UnmarshalBinary ¶ added in v0.38.0

func (m *RevocationConfigUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RevocationConfigUpdate) Validate ¶ added in v0.38.0

func (m *RevocationConfigUpdate) Validate(formats strfmt.Registry) error

Validate validates this revocation config update

type RevocationHistoryInfo ¶ added in v0.38.0

type RevocationHistoryInfo struct {

	// created at
	// Format: date-time
	CreatedAt *strfmt.DateTime `json:"createdAt,omitempty"`

	// credit revocations
	CreditRevocations []*CreditRevocation `json:"creditRevocations"`

	// entitlement revocations
	EntitlementRevocations []*EntitlementRevocation `json:"entitlementRevocations"`

	// id
	ID string `json:"id,omitempty"`

	// item revocations
	ItemRevocations []*ItemRevocation `json:"itemRevocations"`

	// meta
	Meta map[string]interface{} `json:"meta,omitempty"`

	// namespace
	Namespace string `json:"namespace,omitempty"`

	// revoke entries
	RevokeEntries []*RevokeEntry `json:"revokeEntries"`

	// source
	Source string `json:"source,omitempty"`

	// status
	// Enum: [FAIL SUCCESS]
	Status string `json:"status,omitempty"`

	// updated at
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt,omitempty"`

	// userId
	UserID string `json:"userId,omitempty"`
}

RevocationHistoryInfo revocation history info

swagger:model RevocationHistoryInfo

func (*RevocationHistoryInfo) MarshalBinary ¶ added in v0.38.0

func (m *RevocationHistoryInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RevocationHistoryInfo) UnmarshalBinary ¶ added in v0.38.0

func (m *RevocationHistoryInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RevocationHistoryInfo) Validate ¶ added in v0.38.0

func (m *RevocationHistoryInfo) Validate(formats strfmt.Registry) error

Validate validates this revocation history info

type RevocationHistoryPagingSlicedResult ¶ added in v0.38.0

type RevocationHistoryPagingSlicedResult struct {

	// data
	// Required: true
	Data []*RevocationHistoryInfo `json:"data"`

	// paging
	Paging *Paging `json:"paging,omitempty"`
}

RevocationHistoryPagingSlicedResult revocation history paging sliced result

swagger:model RevocationHistoryPagingSlicedResult

func (*RevocationHistoryPagingSlicedResult) MarshalBinary ¶ added in v0.38.0

func (m *RevocationHistoryPagingSlicedResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RevocationHistoryPagingSlicedResult) UnmarshalBinary ¶ added in v0.38.0

func (m *RevocationHistoryPagingSlicedResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RevocationHistoryPagingSlicedResult) Validate ¶ added in v0.38.0

Validate validates this revocation history paging sliced result

type RevocationRequest ¶ added in v0.38.0

type RevocationRequest struct {

	// source meta info, like DLC transaction id, order no.
	Meta map[string]interface{} `json:"meta,omitempty"`

	// revoke entries
	RevokeEntries []*RevokeEntry `json:"revokeEntries"`

	// revoke source
	// Enum: [DLC ORDER OTHER]
	Source string `json:"source,omitempty"`

	// transaction id: DLC Order No, Order No.
	TransactionID string `json:"transactionId,omitempty"`
}

RevocationRequest revocation request

swagger:model RevocationRequest

func (*RevocationRequest) MarshalBinary ¶ added in v0.38.0

func (m *RevocationRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RevocationRequest) UnmarshalBinary ¶ added in v0.38.0

func (m *RevocationRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RevocationRequest) Validate ¶ added in v0.38.0

func (m *RevocationRequest) Validate(formats strfmt.Registry) error

Validate validates this revocation request

type RevocationResult ¶ added in v0.38.0

type RevocationResult struct {

	// credit revocations
	CreditRevocations []*CreditRevocation `json:"creditRevocations"`

	// entitlement revocations
	EntitlementRevocations []*EntitlementRevocation `json:"entitlementRevocations"`

	// revocation history id
	// Required: true
	ID *string `json:"id"`

	// item revocations
	ItemRevocations []*ItemRevocation `json:"itemRevocations"`

	// revocation status
	// Required: true
	// Enum: [FAIL SUCCESS]
	Status *string `json:"status"`
}

RevocationResult revocation result

swagger:model RevocationResult

func (*RevocationResult) MarshalBinary ¶ added in v0.38.0

func (m *RevocationResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RevocationResult) UnmarshalBinary ¶ added in v0.38.0

func (m *RevocationResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RevocationResult) Validate ¶ added in v0.38.0

func (m *RevocationResult) Validate(formats strfmt.Registry) error

Validate validates this revocation result

type RevokeCurrency ¶ added in v0.38.0

type RevokeCurrency struct {

	// balance origin
	// Enum: [Epic GooglePlay IOS Nintendo Other Playstation Steam System Twitch Xbox]
	BalanceOrigin string `json:"balanceOrigin,omitempty"`

	// currency code
	CurrencyCode string `json:"currencyCode,omitempty"`

	// currency namespace
	Namespace string `json:"namespace,omitempty"`
}

RevokeCurrency revoke currency

swagger:model RevokeCurrency

func (*RevokeCurrency) MarshalBinary ¶ added in v0.38.0

func (m *RevokeCurrency) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RevokeCurrency) UnmarshalBinary ¶ added in v0.38.0

func (m *RevokeCurrency) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RevokeCurrency) Validate ¶ added in v0.38.0

func (m *RevokeCurrency) Validate(formats strfmt.Registry) error

Validate validates this revoke currency

type RevokeEntitlement ¶ added in v0.38.0

type RevokeEntitlement struct {

	// entitlement clazz
	// Enum: [APP CODE ENTITLEMENT LOOTBOX MEDIA OPTIONBOX SUBSCRIPTION]
	Clazz string `json:"clazz,omitempty"`

	// entitlement id
	EntitlementID string `json:"entitlementId,omitempty"`

	// entitlement type
	// Enum: [CONSUMABLE DURABLE]
	Type string `json:"type,omitempty"`
}

RevokeEntitlement revoke entitlement

swagger:model RevokeEntitlement

func (*RevokeEntitlement) MarshalBinary ¶ added in v0.38.0

func (m *RevokeEntitlement) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RevokeEntitlement) UnmarshalBinary ¶ added in v0.38.0

func (m *RevokeEntitlement) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RevokeEntitlement) Validate ¶ added in v0.38.0

func (m *RevokeEntitlement) Validate(formats strfmt.Registry) error

Validate validates this revoke entitlement

type RevokeEntry ¶ added in v0.38.0

type RevokeEntry struct {

	// revoke currency
	Currency *RevokeCurrency `json:"currency,omitempty"`

	// revoke entitlement
	Entitlement *RevokeEntitlement `json:"entitlement,omitempty"`

	// revoke item
	Item *RevokeItem `json:"item,omitempty"`

	// revoke quantity
	Quantity int32 `json:"quantity,omitempty"`

	// revoke entry type
	// Enum: [CURRENCY ENTITLEMENT ITEM]
	Type string `json:"type,omitempty"`
}

RevokeEntry revoke entry

swagger:model RevokeEntry

func (*RevokeEntry) MarshalBinary ¶ added in v0.38.0

func (m *RevokeEntry) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RevokeEntry) UnmarshalBinary ¶ added in v0.38.0

func (m *RevokeEntry) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RevokeEntry) Validate ¶ added in v0.38.0

func (m *RevokeEntry) Validate(formats strfmt.Registry) error

Validate validates this revoke entry

type RevokeItem ¶ added in v0.38.0

type RevokeItem struct {

	// item identity
	ItemIdentity string `json:"itemIdentity,omitempty"`

	// item identity type
	// Enum: [ITEM_ID ITEM_SKU]
	ItemIdentityType string `json:"itemIdentityType,omitempty"`

	// balance origin, it is used to debit the wallet of the specified balance origin, only available in COINS item
	// Enum: [Epic GooglePlay IOS Nintendo Other Playstation Steam System Twitch Xbox]
	Origin string `json:"origin,omitempty"`
}

RevokeItem revoke item

swagger:model RevokeItem

func (*RevokeItem) MarshalBinary ¶ added in v0.38.0

func (m *RevokeItem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RevokeItem) UnmarshalBinary ¶ added in v0.38.0

func (m *RevokeItem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RevokeItem) Validate ¶ added in v0.38.0

func (m *RevokeItem) Validate(formats strfmt.Registry) error

Validate validates this revoke item

type RevokeItemSummary ¶ added in v0.33.0

type RevokeItemSummary struct {

	// item Id
	ItemID string `json:"itemId,omitempty"`

	// item sku
	ItemSku string `json:"itemSku,omitempty"`

	// item type
	ItemType string `json:"itemType,omitempty"`

	// revoke status
	// Enum: [COMPLETED SKIPPED]
	RevokeStatus string `json:"revokeStatus,omitempty"`
}

RevokeItemSummary revoke item summary

swagger:model RevokeItemSummary

func (*RevokeItemSummary) MarshalBinary ¶ added in v0.33.0

func (m *RevokeItemSummary) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RevokeItemSummary) UnmarshalBinary ¶ added in v0.33.0

func (m *RevokeItemSummary) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RevokeItemSummary) Validate ¶ added in v0.33.0

func (m *RevokeItemSummary) Validate(formats strfmt.Registry) error

Validate validates this revoke item summary

type RevokeResult ¶ added in v0.33.0

type RevokeResult struct {

	// revoke item summaries
	RevokeItemSummaries []*RevokeItemSummary `json:"revokeItemSummaries"`

	// reward
	Reward *PlatformReward `json:"reward,omitempty"`

	// status
	// Enum: [COMPLETED SKIPPED]
	Status string `json:"status,omitempty"`
}

RevokeResult revoke result

swagger:model RevokeResult

func (*RevokeResult) MarshalBinary ¶ added in v0.33.0

func (m *RevokeResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RevokeResult) UnmarshalBinary ¶ added in v0.33.0

func (m *RevokeResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RevokeResult) Validate ¶ added in v0.33.0

func (m *RevokeResult) Validate(formats strfmt.Registry) error

Validate validates this revoke result

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: [Epic GooglePlay IOS Nintendo Other Playstation Steam System Twitch Xbox]
	Origin string `json:"origin,omitempty"`

	// reward
	// Required: true
	Rewards []*PlatformReward `json:"rewards"`

	// source
	// Enum: [ACHIEVEMENT DLC GIFT IAP OTHER PROMOTION PURCHASE REDEEM_CODE REFERRAL_BONUS REWARD]
	Source string `json:"source,omitempty"`
}

RewardsRequest A DTO object for rewards request API call.

swagger:model RewardsRequest

func (*RewardsRequest) MarshalBinary ¶ added in v0.10.0

func (m *RewardsRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*RewardsRequest) UnmarshalBinary ¶ added in v0.10.0

func (m *RewardsRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*RewardsRequest) Validate ¶ added in v0.10.0

func (m *RewardsRequest) Validate(formats strfmt.Registry) error

Validate validates this rewards request

type SectionCreate ¶ added in v0.35.0

type SectionCreate struct {

	// active, default true
	Active bool `json:"active"`

	// display order
	DisplayOrder int32 `json:"displayOrder,omitempty"`

	// end date
	// Required: true
	// Format: date-time
	EndDate strfmt.DateTime `json:"endDate"`

	// section extension
	Ext map[string]interface{} `json:"ext,omitempty"`

	// fix period rotation config, don't allow null when rotation type is FIXED_PERIOD
	FixedPeriodRotationConfig *FixedPeriodRotationConfig `json:"fixedPeriodRotationConfig,omitempty"`

	// item ids
	Items []*SectionItem `json:"items"`

	// Localization, key language, value localization content
	// Required: true
	Localizations map[string]Localization `json:"localizations"`

	// section name
	// Required: true
	Name *string `json:"name"`

	// rotation type, default is NONE
	// Enum: [CUSTOM FIXED_PERIOD NONE]
	RotationType string `json:"rotationType,omitempty"`

	// start date
	// Required: true
	// Format: date-time
	StartDate strfmt.DateTime `json:"startDate"`

	// view id
	ViewID string `json:"viewId,omitempty"`
}

SectionCreate A DTO object for creating section API call.

swagger:model SectionCreate

func (*SectionCreate) MarshalBinary ¶ added in v0.35.0

func (m *SectionCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SectionCreate) UnmarshalBinary ¶ added in v0.35.0

func (m *SectionCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SectionCreate) Validate ¶ added in v0.35.0

func (m *SectionCreate) Validate(formats strfmt.Registry) error

Validate validates this section create

type SectionInfo ¶ added in v0.35.0

type SectionInfo struct {

	// active
	// Required: true
	Active *bool `json:"active"`

	// created time
	// Required: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt"`

	// only exists when rotation type is FIX_PERIOD or CUSTOM
	// Format: date-time
	CurrentRotationExpireAt *strfmt.DateTime `json:"currentRotationExpireAt,omitempty"`

	// current rotation item infos
	CurrentRotationItems []*ItemInfo `json:"currentRotationItems"`

	// description info
	Description string `json:"description,omitempty"`

	// display order
	DisplayOrder int32 `json:"displayOrder,omitempty"`

	// end date
	// Required: true
	// Format: date-time
	EndDate strfmt.DateTime `json:"endDate"`

	// customized section properties
	Ext map[string]interface{} `json:"ext,omitempty"`

	// local ext
	LocalExt map[string]interface{} `json:"localExt,omitempty"`

	// long description info
	LongDescription string `json:"longDescription,omitempty"`

	// name
	// Required: true
	Name *string `json:"name"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// id
	// Required: true
	SectionID *string `json:"sectionId"`

	// start date
	// Required: true
	// Format: date-time
	StartDate strfmt.DateTime `json:"startDate"`

	// title info
	// Required: true
	Title *string `json:"title"`

	// updated time
	// Required: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt"`

	// view id
	// Required: true
	ViewID *string `json:"viewId"`
}

SectionInfo section info

swagger:model SectionInfo

func (*SectionInfo) MarshalBinary ¶ added in v0.35.0

func (m *SectionInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SectionInfo) UnmarshalBinary ¶ added in v0.35.0

func (m *SectionInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SectionInfo) Validate ¶ added in v0.35.0

func (m *SectionInfo) Validate(formats strfmt.Registry) error

Validate validates this section info

type SectionItem ¶ added in v0.35.0

type SectionItem struct {

	// item id
	// Required: true
	ID *string `json:"id"`

	// item sku
	Sku string `json:"sku,omitempty"`
}

SectionItem section item

swagger:model SectionItem

func (*SectionItem) MarshalBinary ¶ added in v0.35.0

func (m *SectionItem) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SectionItem) UnmarshalBinary ¶ added in v0.35.0

func (m *SectionItem) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SectionItem) Validate ¶ added in v0.35.0

func (m *SectionItem) Validate(formats strfmt.Registry) error

Validate validates this section item

type SectionPagingSlicedResult ¶ added in v0.35.0

type SectionPagingSlicedResult struct {

	// data
	// Required: true
	Data []*FullSectionInfo `json:"data"`

	// paging
	Paging *Paging `json:"paging,omitempty"`
}

SectionPagingSlicedResult section paging sliced result

swagger:model SectionPagingSlicedResult

func (*SectionPagingSlicedResult) MarshalBinary ¶ added in v0.35.0

func (m *SectionPagingSlicedResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SectionPagingSlicedResult) UnmarshalBinary ¶ added in v0.35.0

func (m *SectionPagingSlicedResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SectionPagingSlicedResult) Validate ¶ added in v0.35.0

func (m *SectionPagingSlicedResult) Validate(formats strfmt.Registry) error

Validate validates this section paging sliced result

type SectionUpdate ¶ added in v0.35.0

type SectionUpdate struct {

	// active, default true
	Active bool `json:"active"`

	// display order
	DisplayOrder int32 `json:"displayOrder,omitempty"`

	// end date
	// Required: true
	// Format: date-time
	EndDate strfmt.DateTime `json:"endDate"`

	// section extension
	Ext map[string]interface{} `json:"ext,omitempty"`

	// fix period rotation config, don't allow null when rotation type is FIXED_PERIOD
	FixedPeriodRotationConfig *FixedPeriodRotationConfig `json:"fixedPeriodRotationConfig,omitempty"`

	// items
	Items []*SectionItem `json:"items"`

	// Localization, key language, value localization content
	// Required: true
	Localizations map[string]Localization `json:"localizations"`

	// section name
	// Required: true
	Name *string `json:"name"`

	// rotation type, default is NONE
	// Enum: [CUSTOM FIXED_PERIOD NONE]
	RotationType string `json:"rotationType,omitempty"`

	// start date
	// Required: true
	// Format: date-time
	StartDate strfmt.DateTime `json:"startDate"`

	// view id
	ViewID string `json:"viewId,omitempty"`
}

SectionUpdate A DTO object for updating section API call.

swagger:model SectionUpdate

func (*SectionUpdate) MarshalBinary ¶ added in v0.35.0

func (m *SectionUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SectionUpdate) UnmarshalBinary ¶ added in v0.35.0

func (m *SectionUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SectionUpdate) Validate ¶ added in v0.35.0

func (m *SectionUpdate) Validate(formats strfmt.Registry) error

Validate validates this section update

type ServicePluginConfigInfo ¶ added in v0.36.0

type ServicePluginConfigInfo struct {

	// plugin grpc server address: <host>:<port>
	GrpcServerAddress string `json:"grpcServerAddress,omitempty"`

	// namespace
	Namespace string `json:"namespace,omitempty"`
}

ServicePluginConfigInfo service plugin config info

swagger:model ServicePluginConfigInfo

func (*ServicePluginConfigInfo) MarshalBinary ¶ added in v0.36.0

func (m *ServicePluginConfigInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServicePluginConfigInfo) UnmarshalBinary ¶ added in v0.36.0

func (m *ServicePluginConfigInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServicePluginConfigInfo) Validate ¶ added in v0.36.0

func (m *ServicePluginConfigInfo) Validate(formats strfmt.Registry) error

Validate validates this service plugin config info

type ServicePluginConfigUpdate ¶ added in v0.36.0

type ServicePluginConfigUpdate struct {

	// plugin grpc server address: <host>:<port>
	GrpcServerAddress string `json:"grpcServerAddress,omitempty"`
}

ServicePluginConfigUpdate service plugin config update

swagger:model ServicePluginConfigUpdate

func (*ServicePluginConfigUpdate) MarshalBinary ¶ added in v0.36.0

func (m *ServicePluginConfigUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ServicePluginConfigUpdate) UnmarshalBinary ¶ added in v0.36.0

func (m *ServicePluginConfigUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ServicePluginConfigUpdate) Validate ¶ added in v0.36.0

func (m *ServicePluginConfigUpdate) Validate(formats strfmt.Registry) error

Validate validates this service plugin config update

type Slide ¶

type Slide struct {

	// alt
	Alt string `json:"alt,omitempty"`

	// preview url
	PreviewURL string `json:"previewUrl,omitempty"`

	// thumbnail url
	ThumbnailURL string `json:"thumbnailUrl,omitempty"`

	// slide type
	// Enum: [image video]
	Type string `json:"type,omitempty"`

	// url
	URL string `json:"url,omitempty"`

	// video source
	// Enum: [generic vimeo youtube]
	VideoSource string `json:"videoSource,omitempty"`
}

Slide slide

swagger:model Slide

func (*Slide) MarshalBinary ¶

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: [DEMO DLC GAME SOFTWARE]
	AppType string `json:"appType,omitempty"`

	// entitlement class
	// Required: true
	// Enum: [APP CODE ENTITLEMENT LOOTBOX MEDIA OPTIONBOX SUBSCRIPTION]
	Clazz *string `json:"clazz"`

	// entitlement created at
	// Required: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt"`

	// entitlement end date
	// Format: date-time
	EndDate *strfmt.DateTime `json:"endDate,omitempty"`

	// entitlement features
	// Unique: true
	Features []string `json:"features"`

	// entitlement granted at
	// Required: true
	// Format: date-time
	GrantedAt strfmt.DateTime `json:"grantedAt"`

	// grantedCode, the granted code
	GrantedCode string `json:"grantedCode,omitempty"`

	// entitlement id
	// Required: true
	ID *string `json:"id"`

	// itemId of the entitlement
	// Required: true
	ItemID *string `json:"itemId"`

	// itemNamespace for the purchased item
	// Required: true
	ItemNamespace *string `json:"itemNamespace"`

	// itemSnapshot
	ItemSnapshot *ItemSnapshot `json:"itemSnapshot,omitempty"`

	// entitlement name
	// Required: true
	Name *string `json:"name"`

	// entitlement namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// sku for purchased item
	Sku string `json:"sku,omitempty"`

	// entitlement source
	// Required: true
	// Enum: [ACHIEVEMENT GIFT IAP OTHER PROMOTION PURCHASE REDEEM_CODE REFERRAL_BONUS REWARD]
	Source *string `json:"source"`

	// whether the CONSUMABLE entitlement is stackable
	Stackable bool `json:"stackable"`

	// CONSUMABLE entitlement stacked use count
	StackedUseCount int32 `json:"stackedUseCount,omitempty"`

	// entitlement start date
	// Format: date-time
	StartDate *strfmt.DateTime `json:"startDate,omitempty"`

	// entitlement status
	// Required: true
	// Enum: [ACTIVE CONSUMED INACTIVE REVOKED]
	Status *string `json:"status"`

	// storeId of the item, published store if omitted
	StoreID string `json:"storeId,omitempty"`

	// entitlement type
	// Required: true
	// Enum: [CONSUMABLE DURABLE]
	Type *string `json:"type"`

	// entitlement updated at
	// Required: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt"`

	// useCount for entitlement
	UseCount int32 `json:"useCount,omitempty"`

	// userId for this entitlement
	// Required: true
	UserID *string `json:"userId"`
}

StackableEntitlementInfo stackable entitlement info

swagger:model StackableEntitlementInfo

func (*StackableEntitlementInfo) MarshalBinary ¶

func (m *StackableEntitlementInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*StackableEntitlementInfo) UnmarshalBinary ¶

func (m *StackableEntitlementInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*StackableEntitlementInfo) Validate ¶

func (m *StackableEntitlementInfo) Validate(formats strfmt.Registry) error

Validate validates this stackable entitlement info

type SteamAchievementUpdateRequest ¶ added in v0.39.0

type SteamAchievementUpdateRequest struct {

	// achievements to be updated
	Achievements []*Achievement `json:"achievements"`

	// steam user id
	SteamUserID string `json:"steamUserId,omitempty"`
}

SteamAchievementUpdateRequest A DTO object for unlock steam achievement API

swagger:model SteamAchievementUpdateRequest

func (*SteamAchievementUpdateRequest) MarshalBinary ¶ added in v0.39.0

func (m *SteamAchievementUpdateRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SteamAchievementUpdateRequest) UnmarshalBinary ¶ added in v0.39.0

func (m *SteamAchievementUpdateRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*SteamAchievementUpdateRequest) Validate ¶ added in v0.39.0

func (m *SteamAchievementUpdateRequest) Validate(formats strfmt.Registry) error

Validate validates this steam achievement update 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 DLC 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 DLC sync request

type SteamIAPConfig ¶

type SteamIAPConfig struct {

	// app Id
	AppID string `json:"appId,omitempty"`

	// created at
	// Format: date-time
	CreatedAt *strfmt.DateTime `json:"createdAt,omitempty"`

	// namespace
	Namespace string `json:"namespace,omitempty"`

	// publisher authentication key
	PublisherAuthenticationKey string `json:"publisherAuthenticationKey,omitempty"`

	// rvn
	Rvn int32 `json:"rvn,omitempty"`

	// updated at
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt,omitempty"`
}

SteamIAPConfig steam IAP 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 IAP config

type SteamIAPConfigInfo ¶

type SteamIAPConfigInfo struct {

	// steam app id
	AppID string `json:"appId,omitempty"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// steam publisher authentication key
	// Required: true
	PublisherAuthenticationKey *string `json:"publisherAuthenticationKey"`
}

SteamIAPConfigInfo steam IAP 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 IAP config info

type SteamIAPConfigRequest ¶

type SteamIAPConfigRequest struct {

	// appId
	// Required: true
	AppID *string `json:"appId"`

	// publisherAuthenticationKey
	PublisherAuthenticationKey string `json:"publisherAuthenticationKey,omitempty"`
}

SteamIAPConfigRequest steam IAP 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 IAP 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.<p>Supported language tag : [RFC5646](https://gist.github.com/msikma/8912e62ed866778ff8cd) and [IETF](https://datahub.io/core/language-codes#resource-ietf-language-tags)</p>
	// Pattern: ^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$
	Language string `json:"language,omitempty"`

	// product price
	Price float64 `json:"price,omitempty"`

	// steamdefid
	ProductID string `json:"productId,omitempty"`

	// country value from ISO countries
	Region string `json:"region,omitempty"`

	// Steam ID of the user
	// Required: true
	SteamID *string `json:"steamId"`
}

SteamSyncRequest steam sync request

swagger:model SteamSyncRequest

func (*SteamSyncRequest) MarshalBinary ¶

func (m *SteamSyncRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SteamSyncRequest) UnmarshalBinary ¶

func (m *SteamSyncRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

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.<p>Supported language tag : [RFC5646](https://gist.github.com/msikma/8912e62ed866778ff8cd) and [IETF](https://datahub.io/core/language-codes#resource-ietf-language-tags)</p>
	// Pattern: ^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$
	Language string `json:"language,omitempty"`

	// country value from ISO countries
	Region string `json:"region,omitempty"`

	// custom return url for real payment, user will be redirected to this url once payment is finished
	ReturnURL string `json:"returnUrl,omitempty"`

	// subscription source
	Source string `json:"source,omitempty"`
}

SubscribeRequest subscribe request

swagger:model SubscribeRequest

func (*SubscribeRequest) MarshalBinary ¶ added in v0.7.0

func (m *SubscribeRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SubscribeRequest) UnmarshalBinary ¶ added in v0.7.0

func (m *SubscribeRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

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: [CANCEL CHANGE_BILLING_ACCOUNT GRANT_DAYS IMMEDIATE_CANCEL RESUBSCRIBE SUBSCRIBE]
	Action *string `json:"action"`

	// subscription already charged cycle
	// Required: true
	ChargedCycles *int32 `json:"chargedCycles"`

	// created at
	// Required: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt"`

	// subscription current cycle number
	// Required: true
	CurrentCycle *int32 `json:"currentCycle"`

	// subscription grant days, negative indicates decrease
	GrantDays int32 `json:"grantDays,omitempty"`

	// Subscription in fixed cycle trial or not
	InFixedCycleTrial bool `json:"inFixedCycleTrial"`

	// Subscription in fixed free days or not
	InFixedFreeDays bool `json:"inFixedFreeDays"`

	// Subscription namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// operator
	// Required: true
	Operator *string `json:"operator"`

	// subscription action reason
	Reason string `json:"reason,omitempty"`

	// subscription subscribed by
	// Required: true
	// Enum: [PLATFORM USER]
	SubscribedBy *string `json:"subscribedBy"`

	// Subscription id
	// Required: true
	SubscriptionID *string `json:"subscriptionId"`

	// Subscription already trialed cycles if exist
	TrialedCycles int32 `json:"trialedCycles,omitempty"`

	// updated at
	// Required: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt"`

	// Subscription user id
	// Required: true
	UserID *string `json:"userId"`
}

SubscriptionActivityInfo subscription activity info

swagger:model SubscriptionActivityInfo

func (*SubscriptionActivityInfo) MarshalBinary ¶ added in v0.7.0

func (m *SubscriptionActivityInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SubscriptionActivityInfo) UnmarshalBinary ¶ added in v0.7.0

func (m *SubscriptionActivityInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

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: [CHARGED CHARGE_FAILED NEVER RECURRING_CHARGING SETUP]
	ChargeStatus *string `json:"chargeStatus"`

	// already charged cycles
	ChargedCycles int32 `json:"chargedCycles,omitempty"`

	// created at
	// Required: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt"`

	// currency
	Currency *CurrencySummary `json:"currency,omitempty"`

	// current cycle in
	CurrentCycle int32 `json:"currentCycle,omitempty"`

	// current period end
	// Format: date-time
	CurrentPeriodEnd *strfmt.DateTime `json:"currentPeriodEnd,omitempty"`

	// current period start
	// Format: date-time
	CurrentPeriodStart *strfmt.DateTime `json:"currentPeriodStart,omitempty"`

	// description
	Description string `json:"description,omitempty"`

	// end date time if exist, at current it's not used
	// Format: date-time
	End *strfmt.DateTime `json:"end,omitempty"`

	// granted entitlement summary
	Entitlements []*EntitlementSummary `json:"entitlements"`

	// is first subscribe, will enjoy trial if trial available if it's first time subscribe
	FirstSubscribe bool `json:"firstSubscribe"`

	// id
	// Required: true
	ID *string `json:"id"`

	// whether in fixed cycle trial
	// Required: true
	InFixedCycleTrial *bool `json:"inFixedCycleTrial"`

	// whether in fixed free days
	// Required: true
	InFixedFreeDays *bool `json:"inFixedFreeDays"`

	// item id
	// Required: true
	ItemID *string `json:"itemId"`

	// item snapshot
	ItemSnapshot *ItemSnapshot `json:"itemSnapshot,omitempty"`

	// created language
	Language string `json:"language,omitempty"`

	// namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// next billing date
	// Format: date-time
	NextBillingDate *strfmt.DateTime `json:"nextBillingDate,omitempty"`

	// whether user paid from the subscription start
	Paid bool `json:"paid"`

	// whether need to go to payment station for payment
	// Required: true
	PaymentFlowRequired *bool `json:"paymentFlowRequired"`

	// current payment order no
	PaymentOrderNo string `json:"paymentOrderNo,omitempty"`

	// payment station url
	PaymentStationURL string `json:"paymentStationUrl,omitempty"`

	// normal price
	Price int32 `json:"price,omitempty"`

	// recurring
	// Required: true
	Recurring *Recurring `json:"recurring"`

	// created region
	Region string `json:"region,omitempty"`

	// payment retry attempted
	RetryAttempted int32 `json:"retryAttempted,omitempty"`

	// payment returnUrl for payment station
	ReturnURL string `json:"returnUrl,omitempty"`

	// is sandbox mode
	Sandbox bool `json:"sandbox"`

	// sku
	Sku string `json:"sku,omitempty"`

	// source
	Source string `json:"source,omitempty"`

	// start date time, it will record the first time subscribed
	// Format: date-time
	Start *strfmt.DateTime `json:"start,omitempty"`

	// status
	// Required: true
	// Enum: [ACTIVE CANCELLED EXPIRED INIT]
	Status *string `json:"status"`

	// subscribed date time
	// Format: date-time
	SubscribedAt *strfmt.DateTime `json:"subscribedAt,omitempty"`

	// subscribed by PLATFORM(system granted) or USER(subscribed by userself)
	// Enum: [PLATFORM USER]
	SubscribedBy string `json:"subscribedBy,omitempty"`

	// title
	Title string `json:"title,omitempty"`

	// trial price
	TrialPrice int32 `json:"trialPrice,omitempty"`

	// already trialed cycles if exist fixedCycleTrial
	TrialedCycles int32 `json:"trialedCycles,omitempty"`

	// unsubscribe reason
	UnsubscribeReason string `json:"unsubscribeReason,omitempty"`

	// unsubscribed date time
	// Format: date-time
	UnsubscribedAt *strfmt.DateTime `json:"unsubscribedAt,omitempty"`

	// updated at
	// Required: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt"`

	// user id
	// Required: true
	UserID *string `json:"userId"`
}

SubscriptionInfo subscription info

swagger:model SubscriptionInfo

func (*SubscriptionInfo) MarshalBinary ¶ added in v0.7.0

func (m *SubscriptionInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SubscriptionInfo) UnmarshalBinary ¶ added in v0.7.0

func (m *SubscriptionInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

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: [ACTIVE CANCELLED EXPIRED INIT]
	Status *string `json:"status"`

	// subscribed by PLATFORM(system granted) or USER(subscribed by userself)
	// Enum: [PLATFORM USER]
	SubscribedBy string `json:"subscribedBy,omitempty"`

	// user id
	// Required: true
	UserID *string `json:"userId"`
}

SubscriptionSummary subscription summary

swagger:model SubscriptionSummary

func (*SubscriptionSummary) MarshalBinary ¶ added in v0.7.0

func (m *SubscriptionSummary) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*SubscriptionSummary) UnmarshalBinary ¶ added in v0.7.0

func (m *SubscriptionSummary) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

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: [ADYEN ALIPAY CHECKOUT PAYPAL STRIPE WALLET WXPAY XSOLLA]
	PaymentProvider *string `json:"paymentProvider"`

	// Payment provider fee
	PaymentProviderFee int32 `json:"paymentProviderFee,omitempty"`

	// Payment station url
	PaymentStationURL string `json:"paymentStationUrl,omitempty"`

	// Payment order price
	// Required: true
	Price *int32 `json:"price"`

	// The time of the order refunded
	// Format: date-time
	RefundedTime *strfmt.DateTime `json:"refundedTime,omitempty"`

	// Payment order sales tax
	SalesTax int32 `json:"salesTax,omitempty"`

	// isSandbox, indicate if order is sandbox
	// Required: true
	Sandbox *bool `json:"sandbox"`

	// optional, unique identity for the item
	Sku string `json:"sku,omitempty"`

	// Payment order status
	// Required: true
	// Enum: [AUTHORISED AUTHORISE_FAILED CHARGEBACK CHARGEBACK_REVERSED CHARGED CHARGE_FAILED DELETED INIT NOTIFICATION_OF_CHARGEBACK REFUNDED REFUNDING REFUND_FAILED REQUEST_FOR_INFORMATION]
	Status *string `json:"status"`

	// Payment order status reason
	StatusReason string `json:"statusReason,omitempty"`

	// Subscription id if exist
	SubscriptionID string `json:"subscriptionId,omitempty"`

	// subtotal price
	SubtotalPrice int32 `json:"subtotalPrice,omitempty"`

	// target namespace, usually it's the game namespace
	TargetNamespace string `json:"targetNamespace,omitempty"`

	// target user id, usually it's the user id in game namespace
	TargetUserID string `json:"targetUserId,omitempty"`

	// Payment total tax
	Tax int32 `json:"tax,omitempty"`

	// total price
	TotalPrice int32 `json:"totalPrice,omitempty"`

	// total tax
	TotalTax int32 `json:"totalTax,omitempty"`

	// Transaction end date time
	// Format: date-time
	TxEndTime *strfmt.DateTime `json:"txEndTime,omitempty"`

	// notification type: payment
	// Required: true
	Type *string `json:"type"`

	// user id in namespace, will be null if there's targetUserId
	UserID string `json:"userId,omitempty"`

	// Payment order VAT
	Vat int32 `json:"vat,omitempty"`
}

TradeNotification trade notification

swagger:model TradeNotification

func (*TradeNotification) MarshalBinary ¶

func (m *TradeNotification) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TradeNotification) UnmarshalBinary ¶

func (m *TradeNotification) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

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: [ADYEN ALIPAY CHECKOUT PAYPAL STRIPE WALLET WXPAY XSOLLA]
	Provider string `json:"provider,omitempty"`

	// sales tax
	SalesTax int32 `json:"salesTax,omitempty"`

	// status
	// Enum: [FAILED FINISHED]
	Status string `json:"status,omitempty"`

	// tax
	Tax int32 `json:"tax,omitempty"`

	// tx end time
	// Format: date-time
	TxEndTime *strfmt.DateTime `json:"txEndTime,omitempty"`

	// tx Id
	TxID string `json:"txId,omitempty"`

	// type
	// Enum: [AUTHORISATION CHARGE CHARGEBACK CHARGEBACK_REVERSED CHARGE_FAILED NOTIFICATION_OF_CHARGEBACK REFUND REFUND_FAILED REQUEST_FOR_INFORMATION]
	Type string `json:"type,omitempty"`

	// vat
	Vat int32 `json:"vat,omitempty"`
}

Transaction transaction

swagger:model Transaction

func (*Transaction) MarshalBinary ¶

func (m *Transaction) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*Transaction) UnmarshalBinary ¶

func (m *Transaction) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

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"`

	// expire at
	// Format: date-time
	ExpireAt *strfmt.DateTime `json:"expireAt,omitempty"`

	// origin
	Origin string `json:"origin,omitempty"`

	// wallet Id
	WalletID string `json:"walletId,omitempty"`
}

TransactionAmountDetails transaction amount details

swagger:model TransactionAmountDetails

func (*TransactionAmountDetails) MarshalBinary ¶ added in v0.18.0

func (m *TransactionAmountDetails) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TransactionAmountDetails) UnmarshalBinary ¶ added in v0.18.0

func (m *TransactionAmountDetails) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

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 IAP 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 IAP 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 IAP 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 IAP 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.<p>Supported language tag : [RFC5646](https://gist.github.com/msikma/8912e62ed866778ff8cd) and [IETF](https://datahub.io/core/language-codes#resource-ietf-language-tags)</p>
	// Pattern: ^[A-Za-z]{2,4}([_-][A-Za-z]{4})?([_-]([A-Za-z]{2}|[0-9]{3}))?$
	Language string `json:"language,omitempty"`

	// country value from ISO countries
	Region string `json:"region,omitempty"`
}

TwitchSyncRequest twitch sync request

swagger:model TwitchSyncRequest

func (*TwitchSyncRequest) MarshalBinary ¶ added in v0.12.0

func (m *TwitchSyncRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*TwitchSyncRequest) UnmarshalBinary ¶ added in v0.12.0

func (m *TwitchSyncRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*TwitchSyncRequest) Validate ¶ added in v0.12.0

func (m *TwitchSyncRequest) Validate(formats strfmt.Registry) error

Validate validates this twitch sync request

type UserDLC ¶ added in v0.33.0

type UserDLC struct {

	// created at
	// Format: date-time
	CreatedAt *strfmt.DateTime `json:"createdAt,omitempty"`

	// dlcs
	Dlcs []*DLCRecord `json:"dlcs"`

	// id
	ID string `json:"id,omitempty"`

	// namespace
	Namespace string `json:"namespace,omitempty"`

	// platform
	// Enum: [EPICGAMES PSN STEAM XBOX]
	Platform string `json:"platform,omitempty"`

	// rvn
	Rvn int32 `json:"rvn,omitempty"`

	// updated at
	// Format: date-time
	UpdatedAt *strfmt.DateTime `json:"updatedAt,omitempty"`

	// user Id
	UserID string `json:"userId,omitempty"`
}

UserDLC user DLC

swagger:model UserDLC

func (*UserDLC) MarshalBinary ¶ added in v0.33.0

func (m *UserDLC) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*UserDLC) UnmarshalBinary ¶ added in v0.33.0

func (m *UserDLC) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*UserDLC) Validate ¶ added in v0.33.0

func (m *UserDLC) Validate(formats strfmt.Registry) error

Validate validates this user DLC

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 ViewCreate ¶ added in v0.35.0

type ViewCreate struct {

	// display order
	// Required: true
	DisplayOrder *int32 `json:"displayOrder"`

	// Localization, key language, value localization content
	// Required: true
	Localizations map[string]Localization `json:"localizations"`

	// view name
	// Required: true
	Name *string `json:"name"`
}

ViewCreate A DTO object for creating view API call.

swagger:model ViewCreate

func (*ViewCreate) MarshalBinary ¶ added in v0.35.0

func (m *ViewCreate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ViewCreate) UnmarshalBinary ¶ added in v0.35.0

func (m *ViewCreate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ViewCreate) Validate ¶ added in v0.35.0

func (m *ViewCreate) Validate(formats strfmt.Registry) error

Validate validates this view create

type ViewInfo ¶ added in v0.35.0

type ViewInfo struct {

	// view created time
	// Required: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt"`

	// description info
	Description string `json:"description,omitempty"`

	// display order
	// Required: true
	DisplayOrder *int32 `json:"displayOrder"`

	// local ext
	LocalExt map[string]interface{} `json:"localExt,omitempty"`

	// long description info
	LongDescription string `json:"longDescription,omitempty"`

	// view name
	// Required: true
	Name *string `json:"name"`

	// view namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// title info
	// Required: true
	Title *string `json:"title"`

	// view updated time
	// Required: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt"`

	// view id
	// Required: true
	ViewID *string `json:"viewId"`
}

ViewInfo view info

swagger:model ViewInfo

func (*ViewInfo) MarshalBinary ¶ added in v0.35.0

func (m *ViewInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ViewInfo) UnmarshalBinary ¶ added in v0.35.0

func (m *ViewInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ViewInfo) Validate ¶ added in v0.35.0

func (m *ViewInfo) Validate(formats strfmt.Registry) error

Validate validates this view info

type ViewUpdate ¶ added in v0.35.0

type ViewUpdate struct {

	// display order
	DisplayOrder int32 `json:"displayOrder,omitempty"`

	// Localization, key language, value localization content
	Localizations map[string]Localization `json:"localizations,omitempty"`

	// view name
	// Required: true
	Name *string `json:"name"`
}

ViewUpdate A DTO object for updating view API call.

swagger:model ViewUpdate

func (*ViewUpdate) MarshalBinary ¶ added in v0.35.0

func (m *ViewUpdate) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*ViewUpdate) UnmarshalBinary ¶ added in v0.35.0

func (m *ViewUpdate) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*ViewUpdate) Validate ¶ added in v0.35.0

func (m *ViewUpdate) Validate(formats strfmt.Registry) error

Validate validates this view update

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 WalletRevocationConfig ¶ added in v0.38.0

type WalletRevocationConfig struct {

	// will do revocation if enabled, otherwise will skip do revocation.
	Enabled bool `json:"enabled"`

	// wallet revocation strategy
	// Enum: [ALWAYS_REVOKE REVOKE_OR_REPORT]
	Strategy string `json:"strategy,omitempty"`
}

WalletRevocationConfig wallet revocation config

swagger:model WalletRevocationConfig

func (*WalletRevocationConfig) MarshalBinary ¶ added in v0.38.0

func (m *WalletRevocationConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*WalletRevocationConfig) UnmarshalBinary ¶ added in v0.38.0

func (m *WalletRevocationConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*WalletRevocationConfig) Validate ¶ added in v0.38.0

func (m *WalletRevocationConfig) Validate(formats strfmt.Registry) error

Validate validates this wallet revocation config

type WalletTransactionInfo ¶

type WalletTransactionInfo struct {

	// Transaction amount, it is absolute value.
	// Required: true
	Amount *int64 `json:"amount"`

	// The source of credit
	BalanceSource string `json:"balanceSource,omitempty"`

	// Transaction created time
	// Required: true
	// Format: date-time
	CreatedAt strfmt.DateTime `json:"createdAt"`

	// Transaction currency code
	// Required: true
	CurrencyCode *string `json:"currencyCode"`

	// Wallet namespace
	// Required: true
	Namespace *string `json:"namespace"`

	// Operator userId or ClientId
	// Required: true
	Operator *string `json:"operator"`

	// Reason of the transaction
	Reason string `json:"reason,omitempty"`

	// Transaction amount details
	TransactionAmountDetails []*TransactionAmountDetails `json:"transactionAmountDetails"`

	// Transaction updated time
	// Required: true
	// Format: date-time
	UpdatedAt strfmt.DateTime `json:"updatedAt"`

	// Wallet owner's userId
	// Required: true
	UserID *string `json:"userId"`

	// Action type
	// Required: true
	// Enum: [CREDIT DEBIT PAYMENT]
	WalletAction *string `json:"walletAction"`
}

WalletTransactionInfo wallet transaction info

swagger:model WalletTransactionInfo

func (*WalletTransactionInfo) MarshalBinary ¶

func (m *WalletTransactionInfo) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*WalletTransactionInfo) UnmarshalBinary ¶

func (m *WalletTransactionInfo) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

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 XblAchievementUpdateRequest ¶ added in v0.39.0

type XblAchievementUpdateRequest struct {

	// achievements to be updated
	Achievements []*Achievement `json:"achievements"`

	// service config Id
	ServiceConfigID string `json:"serviceConfigId,omitempty"`

	// title Id
	TitleID string `json:"titleId,omitempty"`

	// xbox live user id
	XboxUserID string `json:"xboxUserId,omitempty"`
}

XblAchievementUpdateRequest A DTO object for update xbox achievement complete percentage API

swagger:model XblAchievementUpdateRequest

func (*XblAchievementUpdateRequest) MarshalBinary ¶ added in v0.39.0

func (m *XblAchievementUpdateRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*XblAchievementUpdateRequest) UnmarshalBinary ¶ added in v0.39.0

func (m *XblAchievementUpdateRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*XblAchievementUpdateRequest) Validate ¶ added in v0.39.0

func (m *XblAchievementUpdateRequest) Validate(formats strfmt.Registry) error

Validate validates this xbl achievement update request

type XblDLCSyncRequest ¶ added in v0.10.0

type XblDLCSyncRequest struct {

	// xstsToken
	XstsToken string `json:"xstsToken,omitempty"`
}

XblDLCSyncRequest xbl DLC 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 DLC 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 IAP 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 IAP config info

type XblIAPConfigRequest ¶

type XblIAPConfigRequest struct {

	// relyingPartyCert
	// Required: true
	RelyingPartyCert *string `json:"relyingPartyCert"`
}

XblIAPConfigRequest xbl IAP 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 IAP 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: [FAILED FULFILLED VERIFIED]
	IAPOrderStatus string `json:"iapOrderStatus,omitempty"`

	// item Id
	ItemID string `json:"itemId,omitempty"`

	// sku
	Sku string `json:"sku,omitempty"`

	// transaction Id
	TransactionID string `json:"transactionId,omitempty"`

	// xbox product Id
	XboxProductID string `json:"xboxProductId,omitempty"`
}

XblReconcileResult xbl reconcile result

swagger:model XblReconcileResult

func (*XblReconcileResult) MarshalBinary ¶

func (m *XblReconcileResult) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*XblReconcileResult) UnmarshalBinary ¶

func (m *XblReconcileResult) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*XblReconcileResult) Validate ¶

func (m *XblReconcileResult) Validate(formats strfmt.Registry) error

Validate validates this xbl reconcile result

type XblUserAchievements ¶ added in v0.39.0

type XblUserAchievements struct {

	// user achievements, including unlocked and in progress
	Achievements []*AchievementInfo `json:"achievements"`
}

XblUserAchievements A DTO object for querying xbox user achievements

swagger:model XblUserAchievements

func (*XblUserAchievements) MarshalBinary ¶ added in v0.39.0

func (m *XblUserAchievements) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*XblUserAchievements) UnmarshalBinary ¶ added in v0.39.0

func (m *XblUserAchievements) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

func (*XblUserAchievements) Validate ¶ added in v0.39.0

func (m *XblUserAchievements) Validate(formats strfmt.Registry) error

Validate validates this xbl user achievements

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: [LARGE MEDIUM SMALL]
	Size *string `json:"size"`

	// theme
	// Required: true
	// Enum: [DARK DEFAULT DEFAULT_DARK]
	Theme *string `json:"theme"`
}

XsollaPaywallConfig xsolla paywall config

swagger:model XsollaPaywallConfig

func (*XsollaPaywallConfig) MarshalBinary ¶

func (m *XsollaPaywallConfig) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*XsollaPaywallConfig) UnmarshalBinary ¶

func (m *XsollaPaywallConfig) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

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: [LARGE MEDIUM SMALL]
	Size string `json:"size,omitempty"`

	// Payment UI theme, DEFAULT for default.
	// Enum: [DARK DEFAULT DEFAULT_DARK]
	Theme string `json:"theme,omitempty"`
}

XsollaPaywallConfigRequest xsolla paywall config request

swagger:model XsollaPaywallConfigRequest

func (*XsollaPaywallConfigRequest) MarshalBinary ¶

func (m *XsollaPaywallConfigRequest) MarshalBinary() ([]byte, error)

MarshalBinary interface implementation

func (*XsollaPaywallConfigRequest) UnmarshalBinary ¶

func (m *XsollaPaywallConfigRequest) UnmarshalBinary(b []byte) error

UnmarshalBinary interface implementation

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