ShopService

package
v0.0.0-...-a9baca4 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CreateCombinationStickerRequest_IdOfPreviousVersionOfCombinationSticker_DEFAULT string

Functions

This section is empty.

Types

type ApplicationVersionRange

type ApplicationVersionRange struct {
	LowerBound          string `thrift:"lowerBound,1" db:"lowerBound" json:"lowerBound"`
	LowerBoundInclusive bool   `thrift:"lowerBoundInclusive,2" db:"lowerBoundInclusive" json:"lowerBoundInclusive"`
	UpperBound          string `thrift:"upperBound,3" db:"upperBound" json:"upperBound"`
	UpperBoundInclusive bool   `thrift:"upperBoundInclusive,4" db:"upperBoundInclusive" json:"upperBoundInclusive"`
}

Attributes:

  • LowerBound
  • LowerBoundInclusive
  • UpperBound
  • UpperBoundInclusive
var ProductDetail_ApplicationVersionRange_DEFAULT *ApplicationVersionRange

func NewApplicationVersionRange

func NewApplicationVersionRange() *ApplicationVersionRange

func (*ApplicationVersionRange) Equals

func (*ApplicationVersionRange) GetLowerBound

func (p *ApplicationVersionRange) GetLowerBound() string

func (*ApplicationVersionRange) GetLowerBoundInclusive

func (p *ApplicationVersionRange) GetLowerBoundInclusive() bool

func (*ApplicationVersionRange) GetUpperBound

func (p *ApplicationVersionRange) GetUpperBound() string

func (*ApplicationVersionRange) GetUpperBoundInclusive

func (p *ApplicationVersionRange) GetUpperBoundInclusive() bool

func (*ApplicationVersionRange) LogValue

func (p *ApplicationVersionRange) LogValue() slog.Value

func (*ApplicationVersionRange) Read

func (*ApplicationVersionRange) ReadField1

func (p *ApplicationVersionRange) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*ApplicationVersionRange) ReadField2

func (p *ApplicationVersionRange) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*ApplicationVersionRange) ReadField3

func (p *ApplicationVersionRange) ReadField3(ctx context.Context, iprot thrift.TProtocol) error

func (*ApplicationVersionRange) ReadField4

func (p *ApplicationVersionRange) ReadField4(ctx context.Context, iprot thrift.TProtocol) error

func (*ApplicationVersionRange) String

func (p *ApplicationVersionRange) String() string

func (*ApplicationVersionRange) Validate

func (p *ApplicationVersionRange) Validate() error

func (*ApplicationVersionRange) Write

type CombinationStickerMetadata

type CombinationStickerMetadata struct {
	Version        int64            `thrift:"version,1" db:"version" json:"version"`
	CanvasWidth    float64          `thrift:"canvasWidth,2" db:"canvasWidth" json:"canvasWidth"`
	CanvasHeight   float64          `thrift:"canvasHeight,3" db:"canvasHeight" json:"canvasHeight"`
	StickerLayouts []*StickerLayout `thrift:"stickerLayouts,4" db:"stickerLayouts" json:"stickerLayouts"`
}

Attributes:

  • Version
  • CanvasWidth
  • CanvasHeight
  • StickerLayouts
var CreateCombinationStickerRequest_Metadata_DEFAULT *CombinationStickerMetadata

func NewCombinationStickerMetadata

func NewCombinationStickerMetadata() *CombinationStickerMetadata

func (*CombinationStickerMetadata) Equals

func (*CombinationStickerMetadata) GetCanvasHeight

func (p *CombinationStickerMetadata) GetCanvasHeight() float64

func (*CombinationStickerMetadata) GetCanvasWidth

func (p *CombinationStickerMetadata) GetCanvasWidth() float64

func (*CombinationStickerMetadata) GetStickerLayouts

func (p *CombinationStickerMetadata) GetStickerLayouts() []*StickerLayout

func (*CombinationStickerMetadata) GetVersion

func (p *CombinationStickerMetadata) GetVersion() int64

func (*CombinationStickerMetadata) LogValue

func (p *CombinationStickerMetadata) LogValue() slog.Value

func (*CombinationStickerMetadata) Read

func (*CombinationStickerMetadata) ReadField1

func (p *CombinationStickerMetadata) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*CombinationStickerMetadata) ReadField2

func (p *CombinationStickerMetadata) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*CombinationStickerMetadata) ReadField3

func (p *CombinationStickerMetadata) ReadField3(ctx context.Context, iprot thrift.TProtocol) error

func (*CombinationStickerMetadata) ReadField4

func (p *CombinationStickerMetadata) ReadField4(ctx context.Context, iprot thrift.TProtocol) error

func (*CombinationStickerMetadata) String

func (p *CombinationStickerMetadata) String() string

func (*CombinationStickerMetadata) Validate

func (p *CombinationStickerMetadata) Validate() error

func (*CombinationStickerMetadata) Write

type CombinationStickerStickerData

type CombinationStickerStickerData struct {
	PackageId string `thrift:"packageId,1" db:"packageId" json:"packageId"`
	StickerId string `thrift:"stickerId,2" db:"stickerId" json:"stickerId"`
	Version   int64  `thrift:"version,3" db:"version" json:"version"`
}

Attributes:

  • PackageId
  • StickerId
  • Version

func NewCombinationStickerStickerData

func NewCombinationStickerStickerData() *CombinationStickerStickerData

func (*CombinationStickerStickerData) Equals

func (*CombinationStickerStickerData) GetPackageId

func (p *CombinationStickerStickerData) GetPackageId() string

func (*CombinationStickerStickerData) GetStickerId

func (p *CombinationStickerStickerData) GetStickerId() string

func (*CombinationStickerStickerData) GetVersion

func (p *CombinationStickerStickerData) GetVersion() int64

func (*CombinationStickerStickerData) LogValue

func (*CombinationStickerStickerData) Read

func (*CombinationStickerStickerData) ReadField1

func (*CombinationStickerStickerData) ReadField2

func (*CombinationStickerStickerData) ReadField3

func (*CombinationStickerStickerData) String

func (*CombinationStickerStickerData) Validate

func (p *CombinationStickerStickerData) Validate() error

func (*CombinationStickerStickerData) Write

type ContactStatus

type ContactStatus int64
const (
	ContactStatus_UNSPECIFIED       ContactStatus = 0
	ContactStatus_FRIEND            ContactStatus = 1
	ContactStatus_FRIEND_BLOCKED    ContactStatus = 2
	ContactStatus_RECOMMEND         ContactStatus = 3
	ContactStatus_RECOMMEND_BLOCKED ContactStatus = 4
	ContactStatus_DELETED           ContactStatus = 5
	ContactStatus_DELETED_BLOCKED   ContactStatus = 6
)

func ContactStatusFromString

func ContactStatusFromString(s string) (ContactStatus, error)

func ContactStatusPtr

func ContactStatusPtr(v ContactStatus) *ContactStatus

func (ContactStatus) MarshalText

func (p ContactStatus) MarshalText() ([]byte, error)

func (*ContactStatus) Scan

func (p *ContactStatus) Scan(value interface{}) error

func (ContactStatus) String

func (p ContactStatus) String() string

func (*ContactStatus) UnmarshalText

func (p *ContactStatus) UnmarshalText(text []byte) error

func (*ContactStatus) Value

func (p *ContactStatus) Value() (driver.Value, error)

type CreateCombinationStickerRequest

type CreateCombinationStickerRequest struct {
	Metadata                                *CombinationStickerMetadata      `thrift:"metadata,1" db:"metadata" json:"metadata"`
	Stickers                                []*CombinationStickerStickerData `thrift:"stickers,2" db:"stickers" json:"stickers"`
	IdOfPreviousVersionOfCombinationSticker *string                          `` /* 152-byte string literal not displayed */
}

Attributes:

  • Metadata
  • Stickers
  • IdOfPreviousVersionOfCombinationSticker
var ShopServiceCreateCombinationStickerArgs_Request_DEFAULT *CreateCombinationStickerRequest

func NewCreateCombinationStickerRequest

func NewCreateCombinationStickerRequest() *CreateCombinationStickerRequest

func (*CreateCombinationStickerRequest) Equals

func (*CreateCombinationStickerRequest) GetIdOfPreviousVersionOfCombinationSticker

func (p *CreateCombinationStickerRequest) GetIdOfPreviousVersionOfCombinationSticker() string

func (*CreateCombinationStickerRequest) GetMetadata

func (*CreateCombinationStickerRequest) GetStickers

func (*CreateCombinationStickerRequest) IsSetIdOfPreviousVersionOfCombinationSticker

func (p *CreateCombinationStickerRequest) IsSetIdOfPreviousVersionOfCombinationSticker() bool

func (*CreateCombinationStickerRequest) IsSetMetadata

func (p *CreateCombinationStickerRequest) IsSetMetadata() bool

func (*CreateCombinationStickerRequest) LogValue

func (*CreateCombinationStickerRequest) Read

func (*CreateCombinationStickerRequest) ReadField1

func (*CreateCombinationStickerRequest) ReadField2

func (*CreateCombinationStickerRequest) ReadField3

func (*CreateCombinationStickerRequest) String

func (*CreateCombinationStickerRequest) Validate

func (p *CreateCombinationStickerRequest) Validate() error

func (*CreateCombinationStickerRequest) Write

type CreateCombinationStickerResponse

type CreateCombinationStickerResponse struct {
	ID string `thrift:"id,1" db:"id" json:"id"`
}

Attributes:

  • ID
var ShopServiceCreateCombinationStickerResult_Success_DEFAULT *CreateCombinationStickerResponse

func NewCreateCombinationStickerResponse

func NewCreateCombinationStickerResponse() *CreateCombinationStickerResponse

func (*CreateCombinationStickerResponse) Equals

func (*CreateCombinationStickerResponse) GetID

func (*CreateCombinationStickerResponse) LogValue

func (*CreateCombinationStickerResponse) Read

func (*CreateCombinationStickerResponse) ReadField1

func (*CreateCombinationStickerResponse) String

func (*CreateCombinationStickerResponse) Validate

func (*CreateCombinationStickerResponse) Write

type DefaulteditorsPickShowcaseType

type DefaulteditorsPickShowcaseType int64
const (
	DefaulteditorsPickShowcaseType_STATIC      DefaulteditorsPickShowcaseType = 0
	DefaulteditorsPickShowcaseType_POPULAR     DefaulteditorsPickShowcaseType = 1
	DefaulteditorsPickShowcaseType_NEW_RELEASE DefaulteditorsPickShowcaseType = 2
)

func DefaulteditorsPickShowcaseTypeFromString

func DefaulteditorsPickShowcaseTypeFromString(s string) (DefaulteditorsPickShowcaseType, error)

func (DefaulteditorsPickShowcaseType) MarshalText

func (p DefaulteditorsPickShowcaseType) MarshalText() ([]byte, error)

func (*DefaulteditorsPickShowcaseType) Scan

func (p *DefaulteditorsPickShowcaseType) Scan(value interface{}) error

func (DefaulteditorsPickShowcaseType) String

func (*DefaulteditorsPickShowcaseType) UnmarshalText

func (p *DefaulteditorsPickShowcaseType) UnmarshalText(text []byte) error

func (*DefaulteditorsPickShowcaseType) Value

type DetailedProductList

type DetailedProductList struct {
	ProductList []*ProductDetail `thrift:"productList,1" db:"productList" json:"productList"`
	Offset      int32            `thrift:"offset,2" db:"offset" json:"offset"`
	TotalSize   int32            `thrift:"totalSize,3" db:"totalSize" json:"totalSize"`
}

Attributes:

  • ProductList
  • Offset
  • TotalSize
var ShopServiceGetOwnedProductsResult_Success_DEFAULT *DetailedProductList

func NewDetailedProductList

func NewDetailedProductList() *DetailedProductList

func (*DetailedProductList) Equals

func (p *DetailedProductList) Equals(other *DetailedProductList) bool

func (*DetailedProductList) GetOffset

func (p *DetailedProductList) GetOffset() int32

func (*DetailedProductList) GetProductList

func (p *DetailedProductList) GetProductList() []*ProductDetail

func (*DetailedProductList) GetTotalSize

func (p *DetailedProductList) GetTotalSize() int32

func (*DetailedProductList) LogValue

func (p *DetailedProductList) LogValue() slog.Value

func (*DetailedProductList) Read

func (*DetailedProductList) ReadField1

func (p *DetailedProductList) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*DetailedProductList) ReadField2

func (p *DetailedProductList) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*DetailedProductList) ReadField3

func (p *DetailedProductList) ReadField3(ctx context.Context, iprot thrift.TProtocol) error

func (*DetailedProductList) String

func (p *DetailedProductList) String() string

func (*DetailedProductList) Validate

func (p *DetailedProductList) Validate() error

func (*DetailedProductList) Write

type EditorsPickBannerForClient

type EditorsPickBannerForClient struct {
	ID                             int64                          `thrift:"id,1" db:"id" json:"id"`
	EndPageBannerImageUrl          string                         `thrift:"endPageBannerImageUrl,2" db:"endPageBannerImageUrl" json:"endPageBannerImageUrl"`
	DefaulteditorsPickShowcaseType DefaulteditorsPickShowcaseType `thrift:"defaulteditorsPickShowcaseType,3" db:"defaulteditorsPickShowcaseType" json:"defaulteditorsPickShowcaseType"`
	ShowNewBadge                   bool                           `thrift:"showNewBadge,4" db:"showNewBadge" json:"showNewBadge"`
	Name                           string                         `thrift:"name,5" db:"name" json:"name"`
	Description                    string                         `thrift:"description,6" db:"description" json:"description"`
}

Attributes:

  • ID
  • EndPageBannerImageUrl
  • DefaulteditorsPickShowcaseType
  • ShowNewBadge
  • Name
  • Description

func NewEditorsPickBannerForClient

func NewEditorsPickBannerForClient() *EditorsPickBannerForClient

func (*EditorsPickBannerForClient) Equals

func (*EditorsPickBannerForClient) GetDefaulteditorsPickShowcaseType

func (p *EditorsPickBannerForClient) GetDefaulteditorsPickShowcaseType() DefaulteditorsPickShowcaseType

func (*EditorsPickBannerForClient) GetDescription

func (p *EditorsPickBannerForClient) GetDescription() string

func (*EditorsPickBannerForClient) GetEndPageBannerImageUrl

func (p *EditorsPickBannerForClient) GetEndPageBannerImageUrl() string

func (*EditorsPickBannerForClient) GetID

func (p *EditorsPickBannerForClient) GetID() int64

func (*EditorsPickBannerForClient) GetName

func (p *EditorsPickBannerForClient) GetName() string

func (*EditorsPickBannerForClient) GetShowNewBadge

func (p *EditorsPickBannerForClient) GetShowNewBadge() bool

func (*EditorsPickBannerForClient) LogValue

func (p *EditorsPickBannerForClient) LogValue() slog.Value

func (*EditorsPickBannerForClient) Read

func (*EditorsPickBannerForClient) ReadField1

func (p *EditorsPickBannerForClient) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*EditorsPickBannerForClient) ReadField2

func (p *EditorsPickBannerForClient) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*EditorsPickBannerForClient) ReadField3

func (p *EditorsPickBannerForClient) ReadField3(ctx context.Context, iprot thrift.TProtocol) error

func (*EditorsPickBannerForClient) ReadField4

func (p *EditorsPickBannerForClient) ReadField4(ctx context.Context, iprot thrift.TProtocol) error

func (*EditorsPickBannerForClient) ReadField5

func (p *EditorsPickBannerForClient) ReadField5(ctx context.Context, iprot thrift.TProtocol) error

func (*EditorsPickBannerForClient) ReadField6

func (p *EditorsPickBannerForClient) ReadField6(ctx context.Context, iprot thrift.TProtocol) error

func (*EditorsPickBannerForClient) String

func (p *EditorsPickBannerForClient) String() string

func (*EditorsPickBannerForClient) Validate

func (p *EditorsPickBannerForClient) Validate() error

func (*EditorsPickBannerForClient) Write

type GetProductRequest

type GetProductRequest struct {
	ProductType         ProductType `thrift:"productType,1" db:"productType" json:"productType"`
	ProductId           string      `thrift:"productId,2" db:"productId" json:"productId"`
	CarrierCode         string      `thrift:"carrierCode,3" db:"carrierCode" json:"carrierCode"`
	SaveBrowsingHistory bool        `thrift:"saveBrowsingHistory,4" db:"saveBrowsingHistory" json:"saveBrowsingHistory"`
}

Attributes:

  • ProductType
  • ProductId
  • CarrierCode
  • SaveBrowsingHistory
var ShopServiceGetProductV2Args_Request_DEFAULT *GetProductRequest

func NewGetProductRequest

func NewGetProductRequest() *GetProductRequest

func (*GetProductRequest) Equals

func (p *GetProductRequest) Equals(other *GetProductRequest) bool

func (*GetProductRequest) GetCarrierCode

func (p *GetProductRequest) GetCarrierCode() string

