domain

package
v0.0.0-...-10de536 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PaymentState_name = map[int32]string{
		0: "WAITING",
		1: "CANCEL",
		2: "PAYED",
		3: "TIMEOUT",
		4: "NOT_SUPPORT",
	}
	PaymentState_value = map[string]int32{
		"WAITING":     0,
		"CANCEL":      1,
		"PAYED":       2,
		"TIMEOUT":     3,
		"NOT_SUPPORT": 4,
	}
)

Enum value maps for PaymentState.

View Source
var (
	UpdatePaymentStateAliasResult_Success_DEFAULT *Empty
	ExecuteSettlementArgs_Req_DEFAULT             *ExecuteSettlementRequest
	ExecuteSettlementResult_Success_DEFAULT       *ExecuteSettlementResponse
	UpdatePaymentStateArgs_Req_DEFAULT            *UpdatePaymentStateRequest
	UpdatePaymentStateResult_Success_DEFAULT      *Empty
	UpdatePaymentStateAliasArgs_Req_DEFAULT       *UpdatePaymentStateAlias
)
View Source
var (
	DeliveredStatus_name = map[int32]string{
		0: "DECREASE",
		1: "INCREASE",
		2: "FROZEN",
		3: "THAWED",
	}
	DeliveredStatus_value = map[string]int32{
		"DECREASE": 0,
		"INCREASE": 1,
		"FROZEN":   2,
		"THAWED":   3,
	}
)

Enum value maps for DeliveredStatus.

View Source
var (
	QueryStockpileResult_Success_DEFAULT       *QueryStockpileResponse
	GetAllAdvertisementsArgs_Req_DEFAULT       *Empty
	GetAllAdvertisementsResult_Success_DEFAULT *GetAllAdvertisementsResponse
	GetProductResult_Success_DEFAULT           *GetProductResponse
	GetAllProductsResult_Success_DEFAULT       *GetAllProductResponse
	CreateProductResult_Success_DEFAULT        *Empty
	SetDeliveredStatusResult_Success_DEFAULT   *Empty
	GetAllProductsArgs_Req_DEFAULT             *Empty
	GetProductArgs_Req_DEFAULT                 *GetProductRequest
	CreateProductArgs_Req_DEFAULT              *ChangeProductRequest
	QueryStockpileArgs_Req_DEFAULT             *QueryStockpileRequest
	SetDeliveredStatusArgs_Req_DEFAULT         *SetDeliveredStatusRequest
	RemoveProductResult_Success_DEFAULT        *Empty
	UpdateStockpileResult_Success_DEFAULT      *Empty
	UpdateProductResult_Success_DEFAULT        *Empty
	UpdateProductArgs_Req_DEFAULT              *ChangeProductRequest
	RemoveProductArgs_Req_DEFAULT              *RemoveProductRequest
	UpdateStockpileArgs_Req_DEFAULT            *UpdateStockpileRequest
)
View Source
var File_idl_warehouse_proto protoreflect.FileDescriptor
View Source
var File_payment_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Account

type Account struct {
	Id        int64  `thrift:"id,1" frugal:"1,default,i64" json:"id"`
	Username  string `thrift:"username,2" frugal:"2,default,string" json:"username"`
	Password  string `thrift:"password,3" frugal:"3,default,string" json:"password"`
	Name      string `thrift:"name,4" frugal:"4,default,string" json:"name"`
	Avatar    string `thrift:"avatar,5" frugal:"5,default,string" json:"avatar"`
	Telephone string `thrift:"telephone,6" frugal:"6,default,string" json:"telephone"`
	Email     string `thrift:"email,7" frugal:"7,default,string" json:"email"`
	Location  string `thrift:"location,8" frugal:"8,default,string" json:"location"`
}
var (
	GetAccountResult_Success_DEFAULT *Account

	ChangeAccountArgs_Account_DEFAULT *Account
)
var ChangeAccountRequest_Account_DEFAULT *Account
var GetAccountResponse_Account_DEFAULT *Account

func NewAccount

func NewAccount() *Account

func (*Account) BLength

func (p *Account) BLength() int

func (*Account) DeepEqual

func (p *Account) DeepEqual(ano *Account) bool

func (*Account) FastRead

func (p *Account) FastRead(buf []byte) (int, error)

func (*Account) FastReadField1

func (p *Account) FastReadField1(buf []byte) (int, error)

func (*Account) FastReadField2

func (p *Account) FastReadField2(buf []byte) (int, error)

func (*Account) FastReadField3

func (p *Account) FastReadField3(buf []byte) (int, error)

func (*Account) FastReadField4

func (p *Account) FastReadField4(buf []byte) (int, error)

func (*Account) FastReadField5

func (p *Account) FastReadField5(buf []byte) (int, error)

func (*Account) FastReadField6

func (p *Account) FastReadField6(buf []byte) (int, error)

func (*Account) FastReadField7

func (p *Account) FastReadField7(buf []byte) (int, error)

func (*Account) FastReadField8

func (p *Account) FastReadField8(buf []byte) (int, error)

func (*Account) FastWrite

func (p *Account) FastWrite(buf []byte) int

for compatibility

func (*Account) FastWriteNocopy

func (p *Account) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*Account) Field1DeepEqual

func (p *Account) Field1DeepEqual(src int64) bool

func (*Account) Field2DeepEqual

func (p *Account) Field2DeepEqual(src string) bool

func (*Account) Field3DeepEqual

func (p *Account) Field3DeepEqual(src string) bool

func (*Account) Field4DeepEqual

func (p *Account) Field4DeepEqual(src string) bool

func (*Account) Field5DeepEqual

func (p *Account) Field5DeepEqual(src string) bool

func (*Account) Field6DeepEqual

func (p *Account) Field6DeepEqual(src string) bool

func (*Account) Field7DeepEqual

func (p *Account) Field7DeepEqual(src string) bool

func (*Account) Field8DeepEqual

func (p *Account) Field8DeepEqual(src string) bool

func (*Account) GetAvatar

func (p *Account) GetAvatar() (v string)

func (*Account) GetEmail

func (p *Account) GetEmail() (v string)

func (*Account) GetId

func (p *Account) GetId() (v int64)

func (*Account) GetLocation

func (p *Account) GetLocation() (v string)

func (*Account) GetName

func (p *Account) GetName() (v string)

func (*Account) GetPassword

func (p *Account) GetPassword() (v string)

func (*Account) GetTelephone

func (p *Account) GetTelephone() (v string)

func (*Account) GetUsername

func (p *Account) GetUsername() (v string)

func (*Account) InitDefault

func (p *Account) InitDefault()

func (*Account) Read

func (p *Account) Read(iprot thrift.TProtocol) (err error)

func (*Account) ReadField1

func (p *Account) ReadField1(iprot thrift.TProtocol) error

func (*Account) ReadField2

func (p *Account) ReadField2(iprot thrift.TProtocol) error

func (*Account) ReadField3

func (p *Account) ReadField3(iprot thrift.TProtocol) error

func (*Account) ReadField4

func (p *Account) ReadField4(iprot thrift.TProtocol) error

func (*Account) ReadField5

func (p *Account) ReadField5(iprot thrift.TProtocol) error

func (*Account) ReadField6

func (p *Account) ReadField6(iprot thrift.TProtocol) error

func (*Account) ReadField7

func (p *Account) ReadField7(iprot thrift.TProtocol) error

func (*Account) ReadField8

func (p *Account) ReadField8(iprot thrift.TProtocol) error

func (*Account) SetAvatar

func (p *Account) SetAvatar(val string)

func (*Account) SetEmail

func (p *Account) SetEmail(val string)

func (*Account) SetId

func (p *Account) SetId(val int64)

func (*Account) SetLocation

func (p *Account) SetLocation(val string)

func (*Account) SetName

func (p *Account) SetName(val string)

func (*Account) SetPassword

func (p *Account) SetPassword(val string)

func (*Account) SetTelephone

func (p *Account) SetTelephone(val string)

func (*Account) SetUsername

func (p *Account) SetUsername(val string)

func (*Account) String

func (p *Account) String() string

func (*Account) Write

func (p *Account) Write(oprot thrift.TProtocol) (err error)
type Advertisement struct {
	Image     string `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
	ProductId int64  `protobuf:"varint,2,opt,name=productId,proto3" json:"productId,omitempty"`
	// contains filtered or unexported fields
}

Advertisement 广告对象模型

func (*Advertisement) Descriptor deprecated

func (*Advertisement) Descriptor() ([]byte, []int)

Deprecated: Use Advertisement.ProtoReflect.Descriptor instead.

func (*Advertisement) FastRead

func (x *Advertisement) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

func (*Advertisement) FastWrite

func (x *Advertisement) FastWrite(buf []byte) (offset int)

func (*Advertisement) GetImage

func (x *Advertisement) GetImage() string

func (*Advertisement) GetProductId

func (x *Advertisement) GetProductId() int64

func (*Advertisement) ProtoMessage

func (*Advertisement) ProtoMessage()

func (*Advertisement) ProtoReflect

func (x *Advertisement) ProtoReflect() protoreflect.Message

func (*Advertisement) Reset

func (x *Advertisement) Reset()

func (*Advertisement) Size

func (x *Advertisement) Size() (n int)

func (*Advertisement) String

func (x *Advertisement) String() string

type ChangeAccountArgs

type ChangeAccountArgs struct {
	Account *ChangeAccountRequest `thrift:"account,1" frugal:"1,default,ChangeAccountRequest" json:"account"`
}

func NewAccountChangeAccountArgs

func NewAccountChangeAccountArgs() *ChangeAccountArgs

func (*ChangeAccountArgs) BLength

func (p *ChangeAccountArgs) BLength() int

func (*ChangeAccountArgs) DeepEqual

func (p *ChangeAccountArgs) DeepEqual(ano *ChangeAccountArgs) bool

func (*ChangeAccountArgs) FastRead

func (p *ChangeAccountArgs) FastRead(buf []byte) (int, error)

func (*ChangeAccountArgs) FastReadField1

func (p *ChangeAccountArgs) FastReadField1(buf []byte) (int, error)

func (*ChangeAccountArgs) FastWrite

func (p *ChangeAccountArgs) FastWrite(buf []byte) int

for compatibility

func (*ChangeAccountArgs) FastWriteNocopy

func (p *ChangeAccountArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*ChangeAccountArgs) Field1DeepEqual

func (p *ChangeAccountArgs) Field1DeepEqual(src *ChangeAccountRequest) bool

func (*ChangeAccountArgs) GetAccount

func (p *ChangeAccountArgs) GetAccount() (v *ChangeAccountRequest)

func (*ChangeAccountArgs) GetFirstArgument

func (p *ChangeAccountArgs) GetFirstArgument() interface{}

func (*ChangeAccountArgs) InitDefault

func (p *ChangeAccountArgs) InitDefault()

func (*ChangeAccountArgs) IsSetAccount

func (p *ChangeAccountArgs) IsSetAccount() bool

func (*ChangeAccountArgs) Read

func (p *ChangeAccountArgs) Read(iprot thrift.TProtocol) (err error)

func (*ChangeAccountArgs) ReadField1

func (p *ChangeAccountArgs) ReadField1(iprot thrift.TProtocol) error

func (*ChangeAccountArgs) SetAccount

func (p *ChangeAccountArgs) SetAccount(val *ChangeAccountRequest)

func (*ChangeAccountArgs) String

func (p *ChangeAccountArgs) String() string

func (*ChangeAccountArgs) Write

func (p *ChangeAccountArgs) Write(oprot thrift.TProtocol) (err error)

type ChangeAccountRequest

type ChangeAccountRequest struct {
	Account *Account `thrift:"account,1" frugal:"1,default,Account" json:"account"`
}
var AccountChangeAccountArgs_Account_DEFAULT *ChangeAccountRequest

func NewChangeAccountRequest

func NewChangeAccountRequest() *ChangeAccountRequest

func (*ChangeAccountRequest) BLength

func (p *ChangeAccountRequest) BLength() int

func (*ChangeAccountRequest) DeepEqual

func (p *ChangeAccountRequest) DeepEqual(ano *ChangeAccountRequest) bool

func (*ChangeAccountRequest) FastRead

func (p *ChangeAccountRequest) FastRead(buf []byte) (int, error)

func (*ChangeAccountRequest) FastReadField1

func (p *ChangeAccountRequest) FastReadField1(buf []byte) (int, error)

func (*ChangeAccountRequest) FastWrite

func (p *ChangeAccountRequest) FastWrite(buf []byte) int

for compatibility

func (*ChangeAccountRequest) FastWriteNocopy

func (p *ChangeAccountRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*ChangeAccountRequest) Field1DeepEqual

func (p *ChangeAccountRequest) Field1DeepEqual(src *Account) bool

func (*ChangeAccountRequest) GetAccount

func (p *ChangeAccountRequest) GetAccount() (v *Account)

func (*ChangeAccountRequest) InitDefault

func (p *ChangeAccountRequest) InitDefault()

func (*ChangeAccountRequest) IsSetAccount

func (p *ChangeAccountRequest) IsSetAccount() bool

func (*ChangeAccountRequest) Read

func (p *ChangeAccountRequest) Read(iprot thrift.TProtocol) (err error)

func (*ChangeAccountRequest) ReadField1

func (p *ChangeAccountRequest) ReadField1(iprot thrift.TProtocol) error

func (*ChangeAccountRequest) SetAccount

func (p *ChangeAccountRequest) SetAccount(val *Account)

func (*ChangeAccountRequest) String

func (p *ChangeAccountRequest) String() string

func (*ChangeAccountRequest) Write

func (p *ChangeAccountRequest) Write(oprot thrift.TProtocol) (err error)

type ChangeAccountResponse

type ChangeAccountResponse struct {
}
var AccountChangeAccountResult_Success_DEFAULT *ChangeAccountResponse

func NewChangeAccountResponse

func NewChangeAccountResponse() *ChangeAccountResponse

func (*ChangeAccountResponse) BLength

func (p *ChangeAccountResponse) BLength() int

func (*ChangeAccountResponse) DeepEqual

func (*ChangeAccountResponse) FastRead

func (p *ChangeAccountResponse) FastRead(buf []byte) (int, error)

func (*ChangeAccountResponse) FastWrite

func (p *ChangeAccountResponse) FastWrite(buf []byte) int

for compatibility

func (*ChangeAccountResponse) FastWriteNocopy

func (p *ChangeAccountResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*ChangeAccountResponse) InitDefault

func (p *ChangeAccountResponse) InitDefault()

func (*ChangeAccountResponse) Read

func (p *ChangeAccountResponse) Read(iprot thrift.TProtocol) (err error)

func (*ChangeAccountResponse) String

func (p *ChangeAccountResponse) String() string

func (*ChangeAccountResponse) Write

func (p *ChangeAccountResponse) Write(oprot thrift.TProtocol) (err error)

type ChangeAccountResult

type ChangeAccountResult struct {
	Success *ChangeAccountResponse `thrift:"success,0,optional" frugal:"0,optional,ChangeAccountResponse" json:"success,omitempty"`
}

func NewAccountChangeAccountResult

func NewAccountChangeAccountResult() *ChangeAccountResult

func (*ChangeAccountResult) BLength

func (p *ChangeAccountResult) BLength() int

func (*ChangeAccountResult) DeepEqual

func (p *ChangeAccountResult) DeepEqual(ano *ChangeAccountResult) bool

func (*ChangeAccountResult) FastRead

func (p *ChangeAccountResult) FastRead(buf []byte) (int, error)

func (*ChangeAccountResult) FastReadField0

func (p *ChangeAccountResult) FastReadField0(buf []byte) (int, error)

func (*ChangeAccountResult) FastWrite

func (p *ChangeAccountResult) FastWrite(buf []byte) int

for compatibility

func (*ChangeAccountResult) FastWriteNocopy

func (p *ChangeAccountResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*ChangeAccountResult) Field0DeepEqual

func (p *ChangeAccountResult) Field0DeepEqual(src *ChangeAccountResponse) bool

func (*ChangeAccountResult) GetResult

func (p *ChangeAccountResult) GetResult() interface{}

func (*ChangeAccountResult) GetSuccess

func (p *ChangeAccountResult) GetSuccess() (v *ChangeAccountResponse)

func (*ChangeAccountResult) InitDefault

func (p *ChangeAccountResult) InitDefault()

func (*ChangeAccountResult) IsSetSuccess

func (p *ChangeAccountResult) IsSetSuccess() bool

func (*ChangeAccountResult) Read

func (p *ChangeAccountResult) Read(iprot thrift.TProtocol) (err error)

func (*ChangeAccountResult) ReadField0

func (p *ChangeAccountResult) ReadField0(iprot thrift.TProtocol) error

func (*ChangeAccountResult) SetSuccess

func (p *ChangeAccountResult) SetSuccess(x interface{})

func (*ChangeAccountResult) String

func (p *ChangeAccountResult) String() string

func (*ChangeAccountResult) Write

func (p *ChangeAccountResult) Write(oprot thrift.TProtocol) (err error)

type ChangeProductRequest

type ChangeProductRequest struct {
	Product *Product `protobuf:"bytes,1,opt,name=product,proto3" json:"product,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeProductRequest) Descriptor deprecated

func (*ChangeProductRequest) Descriptor() ([]byte, []int)

Deprecated: Use ChangeProductRequest.ProtoReflect.Descriptor instead.

func (*ChangeProductRequest) FastRead

func (x *ChangeProductRequest) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

func (*ChangeProductRequest) FastWrite

func (x *ChangeProductRequest) FastWrite(buf []byte) (offset int)

func (*ChangeProductRequest) GetProduct

func (x *ChangeProductRequest) GetProduct() *Product

func (*ChangeProductRequest) ProtoMessage

func (*ChangeProductRequest) ProtoMessage()

func (*ChangeProductRequest) ProtoReflect

func (x *ChangeProductRequest) ProtoReflect() protoreflect.Message

func (*ChangeProductRequest) Reset

func (x *ChangeProductRequest) Reset()

func (*ChangeProductRequest) Size

func (x *ChangeProductRequest) Size() (n int)

func (*ChangeProductRequest) String

func (x *ChangeProductRequest) String() string

type CreateProductArgs

type CreateProductArgs struct {
	Req *ChangeProductRequest
}

func (*CreateProductArgs) FastRead

func (p *CreateProductArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)

func (*CreateProductArgs) FastWrite

func (p *CreateProductArgs) FastWrite(buf []byte) (n int)

func (*CreateProductArgs) GetFirstArgument

func (p *CreateProductArgs) GetFirstArgument() interface{}

func (*CreateProductArgs) GetReq

func (*CreateProductArgs) IsSetReq

func (p *CreateProductArgs) IsSetReq() bool

func (*CreateProductArgs) Marshal

func (p *CreateProductArgs) Marshal(out []byte) ([]byte, error)

func (*CreateProductArgs) Size

func (p *CreateProductArgs) Size() (n int)

func (*CreateProductArgs) Unmarshal

func (p *CreateProductArgs) Unmarshal(in []byte) error

type CreateProductResult

type CreateProductResult struct {
	Success *Empty
}

func (*CreateProductResult) FastRead

func (p *CreateProductResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)

func (*CreateProductResult) FastWrite

func (p *CreateProductResult) FastWrite(buf []byte) (n int)

func (*CreateProductResult) GetResult

func (p *CreateProductResult) GetResult() interface{}

func (*CreateProductResult) GetSuccess

func (p *CreateProductResult) GetSuccess() *Empty

func (*CreateProductResult) IsSetSuccess

func (p *CreateProductResult) IsSetSuccess() bool

func (*CreateProductResult) Marshal

func (p *CreateProductResult) Marshal(out []byte) ([]byte, error)

func (*CreateProductResult) SetSuccess

func (p *CreateProductResult) SetSuccess(x interface{})

func (*CreateProductResult) Size

func (p *CreateProductResult) Size() (n int)

func (*CreateProductResult) Unmarshal

func (p *CreateProductResult) Unmarshal(in []byte) error

type DeliveredStatus

type DeliveredStatus int32

DeliveredStatus 待交付商品的状态

const (
	DeliveredStatus_DECREASE DeliveredStatus = 0
	DeliveredStatus_INCREASE DeliveredStatus = 1
	DeliveredStatus_FROZEN   DeliveredStatus = 2
	DeliveredStatus_THAWED   DeliveredStatus = 3
)

func (DeliveredStatus) Descriptor

func (DeliveredStatus) Enum

func (x DeliveredStatus) Enum() *DeliveredStatus

func (DeliveredStatus) EnumDescriptor deprecated

func (DeliveredStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use DeliveredStatus.Descriptor instead.

func (DeliveredStatus) Number

func (DeliveredStatus) String

func (x DeliveredStatus) String() string

func (DeliveredStatus) Type

type Empty

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

func (*Empty) Descriptor deprecated

func (*Empty) Descriptor() ([]byte, []int)

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) FastRead

func (x *Empty) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

func (*Empty) FastWrite

func (x *Empty) FastWrite(buf []byte) (offset int)

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

func (x *Empty) ProtoReflect() protoreflect.Message

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) Size