func (*GetProductRequest) GetProductId

func (p *GetProductRequest) GetProductId() string

func (*GetProductRequest) GetProductType

func (p *GetProductRequest) GetProductType() ProductType

func (*GetProductRequest) GetSaveBrowsingHistory

func (p *GetProductRequest) GetSaveBrowsingHistory() bool

func (*GetProductRequest) LogValue

func (p *GetProductRequest) LogValue() slog.Value

func (*GetProductRequest) Read

func (p *GetProductRequest) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*GetProductRequest) ReadField1

func (p *GetProductRequest) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*GetProductRequest) ReadField2

func (p *GetProductRequest) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*GetProductRequest) ReadField3

func (p *GetProductRequest) ReadField3(ctx context.Context, iprot thrift.TProtocol) error

func (*GetProductRequest) ReadField4

func (p *GetProductRequest) ReadField4(ctx context.Context, iprot thrift.TProtocol) error

func (*GetProductRequest) String

func (p *GetProductRequest) String() string

func (*GetProductRequest) Validate

func (p *GetProductRequest) Validate() error

func (*GetProductRequest) Write

func (p *GetProductRequest) Write(ctx context.Context, oprot thrift.TProtocol) error

type GetProductResponse

type GetProductResponse struct {
	ProductDetail *ProductDetail `thrift:"productDetail,1" db:"productDetail" json:"productDetail"`
}

Attributes:

  • ProductDetail
var ShopServiceGetProductV2Result_Success_DEFAULT *GetProductResponse

func NewGetProductResponse

func NewGetProductResponse() *GetProductResponse

func (*GetProductResponse) Equals

func (p *GetProductResponse) Equals(other *GetProductResponse) bool

func (*GetProductResponse) GetProductDetail

func (p *GetProductResponse) GetProductDetail() *ProductDetail

func (*GetProductResponse) IsSetProductDetail

func (p *GetProductResponse) IsSetProductDetail() bool

func (*GetProductResponse) LogValue

func (p *GetProductResponse) LogValue() slog.Value

func (*GetProductResponse) Read

func (*GetProductResponse) ReadField1

func (p *GetProductResponse) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*GetProductResponse) String

func (p *GetProductResponse) String() string

func (*GetProductResponse) Validate

func (p *GetProductResponse) Validate() error

func (*GetProductResponse) Write

func (p *GetProductResponse) Write(ctx context.Context, oprot thrift.TProtocol) error

type ImageTextProperty

type ImageTextProperty struct {
	Status                    ImageTextPropertyStatusType `thrift:"status,1" db:"status" json:"status"`
	Plaintext                 string                      `thrift:"plaintext,2" db:"plaintext" json:"plaintext"`
	NameTextMaxCharacterCount int32                       `thrift:"nameTextMaxCharacterCount,3" db:"nameTextMaxCharacterCount" json:"nameTextMaxCharacterCount"`
	EncryptedText             string                      `thrift:"encryptedText,4" db:"encryptedText" json:"encryptedText"`
}

Attributes:

  • Status
  • Plaintext
  • NameTextMaxCharacterCount
  • EncryptedText
var StickerProperty_NameTextProperty_DEFAULT *ImageTextProperty

func NewImageTextProperty

func NewImageTextProperty() *ImageTextProperty

func (*ImageTextProperty) Equals

func (p *ImageTextProperty) Equals(other *ImageTextProperty) bool

func (*ImageTextProperty) GetEncryptedText

func (p *ImageTextProperty) GetEncryptedText() string

func (*ImageTextProperty) GetNameTextMaxCharacterCount

func (p *ImageTextProperty) GetNameTextMaxCharacterCount() int32

func (*ImageTextProperty) GetPlaintext

func (p *ImageTextProperty) GetPlaintext() string

func (*ImageTextProperty) GetStatus

func (*ImageTextProperty) LogValue

func (p *ImageTextProperty) LogValue() slog.Value

func (*ImageTextProperty) Read

func (p *ImageTextProperty) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*ImageTextProperty) ReadField1

func (p *ImageTextProperty) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*ImageTextProperty) ReadField2

func (p *ImageTextProperty) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*ImageTextProperty) ReadField3

func (p *ImageTextProperty) ReadField3(ctx context.Context, iprot thrift.TProtocol) error

func (*ImageTextProperty) ReadField4

func (p *ImageTextProperty) ReadField4(ctx context.Context, iprot thrift.TProtocol) error

func (*ImageTextProperty) String

func (p *ImageTextProperty) String() string

func (*ImageTextProperty) Validate

func (p *ImageTextProperty) Validate() error

func (*ImageTextProperty) Write

func (p *ImageTextProperty) Write(ctx context.Context, oprot thrift.TProtocol) error

type ImageTextPropertyStatusType

type ImageTextPropertyStatusType int64
const (
	ImageTextPropertyStatusType_OK                             ImageTextPropertyStatusType = 0
	ImageTextPropertyStatusType_PRODUCT_UNSUPPORTED            ImageTextPropertyStatusType = 1
	ImageTextPropertyStatusType_TEXT_NOT_SPECIFIED             ImageTextPropertyStatusType = 2
	ImageTextPropertyStatusType_TEXT_STYLE_UNAVAILABLE         ImageTextPropertyStatusType = 3
	ImageTextPropertyStatusType_CHARACTER_COUNT_LIMIT_EXCEEDED ImageTextPropertyStatusType = 4
	ImageTextPropertyStatusType_CONTAINS_INVALID_WORD          ImageTextPropertyStatusType = 5
)

func ImageTextPropertyStatusTypeFromString

func ImageTextPropertyStatusTypeFromString(s string) (ImageTextPropertyStatusType, error)

func (ImageTextPropertyStatusType) MarshalText

func (p ImageTextPropertyStatusType) MarshalText() ([]byte, error)

func (*ImageTextPropertyStatusType) Scan

func (p *ImageTextPropertyStatusType) Scan(value interface{}) error

func (ImageTextPropertyStatusType) String

func (*ImageTextPropertyStatusType) UnmarshalText

func (p *ImageTextPropertyStatusType) UnmarshalText(text []byte) error

func (*ImageTextPropertyStatusType) Value

type Locale

type Locale struct {
	Language string `thrift:"language,1" db:"language" json:"language"`
	Country  string `thrift:"country,2" db:"country" json:"country"`
}

Attributes:

  • Language
  • Country
var PurchaseOrder_Locale_DEFAULT *Locale
var ShopServiceCanReceivePresentArgs_Locale_DEFAULT *Locale
var ShopServiceGetOwnedProductsArgs_Locale_DEFAULT *Locale
var ShopServiceGetPurchasedProductsArgs_Locale_DEFAULT *Locale
var ShopServiceGetReceivedPresentsArgs_Locale_DEFAULT *Locale
var ShopServiceGetSentPresentsArgs_Locale_DEFAULT *Locale

func NewLocale

func NewLocale() *Locale

func (*Locale) Equals

func (p *Locale) Equals(other *Locale) bool

func (*Locale) GetCountry

func (p *Locale) GetCountry() string

func (*Locale) GetLanguage

func (p *Locale) GetLanguage() string

func (*Locale) LogValue

func (p *Locale) LogValue() slog.Value

func (*Locale) Read

func (p *Locale) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*Locale) ReadField1

func (p *Locale) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*Locale) ReadField2

func (p *Locale) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*Locale) String

func (p *Locale) String() string

func (*Locale) Validate

func (p *Locale) Validate() error

func (*Locale) Write

func (p *Locale) Write(ctx context.Context, oprot thrift.TProtocol) error

type LpPromotionProperty

type LpPromotionProperty struct {
	AndingPageUrl string `thrift:"andingPageUrl,1" db:"andingPageUrl" json:"andingPageUrl"`
	Label         string `thrift:"label,2" db:"label" json:"label"`
	ButtonLabel   string `thrift:"buttonLabel,3" db:"buttonLabel" json:"buttonLabel"`
}

Attributes:

  • AndingPageUrl
  • Label
  • ButtonLabel
var ProductPromotionProperty_LpPromotionProperty_DEFAULT *LpPromotionProperty

func NewLpPromotionProperty

func NewLpPromotionProperty() *LpPromotionProperty

func (*LpPromotionProperty) Equals

func (p *LpPromotionProperty) Equals(other *LpPromotionProperty) bool

func (*LpPromotionProperty) GetAndingPageUrl

func (p *LpPromotionProperty) GetAndingPageUrl() string

func (*LpPromotionProperty) GetButtonLabel

func (p *LpPromotionProperty) GetButtonLabel() string

func (*LpPromotionProperty) GetLabel

func (p *LpPromotionProperty) GetLabel() string

func (*LpPromotionProperty) LogValue

func (p *LpPromotionProperty) LogValue() slog.Value

func (*LpPromotionProperty) Read

func (*LpPromotionProperty) ReadField1

func (p *LpPromotionProperty) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*LpPromotionProperty) ReadField2

func (p *LpPromotionProperty) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*LpPromotionProperty) ReadField3

func (p *LpPromotionProperty) ReadField3(ctx context.Context, iprot thrift.TProtocol) error

func (*LpPromotionProperty) String

func (p *LpPromotionProperty) String() string

func (*LpPromotionProperty) Validate

func (p *LpPromotionProperty) Validate() error

func (*LpPromotionProperty) Write

type PopupLayer

type PopupLayer int64
const (
	PopupLayer_FOREGROUND PopupLayer = 0
	PopupLayer_BACKGROUND PopupLayer = 1
)

func PopupLayerFromString

func PopupLayerFromString(s string) (PopupLayer, error)

func PopupLayerPtr

func PopupLayerPtr(v PopupLayer) *PopupLayer

func (PopupLayer) MarshalText

func (p PopupLayer) MarshalText() ([]byte, error)

func (*PopupLayer) Scan

func (p *PopupLayer) Scan(value interface{}) error

func (PopupLayer) String

func (p PopupLayer) String() string

func (*PopupLayer) UnmarshalText

func (p *PopupLayer) UnmarshalText(text []byte) error

func (*PopupLayer) Value

func (p *PopupLayer) Value() (driver.Value, error)

type Price

type Price struct {
	Currency    string `thrift:"currency,1" db:"currency" json:"currency"`
	Amount      string `thrift:"amount,2" db:"amount" json:"amount"`
	PriceString string `thrift:"priceString,3" db:"priceString" json:"priceString"`
}

Attributes:

  • Currency
  • Amount
  • PriceString
var ProductDetail_LocalizedPrice_DEFAULT *Price
var ProductDetail_Price_DEFAULT *Price
var PurchaseOrder_Price_DEFAULT *Price
var PurchaseRecord_PurchasedPrice_DEFAULT *Price

func NewPrice

func NewPrice() *Price

func (*Price) Equals

func (p *Price) Equals(other *Price) bool

func (*Price) GetAmount

func (p *Price) GetAmount() string

func (*Price) GetCurrency

func (p *Price) GetCurrency() string

func (*Price) GetPriceString

func (p *Price) GetPriceString() string

func (*Price) LogValue

func (p *Price) LogValue() slog.Value

func (*Price) Read

func (p *Price) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*Price) ReadField1

func (p *Price) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*Price) ReadField2

func (p *Price) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*Price) ReadField3

func (p *Price) ReadField3(ctx context.Context, iprot thrift.TProtocol) error

func (*Price) String

func (p *Price) String() string

func (*Price) Validate

func (p *Price) Validate() error

func (*Price) Write

func (p *Price) Write(ctx context.Context, oprot thrift.TProtocol) error

type ProductDetail

type ProductDetail struct {
	ID            string  `thrift:"id,1" db:"id" json:"id"`
	BillingItemId string  `thrift:"billingItemId,2" db:"billingItemId" json:"billingItemId"`
	Type          string  `thrift:"type,3" db:"type" json:"type"`
	Subtype       SubType `thrift:"subtype,4" db:"subtype" json:"subtype"`
	BillingCpId   string  `thrift:"billingCpId,5" db:"billingCpId" json:"billingCpId"`
	// unused fields # 6 to 10
	Name          string         `thrift:"name,11" db:"name" json:"name"`
	Author        string         `thrift:"author,12" db:"author" json:"author"`
	Details       string         `thrift:"details,13" db:"details" json:"details"`
	Copyright     string         `thrift:"copyright,14" db:"copyright" json:"copyright"`
	Notice        string         `thrift:"notice,15" db:"notice" json:"notice"`
	PromotionInfo *PromotionInfo `thrift:"promotionInfo,16" db:"promotionInfo" json:"promotionInfo"`
	// unused fields # 17 to 20
	LatestVersion           int64                    `thrift:"latestVersion,21" db:"latestVersion" json:"latestVersion"`
	LatestVersionString     string                   `thrift:"latestVersionString,22" db:"latestVersionString" json:"latestVersionString"`
	Version                 int64                    `thrift:"version,23" db:"version" json:"version"`
	VersionString           string                   `thrift:"versionString,24" db:"versionString" json:"versionString"`
	ApplicationVersionRange *ApplicationVersionRange `thrift:"applicationVersionRange,25" db:"applicationVersionRange" json:"applicationVersionRange"`
	// unused fields # 26 to 30
	Owned            bool `thrift:"owned,31" db:"owned" json:"owned"`
	GrantedByDefault bool `thrift:"grantedByDefault,32" db:"grantedByDefault" json:"grantedByDefault"`
	// unused fields # 33 to 40
	ValidFor   int32 `thrift:"validFor,41" db:"validFor" json:"validFor"`
	ValidUntil int64 `thrift:"validUntil,42" db:"validUntil" json:"validUntil"`
	// unused fields # 43 to 50
	OnSale              bool     `thrift:"onSale,51" db:"onSale" json:"onSale"`
	SalesFlag           []string `thrift:"salesFlag,52" db:"salesFlag" json:"salesFlag"`
	AvailableForPresent bool     `thrift:"availableForPresent,53" db:"availableForPresent" json:"availableForPresent"`
	AvailableForMyself  bool     `thrift:"availableForMyself,54" db:"availableForMyself" json:"availableForMyself"`
	// unused fields # 55 to 60
	PriceTier       int32  `thrift:"priceTier,61" db:"priceTier" json:"priceTier"`
	Price           *Price `thrift:"price,62" db:"price" json:"price"`
	PriceInLineCoin string `thrift:"priceInLineCoin,63" db:"priceInLineCoin" json:"priceInLineCoin"`
	LocalizedPrice  *Price `thrift:"localizedPrice,64" db:"localizedPrice" json:"localizedPrice"`
	// unused fields # 65 to 90
	Images              map[string][]string `thrift:"images,91" db:"images" json:"images"`
	Attributes          map[string]string   `thrift:"attributes,92" db:"attributes" json:"attributes"`
	AuthorId            string              `thrift:"authorId,93" db:"authorId" json:"authorId"`
	StickerResourceType StickerResourceType `thrift:"stickerResourceType,94" db:"stickerResourceType" json:"stickerResourceType"`
	ProductProperty     *ProductProperty    `thrift:"productProperty,95" db:"productProperty" json:"productProperty"`
	ProductSalesState   ProductSalesState   `thrift:"productSalesState,96" db:"productSalesState" json:"productSalesState"`
	InstalledTime       int64               `thrift:"installedTime,97" db:"installedTime" json:"installedTime"`
	// unused fields # 98 to 100
	ProductWishProperty         *ProductWishProperty          `thrift:"productWishProperty,101" db:"productWishProperty" json:"productWishProperty"`
	ProductSubscriptionProperty *ProductSubscriptionProperty  `thrift:"productSubscriptionProperty,102" db:"productSubscriptionProperty" json:"productSubscriptionProperty"`
	ProductPromotionProperty    *ProductPromotionProperty     `thrift:"productPromotionProperty,103" db:"productPromotionProperty" json:"productPromotionProperty"`
	AvailableInCountry          bool                          `thrift:"availableInCountry,104" db:"availableInCountry" json:"availableInCountry"`
	EditorsPickBanners          []*EditorsPickBannerForClient `thrift:"editorsPickBanners,105" db:"editorsPickBanners" json:"editorsPickBanners"`
	AbleToBeGivenAsPresent      bool                          `thrift:"ableToBeGivenAsPresent,106" db:"ableToBeGivenAsPresent" json:"ableToBeGivenAsPresent"`
}

Attributes:

  • ID
  • BillingItemId
  • Type
  • Subtype
  • BillingCpId
  • Name
  • Author
  • Details
  • Copyright
  • Notice
  • PromotionInfo
  • LatestVersion
  • LatestVersionString
  • Version
  • VersionString
  • ApplicationVersionRange
  • Owned
  • GrantedByDefault
  • ValidFor
  • ValidUntil
  • OnSale
  • SalesFlag
  • AvailableForPresent
  • AvailableForMyself
  • PriceTier
  • Price
  • PriceInLineCoin
  • LocalizedPrice
  • Images
  • Attributes
  • AuthorId
  • StickerResourceType
  • ProductProperty
  • ProductSalesState
  • InstalledTime
  • ProductWishProperty
  • ProductSubscriptionProperty
  • ProductPromotionProperty
  • AvailableInCountry
  • EditorsPickBanners
  • AbleToBeGivenAsPresent