func (x *Empty) Size() (n int)

func (*Empty) String

func (x *Empty) String() string

type ExecuteSettlementArgs

type ExecuteSettlementArgs struct {
	Req *ExecuteSettlementRequest
}

func (*ExecuteSettlementArgs) FastRead

func (p *ExecuteSettlementArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)

func (*ExecuteSettlementArgs) FastWrite

func (p *ExecuteSettlementArgs) FastWrite(buf []byte) (n int)

func (*ExecuteSettlementArgs) GetFirstArgument

func (p *ExecuteSettlementArgs) GetFirstArgument() interface{}

func (*ExecuteSettlementArgs) GetReq

func (*ExecuteSettlementArgs) IsSetReq

func (p *ExecuteSettlementArgs) IsSetReq() bool

func (*ExecuteSettlementArgs) Marshal

func (p *ExecuteSettlementArgs) Marshal(out []byte) ([]byte, error)

func (*ExecuteSettlementArgs) Size

func (p *ExecuteSettlementArgs) Size() (n int)

func (*ExecuteSettlementArgs) Unmarshal

func (p *ExecuteSettlementArgs) Unmarshal(in []byte) error

type ExecuteSettlementRequest

type ExecuteSettlementRequest struct {
	Settlement *Settlement `protobuf:"bytes,1,opt,name=settlement,proto3" json:"settlement,omitempty"`
	// contains filtered or unexported fields
}

func (*ExecuteSettlementRequest) Descriptor deprecated

func (*ExecuteSettlementRequest) Descriptor() ([]byte, []int)

Deprecated: Use ExecuteSettlementRequest.ProtoReflect.Descriptor instead.

func (*ExecuteSettlementRequest) FastRead

func (x *ExecuteSettlementRequest) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

func (*ExecuteSettlementRequest) FastWrite

func (x *ExecuteSettlementRequest) FastWrite(buf []byte) (offset int)

func (*ExecuteSettlementRequest) GetSettlement

func (x *ExecuteSettlementRequest) GetSettlement() *Settlement

func (*ExecuteSettlementRequest) ProtoMessage

func (*ExecuteSettlementRequest) ProtoMessage()

func (*ExecuteSettlementRequest) ProtoReflect

func (x *ExecuteSettlementRequest) ProtoReflect() protoreflect.Message

func (*ExecuteSettlementRequest) Reset

func (x *ExecuteSettlementRequest) Reset()

func (*ExecuteSettlementRequest) Size

func (x *ExecuteSettlementRequest) Size() (n int)

func (*ExecuteSettlementRequest) String

func (x *ExecuteSettlementRequest) String() string

type ExecuteSettlementResponse

type ExecuteSettlementResponse struct {
	Payment *Payment `protobuf:"bytes,1,opt,name=payment,proto3" json:"payment,omitempty"`
	// contains filtered or unexported fields
}

func (*ExecuteSettlementResponse) Descriptor deprecated

func (*ExecuteSettlementResponse) Descriptor() ([]byte, []int)

Deprecated: Use ExecuteSettlementResponse.ProtoReflect.Descriptor instead.

func (*ExecuteSettlementResponse) FastRead

func (x *ExecuteSettlementResponse) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

func (*ExecuteSettlementResponse) FastWrite

func (x *ExecuteSettlementResponse) FastWrite(buf []byte) (offset int)

func (*ExecuteSettlementResponse) GetPayment

func (x *ExecuteSettlementResponse) GetPayment() *Payment

func (*ExecuteSettlementResponse) ProtoMessage

func (*ExecuteSettlementResponse) ProtoMessage()

func (*ExecuteSettlementResponse) ProtoReflect

func (*ExecuteSettlementResponse) Reset

func (x *ExecuteSettlementResponse) Reset()

func (*ExecuteSettlementResponse) Size

func (x *ExecuteSettlementResponse) Size() (n int)

func (*ExecuteSettlementResponse) String

func (x *ExecuteSettlementResponse) String() string

type ExecuteSettlementResult

type ExecuteSettlementResult struct {
	Success *ExecuteSettlementResponse
}

func (*ExecuteSettlementResult) FastRead

func (p *ExecuteSettlementResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)

func (*ExecuteSettlementResult) FastWrite

func (p *ExecuteSettlementResult) FastWrite(buf []byte) (n int)

func (*ExecuteSettlementResult) GetResult

func (p *ExecuteSettlementResult) GetResult() interface{}

func (*ExecuteSettlementResult) GetSuccess

func (*ExecuteSettlementResult) IsSetSuccess

func (p *ExecuteSettlementResult) IsSetSuccess() bool

func (*ExecuteSettlementResult) Marshal

func (p *ExecuteSettlementResult) Marshal(out []byte) ([]byte, error)

func (*ExecuteSettlementResult) SetSuccess

func (p *ExecuteSettlementResult) SetSuccess(x interface{})

func (*ExecuteSettlementResult) Size

func (p *ExecuteSettlementResult) Size() (n int)

func (*ExecuteSettlementResult) Unmarshal

func (p *ExecuteSettlementResult) Unmarshal(in []byte) error

type GetAccountArgs

type GetAccountArgs struct {
	Username *GetAccountRequest `thrift:"usernmae,1" frugal:"1,default,GetAccountRequest" json:"username"`
}

func NewGetAccountArgs

func NewGetAccountArgs() *GetAccountArgs

func (*GetAccountArgs) BLength

func (p *GetAccountArgs) BLength() int

func (*GetAccountArgs) DeepEqual

func (p *GetAccountArgs) DeepEqual(ano *GetAccountArgs) bool

func (*GetAccountArgs) FastRead

func (p *GetAccountArgs) FastRead(buf []byte) (int, error)

func (*GetAccountArgs) FastReadField1

func (p *GetAccountArgs) FastReadField1(buf []byte) (int, error)

func (*GetAccountArgs) FastWrite

func (p *GetAccountArgs) FastWrite(buf []byte) int

for compatibility

func (*GetAccountArgs) FastWriteNocopy

func (p *GetAccountArgs) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*GetAccountArgs) Field1DeepEqual

func (p *GetAccountArgs) Field1DeepEqual(src *GetAccountRequest) bool

func (*GetAccountArgs) GetFirstArgument

func (p *GetAccountArgs) GetFirstArgument() interface{}

func (*GetAccountArgs) GetUsernmae

func (p *GetAccountArgs) GetUsernmae() (v *GetAccountRequest)

func (*GetAccountArgs) InitDefault

func (p *GetAccountArgs) InitDefault()

func (*GetAccountArgs) IsSetUsernmae

func (p *GetAccountArgs) IsSetUsernmae() bool

func (*GetAccountArgs) Read

func (p *GetAccountArgs) Read(iprot thrift.TProtocol) (err error)

func (*GetAccountArgs) ReadField1

func (p *GetAccountArgs) ReadField1(iprot thrift.TProtocol) error

func (*GetAccountArgs) SetUsernmae

func (p *GetAccountArgs) SetUsernmae(val *GetAccountRequest)

func (*GetAccountArgs) String

func (p *GetAccountArgs) String() string

func (*GetAccountArgs) Write

func (p *GetAccountArgs) Write(oprot thrift.TProtocol) (err error)

type GetAccountRequest

type GetAccountRequest struct {
	Username string `thrift:"username,1" frugal:"1,default,string" json:"username"`
}
var GetAccountArgs_Usernmae_DEFAULT *GetAccountRequest

func NewGetAccountRequest

func NewGetAccountRequest() *GetAccountRequest

func (*GetAccountRequest) BLength

func (p *GetAccountRequest) BLength() int

func (*GetAccountRequest) DeepEqual

func (p *GetAccountRequest) DeepEqual(ano *GetAccountRequest) bool

func (*GetAccountRequest) FastRead

func (p *GetAccountRequest) FastRead(buf []byte) (int, error)

func (*GetAccountRequest) FastReadField1

func (p *GetAccountRequest) FastReadField1(buf []byte) (int, error)

func (*GetAccountRequest) FastWrite

func (p *GetAccountRequest) FastWrite(buf []byte) int

for compatibility

func (*GetAccountRequest) FastWriteNocopy

func (p *GetAccountRequest) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*GetAccountRequest) Field1DeepEqual

func (p *GetAccountRequest) Field1DeepEqual(src string) bool

func (*GetAccountRequest) GetUsername

func (p *GetAccountRequest) GetUsername() (v string)

func (*GetAccountRequest) InitDefault

func (p *GetAccountRequest) InitDefault()

func (*GetAccountRequest) Read

func (p *GetAccountRequest) Read(iprot thrift.TProtocol) (err error)

func (*GetAccountRequest) ReadField1

func (p *GetAccountRequest) ReadField1(iprot thrift.TProtocol) error

func (*GetAccountRequest) SetUsername

func (p *GetAccountRequest) SetUsername(val string)

func (*GetAccountRequest) String

func (p *GetAccountRequest) String() string

func (*GetAccountRequest) Write

func (p *GetAccountRequest) Write(oprot thrift.TProtocol) (err error)

type GetAccountResponse

type GetAccountResponse struct {
	Account *Account `thrift:"account,1" frugal:"1,default,Account" json:"account"`
}
var AccountApiGetAccountResult_Success_DEFAULT *GetAccountResponse