var GetProductResponse_ProductDetail_DEFAULT *ProductDetail
var PurchaseRecord_ProductDetail_DEFAULT *ProductDetail

func NewProductDetail

func NewProductDetail() *ProductDetail

func (*ProductDetail) Equals

func (p *ProductDetail) Equals(other *ProductDetail) bool

func (*ProductDetail) GetAbleToBeGivenAsPresent

func (p *ProductDetail) GetAbleToBeGivenAsPresent() bool

func (*ProductDetail) GetApplicationVersionRange

func (p *ProductDetail) GetApplicationVersionRange() *ApplicationVersionRange

func (*ProductDetail) GetAttributes

func (p *ProductDetail) GetAttributes() map[string]string

func (*ProductDetail) GetAuthor

func (p *ProductDetail) GetAuthor() string

func (*ProductDetail) GetAuthorId

func (p *ProductDetail) GetAuthorId() string

func (*ProductDetail) GetAvailableForMyself

func (p *ProductDetail) GetAvailableForMyself() bool

func (*ProductDetail) GetAvailableForPresent

func (p *ProductDetail) GetAvailableForPresent() bool

func (*ProductDetail) GetAvailableInCountry

func (p *ProductDetail) GetAvailableInCountry() bool

func (*ProductDetail) GetBillingCpId

func (p *ProductDetail) GetBillingCpId() string

func (*ProductDetail) GetBillingItemId

func (p *ProductDetail) GetBillingItemId() string

func (*ProductDetail) GetCopyright

func (p *ProductDetail) GetCopyright() string

func (*ProductDetail) GetDetails

func (p *ProductDetail) GetDetails() string

func (*ProductDetail) GetEditorsPickBanners

func (p *ProductDetail) GetEditorsPickBanners() []*EditorsPickBannerForClient

func (*ProductDetail) GetGrantedByDefault

func (p *ProductDetail) GetGrantedByDefault() bool

func (*ProductDetail) GetID

func (p *ProductDetail) GetID() string

func (*ProductDetail) GetImages

func (p *ProductDetail) GetImages() map[string][]string

func (*ProductDetail) GetInstalledTime

func (p *ProductDetail) GetInstalledTime() int64

func (*ProductDetail) GetLatestVersion

func (p *ProductDetail) GetLatestVersion() int64

func (*ProductDetail) GetLatestVersionString

func (p *ProductDetail) GetLatestVersionString() string

func (*ProductDetail) GetLocalizedPrice

func (p *ProductDetail) GetLocalizedPrice() *Price

func (*ProductDetail) GetName

func (p *ProductDetail) GetName() string

func (*ProductDetail) GetNotice

func (p *ProductDetail) GetNotice() string

func (*ProductDetail) GetOnSale

func (p *ProductDetail) GetOnSale() bool

func (*ProductDetail) GetOwned

func (p *ProductDetail) GetOwned() bool

func (*ProductDetail) GetPrice

func (p *ProductDetail) GetPrice() *Price

func (*ProductDetail) GetPriceInLineCoin

func (p *ProductDetail) GetPriceInLineCoin() string

func (*ProductDetail) GetPriceTier

func (p *ProductDetail) GetPriceTier() int32

func (*ProductDetail) GetProductPromotionProperty

func (p *ProductDetail) GetProductPromotionProperty() *ProductPromotionProperty

func (*ProductDetail) GetProductProperty

func (p *ProductDetail) GetProductProperty() *ProductProperty

func (*ProductDetail) GetProductSalesState

func (p *ProductDetail) GetProductSalesState() ProductSalesState

func (*ProductDetail) GetProductSubscriptionProperty

func (p *ProductDetail) GetProductSubscriptionProperty() *ProductSubscriptionProperty

func (*ProductDetail) GetProductWishProperty

func (p *ProductDetail) GetProductWishProperty() *ProductWishProperty

func (*ProductDetail) GetPromotionInfo

func (p *ProductDetail) GetPromotionInfo() *PromotionInfo

func (*ProductDetail) GetSalesFlag

func (p *ProductDetail) GetSalesFlag() []string

func (*ProductDetail) GetStickerResourceType

func (p *ProductDetail) GetStickerResourceType() StickerResourceType

func (*ProductDetail) GetSubtype

func (p *ProductDetail) GetSubtype() SubType

func (*ProductDetail) GetType

func (p *ProductDetail) GetType() string

func (*ProductDetail) GetValidFor

func (p *ProductDetail) GetValidFor() int32

func (*ProductDetail) GetValidUntil

func (p *ProductDetail) GetValidUntil() int64

func (*ProductDetail) GetVersion

func (p *ProductDetail) GetVersion() int64

func (*ProductDetail) GetVersionString

func (p *ProductDetail) GetVersionString() string

func (*ProductDetail) IsSetApplicationVersionRange

func (p *ProductDetail) IsSetApplicationVersionRange() bool

func (*ProductDetail) IsSetLocalizedPrice

func (p *ProductDetail) IsSetLocalizedPrice() bool

func (*ProductDetail) IsSetPrice

func (p *ProductDetail) IsSetPrice() bool

func (*ProductDetail) IsSetProductPromotionProperty

func (p *ProductDetail) IsSetProductPromotionProperty() bool

func (*ProductDetail) IsSetProductProperty

func (p *ProductDetail) IsSetProductProperty() bool

func (*ProductDetail) IsSetProductSubscriptionProperty

func (p *ProductDetail) IsSetProductSubscriptionProperty() bool

func (*ProductDetail) IsSetProductWishProperty

func (p *ProductDetail) IsSetProductWishProperty() bool

func (*ProductDetail) IsSetPromotionInfo

func (p *ProductDetail) IsSetPromotionInfo() bool

func (*ProductDetail) LogValue

func (p *ProductDetail) LogValue() slog.Value

func (*ProductDetail) Read

func (p *ProductDetail) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*ProductDetail) ReadField1

func (p *ProductDetail) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*ProductDetail) ReadField2

func (p *ProductDetail) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*ProductDetail) ReadField3

func (p *ProductDetail) ReadField3(ctx context.Context, iprot thrift.TProtocol) error

func (*ProductDetail) ReadField4

func (p *ProductDetail) ReadField4(ctx context.Context, iprot thrift.TProtocol) error

func (*ProductDetail) ReadField5

func (p *ProductDetail) ReadField5(ctx context.Context, iprot thrift.TProtocol) error

func (*ProductDetail) ReadField11

func (p *ProductDetail) ReadField11(ctx context.Context, iprot thrift.TProtocol) error

func (*ProductDetail) ReadField12

func (p *ProductDetail) ReadField12(ctx context.Context, iprot thrift.TProtocol) error

func (*ProductDetail) ReadField13

func (p *ProductDetail) ReadField13(ctx context.Context, iprot thrift.TProtocol) error

func (*ProductDetail) ReadField14

func (p *ProductDetail) ReadField14(ctx context.Context, iprot thrift.TProtocol) error

func (*ProductDetail) ReadField15

func (p *ProductDetail) ReadField15(ctx context.Context, iprot thrift.TProtocol) error

func (*ProductDetail) ReadField16

func (p *ProductDetail) ReadField16(ctx context.Context, iprot thrift.TProtocol) error

func (*ProductDetail) ReadField21

func (p *ProductDetail) ReadField21(ctx context.Context, iprot thrift.TProtocol) error

func (*ProductDetail) ReadField22

func (p *ProductDetail) ReadField22(ctx context.Context, iprot thrift.TProtocol) error

func (*ProductDetail) ReadField23

func (p *ProductDetail) ReadField23(ctx context.Context, iprot thrift.TProtocol) error

func (*ProductDetail) ReadField24

func (p *ProductDetail) ReadField24(ctx context.Context, iprot thrift.TProtocol) error

func (*ProductDetail) ReadField25

func (p *ProductDetail) ReadField25(ctx context.Context, iprot thrift.TProtocol) error

func (*ProductDetail) ReadField31

func (p *ProductDetail) ReadField31(ctx context.Context, iprot thrift.TProtocol) error

func (*ProductDetail) ReadField32

func (p *ProductDetail) ReadField32(ctx context.Context, iprot thrift.TProtocol) error

func (*ProductDetail) ReadField41

func (p *ProductDetail) ReadField41(ctx context.Context, iprot thrift.TProtocol) error

func (*ProductDetail) ReadField42

func (p *ProductDetail) ReadField42(ctx context.Context, iprot thrift.TProtocol) error

func (*ProductDetail) ReadField51

func (p *ProductDetail) ReadField51(ctx context.Context, iprot thrift.TProtocol) error

func (*ProductDetail) ReadField52

func (p *ProductDetail) ReadField52(ctx context.Context, iprot thrift.TProtocol) error

func (*ProductDetail) ReadField53

func (p *ProductDetail) ReadField53(ctx context.Context, iprot thrift.TProtocol) error

func (*ProductDetail) ReadField54

func (p *ProductDetail) ReadField54(ctx context.Context, iprot thrift.TProtocol) error

func (*ProductDetail) ReadField61

func (p *ProductDetail) ReadField61(ctx context.Context, iprot thrift.TProtocol) error

func (*ProductDetail) ReadField62

func (p *ProductDetail) ReadField62(ctx context.Context, iprot thrift.TProtocol) error

func (*ProductDetail) ReadField63

func (p *ProductDetail) ReadField63(ctx context.Context, iprot thrift.TProtocol) error

func (*ProductDetail) ReadField64

func (p *ProductDetail) ReadField64(ctx context.Context, iprot thrift.TProtocol) error

func (*ProductDetail) ReadField91

func (p *ProductDetail) ReadField91(ctx context.Context, iprot thrift.TProtocol) error

func (*ProductDetail) ReadField92

func (p *ProductDetail) ReadField92(ctx context.Context, iprot thrift.TProtocol) error

func (*ProductDetail) ReadField93

func (p *ProductDetail) ReadField93(ctx context.Context, iprot thrift.TProtocol) error

func (*ProductDetail) ReadField94

func (p *ProductDetail) ReadField94(ctx context.Context, iprot thrift.TProtocol) error

func (*ProductDetail) ReadField95

func (p *ProductDetail) ReadField95(ctx context.Context, iprot thrift.TProtocol) error

func (*ProductDetail) ReadField96

func (p *ProductDetail) ReadField96(ctx context.Context, iprot thrift.TProtocol) error

func (*ProductDetail) ReadField97

func (p *ProductDetail) ReadField97(ctx context.Context, iprot thrift.TProtocol) error

func (*ProductDetail) ReadField101

func (p *ProductDetail) ReadField101(ctx context.Context, iprot thrift.TProtocol) error

func (*ProductDetail) ReadField102

func (p *ProductDetail) ReadField102(ctx context.Context, iprot thrift.TProtocol) error

func (*ProductDetail) ReadField103

func (p *ProductDetail) ReadField103(ctx context.Context, iprot thrift.TProtocol) error

func (*ProductDetail) ReadField104

func (p *ProductDetail) ReadField104(ctx context.Context, iprot thrift.TProtocol) error

func (*ProductDetail) ReadField105

func (p *ProductDetail) ReadField105(ctx context.Context, iprot thrift.TProtocol) error

func (*ProductDetail) ReadField106

func (p *ProductDetail) ReadField106(ctx context.Context, iprot thrift.TProtocol) error

func (*ProductDetail) String

func (p *ProductDetail) String() string

func (*ProductDetail) Validate

func (p *ProductDetail) Validate() error

func (*ProductDetail) Write

func (p *ProductDetail) Write(ctx context.Context, oprot thrift.TProtocol) error

type ProductPromotionProperty

type ProductPromotionProperty struct {
	LpPromotionProperty *LpPromotionProperty `thrift:"lpPromotionProperty,1" db:"lpPromotionProperty" json:"lpPromotionProperty"`
}

Attributes:

  • LpPromotionProperty
var ProductDetail_ProductPromotionProperty_DEFAULT *ProductPromotionProperty

func NewProductPromotionProperty

func NewProductPromotionProperty() *ProductPromotionProperty

func (*ProductPromotionProperty) Equals

func (*ProductPromotionProperty) GetLpPromotionProperty

func (p *ProductPromotionProperty) GetLpPromotionProperty() *LpPromotionProperty

func (*ProductPromotionProperty) IsSetLpPromotionProperty

func (p *ProductPromotionProperty) IsSetLpPromotionProperty() bool

func (*ProductPromotionProperty) LogValue

func (p *ProductPromotionProperty) LogValue() slog.Value

func (*ProductPromotionProperty) Read

func (*ProductPromotionProperty) ReadField1

func (p *ProductPromotionProperty) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*ProductPromotionProperty) String

func (p *ProductPromotionProperty) String() string

func (*ProductPromotionProperty) Validate

func (p *ProductPromotionProperty) Validate() error

func (*ProductPromotionProperty) Write

type ProductProperty

type ProductProperty struct {
	StickerProperty *StickerProperty `thrift:"stickerProperty,1" db:"stickerProperty" json:"stickerProperty"`
	ThemeProperty   *ThemeProperty   `thrift:"themeProperty,2" db:"themeProperty" json:"themeProperty"`
	SticonProperty  *SticonProperty  `thrift:"sticonProperty,3" db:"sticonProperty" json:"sticonProperty"`
}

Attributes:

  • StickerProperty
  • ThemeProperty
  • SticonProperty
var ProductDetail_ProductProperty_DEFAULT *ProductProperty

func NewProductProperty

func NewProductProperty() *ProductProperty

func (*ProductProperty) Equals

func (p *ProductProperty) Equals(other *ProductProperty) bool

func (*ProductProperty) GetStickerProperty

func (p *ProductProperty) GetStickerProperty() *StickerProperty

func (*ProductProperty) GetSticonProperty

func (p *ProductProperty) GetSticonProperty() *SticonProperty

func (*ProductProperty) GetThemeProperty

func (p *ProductProperty) GetThemeProperty() *ThemeProperty

func (*ProductProperty) IsSetStickerProperty

func (p *ProductProperty) IsSetStickerProperty() bool

func (*ProductProperty) IsSetSticonProperty

func (p *ProductProperty) IsSetSticonProperty() bool

func (*ProductProperty) IsSetThemeProperty

func (p *ProductProperty) IsSetThemeProperty() bool

func (*ProductProperty) LogValue

func (p *ProductProperty) LogValue() slog.Value

func (*ProductProperty) Read

func (p *ProductProperty) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*ProductProperty) ReadField1

func (p *ProductProperty) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*ProductProperty) ReadField2

func (p *ProductProperty) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*ProductProperty) ReadField3

func (p *ProductProperty) ReadField3(ctx context.Context, iprot thrift.TProtocol) error

func (*ProductProperty) String

func (p *ProductProperty) String() string

func (*ProductProperty) Validate

func (p *ProductProperty) Validate() error

func (*ProductProperty) Write

func (p *ProductProperty) Write(ctx context.Context, oprot thrift.TProtocol) error

type ProductSalesState

type ProductSalesState int64
const (
	ProductSalesState_ON_SALE          ProductSalesState = 0
	ProductSalesState_OUTDATED_VERSION ProductSalesState = 1
	ProductSalesState_NOT_ON_SALE      ProductSalesState = 2
)

func ProductSalesStateFromString

func ProductSalesStateFromString(s string) (ProductSalesState, error)

func ProductSalesStatePtr

func ProductSalesStatePtr(v ProductSalesState) *ProductSalesState

func (ProductSalesState) MarshalText

func (p ProductSalesState) MarshalText() ([]byte, error)

func (*ProductSalesState) Scan

func (p *ProductSalesState) Scan(value interface{}) error

func (ProductSalesState) String

func (p ProductSalesState) String() string

func (*ProductSalesState) UnmarshalText

func (p *ProductSalesState) UnmarshalText(text []byte) error

func (*ProductSalesState) Value

func (p *ProductSalesState) Value() (driver.Value, error)

type ProductSubscriptionProperty

type ProductSubscriptionProperty struct {
	AvailableForSubscribe    bool  `thrift:"availableForSubscribe,1" db:"availableForSubscribe" json:"availableForSubscribe"`
	SubscriptionAvailability int32 `thrift:"subscriptionAvailability,2" db:"subscriptionAvailability" json:"subscriptionAvailability"`
}

Attributes:

  • AvailableForSubscribe
  • SubscriptionAvailability
var ProductDetail_ProductSubscriptionProperty_DEFAULT *ProductSubscriptionProperty

func NewProductSubscriptionProperty

func NewProductSubscriptionProperty() *ProductSubscriptionProperty

func (*ProductSubscriptionProperty) Equals

func (*ProductSubscriptionProperty) GetAvailableForSubscribe

func (p *ProductSubscriptionProperty) GetAvailableForSubscribe() bool

func (*ProductSubscriptionProperty) GetSubscriptionAvailability

func (p *ProductSubscriptionProperty) GetSubscriptionAvailability() int32

func (*ProductSubscriptionProperty) LogValue

func (p *ProductSubscriptionProperty) LogValue() slog.Value

func (*ProductSubscriptionProperty) Read

func (*ProductSubscriptionProperty) ReadField1

func (*ProductSubscriptionProperty) ReadField2

func (*ProductSubscriptionProperty) String

func (p *ProductSubscriptionProperty) String() string

func (*ProductSubscriptionProperty) Validate

func (p *ProductSubscriptionProperty) Validate() error

func (*ProductSubscriptionProperty) Write

type ProductType

type ProductType int64
const (
	ProductType_STICKER ProductType = 1
	ProductType_THEME   ProductType = 2
	ProductType_STICON  ProductType = 3
)

func ProductTypeFromString

func ProductTypeFromString(s string) (ProductType, error)

func ProductTypePtr

func ProductTypePtr(v ProductType) *ProductType

func (ProductType) MarshalText

func (p ProductType) MarshalText() ([]byte, error)

func (*ProductType) Scan

func (p *ProductType) Scan(value interface{}) error

func (ProductType) String

func (p ProductType) String() string

func (*ProductType) UnmarshalText

func (p *ProductType) UnmarshalText(text []byte) error

func (*ProductType) Value

func (p *ProductType) Value() (driver.Value, error)

type ProductWishProperty

type ProductWishProperty struct {
	TotalCount int64 `thrift:"totalCount,1" db:"totalCount" json:"totalCount"`
}

Attributes:

  • TotalCount
var ProductDetail_ProductWishProperty_DEFAULT *ProductWishProperty

func NewProductWishProperty

func NewProductWishProperty() *ProductWishProperty

func (*ProductWishProperty) Equals

func (p *ProductWishProperty) Equals(other *ProductWishProperty) bool

func (*ProductWishProperty) GetTotalCount

func (p *ProductWishProperty) GetTotalCount() int64

func (*ProductWishProperty) LogValue

func (p *ProductWishProperty) LogValue() slog.Value

func (*ProductWishProperty) Read

func (*ProductWishProperty) ReadField1

func (p *ProductWishProperty) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*ProductWishProperty) String

func (p *ProductWishProperty) String() string

func (*ProductWishProperty) Validate

func (p *ProductWishProperty) Validate() error

func (*ProductWishProperty) Write

type PromotionBuddyDetail

type PromotionBuddyDetail struct {
	SearchId      string        `thrift:"searchId,1" db:"searchId" json:"searchId"`
	ContactStatus ContactStatus `thrift:"contactStatus,2" db:"contactStatus" json:"contactStatus"`
	Name          string        `thrift:"name,3" db:"name" json:"name"`
	PictureUrl    string        `thrift:"pictureUrl,4" db:"pictureUrl" json:"pictureUrl"`
	StatusMessage string        `thrift:"statusMessage,5" db:"statusMessage" json:"statusMessage"`
}

Attributes:

  • SearchId
  • ContactStatus
  • Name
  • PictureUrl
  • StatusMessage
var PromotionBuddyInfo_PromotionBuddyDetail_DEFAULT *PromotionBuddyDetail

func NewPromotionBuddyDetail

func NewPromotionBuddyDetail() *PromotionBuddyDetail

func (*PromotionBuddyDetail) Equals

func (*PromotionBuddyDetail) GetContactStatus

func (p *PromotionBuddyDetail) GetContactStatus() ContactStatus

func (*PromotionBuddyDetail) GetName

func (p *PromotionBuddyDetail) GetName() string

func (*PromotionBuddyDetail) GetPictureUrl

func (p *PromotionBuddyDetail) GetPictureUrl() string

func (*PromotionBuddyDetail) GetSearchId

func (p *PromotionBuddyDetail) GetSearchId() string

func (*PromotionBuddyDetail) GetStatusMessage

func (p *PromotionBuddyDetail) GetStatusMessage() string

func (*PromotionBuddyDetail) LogValue

func (p *PromotionBuddyDetail) LogValue() slog.Value

func (*PromotionBuddyDetail) Read

func (*PromotionBuddyDetail) ReadField1

func (p *PromotionBuddyDetail) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*PromotionBuddyDetail) ReadField2

func (p *PromotionBuddyDetail) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*PromotionBuddyDetail) ReadField3

func (p *PromotionBuddyDetail) ReadField3(ctx context.Context, iprot thrift.TProtocol) error

func (*PromotionBuddyDetail) ReadField4

func (p *PromotionBuddyDetail) ReadField4(ctx context.Context, iprot thrift.TProtocol) error

func (*PromotionBuddyDetail) ReadField5

func (p *PromotionBuddyDetail) ReadField5(ctx context.Context, iprot thrift.TProtocol) error

func (*PromotionBuddyDetail) String

func (p *PromotionBuddyDetail) String() string

func (*PromotionBuddyDetail) Validate

func (p *PromotionBuddyDetail) Validate() error

func (*PromotionBuddyDetail) Write

type PromotionBuddyInfo

type PromotionBuddyInfo struct {
	BuddyMid             string                `thrift:"buddyMid,1" db:"buddyMid" json:"buddyMid"`
	PromotionBuddyDetail *PromotionBuddyDetail `thrift:"promotionBuddyDetail,2" db:"promotionBuddyDetail" json:"promotionBuddyDetail"`
}

Attributes:

  • BuddyMid
  • PromotionBuddyDetail
var PromotionDetail_PromotionBuddyInfo_DEFAULT *PromotionBuddyInfo
var PromotionInfo_PromotionBuddyInfo_DEFAULT *PromotionBuddyInfo

func NewPromotionBuddyInfo

func NewPromotionBuddyInfo() *PromotionBuddyInfo

func (*PromotionBuddyInfo) Equals

func (p *PromotionBuddyInfo) Equals(other *PromotionBuddyInfo) bool

func (*PromotionBuddyInfo) GetBuddyMid

func (p *PromotionBuddyInfo) GetBuddyMid() string

func (*PromotionBuddyInfo) GetPromotionBuddyDetail

func (p *PromotionBuddyInfo) GetPromotionBuddyDetail() *PromotionBuddyDetail

func (*PromotionBuddyInfo) IsSetPromotionBuddyDetail

func (p *PromotionBuddyInfo) IsSetPromotionBuddyDetail() bool

func (*PromotionBuddyInfo) LogValue

func (p *PromotionBuddyInfo) LogValue() slog.Value

func (*PromotionBuddyInfo) Read

func (*PromotionBuddyInfo) ReadField1

func (p *PromotionBuddyInfo) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*PromotionBuddyInfo) ReadField2

func (p *PromotionBuddyInfo) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*PromotionBuddyInfo) String

func (p *PromotionBuddyInfo) String() string

func (*PromotionBuddyInfo) Validate

func (p *PromotionBuddyInfo) Validate() error

func (*PromotionBuddyInfo) Write

func (p *PromotionBuddyInfo) Write(ctx context.Context, oprot thrift.TProtocol) error

type PromotionDetail

type PromotionDetail struct {
	PromotionBuddyInfo   *PromotionBuddyInfo   `thrift:"promotionBuddyInfo,1" db:"promotionBuddyInfo" json:"promotionBuddyInfo"`
	PromotionInstallInfo *PromotionInstallInfo `thrift:"promotionInstallInfo,2" db:"promotionInstallInfo" json:"promotionInstallInfo"`
	PromotionMissionInfo *PromotionMissionInfo `thrift:"promotionMissionInfo,3" db:"promotionMissionInfo" json:"promotionMissionInfo"`
}

Attributes:

  • PromotionBuddyInfo
  • PromotionInstallInfo
  • PromotionMissionInfo
var PromotionInfo_PromotionDetail_DEFAULT *PromotionDetail

func NewPromotionDetail

func NewPromotionDetail() *PromotionDetail

func (*PromotionDetail) Equals

func (p *PromotionDetail) Equals(other *PromotionDetail) bool

func (*PromotionDetail) GetPromotionBuddyInfo

func (p *PromotionDetail) GetPromotionBuddyInfo() *PromotionBuddyInfo

func (*PromotionDetail) GetPromotionInstallInfo

func (p *PromotionDetail) GetPromotionInstallInfo() *PromotionInstallInfo

func (*PromotionDetail) GetPromotionMissionInfo

func (p *PromotionDetail) GetPromotionMissionInfo() *PromotionMissionInfo

func (*PromotionDetail) IsSetPromotionBuddyInfo

func (p *PromotionDetail) IsSetPromotionBuddyInfo() bool

func (*PromotionDetail) IsSetPromotionInstallInfo

func (p *PromotionDetail) IsSetPromotionInstallInfo() bool

func (*PromotionDetail) IsSetPromotionMissionInfo

func (p *PromotionDetail) IsSetPromotionMissionInfo() bool

func (*PromotionDetail) LogValue

func (p *PromotionDetail) LogValue() slog.Value

func (*PromotionDetail) Read

func (p *PromotionDetail) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*PromotionDetail) ReadField1

func (p *PromotionDetail) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*PromotionDetail) ReadField2

func (p *PromotionDetail) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*PromotionDetail) ReadField3

func (p *PromotionDetail) ReadField3(ctx context.Context, iprot thrift.TProtocol) error

func (*PromotionDetail) String

func (p *PromotionDetail) String() string

func (*PromotionDetail) Validate

func (p *PromotionDetail) Validate() error

func (*PromotionDetail) Write

func (p *PromotionDetail) Write(ctx context.Context, oprot thrift.TProtocol) error

type PromotionInfo

type PromotionInfo struct {
	PromotionType      PromotionType       `thrift:"promotionType,1" db:"promotionType" json:"promotionType"`
	PromotionDetail    *PromotionDetail    `thrift:"promotionDetail,2" db:"promotionDetail" json:"promotionDetail"`
	PromotionBuddyInfo *PromotionBuddyInfo `thrift:"promotionBuddyInfo,3" db:"promotionBuddyInfo" json:"promotionBuddyInfo"`
}

Attributes:

  • PromotionType
  • PromotionDetail
  • PromotionBuddyInfo
var ProductDetail_PromotionInfo_DEFAULT *PromotionInfo

func NewPromotionInfo

func NewPromotionInfo() *PromotionInfo

func (*PromotionInfo) Equals

func (p *PromotionInfo) Equals(other *PromotionInfo) bool

func (*PromotionInfo) GetPromotionBuddyInfo

func (p *PromotionInfo) GetPromotionBuddyInfo() *PromotionBuddyInfo

func (*PromotionInfo) GetPromotionDetail

func (p *PromotionInfo) GetPromotionDetail() *PromotionDetail

func (*PromotionInfo) GetPromotionType

func (p *PromotionInfo) GetPromotionType() PromotionType

func (*PromotionInfo) IsSetPromotionBuddyInfo

func (p *PromotionInfo) IsSetPromotionBuddyInfo() bool

func (*PromotionInfo) IsSetPromotionDetail

func (p *PromotionInfo) IsSetPromotionDetail() bool

func (*PromotionInfo) LogValue

func (p *PromotionInfo) LogValue() slog.Value

func (*PromotionInfo) Read

func (p *PromotionInfo) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*PromotionInfo) ReadField1

func (p *PromotionInfo) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*PromotionInfo) ReadField2

func (p *PromotionInfo) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*PromotionInfo) ReadField3

func (p *PromotionInfo) ReadField3(ctx context.Context, iprot thrift.TProtocol) error

func (*PromotionInfo) String

func (p *PromotionInfo) String() string

func (*PromotionInfo) Validate

func (p *PromotionInfo) Validate() error

func (*PromotionInfo) Write

func (p *PromotionInfo) Write(ctx context.Context, oprot thrift.TProtocol) error

type PromotionInstallInfo

type PromotionInstallInfo struct {
	DownloadUrl     string `thrift:"downloadUrl,1" db:"downloadUrl" json:"downloadUrl"`
	CustomUrlSchema string `thrift:"customUrlSchema,2" db:"customUrlSchema" json:"customUrlSchema"`
}

Attributes:

  • DownloadUrl
  • CustomUrlSchema
var PromotionDetail_PromotionInstallInfo_DEFAULT *PromotionInstallInfo

func NewPromotionInstallInfo

func NewPromotionInstallInfo() *PromotionInstallInfo

func (*PromotionInstallInfo) Equals

func (*PromotionInstallInfo) GetCustomUrlSchema

func (p *PromotionInstallInfo) GetCustomUrlSchema() string

func (*PromotionInstallInfo) GetDownloadUrl

func (p *PromotionInstallInfo) GetDownloadUrl() string

func (*PromotionInstallInfo) LogValue

func (p *PromotionInstallInfo) LogValue() slog.Value

func (*PromotionInstallInfo) Read

func (*PromotionInstallInfo) ReadField1

func (p *PromotionInstallInfo) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*PromotionInstallInfo) ReadField2

func (p *PromotionInstallInfo) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*PromotionInstallInfo) String

func (p *PromotionInstallInfo) String() string

func (*PromotionInstallInfo) Validate

func (p *PromotionInstallInfo) Validate() error

func (*PromotionInstallInfo) Write

type PromotionMissionInfo

type PromotionMissionInfo struct {
	PromotionMissionType PromotionMissionType `thrift:"promotionMissionType,1" db:"promotionMissionType" json:"promotionMissionType"`
	MissionCompleted     bool                 `thrift:"missionCompleted,2" db:"missionCompleted" json:"missionCompleted"`
	DownloadUrl          string               `thrift:"downloadUrl,3" db:"downloadUrl" json:"downloadUrl"`
	CustomUrlSchema      string               `thrift:"customUrlSchema,4" db:"customUrlSchema" json:"customUrlSchema"`
}

Attributes:

  • PromotionMissionType
  • MissionCompleted
  • DownloadUrl
  • CustomUrlSchema
var PromotionDetail_PromotionMissionInfo_DEFAULT *PromotionMissionInfo

func NewPromotionMissionInfo

func NewPromotionMissionInfo() *PromotionMissionInfo

func (*PromotionMissionInfo) Equals

func (*PromotionMissionInfo) GetCustomUrlSchema

func (p *PromotionMissionInfo) GetCustomUrlSchema() string

func (*PromotionMissionInfo) GetDownloadUrl

func (p *PromotionMissionInfo) GetDownloadUrl() string

func (*PromotionMissionInfo) GetMissionCompleted

func (p *PromotionMissionInfo) GetMissionCompleted() bool

func (*PromotionMissionInfo) GetPromotionMissionType

func (p *PromotionMissionInfo) GetPromotionMissionType() PromotionMissionType

func (*PromotionMissionInfo) LogValue

func (p *PromotionMissionInfo) LogValue() slog.Value

func (*PromotionMissionInfo) Read

func (*PromotionMissionInfo) ReadField1

func (p *PromotionMissionInfo) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*PromotionMissionInfo) ReadField2

func (p *PromotionMissionInfo) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*PromotionMissionInfo) ReadField3

func (p *PromotionMissionInfo) ReadField3(ctx context.Context, iprot thrift.TProtocol) error

func (*PromotionMissionInfo) ReadField4

func (p *PromotionMissionInfo) ReadField4(ctx context.Context, iprot thrift.TProtocol) error

func (*PromotionMissionInfo) String

func (p *PromotionMissionInfo) String() string

func (*PromotionMissionInfo) Validate

func (p *PromotionMissionInfo) Validate() error

func (*PromotionMissionInfo) Write

type PromotionMissionType

type PromotionMissionType int64
const (
	PromotionMissionType_DEFAULT    PromotionMissionType = 1
	PromotionMissionType_VIEW_VIDEO PromotionMissionType = 2
)

func PromotionMissionTypeFromString

func PromotionMissionTypeFromString(s string) (PromotionMissionType, error)

func (PromotionMissionType) MarshalText

func (p PromotionMissionType) MarshalText() ([]byte, error)

func (*PromotionMissionType) Scan

func (p *PromotionMissionType) Scan(value interface{}) error

func (PromotionMissionType) String

func (p PromotionMissionType) String() string

func (*PromotionMissionType) UnmarshalText

func (p *PromotionMissionType) UnmarshalText(text []byte) error

func (*PromotionMissionType) Value

func (p *PromotionMissionType) Value() (driver.Value, error)

type PromotionType

type PromotionType int64
const (
	PromotionType_NONE    PromotionType = 0
	PromotionType_CARRIER PromotionType = 1
	PromotionType_BUDDY   PromotionType = 2
	PromotionType_INSTALL PromotionType = 3
	PromotionType_MISSION PromotionType = 4
	PromotionType_MUSTBUY PromotionType = 5
)

func PromotionTypeFromString

func PromotionTypeFromString(s string) (PromotionType, error)

func PromotionTypePtr

func PromotionTypePtr(v PromotionType) *PromotionType

func (PromotionType) MarshalText

func (p PromotionType) MarshalText() ([]byte, error)

func (*PromotionType) Scan

func (p *PromotionType) Scan(value interface{}) error

func (PromotionType) String

func (p PromotionType) String() string

func (*PromotionType) UnmarshalText