func NewGetAccountResponse

func NewGetAccountResponse() *GetAccountResponse

func (*GetAccountResponse) BLength

func (p *GetAccountResponse) BLength() int

func (*GetAccountResponse) DeepEqual

func (p *GetAccountResponse) DeepEqual(ano *GetAccountResponse) bool

func (*GetAccountResponse) FastRead

func (p *GetAccountResponse) FastRead(buf []byte) (int, error)

func (*GetAccountResponse) FastReadField1

func (p *GetAccountResponse) FastReadField1(buf []byte) (int, error)

func (*GetAccountResponse) FastWrite

func (p *GetAccountResponse) FastWrite(buf []byte) int

for compatibility

func (*GetAccountResponse) FastWriteNocopy

func (p *GetAccountResponse) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*GetAccountResponse) Field1DeepEqual

func (p *GetAccountResponse) Field1DeepEqual(src *Account) bool

func (*GetAccountResponse) GetAccount

func (p *GetAccountResponse) GetAccount() (v *Account)

func (*GetAccountResponse) InitDefault

func (p *GetAccountResponse) InitDefault()

func (*GetAccountResponse) IsSetAccount

func (p *GetAccountResponse) IsSetAccount() bool

func (*GetAccountResponse) Read

func (p *GetAccountResponse) Read(iprot thrift.TProtocol) (err error)

func (*GetAccountResponse) ReadField1

func (p *GetAccountResponse) ReadField1(iprot thrift.TProtocol) error

func (*GetAccountResponse) SetAccount

func (p *GetAccountResponse) SetAccount(val *Account)

func (*GetAccountResponse) String

func (p *GetAccountResponse) String() string

func (*GetAccountResponse) Write

func (p *GetAccountResponse) Write(oprot thrift.TProtocol) (err error)

type GetAccountResult

type GetAccountResult struct {
	Success *GetAccountResponse `thrift:"success,0,optional" frugal:"0,optional,GetAccountResponse" json:"success,omitempty"`
}

func NewGetAccountResult

func NewGetAccountResult() *GetAccountResult

func (*GetAccountResult) BLength

func (p *GetAccountResult) BLength() int

func (*GetAccountResult) DeepEqual

func (p *GetAccountResult) DeepEqual(ano *GetAccountResult) bool

func (*GetAccountResult) FastRead

func (p *GetAccountResult) FastRead(buf []byte) (int, error)

func (*GetAccountResult) FastReadField0

func (p *GetAccountResult) FastReadField0(buf []byte) (int, error)

func (*GetAccountResult) FastWrite

func (p *GetAccountResult) FastWrite(buf []byte) int

for compatibility

func (*GetAccountResult) FastWriteNocopy

func (p *GetAccountResult) FastWriteNocopy(buf []byte, binaryWriter bthrift.BinaryWriter) int

func (*GetAccountResult) Field0DeepEqual

func (p *GetAccountResult) Field0DeepEqual(src *GetAccountResponse) bool

func (*GetAccountResult) GetResult

func (p *GetAccountResult) GetResult() interface{}

func (*GetAccountResult) GetSuccess

func (p *GetAccountResult) GetSuccess() (v *GetAccountResponse)

func (*GetAccountResult) InitDefault

func (p *GetAccountResult) InitDefault()

func (*GetAccountResult) IsSetSuccess

func (p *GetAccountResult) IsSetSuccess() bool

func (*GetAccountResult) Read

func (p *GetAccountResult) Read(iprot thrift.TProtocol) (err error)

func (*GetAccountResult) ReadField0

func (p *GetAccountResult) ReadField0(iprot thrift.TProtocol) error

func (*GetAccountResult) SetSuccess

func (p *GetAccountResult) SetSuccess(x interface{})

func (*GetAccountResult) String

func (p *GetAccountResult) String() string

func (*GetAccountResult) Write

func (p *GetAccountResult) Write(oprot thrift.TProtocol) (err error)

type GetAllAdvertisementsArgs

type GetAllAdvertisementsArgs struct {
	Req *Empty
}

func (*GetAllAdvertisementsArgs) FastRead

func (p *GetAllAdvertisementsArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)

func (*GetAllAdvertisementsArgs) FastWrite

func (p *GetAllAdvertisementsArgs) FastWrite(buf []byte) (n int)

func (*GetAllAdvertisementsArgs) GetFirstArgument

func (p *GetAllAdvertisementsArgs) GetFirstArgument() interface{}

func (*GetAllAdvertisementsArgs) GetReq

func (p *GetAllAdvertisementsArgs) GetReq() *Empty

func (*GetAllAdvertisementsArgs) IsSetReq

func (p *GetAllAdvertisementsArgs) IsSetReq() bool

func (*GetAllAdvertisementsArgs) Marshal

func (p *GetAllAdvertisementsArgs) Marshal(out []byte) ([]byte, error)

func (*GetAllAdvertisementsArgs) Size

func (p *GetAllAdvertisementsArgs) Size() (n int)

func (*GetAllAdvertisementsArgs) Unmarshal

func (p *GetAllAdvertisementsArgs) Unmarshal(in []byte) error

type GetAllAdvertisementsResponse

type GetAllAdvertisementsResponse struct {
	Advertisements []*Advertisement `protobuf:"bytes,1,rep,name=advertisements,proto3" json:"advertisements,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAllAdvertisementsResponse) Descriptor deprecated

func (*GetAllAdvertisementsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetAllAdvertisementsResponse.ProtoReflect.Descriptor instead.

func (*GetAllAdvertisementsResponse) FastRead

func (x *GetAllAdvertisementsResponse) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

func (*GetAllAdvertisementsResponse) FastWrite

func (x *GetAllAdvertisementsResponse) FastWrite(buf []byte) (offset int)

func (*GetAllAdvertisementsResponse) GetAdvertisements

func (x *GetAllAdvertisementsResponse) GetAdvertisements() []*Advertisement

func (*GetAllAdvertisementsResponse) ProtoMessage

func (*GetAllAdvertisementsResponse) ProtoMessage()

func (*GetAllAdvertisementsResponse) ProtoReflect

func (*GetAllAdvertisementsResponse) Reset

func (x *GetAllAdvertisementsResponse) Reset()

func (*GetAllAdvertisementsResponse) Size

func (x *GetAllAdvertisementsResponse) Size() (n int)

func (*GetAllAdvertisementsResponse) String

type GetAllAdvertisementsResult

type GetAllAdvertisementsResult struct {
	Success *GetAllAdvertisementsResponse
}

func (*GetAllAdvertisementsResult) FastRead

func (p *GetAllAdvertisementsResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)

func (*GetAllAdvertisementsResult) FastWrite

func (p *GetAllAdvertisementsResult) FastWrite(buf []byte) (n int)

func (*GetAllAdvertisementsResult) GetResult

func (p *GetAllAdvertisementsResult) GetResult() interface{}

func (*GetAllAdvertisementsResult) GetSuccess

func (*GetAllAdvertisementsResult) IsSetSuccess

func (p *GetAllAdvertisementsResult) IsSetSuccess() bool

func (*GetAllAdvertisementsResult) Marshal

func (p *GetAllAdvertisementsResult) Marshal(out []byte) ([]byte, error)

func (*GetAllAdvertisementsResult) SetSuccess

func (p *GetAllAdvertisementsResult) SetSuccess(x interface{})

func (*GetAllAdvertisementsResult) Size

func (p *GetAllAdvertisementsResult) Size() (n int)

func (*GetAllAdvertisementsResult) Unmarshal

func (p *GetAllAdvertisementsResult) Unmarshal(in []byte) error

type GetAllProductResponse

type GetAllProductResponse struct {
	Products []*Product `protobuf:"bytes,1,rep,name=products,proto3" json:"products,omitempty"`
	// contains filtered or unexported fields
}

func (*GetAllProductResponse) Descriptor deprecated

func (*GetAllProductResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetAllProductResponse.ProtoReflect.Descriptor instead.

func (*GetAllProductResponse) FastRead

func (x *GetAllProductResponse) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

func (*GetAllProductResponse) FastWrite

func (x *GetAllProductResponse) FastWrite(buf []byte) (offset int)

func (*GetAllProductResponse) GetProducts

func (x *GetAllProductResponse) GetProducts() []*Product

func (*GetAllProductResponse) ProtoMessage

func (*GetAllProductResponse) ProtoMessage()

func (*GetAllProductResponse) ProtoReflect

func (x *GetAllProductResponse) ProtoReflect() protoreflect.Message

func (*GetAllProductResponse) Reset

func (x *GetAllProductResponse) Reset()

func (*GetAllProductResponse) Size

func (x *GetAllProductResponse) Size() (n int)

func (*GetAllProductResponse) String

func (x *GetAllProductResponse) String() string

type GetAllProductsArgs

type GetAllProductsArgs struct {
	Req *Empty
}

func (*GetAllProductsArgs) FastRead

func (p *GetAllProductsArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)

func (*GetAllProductsArgs) FastWrite

func (p *GetAllProductsArgs) FastWrite(buf []byte) (n int)

func (*GetAllProductsArgs) GetFirstArgument

func (p *GetAllProductsArgs) GetFirstArgument() interface{}

func (*GetAllProductsArgs) GetReq

func (p *GetAllProductsArgs) GetReq() *Empty

func (*GetAllProductsArgs) IsSetReq

func (p *GetAllProductsArgs) IsSetReq() bool

func (*GetAllProductsArgs) Marshal

func (p *GetAllProductsArgs) Marshal(out []byte) ([]byte, error)

func (*GetAllProductsArgs) Size

func (p *GetAllProductsArgs) Size() (n int)

func (*GetAllProductsArgs) Unmarshal

func (p *GetAllProductsArgs) Unmarshal(in []byte) error

type GetAllProductsResult

type GetAllProductsResult struct {
	Success *GetAllProductResponse
}

func (*GetAllProductsResult) FastRead

func (p *GetAllProductsResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)

func (*GetAllProductsResult) FastWrite

func (p *GetAllProductsResult) FastWrite(buf []byte) (n int)

func (*GetAllProductsResult) GetResult

func (p *GetAllProductsResult) GetResult() interface{}

func (*GetAllProductsResult) GetSuccess

func (*GetAllProductsResult) IsSetSuccess

func (p *GetAllProductsResult) IsSetSuccess() bool

func (*GetAllProductsResult) Marshal

func (p *GetAllProductsResult) Marshal(out []byte) ([]byte, error)

func (*GetAllProductsResult) SetSuccess

func (p *GetAllProductsResult) SetSuccess(x interface{})

func (*GetAllProductsResult) Size

func (p *GetAllProductsResult) Size() (n int)

func (*GetAllProductsResult) Unmarshal

func (p *GetAllProductsResult) Unmarshal(in []byte) error

type GetProductArgs

type GetProductArgs struct {
	Req *GetProductRequest
}

func (*GetProductArgs) FastRead

func (p *GetProductArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)

func (*GetProductArgs) FastWrite

func (p *GetProductArgs) FastWrite(buf []byte) (n int)

func (*GetProductArgs) GetFirstArgument

func (p *GetProductArgs) GetFirstArgument() interface{}

func (*GetProductArgs) GetReq

func (p *GetProductArgs) GetReq() *GetProductRequest

func (*GetProductArgs) IsSetReq

func (p *GetProductArgs) IsSetReq() bool

func (*GetProductArgs) Marshal

func (p *GetProductArgs) Marshal(out []byte) ([]byte, error)

func (*GetProductArgs) Size

func (p *GetProductArgs) Size() (n int)

func (*GetProductArgs) Unmarshal

func (p *GetProductArgs) Unmarshal(in []byte) error

type GetProductRequest

type GetProductRequest struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetProductRequest) Descriptor deprecated

func (*GetProductRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetProductRequest.ProtoReflect.Descriptor instead.

func (*GetProductRequest) FastRead

func (x *GetProductRequest) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

func (*GetProductRequest) FastWrite

func (x *GetProductRequest) FastWrite(buf []byte) (offset int)

func (*GetProductRequest) GetId

func (x *GetProductRequest) GetId() int64

func (*GetProductRequest) ProtoMessage

func (*GetProductRequest) ProtoMessage()

func (*GetProductRequest) ProtoReflect

func (x *GetProductRequest) ProtoReflect() protoreflect.Message

func (*GetProductRequest) Reset

func (x *GetProductRequest) Reset()

func (*GetProductRequest) Size

func (x *GetProductRequest) Size() (n int)

func (*GetProductRequest) String

func (x *GetProductRequest) String() string

type GetProductResponse

type GetProductResponse struct {
	Product *Product `protobuf:"bytes,1,opt,name=product,proto3" json:"product,omitempty"`
	// contains filtered or unexported fields
}

func (*GetProductResponse) Descriptor deprecated

func (*GetProductResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetProductResponse.ProtoReflect.Descriptor instead.

func (*GetProductResponse) FastRead

func (x *GetProductResponse) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

func (*GetProductResponse) FastWrite

func (x *GetProductResponse) FastWrite(buf []byte) (offset int)

func (*GetProductResponse) GetProduct

func (x *GetProductResponse) GetProduct() *Product

func (*GetProductResponse) ProtoMessage

func (*GetProductResponse) ProtoMessage()

func (*GetProductResponse) ProtoReflect

func (x *GetProductResponse) ProtoReflect() protoreflect.Message

func (*GetProductResponse) Reset

func (x *GetProductResponse) Reset()

func (*GetProductResponse) Size

func (x *GetProductResponse) Size() (n int)

func (*GetProductResponse) String

func (x *GetProductResponse) String() string

type GetProductResult

type GetProductResult struct {
	Success *GetProductResponse
}

func (*GetProductResult) FastRead

func (p *GetProductResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)

func (*GetProductResult) FastWrite

func (p *GetProductResult) FastWrite(buf []byte) (n int)

func (*GetProductResult) GetResult

func (p *GetProductResult) GetResult() interface{}

func (*GetProductResult) GetSuccess

func (p *GetProductResult) GetSuccess() *GetProductResponse

func (*GetProductResult) IsSetSuccess

func (p *GetProductResult) IsSetSuccess() bool

func (*GetProductResult) Marshal

func (p *GetProductResult) Marshal(out []byte) ([]byte, error)

func (*GetProductResult) SetSuccess

func (p *GetProductResult) SetSuccess(x interface{})

func (*GetProductResult) Size

func (p *GetProductResult) Size() (n int)

func (*GetProductResult) Unmarshal

func (p *GetProductResult) Unmarshal(in []byte) error

type Item

type Item struct {
	Amount    int64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`
	ProductId int64 `protobuf:"varint,2,opt,name=productId,proto3" json:"productId,omitempty"`
	// contains filtered or unexported fields
}