func (p *PromotionType) UnmarshalText(text []byte) error

func (*PromotionType) Value

func (p *PromotionType) Value() (driver.Value, error)

type PurchaseOrder

type PurchaseOrder struct {
	ShopId    string `thrift:"shopId,1" db:"shopId" json:"shopId"`
	ProductId string `thrift:"productId,2" db:"productId" json:"productId"`
	// unused fields # 3 to 4
	RecipientMid string `thrift:"recipientMid,5" db:"recipientMid" json:"recipientMid"`
	// unused fields # 6 to 10
	Price                       *Price `thrift:"price,11" db:"price" json:"price"`
	EnableLinePointAutoExchange bool   `thrift:"enableLinePointAutoExchange,12" db:"enableLinePointAutoExchange" json:"enableLinePointAutoExchange"`
	// unused fields # 13 to 20
	Locale *Locale `thrift:"locale,21" db:"locale" json:"locale"`
	// unused fields # 22 to 30
	PresentAttributes map[string]string `thrift:"presentAttributes,31" db:"presentAttributes" json:"presentAttributes"`
}

Attributes:

  • ShopId
  • ProductId
  • RecipientMid
  • Price
  • EnableLinePointAutoExchange
  • Locale
  • PresentAttributes
var ShopServicePlacePurchaseOrderForFreeProductArgs_PurchaseOrder_DEFAULT *PurchaseOrder
var ShopServicePlacePurchaseOrderWithLineCoinArgs_PurchaseOrder_DEFAULT *PurchaseOrder

func NewPurchaseOrder

func NewPurchaseOrder() *PurchaseOrder

func (*PurchaseOrder) Equals

func (p *PurchaseOrder) Equals(other *PurchaseOrder) bool

func (*PurchaseOrder) GetEnableLinePointAutoExchange

func (p *PurchaseOrder) GetEnableLinePointAutoExchange() bool

func (*PurchaseOrder) GetLocale

func (p *PurchaseOrder) GetLocale() *Locale

func (*PurchaseOrder) GetPresentAttributes

func (p *PurchaseOrder) GetPresentAttributes() map[string]string

func (*PurchaseOrder) GetPrice

func (p *PurchaseOrder) GetPrice() *Price

func (*PurchaseOrder) GetProductId

func (p *PurchaseOrder) GetProductId() string

func (*PurchaseOrder) GetRecipientMid

func (p *PurchaseOrder) GetRecipientMid() string

func (*PurchaseOrder) GetShopId

func (p *PurchaseOrder) GetShopId() string

func (*PurchaseOrder) IsSetLocale

func (p *PurchaseOrder) IsSetLocale() bool

func (*PurchaseOrder) IsSetPrice

func (p *PurchaseOrder) IsSetPrice() bool

func (*PurchaseOrder) LogValue

func (p *PurchaseOrder) LogValue() slog.Value

func (*PurchaseOrder) Read

func (p *PurchaseOrder) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*PurchaseOrder) ReadField1

func (p *PurchaseOrder) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*PurchaseOrder) ReadField2

func (p *PurchaseOrder) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*PurchaseOrder) ReadField5

func (p *PurchaseOrder) ReadField5(ctx context.Context, iprot thrift.TProtocol) error

func (*PurchaseOrder) ReadField11

func (p *PurchaseOrder) ReadField11(ctx context.Context, iprot thrift.TProtocol) error

func (*PurchaseOrder) ReadField12

func (p *PurchaseOrder) ReadField12(ctx context.Context, iprot thrift.TProtocol) error

func (*PurchaseOrder) ReadField21

func (p *PurchaseOrder) ReadField21(ctx context.Context, iprot thrift.TProtocol) error

func (*PurchaseOrder) ReadField31

func (p *PurchaseOrder) ReadField31(ctx context.Context, iprot thrift.TProtocol) error

func (*PurchaseOrder) String

func (p *PurchaseOrder) String() string

func (*PurchaseOrder) Validate

func (p *PurchaseOrder) Validate() error

func (*PurchaseOrder) Write

func (p *PurchaseOrder) Write(ctx context.Context, oprot thrift.TProtocol) error

type PurchaseOrderResponse

type PurchaseOrderResponse struct {
	OrderId string `thrift:"orderId,1" db:"orderId" json:"orderId"`
	// unused fields # 2 to 10
	Attributes        map[string]string `thrift:"attributes,11" db:"attributes" json:"attributes"`
	BillingConfirmUrl string            `thrift:"billingConfirmUrl,12" db:"billingConfirmUrl" json:"billingConfirmUrl"`
}

Attributes:

  • OrderId
  • Attributes
  • BillingConfirmUrl
var ShopServicePlacePurchaseOrderForFreeProductResult_Success_DEFAULT *PurchaseOrderResponse
var ShopServicePlacePurchaseOrderWithLineCoinResult_Success_DEFAULT *PurchaseOrderResponse

func NewPurchaseOrderResponse

func NewPurchaseOrderResponse() *PurchaseOrderResponse

func (*PurchaseOrderResponse) Equals

func (*PurchaseOrderResponse) GetAttributes

func (p *PurchaseOrderResponse) GetAttributes() map[string]string

func (*PurchaseOrderResponse) GetBillingConfirmUrl

func (p *PurchaseOrderResponse) GetBillingConfirmUrl() string

func (*PurchaseOrderResponse) GetOrderId

func (p *PurchaseOrderResponse) GetOrderId() string

func (*PurchaseOrderResponse) LogValue

func (p *PurchaseOrderResponse) LogValue() slog.Value

func (*PurchaseOrderResponse) Read

func (*PurchaseOrderResponse) ReadField1

func (p *PurchaseOrderResponse) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*PurchaseOrderResponse) ReadField11

func (p *PurchaseOrderResponse) ReadField11(ctx context.Context, iprot thrift.TProtocol) error

func (*PurchaseOrderResponse) ReadField12

func (p *PurchaseOrderResponse) ReadField12(ctx context.Context, iprot thrift.TProtocol) error

func (*PurchaseOrderResponse) String

func (p *PurchaseOrderResponse) String() string

func (*PurchaseOrderResponse) Validate

func (p *PurchaseOrderResponse) Validate() error

func (*PurchaseOrderResponse) Write

type PurchaseRecord

type PurchaseRecord struct {
	ProductDetail *ProductDetail `thrift:"productDetail,1" db:"productDetail" json:"productDetail"`
	// unused fields # 2 to 10
	PurchasedTime int64 `thrift:"purchasedTime,11" db:"purchasedTime" json:"purchasedTime"`
	// unused fields # 12 to 20
	Giver     string `thrift:"giver,21" db:"giver" json:"giver"`
	Recipient string `thrift:"recipient,22" db:"recipient" json:"recipient"`
	// unused fields # 23 to 30
	PurchasedPrice *Price `thrift:"purchasedPrice,31" db:"purchasedPrice" json:"purchasedPrice"`
}

Attributes:

  • ProductDetail
  • PurchasedTime
  • Giver
  • Recipient
  • PurchasedPrice

func NewPurchaseRecord

func NewPurchaseRecord() *PurchaseRecord

func (*PurchaseRecord) Equals

func (p *PurchaseRecord) Equals(other *PurchaseRecord) bool

func (*PurchaseRecord) GetGiver

func (p *PurchaseRecord) GetGiver() string

func (*PurchaseRecord) GetProductDetail

func (p *PurchaseRecord) GetProductDetail() *ProductDetail

func (*PurchaseRecord) GetPurchasedPrice

func (p *PurchaseRecord) GetPurchasedPrice() *Price

func (*PurchaseRecord) GetPurchasedTime

func (p *PurchaseRecord) GetPurchasedTime() int64

func (*PurchaseRecord) GetRecipient

func (p *PurchaseRecord) GetRecipient() string

func (*PurchaseRecord) IsSetProductDetail

func (p *PurchaseRecord) IsSetProductDetail() bool

func (*PurchaseRecord) IsSetPurchasedPrice

func (p *PurchaseRecord) IsSetPurchasedPrice() bool

func (*PurchaseRecord) LogValue

func (p *PurchaseRecord) LogValue() slog.Value

func (*PurchaseRecord) Read

func (p *PurchaseRecord) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*PurchaseRecord) ReadField1

func (p *PurchaseRecord) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*PurchaseRecord) ReadField11

func (p *PurchaseRecord) ReadField11(ctx context.Context, iprot thrift.TProtocol) error

func (*PurchaseRecord) ReadField21

func (p *PurchaseRecord) ReadField21(ctx context.Context, iprot thrift.TProtocol) error

func (*PurchaseRecord) ReadField22

func (p *PurchaseRecord) ReadField22(ctx context.Context, iprot thrift.TProtocol) error

func (*PurchaseRecord) ReadField31

func (p *PurchaseRecord) ReadField31(ctx context.Context, iprot thrift.TProtocol) error

func (*PurchaseRecord) String

func (p *PurchaseRecord) String() string

func (*PurchaseRecord) Validate

func (p *PurchaseRecord) Validate() error

func (*PurchaseRecord) Write

func (p *PurchaseRecord) Write(ctx context.Context, oprot thrift.TProtocol) error

type PurchaseRecordList

type PurchaseRecordList struct {
	PurchaseRecords []*PurchaseRecord `thrift:"purchaseRecords,1" db:"purchaseRecords" json:"purchaseRecords"`
	Offset          int32             `thrift:"offset,2" db:"offset" json:"offset"`
	TotalSize       int32             `thrift:"totalSize,3" db:"totalSize" json:"totalSize"`
}

Attributes:

  • PurchaseRecords
  • Offset
  • TotalSize
var ShopServiceGetPurchasedProductsResult_Success_DEFAULT *PurchaseRecordList
var ShopServiceGetReceivedPresentsResult_Success_DEFAULT *PurchaseRecordList
var ShopServiceGetSentPresentsResult_Success_DEFAULT *PurchaseRecordList

func NewPurchaseRecordList

func NewPurchaseRecordList() *PurchaseRecordList

func (*PurchaseRecordList) Equals

func (p *PurchaseRecordList) Equals(other *PurchaseRecordList) bool

func (*PurchaseRecordList) GetOffset

func (p *PurchaseRecordList) GetOffset() int32

func (*PurchaseRecordList) GetPurchaseRecords

func (p *PurchaseRecordList) GetPurchaseRecords() []*PurchaseRecord

func (*PurchaseRecordList) GetTotalSize

func (p *PurchaseRecordList) GetTotalSize() int32

func (*PurchaseRecordList) LogValue

func (p *PurchaseRecordList) LogValue() slog.Value

func (*PurchaseRecordList) Read

func (*PurchaseRecordList) ReadField1

func (p *PurchaseRecordList) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*PurchaseRecordList) ReadField2

func (p *PurchaseRecordList) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*PurchaseRecordList) ReadField3

func (p *PurchaseRecordList) ReadField3(ctx context.Context, iprot thrift.TProtocol) error

func (*PurchaseRecordList) String

func (p *PurchaseRecordList) String() string

func (*PurchaseRecordList) Validate

func (p *PurchaseRecordList) Validate() error

func (*PurchaseRecordList) Write

func (p *PurchaseRecordList) Write(ctx context.Context, oprot thrift.TProtocol) error

type ShopErrorCode

type ShopErrorCode int64
const (
	ShopErrorCode_UNKNOWN                      ShopErrorCode = 0
	ShopErrorCode_NONE                         ShopErrorCode = 1
	ShopErrorCode_ILLEGAL_ARGUMENT             ShopErrorCode = 16641
	ShopErrorCode_NOT_FOUND                    ShopErrorCode = 16642
	ShopErrorCode_NOT_AVAILABLE                ShopErrorCode = 16643
	ShopErrorCode_NOT_PAID_PRODUCT             ShopErrorCode = 16644
	ShopErrorCode_NOT_FREE_PRODUCT             ShopErrorCode = 16645
	ShopErrorCode_ALREADY_OWNED                ShopErrorCode = 16646
	ShopErrorCode_ERROR_WITH_CUSTOM_MESSAGE    ShopErrorCode = 16647
	ShopErrorCode_NOT_AVAILABLE_TO_RECIPIENT   ShopErrorCode = 16648
	ShopErrorCode_NOT_AVAILABLE_FOR_CHANNEL_ID ShopErrorCode = 16649
	ShopErrorCode_NOT_SALE_FOR_COUNTRY         ShopErrorCode = 16650
	ShopErrorCode_NOT_SALES_PERIOD             ShopErrorCode = 16651
	ShopErrorCode_NOT_SALE_FOR_DEVICE          ShopErrorCode = 16652
	ShopErrorCode_NOT_SALE_FOR_VERSION         ShopErrorCode = 16653
	ShopErrorCode_ALREADY_EXPIRED              ShopErrorCode = 16654
	ShopErrorCode_AUTHENTICATION_FAILED        ShopErrorCode = 16897
	ShopErrorCode_BALANCE_SHORTAGE             ShopErrorCode = 17153
	ShopErrorCode_INTERNAL_SERVER_ERROR        ShopErrorCode = 20737
	ShopErrorCode_SERVICE_IN_MAINTENANCE_MODE  ShopErrorCode = 20738
	ShopErrorCode_SERVICE_UNAVAILABLE          ShopErrorCode = 20739
)

func ShopErrorCodeFromString

func ShopErrorCodeFromString(s string) (ShopErrorCode, error)

func ShopErrorCodePtr

func ShopErrorCodePtr(v ShopErrorCode) *ShopErrorCode

func (ShopErrorCode) MarshalText

func (p ShopErrorCode) MarshalText() ([]byte, error)

func (*ShopErrorCode) Scan

func (p *ShopErrorCode) Scan(value interface{}) error

func (ShopErrorCode) String

func (p ShopErrorCode) String() string

func (*ShopErrorCode) UnmarshalText

func (p *ShopErrorCode) UnmarshalText(text []byte) error

func (*ShopErrorCode) Value

func (p *ShopErrorCode) Value() (driver.Value, error)

type ShopException

type ShopException struct {
	Code         ShopErrorCode     `thrift:"code,1" db:"code" json:"code"`
	Reason       string            `thrift:"reason,2" db:"reason" json:"reason"`
	ParameterMap map[string]string `thrift:"parameterMap,3" db:"parameterMap" json:"parameterMap"`
}

Attributes:

  • Code
  • Reason
  • ParameterMap
var ShopServiceCanReceivePresentResult_E_DEFAULT *ShopException
var ShopServiceCreateCombinationStickerResult_E_DEFAULT *ShopException
var ShopServiceGetOwnedProductsResult_E_DEFAULT *ShopException
var ShopServiceGetProductV2Result_E_DEFAULT *ShopException
var ShopServiceGetPurchasedProductsResult_E_DEFAULT *ShopException
var ShopServiceGetReceivedPresentsResult_E_DEFAULT *ShopException
var ShopServiceGetSentPresentsResult_E_DEFAULT *ShopException
var ShopServicePlacePurchaseOrderForFreeProductResult_E_DEFAULT *ShopException
var ShopServicePlacePurchaseOrderWithLineCoinResult_E_DEFAULT *ShopException

func NewShopException

func NewShopException() *ShopException

func (*ShopException) Equals

func (p *ShopException) Equals(other *ShopException) bool

func (*ShopException) Error

func (p *ShopException) Error() string

func (*ShopException) GetCode

func (p *ShopException) GetCode() ShopErrorCode

func (*ShopException) GetParameterMap

func (p *ShopException) GetParameterMap() map[string]string

func (*ShopException) GetReason

func (p *ShopException) GetReason() string

func (*ShopException) LogValue

func (p *ShopException) LogValue() slog.Value

func (*ShopException) Read

func (p *ShopException) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*ShopException) ReadField1

func (p *ShopException) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*ShopException) ReadField2

func (p *ShopException) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*ShopException) ReadField3

func (p *ShopException) ReadField3(ctx context.Context, iprot thrift.TProtocol) error

func (*ShopException) String

func (p *ShopException) String() string

func (ShopException) TExceptionType

func (ShopException) TExceptionType() thrift.TExceptionType

func (*ShopException) Validate

func (p *ShopException) Validate() error

func (*ShopException) Write

func (p *ShopException) Write(ctx context.Context, oprot thrift.TProtocol) error

type ShopService

type ShopService interface {
	// Parameters:
	//  - Request
	CreateCombinationSticker(ctx context.Context, request *CreateCombinationStickerRequest) (_r *CreateCombinationStickerResponse, _err error)
	// Parameters:
	//  - Request
	GetProductV2(ctx context.Context, request *GetProductRequest) (_r *GetProductResponse, _err error)
	// Parameters:
	//  - PurchaseOrder
	PlacePurchaseOrderForFreeProduct(ctx context.Context, purchaseOrder *PurchaseOrder) (_r *PurchaseOrderResponse, _err error)
	// Parameters:
	//  - PurchaseOrder
	PlacePurchaseOrderWithLineCoin(ctx context.Context, purchaseOrder *PurchaseOrder) (_r *PurchaseOrderResponse, _err error)
	// Parameters:
	//  - ShopId
	//  - ProductId
	//  - Locale
	//  - RecipientMid
	CanReceivePresent(ctx context.Context, shopId string, productId string, locale *Locale, recipientMid string) (_err error)
	// Parameters:
	//  - ShopId
	//  - Offset
	//  - Limit
	//  - Locale
	GetSentPresents(ctx context.Context, shopId string, offset int32, limit int32, locale *Locale) (_r *PurchaseRecordList, _err error)
	// Parameters:
	//  - ShopId
	//  - Offset
	//  - Limit
	//  - Locale
	GetPurchasedProducts(ctx context.Context, shopId string, offset int32, limit int32, locale *Locale) (_r *PurchaseRecordList, _err error)
	// Parameters:
	//  - ShopId
	//  - Offset
	//  - Limit
	//  - Locale
	GetReceivedPresents(ctx context.Context, shopId string, offset int32, limit int32, locale *Locale) (_r *PurchaseRecordList, _err error)
	// Parameters:
	//  - ShopId
	//  - Offset
	//  - Limit
	//  - Locale
	GetOwnedProducts(ctx context.Context, shopId string, offset int32, limit int32, locale *Locale) (_r *DetailedProductList, _err error)
}

type ShopServiceCanReceivePresentArgs

type ShopServiceCanReceivePresentArgs struct {
	// unused field # 1
	ShopId       string  `thrift:"shopId,2" db:"shopId" json:"shopId"`
	ProductId    string  `thrift:"productId,3" db:"productId" json:"productId"`
	Locale       *Locale `thrift:"locale,4" db:"locale" json:"locale"`
	RecipientMid string  `thrift:"recipientMid,5" db:"recipientMid" json:"recipientMid"`
}

Attributes:

  • ShopId
  • ProductId
  • Locale
  • RecipientMid

func NewShopServiceCanReceivePresentArgs

func NewShopServiceCanReceivePresentArgs() *ShopServiceCanReceivePresentArgs

func (*ShopServiceCanReceivePresentArgs) GetLocale

func (p *ShopServiceCanReceivePresentArgs) GetLocale() *Locale

func (*ShopServiceCanReceivePresentArgs) GetProductId

func (p *ShopServiceCanReceivePresentArgs) GetProductId() string

func (*ShopServiceCanReceivePresentArgs) GetRecipientMid

func (p *ShopServiceCanReceivePresentArgs) GetRecipientMid() string

func (*ShopServiceCanReceivePresentArgs) GetShopId

func (*ShopServiceCanReceivePresentArgs) IsSetLocale

func (p *ShopServiceCanReceivePresentArgs) IsSetLocale() bool

func (*ShopServiceCanReceivePresentArgs) LogValue

func (*ShopServiceCanReceivePresentArgs) Read

func (*ShopServiceCanReceivePresentArgs) ReadField2

func (*ShopServiceCanReceivePresentArgs) ReadField3

func (*ShopServiceCanReceivePresentArgs) ReadField4

func (*ShopServiceCanReceivePresentArgs) ReadField5

func (*ShopServiceCanReceivePresentArgs) String

func (*ShopServiceCanReceivePresentArgs) Write

type ShopServiceCanReceivePresentResult

type ShopServiceCanReceivePresentResult struct {
	E *ShopException `thrift:"e,1" db:"e" json:"e,omitempty"`
}

Attributes:

  • E

func NewShopServiceCanReceivePresentResult

func NewShopServiceCanReceivePresentResult() *ShopServiceCanReceivePresentResult

func (*ShopServiceCanReceivePresentResult) GetE

func (*ShopServiceCanReceivePresentResult) IsSetE

func (*ShopServiceCanReceivePresentResult) LogValue

func (*ShopServiceCanReceivePresentResult) Read

func (*ShopServiceCanReceivePresentResult) ReadField1

func (*ShopServiceCanReceivePresentResult) String

func (*ShopServiceCanReceivePresentResult) Write

type ShopServiceClient

type ShopServiceClient struct {
	// contains filtered or unexported fields
}

func NewShopServiceClient

func NewShopServiceClient(c thrift.TClient) *ShopServiceClient

func NewShopServiceClientProtocol

func NewShopServiceClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, oprot thrift.TProtocol) *ShopServiceClient

func (*ShopServiceClient) CanReceivePresent

func (p *ShopServiceClient) CanReceivePresent(ctx context.Context, shopId string, productId string, locale *Locale, recipientMid string) (_err error)

Parameters:

  • ShopId
  • ProductId
  • Locale
  • RecipientMid

func (*ShopServiceClient) Client_

func (p *ShopServiceClient) Client_() thrift.TClient

func (*ShopServiceClient) CreateCombinationSticker

func (p *ShopServiceClient) CreateCombinationSticker(ctx context.Context, request *CreateCombinationStickerRequest) (_r *CreateCombinationStickerResponse, _err error)

Parameters:

  • Request

func (*ShopServiceClient) GetOwnedProducts

func (p *ShopServiceClient) GetOwnedProducts(ctx context.Context, shopId string, offset int32, limit int32, locale *Locale) (_r *DetailedProductList, _err error)

Parameters:

  • ShopId
  • Offset
  • Limit
  • Locale

func (*ShopServiceClient) GetProductV2

func (p *ShopServiceClient) GetProductV2(ctx context.Context, request *GetProductRequest) (_r *GetProductResponse, _err error)

Parameters:

  • Request

func (*ShopServiceClient) GetPurchasedProducts

func (p *ShopServiceClient) GetPurchasedProducts(ctx context.Context, shopId string, offset int32, limit int32, locale *Locale) (_r *PurchaseRecordList, _err error)

Parameters:

  • ShopId
  • Offset
  • Limit
  • Locale

func (*ShopServiceClient) GetReceivedPresents

func (p *ShopServiceClient) GetReceivedPresents(ctx context.Context, shopId string, offset int32, limit int32, locale *Locale) (_r *PurchaseRecordList, _err error)

Parameters:

  • ShopId
  • Offset
  • Limit
  • Locale

func (*ShopServiceClient) GetSentPresents

func (p *ShopServiceClient) GetSentPresents(ctx context.Context, shopId string, offset int32, limit int32, locale *Locale) (_r *PurchaseRecordList, _err error)

Parameters:

  • ShopId
  • Offset
  • Limit
  • Locale

func (*ShopServiceClient) LastResponseMeta_

func (p *ShopServiceClient) LastResponseMeta_() thrift.ResponseMeta

func (*ShopServiceClient) PlacePurchaseOrderForFreeProduct

func (p *ShopServiceClient) PlacePurchaseOrderForFreeProduct(ctx context.Context, purchaseOrder *PurchaseOrder) (_r *PurchaseOrderResponse, _err error)

Parameters:

  • PurchaseOrder

func (*ShopServiceClient) PlacePurchaseOrderWithLineCoin

func (p *ShopServiceClient) PlacePurchaseOrderWithLineCoin(ctx context.Context, purchaseOrder *PurchaseOrder) (_r *PurchaseOrderResponse, _err error)

Parameters:

  • PurchaseOrder

func (*ShopServiceClient) SetLastResponseMeta_

func (p *ShopServiceClient) SetLastResponseMeta_(meta thrift.ResponseMeta)

type ShopServiceCreateCombinationStickerArgs

type ShopServiceCreateCombinationStickerArgs struct {
	// unused field # 1
	Request *CreateCombinationStickerRequest `thrift:"request,2" db:"request" json:"request"`
}

Attributes:

  • Request

func NewShopServiceCreateCombinationStickerArgs

func NewShopServiceCreateCombinationStickerArgs() *ShopServiceCreateCombinationStickerArgs

func (*ShopServiceCreateCombinationStickerArgs) GetRequest

func (*ShopServiceCreateCombinationStickerArgs) IsSetRequest

func (*ShopServiceCreateCombinationStickerArgs) LogValue

func (*ShopServiceCreateCombinationStickerArgs) Read

func (*ShopServiceCreateCombinationStickerArgs) ReadField2

func (*ShopServiceCreateCombinationStickerArgs) String

func (*ShopServiceCreateCombinationStickerArgs) Write

type ShopServiceCreateCombinationStickerResult

type ShopServiceCreateCombinationStickerResult struct {
	Success *CreateCombinationStickerResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
	E       *ShopException                    `thrift:"e,1" db:"e" json:"e,omitempty"`
}

Attributes:

  • Success
  • E

func NewShopServiceCreateCombinationStickerResult

func NewShopServiceCreateCombinationStickerResult() *ShopServiceCreateCombinationStickerResult

func (*ShopServiceCreateCombinationStickerResult) GetE

func (*ShopServiceCreateCombinationStickerResult) GetSuccess

func (*ShopServiceCreateCombinationStickerResult) IsSetE

func (*ShopServiceCreateCombinationStickerResult) IsSetSuccess

func (*ShopServiceCreateCombinationStickerResult) LogValue

func (*ShopServiceCreateCombinationStickerResult) Read

func (*ShopServiceCreateCombinationStickerResult) ReadField0

func (*ShopServiceCreateCombinationStickerResult) ReadField1

func (*ShopServiceCreateCombinationStickerResult) String

func (*ShopServiceCreateCombinationStickerResult) Write

type ShopServiceGetOwnedProductsArgs

type ShopServiceGetOwnedProductsArgs struct {
	// unused field # 1
	ShopId string  `thrift:"shopId,2" db:"shopId" json:"shopId"`
	Offset int32   `thrift:"offset,3" db:"offset" json:"offset"`
	Limit  int32   `thrift:"limit,4" db:"limit" json:"limit"`
	Locale *Locale `thrift:"locale,5" db:"locale" json:"locale"`
}

Attributes:

  • ShopId
  • Offset
  • Limit
  • Locale

func NewShopServiceGetOwnedProductsArgs

func NewShopServiceGetOwnedProductsArgs() *ShopServiceGetOwnedProductsArgs

func (*ShopServiceGetOwnedProductsArgs) GetLimit

func (p *ShopServiceGetOwnedProductsArgs) GetLimit() int32

func (*ShopServiceGetOwnedProductsArgs) GetLocale

func (p *ShopServiceGetOwnedProductsArgs) GetLocale() *Locale

func (*ShopServiceGetOwnedProductsArgs) GetOffset

func (p *ShopServiceGetOwnedProductsArgs) GetOffset() int32

func (*ShopServiceGetOwnedProductsArgs) GetShopId

func (p *ShopServiceGetOwnedProductsArgs) GetShopId() string

func (*ShopServiceGetOwnedProductsArgs) IsSetLocale

func (p *ShopServiceGetOwnedProductsArgs) IsSetLocale() bool

func (*ShopServiceGetOwnedProductsArgs) LogValue

func (*ShopServiceGetOwnedProductsArgs) Read

func (*ShopServiceGetOwnedProductsArgs) ReadField2

func (*ShopServiceGetOwnedProductsArgs) ReadField3

func (*ShopServiceGetOwnedProductsArgs) ReadField4

func (*ShopServiceGetOwnedProductsArgs) ReadField5

func (*ShopServiceGetOwnedProductsArgs) String

func (*ShopServiceGetOwnedProductsArgs) Write

type ShopServiceGetOwnedProductsResult

type ShopServiceGetOwnedProductsResult struct {
	Success *DetailedProductList `thrift:"success,0" db:"success" json:"success,omitempty"`
	E       *ShopException       `thrift:"e,1" db:"e" json:"e,omitempty"`
}

Attributes:

  • Success
  • E

func NewShopServiceGetOwnedProductsResult

func NewShopServiceGetOwnedProductsResult() *ShopServiceGetOwnedProductsResult

func (*ShopServiceGetOwnedProductsResult) GetE

func (*ShopServiceGetOwnedProductsResult) GetSuccess

func (*ShopServiceGetOwnedProductsResult) IsSetE

func (*ShopServiceGetOwnedProductsResult) IsSetSuccess

func (p *ShopServiceGetOwnedProductsResult) IsSetSuccess() bool

func (*ShopServiceGetOwnedProductsResult) LogValue

func (*ShopServiceGetOwnedProductsResult) Read

func (*ShopServiceGetOwnedProductsResult) ReadField0

func (*ShopServiceGetOwnedProductsResult) ReadField1

func (*ShopServiceGetOwnedProductsResult) String

func (*ShopServiceGetOwnedProductsResult) Write

type ShopServiceGetProductV2Args

type ShopServiceGetProductV2Args struct {
	// unused field # 1
	Request *GetProductRequest `thrift:"request,2" db:"request" json:"request"`
}

Attributes:

  • Request

func NewShopServiceGetProductV2Args

func NewShopServiceGetProductV2Args() *ShopServiceGetProductV2Args

func (*ShopServiceGetProductV2Args) GetRequest

func (*ShopServiceGetProductV2Args) IsSetRequest

func (p *ShopServiceGetProductV2Args) IsSetRequest() bool

func (*ShopServiceGetProductV2Args) LogValue

func (p *ShopServiceGetProductV2Args) LogValue() slog.Value

func (*ShopServiceGetProductV2Args) Read

func (*ShopServiceGetProductV2Args) ReadField2

func (*ShopServiceGetProductV2Args) String

func (p *ShopServiceGetProductV2Args) String() string

func (*ShopServiceGetProductV2Args) Write

type ShopServiceGetProductV2Result

type ShopServiceGetProductV2Result struct {
	Success *GetProductResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
	E       *ShopException      `thrift:"e,1" db:"e" json:"e,omitempty"`
}

Attributes:

  • Success
  • E

func NewShopServiceGetProductV2Result

func NewShopServiceGetProductV2Result() *ShopServiceGetProductV2Result

func (*ShopServiceGetProductV2Result) GetE

func (*ShopServiceGetProductV2Result) GetSuccess

func (*ShopServiceGetProductV2Result) IsSetE

func (p *ShopServiceGetProductV2Result) IsSetE() bool

func (*ShopServiceGetProductV2Result) IsSetSuccess

func (p *ShopServiceGetProductV2Result) IsSetSuccess() bool

func (*ShopServiceGetProductV2Result) LogValue

func (*ShopServiceGetProductV2Result) Read

func (*ShopServiceGetProductV2Result) ReadField0

func (*ShopServiceGetProductV2Result) ReadField1

func (*ShopServiceGetProductV2Result) String

func (*ShopServiceGetProductV2Result) Write

type ShopServiceGetPurchasedProductsArgs

type ShopServiceGetPurchasedProductsArgs struct {
	// unused field # 1
	ShopId string  `thrift:"shopId,2" db:"shopId" json:"shopId"`
	Offset int32   `thrift:"offset,3" db:"offset" json:"offset"`
	Limit  int32   `thrift:"limit,4" db:"limit" json:"limit"`
	Locale *Locale `thrift:"locale,5" db:"locale" json:"locale"`
}

Attributes:

  • ShopId
  • Offset
  • Limit
  • Locale

func NewShopServiceGetPurchasedProductsArgs

func NewShopServiceGetPurchasedProductsArgs() *ShopServiceGetPurchasedProductsArgs

func (*ShopServiceGetPurchasedProductsArgs) GetLimit

func (*ShopServiceGetPurchasedProductsArgs) GetLocale

func (*ShopServiceGetPurchasedProductsArgs) GetOffset

func (*ShopServiceGetPurchasedProductsArgs) GetShopId

func (*ShopServiceGetPurchasedProductsArgs) IsSetLocale

func (p *ShopServiceGetPurchasedProductsArgs) IsSetLocale() bool

func (*ShopServiceGetPurchasedProductsArgs) LogValue

func (*ShopServiceGetPurchasedProductsArgs) Read

func (*ShopServiceGetPurchasedProductsArgs) ReadField2

func (*ShopServiceGetPurchasedProductsArgs) ReadField3

func (*ShopServiceGetPurchasedProductsArgs) ReadField4

func (*ShopServiceGetPurchasedProductsArgs) ReadField5

func (*ShopServiceGetPurchasedProductsArgs) String

func (*ShopServiceGetPurchasedProductsArgs) Write

type ShopServiceGetPurchasedProductsResult

type ShopServiceGetPurchasedProductsResult struct {
	Success *PurchaseRecordList `thrift:"success,0" db:"success" json:"success,omitempty"`
	E       *ShopException      `thrift:"e,1" db:"e" json:"e,omitempty"`
}

Attributes:

  • Success
  • E

func NewShopServiceGetPurchasedProductsResult

func NewShopServiceGetPurchasedProductsResult() *ShopServiceGetPurchasedProductsResult

func (*ShopServiceGetPurchasedProductsResult) GetE

func (*ShopServiceGetPurchasedProductsResult) GetSuccess

func (*ShopServiceGetPurchasedProductsResult) IsSetE

func (*ShopServiceGetPurchasedProductsResult) IsSetSuccess

func (p *ShopServiceGetPurchasedProductsResult) IsSetSuccess() bool

func (*ShopServiceGetPurchasedProductsResult) LogValue

func (*ShopServiceGetPurchasedProductsResult) Read

func (*ShopServiceGetPurchasedProductsResult) ReadField0