func (*Item) Descriptor deprecated

func (*Item) Descriptor() ([]byte, []int)

Deprecated: Use Item.ProtoReflect.Descriptor instead.

func (*Item) FastRead

func (x *Item) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

func (*Item) FastWrite

func (x *Item) FastWrite(buf []byte) (offset int)

func (*Item) GetAmount

func (x *Item) GetAmount() int64

func (*Item) GetProductId

func (x *Item) GetProductId() int64

func (*Item) ProtoMessage

func (*Item) ProtoMessage()

func (*Item) ProtoReflect

func (x *Item) ProtoReflect() protoreflect.Message

func (*Item) Reset

func (x *Item) Reset()

func (*Item) Size

func (x *Item) Size() (n int)

func (*Item) String

func (x *Item) String() string

type Payment

type Payment struct {
	CreateTime  *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=createTime,proto3" json:"createTime,omitempty"`
	PayId       string                 `protobuf:"bytes,2,opt,name=payId,proto3" json:"payId,omitempty"`
	TotalPrice  float64                `protobuf:"fixed64,3,opt,name=totalPrice,proto3" json:"totalPrice,omitempty"`
	Expires     int64                  `protobuf:"varint,4,opt,name=expires,proto3" json:"expires,omitempty"`
	PaymentLink string                 `protobuf:"bytes,5,opt,name=paymentLink,proto3" json:"paymentLink,omitempty"`
	PayState    PaymentState           `protobuf:"varint,6,opt,name=payState,proto3,enum=payment.PaymentState" json:"payState,omitempty"`
	// contains filtered or unexported fields
}

func (*Payment) Descriptor deprecated

func (*Payment) Descriptor() ([]byte, []int)

Deprecated: Use Payment.ProtoReflect.Descriptor instead.

func (*Payment) FastRead

func (x *Payment) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

func (*Payment) FastWrite

func (x *Payment) FastWrite(buf []byte) (offset int)

func (*Payment) GetCreateTime

func (x *Payment) GetCreateTime() *timestamppb.Timestamp

func (*Payment) GetExpires

func (x *Payment) GetExpires() int64

func (*Payment) GetPayId

func (x *Payment) GetPayId() string

func (*Payment) GetPayState

func (x *Payment) GetPayState() PaymentState
func (x *Payment) GetPaymentLink() string

func (*Payment) GetTotalPrice

func (x *Payment) GetTotalPrice() float64

func (*Payment) ProtoMessage

func (*Payment) ProtoMessage()

func (*Payment) ProtoReflect

func (x *Payment) ProtoReflect() protoreflect.Message

func (*Payment) Reset

func (x *Payment) Reset()

func (*Payment) Size

func (x *Payment) Size() (n int)

func (*Payment) String

func (x *Payment) String() string

type PaymentState

type PaymentState int32

支付状态

const (
	PaymentState_WAITING     PaymentState = 0
	PaymentState_CANCEL      PaymentState = 1
	PaymentState_PAYED       PaymentState = 2
	PaymentState_TIMEOUT     PaymentState = 3
	PaymentState_NOT_SUPPORT PaymentState = 4
)

func (PaymentState) Descriptor

func (PaymentState) Enum

func (x PaymentState) Enum() *PaymentState

func (PaymentState) EnumDescriptor deprecated

func (PaymentState) EnumDescriptor() ([]byte, []int)

Deprecated: Use PaymentState.Descriptor instead.

func (PaymentState) Number

func (PaymentState) String

func (x PaymentState) String() string

func (PaymentState) Type

type Product