func (*ShopServiceGetPurchasedProductsResult) ReadField1

func (*ShopServiceGetPurchasedProductsResult) String

func (*ShopServiceGetPurchasedProductsResult) Write

type ShopServiceGetReceivedPresentsArgs

type ShopServiceGetReceivedPresentsArgs struct {
	// unused field # 1
	ShopId string  `thrift:"shopId,2" db:"shopId" json:"shopId"`
	Offset int32   `thrift:"offset,3" db:"offset" json:"offset"`
	Limit  int32   `thrift:"limit,4" db:"limit" json:"limit"`
	Locale *Locale `thrift:"locale,5" db:"locale" json:"locale"`
}

Attributes:

  • ShopId
  • Offset
  • Limit
  • Locale

func NewShopServiceGetReceivedPresentsArgs

func NewShopServiceGetReceivedPresentsArgs() *ShopServiceGetReceivedPresentsArgs

func (*ShopServiceGetReceivedPresentsArgs) GetLimit

func (*ShopServiceGetReceivedPresentsArgs) GetLocale

func (*ShopServiceGetReceivedPresentsArgs) GetOffset

func (*ShopServiceGetReceivedPresentsArgs) GetShopId

func (*ShopServiceGetReceivedPresentsArgs) IsSetLocale

func (p *ShopServiceGetReceivedPresentsArgs) IsSetLocale() bool

func (*ShopServiceGetReceivedPresentsArgs) LogValue

func (*ShopServiceGetReceivedPresentsArgs) Read

func (*ShopServiceGetReceivedPresentsArgs) ReadField2

func (*ShopServiceGetReceivedPresentsArgs) ReadField3

func (*ShopServiceGetReceivedPresentsArgs) ReadField4

func (*ShopServiceGetReceivedPresentsArgs) ReadField5

func (*ShopServiceGetReceivedPresentsArgs) String

func (*ShopServiceGetReceivedPresentsArgs) Write

type ShopServiceGetReceivedPresentsResult

type ShopServiceGetReceivedPresentsResult struct {
	Success *PurchaseRecordList `thrift:"success,0" db:"success" json:"success,omitempty"`
	E       *ShopException      `thrift:"e,1" db:"e" json:"e,omitempty"`
}

Attributes:

  • Success
  • E

func NewShopServiceGetReceivedPresentsResult

func NewShopServiceGetReceivedPresentsResult() *ShopServiceGetReceivedPresentsResult

func (*ShopServiceGetReceivedPresentsResult) GetE

func (*ShopServiceGetReceivedPresentsResult) GetSuccess

func (*ShopServiceGetReceivedPresentsResult) IsSetE

func (*ShopServiceGetReceivedPresentsResult) IsSetSuccess

func (p *ShopServiceGetReceivedPresentsResult) IsSetSuccess() bool

func (*ShopServiceGetReceivedPresentsResult) LogValue

func (*ShopServiceGetReceivedPresentsResult) Read

func (*ShopServiceGetReceivedPresentsResult) ReadField0

func (*ShopServiceGetReceivedPresentsResult) ReadField1

func (*ShopServiceGetReceivedPresentsResult) String

func (*ShopServiceGetReceivedPresentsResult) Write

type ShopServiceGetSentPresentsArgs

type ShopServiceGetSentPresentsArgs struct {
	// unused field # 1
	ShopId string  `thrift:"shopId,2" db:"shopId" json:"shopId"`
	Offset int32   `thrift:"offset,3" db:"offset" json:"offset"`
	Limit  int32   `thrift:"limit,4" db:"limit" json:"limit"`
	Locale *Locale `thrift:"locale,5" db:"locale" json:"locale"`
}

Attributes:

  • ShopId
  • Offset
  • Limit
  • Locale

func NewShopServiceGetSentPresentsArgs

func NewShopServiceGetSentPresentsArgs() *ShopServiceGetSentPresentsArgs

func (*ShopServiceGetSentPresentsArgs) GetLimit

func (p *ShopServiceGetSentPresentsArgs) GetLimit() int32

func (*ShopServiceGetSentPresentsArgs) GetLocale

func (p *ShopServiceGetSentPresentsArgs) GetLocale() *Locale

func (*ShopServiceGetSentPresentsArgs) GetOffset

func (p *ShopServiceGetSentPresentsArgs) GetOffset() int32

func (*ShopServiceGetSentPresentsArgs) GetShopId

func (p *ShopServiceGetSentPresentsArgs) GetShopId() string

func (*ShopServiceGetSentPresentsArgs) IsSetLocale

func (p *ShopServiceGetSentPresentsArgs) IsSetLocale() bool

func (*ShopServiceGetSentPresentsArgs) LogValue

func (*ShopServiceGetSentPresentsArgs) Read

func (*ShopServiceGetSentPresentsArgs) ReadField2

func (*ShopServiceGetSentPresentsArgs) ReadField3

func (*ShopServiceGetSentPresentsArgs) ReadField4

func (*ShopServiceGetSentPresentsArgs) ReadField5

func (*ShopServiceGetSentPresentsArgs) String

func (*ShopServiceGetSentPresentsArgs) Write

type ShopServiceGetSentPresentsResult

type ShopServiceGetSentPresentsResult struct {
	Success *PurchaseRecordList `thrift:"success,0" db:"success" json:"success,omitempty"`
	E       *ShopException      `thrift:"e,1" db:"e" json:"e,omitempty"`
}

Attributes:

  • Success
  • E

func NewShopServiceGetSentPresentsResult

func NewShopServiceGetSentPresentsResult() *ShopServiceGetSentPresentsResult

func (*ShopServiceGetSentPresentsResult) GetE

func (*ShopServiceGetSentPresentsResult) GetSuccess

func (*ShopServiceGetSentPresentsResult) IsSetE

func (*ShopServiceGetSentPresentsResult) IsSetSuccess

func (p *ShopServiceGetSentPresentsResult) IsSetSuccess() bool

func (*ShopServiceGetSentPresentsResult) LogValue

func (*ShopServiceGetSentPresentsResult) Read

func (*ShopServiceGetSentPresentsResult) ReadField0

func (*ShopServiceGetSentPresentsResult) ReadField1

func (*ShopServiceGetSentPresentsResult) String

func (*ShopServiceGetSentPresentsResult) Write

type ShopServicePlacePurchaseOrderForFreeProductArgs

type ShopServicePlacePurchaseOrderForFreeProductArgs struct {
	// unused field # 1
	PurchaseOrder *PurchaseOrder `thrift:"purchaseOrder,2" db:"purchaseOrder" json:"purchaseOrder"`
}

Attributes:

  • PurchaseOrder

func NewShopServicePlacePurchaseOrderForFreeProductArgs

func NewShopServicePlacePurchaseOrderForFreeProductArgs() *ShopServicePlacePurchaseOrderForFreeProductArgs

func (*ShopServicePlacePurchaseOrderForFreeProductArgs) GetPurchaseOrder

func (*ShopServicePlacePurchaseOrderForFreeProductArgs) IsSetPurchaseOrder

func (p *ShopServicePlacePurchaseOrderForFreeProductArgs) IsSetPurchaseOrder() bool

func (*ShopServicePlacePurchaseOrderForFreeProductArgs) LogValue

func (*ShopServicePlacePurchaseOrderForFreeProductArgs) Read

func (*ShopServicePlacePurchaseOrderForFreeProductArgs) ReadField2

func (*ShopServicePlacePurchaseOrderForFreeProductArgs) String

func (*ShopServicePlacePurchaseOrderForFreeProductArgs) Write

type ShopServicePlacePurchaseOrderForFreeProductResult

type ShopServicePlacePurchaseOrderForFreeProductResult struct {
	Success *PurchaseOrderResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
	E       *ShopException         `thrift:"e,1" db:"e" json:"e,omitempty"`
}

Attributes:

  • Success
  • E

func NewShopServicePlacePurchaseOrderForFreeProductResult

func NewShopServicePlacePurchaseOrderForFreeProductResult() *ShopServicePlacePurchaseOrderForFreeProductResult

func (*ShopServicePlacePurchaseOrderForFreeProductResult) GetE

func (*ShopServicePlacePurchaseOrderForFreeProductResult) GetSuccess

func (*ShopServicePlacePurchaseOrderForFreeProductResult) IsSetE

func (*ShopServicePlacePurchaseOrderForFreeProductResult) IsSetSuccess

func (*ShopServicePlacePurchaseOrderForFreeProductResult) LogValue

func (*ShopServicePlacePurchaseOrderForFreeProductResult) Read

func (*ShopServicePlacePurchaseOrderForFreeProductResult) ReadField0

func (*ShopServicePlacePurchaseOrderForFreeProductResult) ReadField1

func (*ShopServicePlacePurchaseOrderForFreeProductResult) String

func (*ShopServicePlacePurchaseOrderForFreeProductResult) Write

type ShopServicePlacePurchaseOrderWithLineCoinArgs

type ShopServicePlacePurchaseOrderWithLineCoinArgs struct {
	// unused field # 1
	PurchaseOrder *PurchaseOrder `thrift:"purchaseOrder,2" db:"purchaseOrder" json:"purchaseOrder"`
}

Attributes:

  • PurchaseOrder

func NewShopServicePlacePurchaseOrderWithLineCoinArgs

func NewShopServicePlacePurchaseOrderWithLineCoinArgs() *ShopServicePlacePurchaseOrderWithLineCoinArgs

func (*ShopServicePlacePurchaseOrderWithLineCoinArgs) GetPurchaseOrder

func (*ShopServicePlacePurchaseOrderWithLineCoinArgs) IsSetPurchaseOrder

func (p *ShopServicePlacePurchaseOrderWithLineCoinArgs) IsSetPurchaseOrder() bool

func (*ShopServicePlacePurchaseOrderWithLineCoinArgs) LogValue

func (*ShopServicePlacePurchaseOrderWithLineCoinArgs) Read

func (*ShopServicePlacePurchaseOrderWithLineCoinArgs) ReadField2

func (*ShopServicePlacePurchaseOrderWithLineCoinArgs) String

func (*ShopServicePlacePurchaseOrderWithLineCoinArgs) Write

type ShopServicePlacePurchaseOrderWithLineCoinResult

type ShopServicePlacePurchaseOrderWithLineCoinResult struct {
	Success *PurchaseOrderResponse `thrift:"success,0" db:"success" json:"success,omitempty"`
	E       *ShopException         `thrift:"e,1" db:"e" json:"e,omitempty"`
}

Attributes:

  • Success
  • E

func NewShopServicePlacePurchaseOrderWithLineCoinResult

func NewShopServicePlacePurchaseOrderWithLineCoinResult() *ShopServicePlacePurchaseOrderWithLineCoinResult

func (*ShopServicePlacePurchaseOrderWithLineCoinResult) GetE

func (*ShopServicePlacePurchaseOrderWithLineCoinResult) GetSuccess

func (*ShopServicePlacePurchaseOrderWithLineCoinResult) IsSetE

func (*ShopServicePlacePurchaseOrderWithLineCoinResult) IsSetSuccess

func (*ShopServicePlacePurchaseOrderWithLineCoinResult) LogValue

func (*ShopServicePlacePurchaseOrderWithLineCoinResult) Read

func (*ShopServicePlacePurchaseOrderWithLineCoinResult) ReadField0

func (*ShopServicePlacePurchaseOrderWithLineCoinResult) ReadField1

func (*ShopServicePlacePurchaseOrderWithLineCoinResult) String

func (*ShopServicePlacePurchaseOrderWithLineCoinResult) Write

type ShopServiceProcessor

type ShopServiceProcessor struct {
	// contains filtered or unexported fields
}

func NewShopServiceProcessor

func NewShopServiceProcessor(handler ShopService) *ShopServiceProcessor

func (*ShopServiceProcessor) AddToProcessorMap

func (p *ShopServiceProcessor) AddToProcessorMap(key string, processor thrift.TProcessorFunction)

func (*ShopServiceProcessor) GetProcessorFunction

func (p *ShopServiceProcessor) GetProcessorFunction(key string) (processor thrift.TProcessorFunction, ok bool)

func (*ShopServiceProcessor) Process

func (p *ShopServiceProcessor) Process(ctx context.Context, iprot, oprot thrift.TProtocol) (success bool, err thrift.TException)

func (*ShopServiceProcessor) ProcessorMap

func (p *ShopServiceProcessor) ProcessorMap() map[string]thrift.TProcessorFunction

type StickerLayout

type StickerLayout struct {
	LayoutInfo  *StickerLayoutInfo        `thrift:"layoutInfo,1" db:"layoutInfo" json:"layoutInfo"`
	StickerInfo *StickerLayoutStickerInfo `thrift:"stickerInfo,2" db:"stickerInfo" json:"stickerInfo"`
}

Attributes:

  • LayoutInfo
  • StickerInfo

func NewStickerLayout

func NewStickerLayout() *StickerLayout

func (*StickerLayout) Equals

func (p *StickerLayout) Equals(other *StickerLayout) bool

func (*StickerLayout) GetLayoutInfo

func (p *StickerLayout) GetLayoutInfo() *StickerLayoutInfo

func (*StickerLayout) GetStickerInfo

func (p *StickerLayout) GetStickerInfo() *StickerLayoutStickerInfo

func (*StickerLayout) IsSetLayoutInfo

func (p *StickerLayout) IsSetLayoutInfo() bool

func (*StickerLayout) IsSetStickerInfo

func (p *StickerLayout) IsSetStickerInfo() bool

func (*StickerLayout) LogValue

func (p *StickerLayout) LogValue() slog.Value

func (*StickerLayout) Read

func (p *StickerLayout) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*StickerLayout) ReadField1

func (p *StickerLayout) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*StickerLayout) ReadField2

func (p *StickerLayout) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*StickerLayout) String

func (p *StickerLayout) String() string

func (*StickerLayout) Validate

func (p *StickerLayout) Validate() error

func (*StickerLayout) Write

func (p *StickerLayout) Write(ctx context.Context, oprot thrift.TProtocol) error

type StickerLayoutInfo

type StickerLayoutInfo struct {
	Width    float64 `thrift:"width,1" db:"width" json:"width"`
	Height   float64 `thrift:"height,2" db:"height" json:"height"`
	Rotation float64 `thrift:"rotation,3" db:"rotation" json:"rotation"`
	X        float64 `thrift:"x,4" db:"x" json:"x"`
	Y        float64 `thrift:"y,5" db:"y" json:"y"`
}

Attributes:

  • Width
  • Height
  • Rotation
  • X
  • Y
var StickerLayout_LayoutInfo_DEFAULT *StickerLayoutInfo

func NewStickerLayoutInfo

func NewStickerLayoutInfo() *StickerLayoutInfo

func (*StickerLayoutInfo) Equals

func (p *StickerLayoutInfo) Equals(other *StickerLayoutInfo) bool

func (*StickerLayoutInfo) GetHeight

func (p *StickerLayoutInfo) GetHeight() float64

func (*StickerLayoutInfo) GetRotation

func (p *StickerLayoutInfo) GetRotation() float64

func (*StickerLayoutInfo) GetWidth

func (p *StickerLayoutInfo) GetWidth() float64

func (*StickerLayoutInfo) GetX

func (p *StickerLayoutInfo) GetX() float64

func (*StickerLayoutInfo) GetY

func (p *StickerLayoutInfo) GetY() float64

func (*StickerLayoutInfo) LogValue

func (p *StickerLayoutInfo) LogValue() slog.Value

func (*StickerLayoutInfo) Read

func (p *StickerLayoutInfo) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*StickerLayoutInfo) ReadField1

func (p *StickerLayoutInfo) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*StickerLayoutInfo) ReadField2

func (p *StickerLayoutInfo) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*StickerLayoutInfo) ReadField3

func (p *StickerLayoutInfo) ReadField3(ctx context.Context, iprot thrift.TProtocol) error

func (*StickerLayoutInfo) ReadField4

func (p *StickerLayoutInfo) ReadField4(ctx context.Context, iprot thrift.TProtocol) error

func (*StickerLayoutInfo) ReadField5

func (p *StickerLayoutInfo) ReadField5(ctx context.Context, iprot thrift.TProtocol) error

func (*StickerLayoutInfo) String

func (p *StickerLayoutInfo) String() string

func (*StickerLayoutInfo) Validate

func (p *StickerLayoutInfo) Validate() error

func (*StickerLayoutInfo) Write

func (p *StickerLayoutInfo) Write(ctx context.Context, oprot thrift.TProtocol) error

type StickerLayoutStickerInfo

type StickerLayoutStickerInfo struct {
	StickerId      int64  `thrift:"stickerId,1" db:"stickerId" json:"stickerId"`
	ProductId      int64  `thrift:"productId,2" db:"productId" json:"productId"`
	StickerHash    string `thrift:"stickerHash,3" db:"stickerHash" json:"stickerHash"`
	StickerOptions string `thrift:"stickerOptions,4" db:"stickerOptions" json:"stickerOptions"`
	StickerVersion int64  `thrift:"stickerVersion,5" db:"stickerVersion" json:"stickerVersion"`
}

Attributes:

  • StickerId
  • ProductId
  • StickerHash
  • StickerOptions
  • StickerVersion
var StickerLayout_StickerInfo_DEFAULT *StickerLayoutStickerInfo

func NewStickerLayoutStickerInfo

func NewStickerLayoutStickerInfo() *StickerLayoutStickerInfo

func (*StickerLayoutStickerInfo) Equals

func (*StickerLayoutStickerInfo) GetProductId

func (p *StickerLayoutStickerInfo) GetProductId() int64

func (*StickerLayoutStickerInfo) GetStickerHash

func (p *StickerLayoutStickerInfo) GetStickerHash() string

func (*StickerLayoutStickerInfo) GetStickerId

func (p *StickerLayoutStickerInfo) GetStickerId() int64

func (*StickerLayoutStickerInfo) GetStickerOptions

func (p *StickerLayoutStickerInfo) GetStickerOptions() string

func (*StickerLayoutStickerInfo) GetStickerVersion

func (p *StickerLayoutStickerInfo) GetStickerVersion() int64

func (*StickerLayoutStickerInfo) LogValue

func (p *StickerLayoutStickerInfo) LogValue() slog.Value

func (*StickerLayoutStickerInfo) Read

func (*StickerLayoutStickerInfo) ReadField1

func (p *StickerLayoutStickerInfo) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*StickerLayoutStickerInfo) ReadField2

func (p *StickerLayoutStickerInfo) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*StickerLayoutStickerInfo) ReadField3

func (p *StickerLayoutStickerInfo) ReadField3(ctx context.Context, iprot thrift.TProtocol) error

func (*StickerLayoutStickerInfo) ReadField4

func (p *StickerLayoutStickerInfo) ReadField4(ctx context.Context, iprot thrift.TProtocol) error

func (*StickerLayoutStickerInfo) ReadField5

func (p *StickerLayoutStickerInfo) ReadField5(ctx context.Context, iprot thrift.TProtocol) error

func (*StickerLayoutStickerInfo) String

func (p *StickerLayoutStickerInfo) String() string

func (*StickerLayoutStickerInfo) Validate

func (p *StickerLayoutStickerInfo) Validate() error

func (*StickerLayoutStickerInfo) Write

type StickerProperty

type StickerProperty struct {
	HasAnimation          bool                `thrift:"hasAnimation,1" db:"hasAnimation" json:"hasAnimation"`
	HasSound              bool                `thrift:"hasSound,2" db:"hasSound" json:"hasSound"`
	HasPopup              bool                `thrift:"hasPopup,3" db:"hasPopup" json:"hasPopup"`
	StickerResourceType   StickerResourceType `thrift:"stickerResourceType,4" db:"stickerResourceType" json:"stickerResourceType"`
	StickerOptions        string              `thrift:"StickerOptions,5" db:"StickerOptions" json:"StickerOptions"`
	CompactStickerOptions int32               `thrift:"compactStickerOptions,6" db:"compactStickerOptions" json:"compactStickerOptions"`
	StickerHash           string              `thrift:"stickerHash,7" db:"stickerHash" json:"stickerHash"`
	// unused field # 8
	StickerIds            []string           `thrift:"stickerIds,9" db:"stickerIds" json:"stickerIds"`
	NameTextProperty      *ImageTextProperty `thrift:"nameTextProperty,10" db:"nameTextProperty" json:"nameTextProperty"`
	AvailableForPhotoEdit bool               `thrift:"availableForPhotoEdit,11" db:"availableForPhotoEdit" json:"availableForPhotoEdit"`
	StickerDefaultTexts   map[string]string  `thrift:"stickerDefaultTexts,12" db:"stickerDefaultTexts" json:"stickerDefaultTexts"`
	StickerSize           StickerSize        `thrift:"stickerSize,13" db:"stickerSize" json:"stickerSize"`
	PopupLayer            PopupLayer         `thrift:"popupLayer,14" db:"popupLayer" json:"popupLayer"`
	CpdProduct            bool               `thrift:"cpdProduct,15" db:"cpdProduct" json:"cpdProduct"`
}

Attributes:

  • HasAnimation
  • HasSound
  • HasPopup
  • StickerResourceType
  • StickerOptions
  • CompactStickerOptions
  • StickerHash
  • StickerIds
  • NameTextProperty
  • AvailableForPhotoEdit
  • StickerDefaultTexts
  • StickerSize
  • PopupLayer
  • CpdProduct
var ProductProperty_StickerProperty_DEFAULT *StickerProperty

func NewStickerProperty

func NewStickerProperty() *StickerProperty

func (*StickerProperty) Equals

func (p *StickerProperty) Equals(other *StickerProperty) bool

func (*StickerProperty) GetAvailableForPhotoEdit

func (p *StickerProperty) GetAvailableForPhotoEdit() bool

func (*StickerProperty) GetCompactStickerOptions

func (p *StickerProperty) GetCompactStickerOptions() int32

func (*StickerProperty) GetCpdProduct

func (p *StickerProperty) GetCpdProduct() bool

func (*StickerProperty) GetHasAnimation

func (p *StickerProperty) GetHasAnimation() bool

func (*StickerProperty) GetHasPopup

func (p *StickerProperty) GetHasPopup() bool

func (*StickerProperty) GetHasSound

func (p *StickerProperty) GetHasSound() bool

func (*StickerProperty) GetNameTextProperty

func (p *StickerProperty) GetNameTextProperty() *ImageTextProperty

func (*StickerProperty) GetPopupLayer

func (p *StickerProperty) GetPopupLayer() PopupLayer

func (*StickerProperty) GetStickerDefaultTexts

func (p *StickerProperty) GetStickerDefaultTexts() map[string]string

func (*StickerProperty) GetStickerHash

func (p *StickerProperty) GetStickerHash() string

func (*StickerProperty) GetStickerIds

func (p *StickerProperty) GetStickerIds() []string

func (*StickerProperty) GetStickerOptions

func (p *StickerProperty) GetStickerOptions() string

func (*StickerProperty) GetStickerResourceType

func (p *StickerProperty) GetStickerResourceType() StickerResourceType

func (*StickerProperty) GetStickerSize

func (p *StickerProperty) GetStickerSize() StickerSize

func (*StickerProperty) IsSetNameTextProperty

func (p *StickerProperty) IsSetNameTextProperty() bool

func (*StickerProperty) LogValue

func (p *StickerProperty) LogValue() slog.Value

func (*StickerProperty) Read

func (p *StickerProperty) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*StickerProperty) ReadField1

func (p *StickerProperty) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*StickerProperty) ReadField2

func (p *StickerProperty) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*StickerProperty) ReadField3

func (p *StickerProperty) ReadField3(ctx context.Context, iprot thrift.TProtocol) error

func (*StickerProperty) ReadField4

func (p *StickerProperty) ReadField4(ctx context.Context, iprot thrift.TProtocol) error

func (*StickerProperty) ReadField5

func (p *StickerProperty) ReadField5(ctx context.Context, iprot thrift.TProtocol) error

func (*StickerProperty) ReadField6

func (p *StickerProperty) ReadField6(ctx context.Context, iprot thrift.TProtocol) error

func (*StickerProperty) ReadField7

func (p *StickerProperty) ReadField7(ctx context.Context, iprot thrift.TProtocol) error

func (*StickerProperty) ReadField9

func (p *StickerProperty) ReadField9(ctx context.Context, iprot thrift.TProtocol) error

func (*StickerProperty) ReadField10

func (p *StickerProperty) ReadField10(ctx context.Context, iprot thrift.TProtocol) error

func (*StickerProperty) ReadField11

func (p *StickerProperty) ReadField11(ctx context.Context, iprot thrift.TProtocol) error

func (*StickerProperty) ReadField12

func (p *StickerProperty) ReadField12(ctx context.Context, iprot thrift.TProtocol) error

func (*StickerProperty) ReadField13

func (p *StickerProperty) ReadField13(ctx context.Context, iprot thrift.TProtocol) error

func (*StickerProperty) ReadField14

func (p *StickerProperty) ReadField14(ctx context.Context, iprot thrift.TProtocol) error

func (*StickerProperty) ReadField15

func (p *StickerProperty) ReadField15(ctx context.Context, iprot thrift.TProtocol) error

func (*StickerProperty) String

func (p *StickerProperty) String() string

func (*StickerProperty) Validate

func (p *StickerProperty) Validate() error

func (*StickerProperty) Write

func (p *StickerProperty) Write(ctx context.Context, oprot thrift.TProtocol) error

type StickerResourceType

type StickerResourceType int64
const (
	StickerResourceType_STATIC           StickerResourceType = 1
	StickerResourceType_ANIMATION        StickerResourceType = 2
	StickerResourceType_SOUND            StickerResourceType = 3
	StickerResourceType_ANIMATION_SOUND  StickerResourceType = 4
	StickerResourceType_POPUP            StickerResourceType = 5
	StickerResourceType_POPUP_SOUND      StickerResourceType = 6
	StickerResourceType_NAME_TEXT        StickerResourceType = 7
	StickerResourceType_PER_STICKER_TEXT StickerResourceType = 8
)

func StickerResourceTypeFromString

func StickerResourceTypeFromString(s string) (StickerResourceType, error)

func StickerResourceTypePtr

func StickerResourceTypePtr(v StickerResourceType) *StickerResourceType

func (StickerResourceType) MarshalText

func (p StickerResourceType) MarshalText() ([]byte, error)

func (*StickerResourceType) Scan

func (p *StickerResourceType) Scan(value interface{}) error

func (StickerResourceType) String

func (p StickerResourceType) String() string

func (*StickerResourceType) UnmarshalText

func (p *StickerResourceType) UnmarshalText(text []byte) error

func (*StickerResourceType) Value

func (p *StickerResourceType) Value() (driver.Value, error)

type StickerSize

type StickerSize int64
const (
	StickerSize_NORMAL StickerSize = 0
	StickerSize_BIG    StickerSize = 1
)

func StickerSizeFromString

func StickerSizeFromString(s string) (StickerSize, error)

func StickerSizePtr

func StickerSizePtr(v StickerSize) *StickerSize

func (StickerSize) MarshalText

func (p StickerSize) MarshalText() ([]byte, error)

func (*StickerSize) Scan

func (p *StickerSize) Scan(value interface{}) error

func (StickerSize) String

func (p StickerSize) String() string

func (*StickerSize) UnmarshalText

func (p *StickerSize) UnmarshalText(text []byte) error

func (*StickerSize) Value

func (p *StickerSize) Value() (driver.Value, error)

type SticonProperty

type SticonProperty struct {
	// unused field # 1
	SticonIds             []string           `thrift:"sticonIds,2" db:"sticonIds" json:"sticonIds"`
	AvailableForPhotoEdit bool               `thrift:"availableForPhotoEdit,3" db:"availableForPhotoEdit" json:"availableForPhotoEdit"`
	SticonResourceType    SticonResourceType `thrift:"sticonResourceType,4" db:"sticonResourceType" json:"sticonResourceType"`
	EndPageMainImages     [][]string         `thrift:"endPageMainImages,5" db:"endPageMainImages" json:"endPageMainImages"`
}

Attributes:

  • SticonIds
  • AvailableForPhotoEdit
  • SticonResourceType
  • EndPageMainImages
var ProductProperty_SticonProperty_DEFAULT *SticonProperty

func NewSticonProperty

func NewSticonProperty() *SticonProperty

func (*SticonProperty) Equals

func (p *SticonProperty) Equals(other *SticonProperty) bool

func (*SticonProperty) GetAvailableForPhotoEdit

func (p *SticonProperty) GetAvailableForPhotoEdit() bool

func (*SticonProperty) GetEndPageMainImages

func (p *SticonProperty) GetEndPageMainImages() [][]string

func (*SticonProperty) GetSticonIds

func (p *SticonProperty) GetSticonIds() []string

func (*SticonProperty) GetSticonResourceType

func (p *SticonProperty) GetSticonResourceType() SticonResourceType

func (*SticonProperty) LogValue

func (p *SticonProperty) LogValue() slog.Value

func (*SticonProperty) Read

func (p *SticonProperty) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*SticonProperty) ReadField2

func (p *SticonProperty) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*SticonProperty) ReadField3

func (p *SticonProperty) ReadField3(ctx context.Context, iprot thrift.TProtocol) error

func (*SticonProperty) ReadField4

func (p *SticonProperty) ReadField4(ctx context.Context, iprot thrift.TProtocol) error

func (*SticonProperty) ReadField5

func (p *SticonProperty) ReadField5(ctx context.Context, iprot thrift.TProtocol) error

func (*SticonProperty) String

func (p *SticonProperty) String() string

func (*SticonProperty) Validate

func (p *SticonProperty) Validate() error

func (*SticonProperty) Write

func (p *SticonProperty) Write(ctx context.Context, oprot thrift.TProtocol) error

type SticonResourceType

type SticonResourceType int64
const (
	SticonResourceType_STATIC    SticonResourceType = 1
	SticonResourceType_ANIMATION SticonResourceType = 2
)

func SticonResourceTypeFromString

func SticonResourceTypeFromString(s string) (SticonResourceType, error)

func SticonResourceTypePtr

func SticonResourceTypePtr(v SticonResourceType) *SticonResourceType

func (SticonResourceType) MarshalText

func (p SticonResourceType) MarshalText() ([]byte, error)

func (*SticonResourceType) Scan

func (p *SticonResourceType) Scan(value interface{}) error

func (SticonResourceType) String

func (p SticonResourceType) String() string

func (*SticonResourceType) UnmarshalText

func (p *SticonResourceType) UnmarshalText(text []byte) error

func (*SticonResourceType) Value

func (p *SticonResourceType) Value() (driver.Value, error)

type SubType

type SubType int64
const (
	SubType_GENERAL  SubType = 0
	SubType_CREATORS SubType = 1
	SubType_STICON   SubType = 2
)

func SubTypeFromString

func SubTypeFromString(s string) (SubType, error)

func SubTypePtr

func SubTypePtr(v SubType) *SubType

func (SubType) MarshalText

func (p SubType) MarshalText() ([]byte, error)

func (*SubType) Scan

func (p *SubType) Scan(value interface{}) error

func (SubType) String

func (p SubType) String() string

func (*SubType) UnmarshalText

func (p *SubType) UnmarshalText(text []byte) error

func (*SubType) Value

func (p *SubType) Value() (driver.Value, error)

type ThemeProperty

type ThemeProperty struct {
	Thumbnail         string            `thrift:"thumbnail,1" db:"thumbnail" json:"thumbnail"`
	ThemeResourceType ThemeResourceType `thrift:"themeResourceType,2" db:"themeResourceType" json:"themeResourceType"`
}

Attributes:

  • Thumbnail
  • ThemeResourceType
var ProductProperty_ThemeProperty_DEFAULT *ThemeProperty

func NewThemeProperty

func NewThemeProperty() *ThemeProperty

func (*ThemeProperty) Equals

func (p *ThemeProperty) Equals(other *ThemeProperty) bool

func (*ThemeProperty) GetThemeResourceType

func (p *ThemeProperty) GetThemeResourceType() ThemeResourceType

func (*ThemeProperty) GetThumbnail

func (p *ThemeProperty) GetThumbnail() string

func (*ThemeProperty) LogValue

func (p *ThemeProperty) LogValue() slog.Value

func (*ThemeProperty) Read

func (p *ThemeProperty) Read(ctx context.Context, iprot thrift.TProtocol) error

func (*ThemeProperty) ReadField1

func (p *ThemeProperty) ReadField1(ctx context.Context, iprot thrift.TProtocol) error

func (*ThemeProperty) ReadField2

func (p *ThemeProperty) ReadField2(ctx context.Context, iprot thrift.TProtocol) error

func (*ThemeProperty) String

func (p *ThemeProperty) String() string

func (*ThemeProperty) Validate

func (p *ThemeProperty) Validate() error

func (*ThemeProperty) Write

func (p *ThemeProperty) Write(ctx context.Context, oprot thrift.TProtocol) error

type ThemeResourceType

type ThemeResourceType int64
const (
	ThemeResourceType_STATIC    ThemeResourceType = 1
	ThemeResourceType_ANIMATION ThemeResourceType = 2
)

func ThemeResourceTypeFromString

func ThemeResourceTypeFromString(s string) (ThemeResourceType, error)

func ThemeResourceTypePtr

func ThemeResourceTypePtr(v ThemeResourceType) *ThemeResourceType

func (ThemeResourceType) MarshalText

func (p ThemeResourceType) MarshalText() ([]byte, error)

func (*ThemeResourceType) Scan

func (p *ThemeResourceType) Scan(value interface{}) error

func (ThemeResourceType) String

func (p ThemeResourceType) String() string

func (*ThemeResourceType) UnmarshalText

func (p *ThemeResourceType) UnmarshalText(text []byte) error

func (*ThemeResourceType) Value

func (p *ThemeResourceType) Value() (driver.Value, error)

Jump to

Keyboard shortcuts

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