type Product struct {
	Title          string           `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty" valid:"required"`
	Price          float64          `protobuf:"fixed64,2,opt,name=price,proto3" json:"price,omitempty" valid:"required"`
	Rate           float32          `protobuf:"fixed32,3,opt,name=rate,proto3" json:"rate,omitempty" valid:"range(0|10)"`
	Description    string           `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	Cover          string           `protobuf:"bytes,5,opt,name=cover,proto3" json:"cover,omitempty"`
	Detail         string           `protobuf:"bytes,6,opt,name=detail,proto3" json:"detail,omitempty"`
	Specifications []*Specification `protobuf:"bytes,7,rep,name=specifications,proto3" json:"specifications,omitempty"`
	Id             int64            `protobuf:"bytes,8,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

Product 商品对象

func (*Product) Descriptor deprecated

func (*Product) Descriptor() ([]byte, []int)

Deprecated: Use Product.ProtoReflect.Descriptor instead.

func (*Product) FastRead

func (x *Product) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

func (*Product) FastWrite

func (x *Product) FastWrite(buf []byte) (offset int)

func (*Product) GetCover

func (x *Product) GetCover() string

func (*Product) GetDescription

func (x *Product) GetDescription() string

func (*Product) GetDetail

func (x *Product) GetDetail() string

func (*Product) GetId

func (x *Product) GetId() int64

func (*Product) GetPrice

func (x *Product) GetPrice() float64

func (*Product) GetRate

func (x *Product) GetRate() float32

func (*Product) GetSpecifications

func (x *Product) GetSpecifications() []*Specification

func (*Product) GetTitle

func (x *Product) GetTitle() string

func (*Product) ProtoMessage

func (*Product) ProtoMessage()

func (*Product) ProtoReflect

func (x *Product) ProtoReflect() protoreflect.Message

func (*Product) Reset

func (x *Product) Reset()

func (*Product) Size

func (x *Product) Size() (n int)

func (*Product) String

func (x *Product) String() string

type Purchase

type Purchase struct {
	Delivery  bool   `protobuf:"varint,1,opt,name=delivery,proto3" json:"delivery,omitempty"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Telephone string `protobuf:"bytes,3,opt,name=telephone,proto3" json:"telephone,omitempty"`
	Location  string `protobuf:"bytes,4,opt,name=location,proto3" json:"location,omitempty"`
	// contains filtered or unexported fields
}

func (*Purchase) Descriptor deprecated

func (*Purchase) Descriptor() ([]byte, []int)

Deprecated: Use Purchase.ProtoReflect.Descriptor instead.

func (*Purchase) FastRead

func (x *Purchase) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

func (*Purchase) FastWrite

func (x *Purchase) FastWrite(buf []byte) (offset int)

func (*Purchase) GetDelivery

func (x *Purchase) GetDelivery() bool

func (*Purchase) GetLocation

func (x *Purchase) GetLocation() string

func (*Purchase) GetName

func (x *Purchase) GetName() string

func (*Purchase) GetTelephone

func (x *Purchase) GetTelephone() string

func (*Purchase) ProtoMessage

func (*Purchase) ProtoMessage()

func (*Purchase) ProtoReflect

func (x *Purchase) ProtoReflect() protoreflect.Message

func (*Purchase) Reset

func (x *Purchase) Reset()

func (*Purchase) Size

func (x *Purchase) Size() (n int)

func (*Purchase) String

func (x *Purchase) String() string

type QueryStockpileArgs

type QueryStockpileArgs struct {
	Req *QueryStockpileRequest
}

func (*QueryStockpileArgs) FastRead

func (p *QueryStockpileArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)

func (*QueryStockpileArgs) FastWrite

func (p *QueryStockpileArgs) FastWrite(buf []byte) (n int)

func (*QueryStockpileArgs) GetFirstArgument

func (p *QueryStockpileArgs) GetFirstArgument() interface{}

func (*QueryStockpileArgs) GetReq

func (*QueryStockpileArgs) IsSetReq

func (p *QueryStockpileArgs) IsSetReq() bool

func (*QueryStockpileArgs) Marshal

func (p *QueryStockpileArgs) Marshal(out []byte) ([]byte, error)

func (*QueryStockpileArgs) Size

func (p *QueryStockpileArgs) Size() (n int)

func (*QueryStockpileArgs) Unmarshal

func (p *QueryStockpileArgs) Unmarshal(in []byte) error

type QueryStockpileRequest

type QueryStockpileRequest struct {
	ProductId int64 `protobuf:"varint,1,opt,name=productId,proto3" json:"productId,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryStockpileRequest) Descriptor deprecated

func (*QueryStockpileRequest) Descriptor() ([]byte, []int)

Deprecated: Use QueryStockpileRequest.ProtoReflect.Descriptor instead.

func (*QueryStockpileRequest) FastRead

func (x *QueryStockpileRequest) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

func (*QueryStockpileRequest) FastWrite

func (x *QueryStockpileRequest) FastWrite(buf []byte) (offset int)

func (*QueryStockpileRequest) GetProductId

func (x *QueryStockpileRequest) GetProductId() int64

func (*QueryStockpileRequest) ProtoMessage

func (*QueryStockpileRequest) ProtoMessage()

func (*QueryStockpileRequest) ProtoReflect

func (x *QueryStockpileRequest) ProtoReflect() protoreflect.Message

func (*QueryStockpileRequest) Reset

func (x *QueryStockpileRequest) Reset()

func (*QueryStockpileRequest) Size

func (x *QueryStockpileRequest) Size() (n int)

func (*QueryStockpileRequest) String

func (x *QueryStockpileRequest) String() string

type QueryStockpileResponse

type QueryStockpileResponse struct {
	Stockpile *Stockpile `protobuf:"bytes,1,opt,name=stockpile,proto3" json:"stockpile,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryStockpileResponse) Descriptor deprecated

func (*QueryStockpileResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryStockpileResponse.ProtoReflect.Descriptor instead.

func (*QueryStockpileResponse) FastRead

func (x *QueryStockpileResponse) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

func (*QueryStockpileResponse) FastWrite

func (x *QueryStockpileResponse) FastWrite(buf []byte) (offset int)

func (*QueryStockpileResponse) GetStockpile

func (x *QueryStockpileResponse) GetStockpile() *Stockpile

func (*QueryStockpileResponse) ProtoMessage

func (*QueryStockpileResponse) ProtoMessage()

func (*QueryStockpileResponse) ProtoReflect

func (x *QueryStockpileResponse) ProtoReflect() protoreflect.Message

func (*QueryStockpileResponse) Reset

func (x *QueryStockpileResponse) Reset()

func (*QueryStockpileResponse) Size

func (x *QueryStockpileResponse) Size() (n int)

func (*QueryStockpileResponse) String

func (x *QueryStockpileResponse) String() string

type QueryStockpileResult

type QueryStockpileResult struct {
	Success *QueryStockpileResponse
}

func (*QueryStockpileResult) FastRead

func (p *QueryStockpileResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)

func (*QueryStockpileResult) FastWrite

func (p *QueryStockpileResult) FastWrite(buf []byte) (n int)

func (*QueryStockpileResult) GetResult

func (p *QueryStockpileResult) GetResult() interface{}

func (*QueryStockpileResult) GetSuccess

func (*QueryStockpileResult) IsSetSuccess

func (p *QueryStockpileResult) IsSetSuccess() bool

func (*QueryStockpileResult) Marshal

func (p *QueryStockpileResult) Marshal(out []byte) ([]byte, error)

func (*QueryStockpileResult) SetSuccess

func (p *QueryStockpileResult) SetSuccess(x interface{})

func (*QueryStockpileResult) Size

func (p *QueryStockpileResult) Size() (n int)

func (*QueryStockpileResult) Unmarshal

func (p *QueryStockpileResult) Unmarshal(in []byte) error

type RemoveProductArgs

type RemoveProductArgs struct {
	Req *RemoveProductRequest
}

func (*RemoveProductArgs) FastRead

func (p *RemoveProductArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)

func (*RemoveProductArgs) FastWrite

func (p *RemoveProductArgs) FastWrite(buf []byte) (n int)

func (*RemoveProductArgs) GetFirstArgument

func (p *RemoveProductArgs) GetFirstArgument() interface{}

func (*RemoveProductArgs) GetReq

func (*RemoveProductArgs) IsSetReq

func (p *RemoveProductArgs) IsSetReq() bool

func (*RemoveProductArgs) Marshal

func (p *RemoveProductArgs) Marshal(out []byte) ([]byte, error)

func (*RemoveProductArgs) Size

func (p *RemoveProductArgs) Size() (n int)

func (*RemoveProductArgs) Unmarshal

func (p *RemoveProductArgs) Unmarshal(in []byte) error

type RemoveProductRequest

type RemoveProductRequest struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*RemoveProductRequest) Descriptor deprecated

func (*RemoveProductRequest) Descriptor() ([]byte, []int)

Deprecated: Use RemoveProductRequest.ProtoReflect.Descriptor instead.

func (*RemoveProductRequest) FastRead

func (x *RemoveProductRequest) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

func (*RemoveProductRequest) FastWrite

func (x *RemoveProductRequest) FastWrite(buf []byte) (offset int)

func (*RemoveProductRequest) GetId

func (x *RemoveProductRequest) GetId() int64

func (*RemoveProductRequest) ProtoMessage

func (*RemoveProductRequest) ProtoMessage()

func (*RemoveProductRequest) ProtoReflect

func (x *RemoveProductRequest) ProtoReflect() protoreflect.Message

func (*RemoveProductRequest) Reset

func (x *RemoveProductRequest) Reset()

func (*RemoveProductRequest) Size

func (x *RemoveProductRequest) Size() (n int)

func (*RemoveProductRequest) String

func (x *RemoveProductRequest) String() string

type RemoveProductResult

type RemoveProductResult struct {
	Success *Empty
}

func (*RemoveProductResult) FastRead

func (p *RemoveProductResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)

func (*RemoveProductResult) FastWrite

func (p *RemoveProductResult) FastWrite(buf []byte) (n int)

func (*RemoveProductResult) GetResult

func (p *RemoveProductResult) GetResult() interface{}

func (*RemoveProductResult) GetSuccess

func (p *RemoveProductResult) GetSuccess() *Empty

func (*RemoveProductResult) IsSetSuccess

func (p *RemoveProductResult) IsSetSuccess() bool

func (*RemoveProductResult) Marshal

func (p *RemoveProductResult) Marshal(out []byte) ([]byte, error)

func (*RemoveProductResult) SetSuccess

func (p *RemoveProductResult) SetSuccess(x interface{})

func (*RemoveProductResult) Size

func (p *RemoveProductResult) Size() (n int)

func (*RemoveProductResult) Unmarshal

func (p *RemoveProductResult) Unmarshal(in []byte) error

type SetDeliveredStatusArgs

type SetDeliveredStatusArgs struct {
	Req *SetDeliveredStatusRequest
}

func (*SetDeliveredStatusArgs) FastRead

func (p *SetDeliveredStatusArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)

func (*SetDeliveredStatusArgs) FastWrite

func (p *SetDeliveredStatusArgs) FastWrite(buf []byte) (n int)

func (*SetDeliveredStatusArgs) GetFirstArgument

func (p *SetDeliveredStatusArgs) GetFirstArgument() interface{}

func (*SetDeliveredStatusArgs) GetReq

func (*SetDeliveredStatusArgs) IsSetReq

func (p *SetDeliveredStatusArgs) IsSetReq() bool

func (*SetDeliveredStatusArgs) Marshal

func (p *SetDeliveredStatusArgs) Marshal(out []byte) ([]byte, error)

func (*SetDeliveredStatusArgs) Size

func (p *SetDeliveredStatusArgs) Size() (n int)

func (*SetDeliveredStatusArgs) Unmarshal

func (p *SetDeliveredStatusArgs) Unmarshal(in []byte) error

type SetDeliveredStatusRequest

type SetDeliveredStatusRequest struct {
	ProductId int64           `protobuf:"varint,1,opt,name=productId,proto3" json:"productId,omitempty"`
	Amount    int64           `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	Status    DeliveredStatus `protobuf:"varint,3,opt,name=status,proto3,enum=warehouse.DeliveredStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*SetDeliveredStatusRequest) Descriptor deprecated

func (*SetDeliveredStatusRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetDeliveredStatusRequest.ProtoReflect.Descriptor instead.

func (*SetDeliveredStatusRequest) FastRead

func (x *SetDeliveredStatusRequest) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

func (*SetDeliveredStatusRequest) FastWrite

func (x *SetDeliveredStatusRequest) FastWrite(buf []byte) (offset int)

func (*SetDeliveredStatusRequest) GetAmount

func (x *SetDeliveredStatusRequest) GetAmount() int64

func (*SetDeliveredStatusRequest) GetProductId

func (x *SetDeliveredStatusRequest) GetProductId() int64

func (*SetDeliveredStatusRequest) GetStatus

func (*SetDeliveredStatusRequest) ProtoMessage

func (*SetDeliveredStatusRequest) ProtoMessage()

func (*SetDeliveredStatusRequest) ProtoReflect

func (*SetDeliveredStatusRequest) Reset

func (x *SetDeliveredStatusRequest) Reset()

func (*SetDeliveredStatusRequest) Size

func (x *SetDeliveredStatusRequest) Size() (n int)

func (*SetDeliveredStatusRequest) String

func (x *SetDeliveredStatusRequest) String() string

type SetDeliveredStatusResult

type SetDeliveredStatusResult struct {
	Success *Empty
}

func (*SetDeliveredStatusResult) FastRead

func (p *SetDeliveredStatusResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)

func (*SetDeliveredStatusResult) FastWrite

func (p *SetDeliveredStatusResult) FastWrite(buf []byte) (n int)

func (*SetDeliveredStatusResult) GetResult

func (p *SetDeliveredStatusResult) GetResult() interface{}

func (*SetDeliveredStatusResult) GetSuccess

func (p *SetDeliveredStatusResult) GetSuccess() *Empty

func (*SetDeliveredStatusResult) IsSetSuccess

func (p *SetDeliveredStatusResult) IsSetSuccess() bool

func (*SetDeliveredStatusResult) Marshal

func (p *SetDeliveredStatusResult) Marshal(out []byte) ([]byte, error)

func (*SetDeliveredStatusResult) SetSuccess

func (p *SetDeliveredStatusResult) SetSuccess(x interface{})

func (*SetDeliveredStatusResult) Size

func (p *SetDeliveredStatusResult) Size() (n int)

func (*SetDeliveredStatusResult) Unmarshal

func (p *SetDeliveredStatusResult) Unmarshal(in []byte) error

type Settlement

type Settlement struct {
	Items      []*Item            `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	Purchase   *Purchase          `protobuf:"bytes,2,opt,name=purchase,proto3" json:"purchase,omitempty" valid:"required"`
	ProductMap map[int64]*Product `` /* 162-byte string literal not displayed */
	// contains filtered or unexported fields
}

Settlement 支付结算单

func (*Settlement) Descriptor deprecated

func (*Settlement) Descriptor() ([]byte, []int)

Deprecated: Use Settlement.ProtoReflect.Descriptor instead.

func (*Settlement) FastRead

func (x *Settlement) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

func (*Settlement) FastWrite

func (x *Settlement) FastWrite(buf []byte) (offset int)

func (*Settlement) GetItems

func (x *Settlement) GetItems() []*Item

func (*Settlement) GetProductMap

func (x *Settlement) GetProductMap() map[int64]*Product

func (*Settlement) GetPurchase

func (x *Settlement) GetPurchase() *Purchase

func (*Settlement) ProtoMessage

func (*Settlement) ProtoMessage()

func (*Settlement) ProtoReflect

func (x *Settlement) ProtoReflect() protoreflect.Message

func (*Settlement) Reset

func (x *Settlement) Reset()

func (*Settlement) Size

func (x *Settlement) Size() (n int)

func (*Settlement) String

func (x *Settlement) String() string

type Specification

type Specification struct {
	Item      string `protobuf:"bytes,1,opt,name=item,proto3" json:"item,omitempty"`
	Value     string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	ProductId int64  `protobuf:"varint,3,opt,name=productId,proto3" json:"productId,omitempty"`
	// contains filtered or unexported fields
}

Specification 商品规格

func (*Specification) Descriptor deprecated

func (*Specification) Descriptor() ([]byte, []int)

Deprecated: Use Specification.ProtoReflect.Descriptor instead.

func (*Specification) FastRead

func (x *Specification) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

func (*Specification) FastWrite

func (x *Specification) FastWrite(buf []byte) (offset int)

func (*Specification) GetItem

func (x *Specification) GetItem() string

func (*Specification) GetProductId

func (x *Specification) GetProductId() int64

func (*Specification) GetValue

func (x *Specification) GetValue() string

func (*Specification) ProtoMessage

func (*Specification) ProtoMessage()

func (*Specification) ProtoReflect

func (x *Specification) ProtoReflect() protoreflect.Message

func (*Specification) Reset

func (x *Specification) Reset()

func (*Specification) Size

func (x *Specification) Size() (n int)

func (*Specification) String

func (x *Specification) String() string

type Stockpile

type Stockpile struct {
	Amount  int64    `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`
	Frozen  int64    `protobuf:"varint,2,opt,name=frozen,proto3" json:"frozen,omitempty"`
	Product *Product `protobuf:"bytes,3,opt,name=product,proto3" json:"product,omitempty"`
	// contains filtered or unexported fields
}

Stockpile 商品库存

func (*Stockpile) Descriptor deprecated

func (*Stockpile) Descriptor() ([]byte, []int)

Deprecated: Use Stockpile.ProtoReflect.Descriptor instead.

func (*Stockpile) FastRead

func (x *Stockpile) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

func (*Stockpile) FastWrite

func (x *Stockpile) FastWrite(buf []byte) (offset int)

func (*Stockpile) GetAmount

func (x *Stockpile) GetAmount() int64

func (*Stockpile) GetFrozen

func (x *Stockpile) GetFrozen() int64

func (*Stockpile) GetProduct

func (x *Stockpile) GetProduct() *Product

func (*Stockpile) ProtoMessage

func (*Stockpile) ProtoMessage()

func (*Stockpile) ProtoReflect

func (x *Stockpile) ProtoReflect() protoreflect.Message

func (*Stockpile) Reset

func (x *Stockpile) Reset()

func (*Stockpile) Size

func (x *Stockpile) Size() (n int)

func (*Stockpile) String

func (x *Stockpile) String() string

type UpdatePaymentStateAlias

type UpdatePaymentStateAlias struct {
	PayId     string       `protobuf:"bytes,1,opt,name=payId,proto3" json:"payId,omitempty"`
	AccountId int64        `protobuf:"varint,2,opt,name=accountId,proto3" json:"accountId,omitempty"`
	State     PaymentState `protobuf:"varint,3,opt,name=state,proto3,enum=payment.PaymentState" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePaymentStateAlias) Descriptor deprecated

func (*UpdatePaymentStateAlias) Descriptor() ([]byte, []int)

Deprecated: Use UpdatePaymentStateAlias.ProtoReflect.Descriptor instead.

func (*UpdatePaymentStateAlias) FastRead

func (x *UpdatePaymentStateAlias) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

func (*UpdatePaymentStateAlias) FastWrite

func (x *UpdatePaymentStateAlias) FastWrite(buf []byte) (offset int)

func (*UpdatePaymentStateAlias) GetAccountId

func (x *UpdatePaymentStateAlias) GetAccountId() int64

func (*UpdatePaymentStateAlias) GetPayId

func (x *UpdatePaymentStateAlias) GetPayId() string

func (*UpdatePaymentStateAlias) GetState

func (x *UpdatePaymentStateAlias) GetState() PaymentState

func (*UpdatePaymentStateAlias) ProtoMessage

func (*UpdatePaymentStateAlias) ProtoMessage()

func (*UpdatePaymentStateAlias) ProtoReflect

func (x *UpdatePaymentStateAlias) ProtoReflect() protoreflect.Message

func (*UpdatePaymentStateAlias) Reset

func (x *UpdatePaymentStateAlias) Reset()

func (*UpdatePaymentStateAlias) Size

func (x *UpdatePaymentStateAlias) Size() (n int)

func (*UpdatePaymentStateAlias) String

func (x *UpdatePaymentStateAlias) String() string

type UpdatePaymentStateAliasArgs

type UpdatePaymentStateAliasArgs struct {
	Req *UpdatePaymentStateAlias
}

func (*UpdatePaymentStateAliasArgs) FastRead

func (p *UpdatePaymentStateAliasArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)

func (*UpdatePaymentStateAliasArgs) FastWrite

func (p *UpdatePaymentStateAliasArgs) FastWrite(buf []byte) (n int)

func (*UpdatePaymentStateAliasArgs) GetFirstArgument

func (p *UpdatePaymentStateAliasArgs) GetFirstArgument() interface{}

func (*UpdatePaymentStateAliasArgs) GetReq

func (*UpdatePaymentStateAliasArgs) IsSetReq

func (p *UpdatePaymentStateAliasArgs) IsSetReq() bool

func (*UpdatePaymentStateAliasArgs) Marshal

func (p *UpdatePaymentStateAliasArgs) Marshal(out []byte) ([]byte, error)

func (*UpdatePaymentStateAliasArgs) Size

func (p *UpdatePaymentStateAliasArgs) Size() (n int)

func (*UpdatePaymentStateAliasArgs) Unmarshal

func (p *UpdatePaymentStateAliasArgs) Unmarshal(in []byte) error

type UpdatePaymentStateAliasResult

type UpdatePaymentStateAliasResult struct {
	Success *Empty
}

func (*UpdatePaymentStateAliasResult) FastRead

func (p *UpdatePaymentStateAliasResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)

func (*UpdatePaymentStateAliasResult) FastWrite

func (p *UpdatePaymentStateAliasResult) FastWrite(buf []byte) (n int)

func (*UpdatePaymentStateAliasResult) GetResult

func (p *UpdatePaymentStateAliasResult) GetResult() interface{}

func (*UpdatePaymentStateAliasResult) GetSuccess

func (p *UpdatePaymentStateAliasResult) GetSuccess() *Empty

func (*UpdatePaymentStateAliasResult) IsSetSuccess

func (p *UpdatePaymentStateAliasResult) IsSetSuccess() bool

func (*UpdatePaymentStateAliasResult) Marshal

func (p *UpdatePaymentStateAliasResult) Marshal(out []byte) ([]byte, error)

func (*UpdatePaymentStateAliasResult) SetSuccess

func (p *UpdatePaymentStateAliasResult) SetSuccess(x interface{})

func (*UpdatePaymentStateAliasResult) Size

func (p *UpdatePaymentStateAliasResult) Size() (n int)

func (*UpdatePaymentStateAliasResult) Unmarshal

func (p *UpdatePaymentStateAliasResult) Unmarshal(in []byte) error

type UpdatePaymentStateArgs

type UpdatePaymentStateArgs struct {
	Req *UpdatePaymentStateRequest
}

func (*UpdatePaymentStateArgs) FastRead

func (p *UpdatePaymentStateArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)

func (*UpdatePaymentStateArgs) FastWrite

func (p *UpdatePaymentStateArgs) FastWrite(buf []byte) (n int)

func (*UpdatePaymentStateArgs) GetFirstArgument

func (p *UpdatePaymentStateArgs) GetFirstArgument() interface{}

func (*UpdatePaymentStateArgs) GetReq

func (*UpdatePaymentStateArgs) IsSetReq

func (p *UpdatePaymentStateArgs) IsSetReq() bool

func (*UpdatePaymentStateArgs) Marshal

func (p *UpdatePaymentStateArgs) Marshal(out []byte) ([]byte, error)

func (*UpdatePaymentStateArgs) Size

func (p *UpdatePaymentStateArgs) Size() (n int)

func (*UpdatePaymentStateArgs) Unmarshal

func (p *UpdatePaymentStateArgs) Unmarshal(in []byte) error

type UpdatePaymentStateRequest

type UpdatePaymentStateRequest struct {
	PayId string       `protobuf:"bytes,1,opt,name=payId,proto3" json:"payId,omitempty"`
	State PaymentState `protobuf:"varint,2,opt,name=state,proto3,enum=payment.PaymentState" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdatePaymentStateRequest) Descriptor deprecated

func (*UpdatePaymentStateRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdatePaymentStateRequest.ProtoReflect.Descriptor instead.

func (*UpdatePaymentStateRequest) FastRead

func (x *UpdatePaymentStateRequest) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

func (*UpdatePaymentStateRequest) FastWrite

func (x *UpdatePaymentStateRequest) FastWrite(buf []byte) (offset int)

func (*UpdatePaymentStateRequest) GetPayId

func (x *UpdatePaymentStateRequest) GetPayId() string

func (*UpdatePaymentStateRequest) GetState

func (*UpdatePaymentStateRequest) ProtoMessage

func (*UpdatePaymentStateRequest) ProtoMessage()

func (*UpdatePaymentStateRequest) ProtoReflect

func (*UpdatePaymentStateRequest) Reset

func (x *UpdatePaymentStateRequest) Reset()

func (*UpdatePaymentStateRequest) Size

func (x *UpdatePaymentStateRequest) Size() (n int)

func (*UpdatePaymentStateRequest) String

func (x *UpdatePaymentStateRequest) String() string

type UpdatePaymentStateResult

type UpdatePaymentStateResult struct {
	Success *Empty
}

func (*UpdatePaymentStateResult) FastRead

func (p *UpdatePaymentStateResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)

func (*UpdatePaymentStateResult) FastWrite

func (p *UpdatePaymentStateResult) FastWrite(buf []byte) (n int)

func (*UpdatePaymentStateResult) GetResult

func (p *UpdatePaymentStateResult) GetResult() interface{}

func (*UpdatePaymentStateResult) GetSuccess

func (p *UpdatePaymentStateResult) GetSuccess() *Empty

func (*UpdatePaymentStateResult) IsSetSuccess

func (p *UpdatePaymentStateResult) IsSetSuccess() bool

func (*UpdatePaymentStateResult) Marshal

func (p *UpdatePaymentStateResult) Marshal(out []byte) ([]byte, error)

func (*UpdatePaymentStateResult) SetSuccess

func (p *UpdatePaymentStateResult) SetSuccess(x interface{})

func (*UpdatePaymentStateResult) Size

func (p *UpdatePaymentStateResult) Size() (n int)

func (*UpdatePaymentStateResult) Unmarshal

func (p *UpdatePaymentStateResult) Unmarshal(in []byte) error

type UpdateProductArgs

type UpdateProductArgs struct {
	Req *ChangeProductRequest
}

func (*UpdateProductArgs) FastRead

func (p *UpdateProductArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)

func (*UpdateProductArgs) FastWrite

func (p *UpdateProductArgs) FastWrite(buf []byte) (n int)

func (*UpdateProductArgs) GetFirstArgument

func (p *UpdateProductArgs) GetFirstArgument() interface{}

func (*UpdateProductArgs) GetReq

func (*UpdateProductArgs) IsSetReq

func (p *UpdateProductArgs) IsSetReq() bool

func (*UpdateProductArgs) Marshal

func (p *UpdateProductArgs) Marshal(out []byte) ([]byte, error)

func (*UpdateProductArgs) Size

func (p *UpdateProductArgs) Size() (n int)

func (*UpdateProductArgs) Unmarshal

func (p *UpdateProductArgs) Unmarshal(in []byte) error

type UpdateProductResult

type UpdateProductResult struct {
	Success *Empty
}

func (*UpdateProductResult) FastRead

func (p *UpdateProductResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)

func (*UpdateProductResult) FastWrite

func (p *UpdateProductResult) FastWrite(buf []byte) (n int)

func (*UpdateProductResult) GetResult

func (p *UpdateProductResult) GetResult() interface{}

func (*UpdateProductResult) GetSuccess

func (p *UpdateProductResult) GetSuccess() *Empty

func (*UpdateProductResult) IsSetSuccess

func (p *UpdateProductResult) IsSetSuccess() bool

func (*UpdateProductResult) Marshal

func (p *UpdateProductResult) Marshal(out []byte) ([]byte, error)

func (*UpdateProductResult) SetSuccess

func (p *UpdateProductResult) SetSuccess(x interface{})

func (*UpdateProductResult) Size

func (p *UpdateProductResult) Size() (n int)

func (*UpdateProductResult) Unmarshal

func (p *UpdateProductResult) Unmarshal(in []byte) error

type UpdateStockpileArgs

type UpdateStockpileArgs struct {
	Req *UpdateStockpileRequest
}

func (*UpdateStockpileArgs) FastRead

func (p *UpdateStockpileArgs) FastRead(buf []byte, _type int8, number int32) (n int, err error)

func (*UpdateStockpileArgs) FastWrite

func (p *UpdateStockpileArgs) FastWrite(buf []byte) (n int)

func (*UpdateStockpileArgs) GetFirstArgument

func (p *UpdateStockpileArgs) GetFirstArgument() interface{}

func (*UpdateStockpileArgs) GetReq

func (*UpdateStockpileArgs) IsSetReq

func (p *UpdateStockpileArgs) IsSetReq() bool

func (*UpdateStockpileArgs) Marshal

func (p *UpdateStockpileArgs) Marshal(out []byte) ([]byte, error)

func (*UpdateStockpileArgs) Size

func (p *UpdateStockpileArgs) Size() (n int)

func (*UpdateStockpileArgs) Unmarshal

func (p *UpdateStockpileArgs) Unmarshal(in []byte) error

type UpdateStockpileRequest

type UpdateStockpileRequest struct {
	ProductId int64 `protobuf:"varint,1,opt,name=productId,proto3" json:"productId,omitempty"`
	Amount    int64 `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateStockpileRequest) Descriptor deprecated

func (*UpdateStockpileRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateStockpileRequest.ProtoReflect.Descriptor instead.

func (*UpdateStockpileRequest) FastRead

func (x *UpdateStockpileRequest) FastRead(buf []byte, _type int8, number int32) (offset int, err error)

func (*UpdateStockpileRequest) FastWrite

func (x *UpdateStockpileRequest) FastWrite(buf []byte) (offset int)

func (*UpdateStockpileRequest) GetAmount

func (x *UpdateStockpileRequest) GetAmount() int64

func (*UpdateStockpileRequest) GetProductId

func (x *UpdateStockpileRequest) GetProductId() int64

func (*UpdateStockpileRequest) ProtoMessage

func (*UpdateStockpileRequest) ProtoMessage()

func (*UpdateStockpileRequest) ProtoReflect

func (x *UpdateStockpileRequest) ProtoReflect() protoreflect.Message

func (*UpdateStockpileRequest) Reset

func (x *UpdateStockpileRequest) Reset()

func (*UpdateStockpileRequest) Size

func (x *UpdateStockpileRequest) Size() (n int)

func (*UpdateStockpileRequest) String

func (x *UpdateStockpileRequest) String() string

type UpdateStockpileResult

type UpdateStockpileResult struct {
	Success *Empty
}

func (*UpdateStockpileResult) FastRead

func (p *UpdateStockpileResult) FastRead(buf []byte, _type int8, number int32) (n int, err error)

func (*UpdateStockpileResult) FastWrite

func (p *UpdateStockpileResult) FastWrite(buf []byte) (n int)

func (*UpdateStockpileResult) GetResult

func (p *UpdateStockpileResult) GetResult() interface{}

func (*UpdateStockpileResult) GetSuccess

func (p *UpdateStockpileResult) GetSuccess() *Empty

func (*UpdateStockpileResult) IsSetSuccess

func (p *UpdateStockpileResult) IsSetSuccess() bool

func (*UpdateStockpileResult) Marshal

func (p *UpdateStockpileResult) Marshal(out []byte) ([]byte, error)

func (*UpdateStockpileResult) SetSuccess

func (p *UpdateStockpileResult) SetSuccess(x interface{})

func (*UpdateStockpileResult) Size

func (p *UpdateStockpileResult) Size() (n int)

func (*UpdateStockpileResult) Unmarshal

func (p *UpdateStockpileResult) Unmarshal(in []byte) error

Jump to

Keyboard shortcuts

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