sku_business

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2021 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package sku_business is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

This section is empty.

Variables

View Source
var (
	SkuPricePolicyFiltrateType_name = map[int32]string{
		0: "VERSION_SECTION",
		1: "VERSION_UPPER",
		2: "VERSION_LOWER",
	}
	SkuPricePolicyFiltrateType_value = map[string]int32{
		"VERSION_SECTION": 0,
		"VERSION_UPPER":   1,
		"VERSION_LOWER":   2,
	}
)

Enum value maps for SkuPricePolicyFiltrateType.

View Source
var (
	RetCode_name = map[int32]string{
		0:      "SUCCESS",
		500:    "ERROR",
		50001:  "USER_NOT_EXIST",
		50002:  "USER_EXIST",
		50003:  "MERCHANT_NOT_EXIST",
		50004:  "MERCHANT_EXIST",
		50005:  "SHOP_NOT_EXIST",
		50006:  "SHOP_EXIST",
		50007:  "SKU_NOT_EXIST",
		50008:  "SKU_EXIST",
		50009:  "SKU_AMOUNT_NOT_ENOUGH",
		50010:  "TRANSACTION_FAILED",
		50011:  "SKU_PRICE_VERSION_NOT_EXIST",
		50012:  "SKU_PRICE_VERSION_POLICY_TYPE_NOT_SUPPORT",
		50013:  "SKU_PRICE_VERSION_POLICY_DATA_FORMAT_ERR",
		50014:  "SKU_DEDUCT_INVENTORY_RECORD_EXIST",
		50015:  "SKU_DEDUCT_INVENTORY_RECORD_NOT_EXIST",
		500016: "SKU_RESTORE_INVENTORY_RECORD_EXIST",
		500017: "SKU_RESTORE_INVENTORY_RECORD_NOT_EXIST",
	}
	RetCode_value = map[string]int32{
		"SUCCESS":                     0,
		"ERROR":                       500,
		"USER_NOT_EXIST":              50001,
		"USER_EXIST":                  50002,
		"MERCHANT_NOT_EXIST":          50003,
		"MERCHANT_EXIST":              50004,
		"SHOP_NOT_EXIST":              50005,
		"SHOP_EXIST":                  50006,
		"SKU_NOT_EXIST":               50007,
		"SKU_EXIST":                   50008,
		"SKU_AMOUNT_NOT_ENOUGH":       50009,
		"TRANSACTION_FAILED":          50010,
		"SKU_PRICE_VERSION_NOT_EXIST": 50011,
		"SKU_PRICE_VERSION_POLICY_TYPE_NOT_SUPPORT": 50012,
		"SKU_PRICE_VERSION_POLICY_DATA_FORMAT_ERR":  50013,
		"SKU_DEDUCT_INVENTORY_RECORD_EXIST":         50014,
		"SKU_DEDUCT_INVENTORY_RECORD_NOT_EXIST":     50015,
		"SKU_RESTORE_INVENTORY_RECORD_EXIST":        500016,
		"SKU_RESTORE_INVENTORY_RECORD_NOT_EXIST":    500017,
	}
)

Enum value maps for RetCode.

View Source
var (
	OperationType_name = map[int32]string{
		0: "CREATE",
		1: "UPDATE",
		2: "DELETE",
		3: "AUDIT",
		4: "PUT_AWAY",
	}
	OperationType_value = map[string]int32{
		"CREATE":   0,
		"UPDATE":   1,
		"DELETE":   2,
		"AUDIT":    3,
		"PUT_AWAY": 4,
	}
)

Enum value maps for OperationType.

View Source
var File_proto_micro_mall_sku_proto_sku_business_sku_proto protoreflect.FileDescriptor

Functions

func RegisterSkuBusinessServiceHandler

func RegisterSkuBusinessServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterSkuBusinessServiceHandler registers the http handlers for service SkuBusinessService to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterSkuBusinessServiceHandlerClient

func RegisterSkuBusinessServiceHandlerClient(ctx context.Context, mux *runtime.ServeMux, client SkuBusinessServiceClient) error

RegisterSkuBusinessServiceHandlerClient registers the http handlers for service SkuBusinessService to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "SkuBusinessServiceClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "SkuBusinessServiceClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "SkuBusinessServiceClient" to call the correct interceptors.

func RegisterSkuBusinessServiceHandlerFromEndpoint

func RegisterSkuBusinessServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterSkuBusinessServiceHandlerFromEndpoint is same as RegisterSkuBusinessServiceHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterSkuBusinessServiceHandlerServer

func RegisterSkuBusinessServiceHandlerServer(ctx context.Context, mux *runtime.ServeMux, server SkuBusinessServiceServer) error

RegisterSkuBusinessServiceHandlerServer registers the http handlers for service SkuBusinessService to "mux". UnaryRPC :call SkuBusinessServiceServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features (such as grpc.SendHeader, etc) to stop working. Consider using RegisterSkuBusinessServiceHandlerFromEndpoint instead.

func RegisterSkuBusinessServiceServer

func RegisterSkuBusinessServiceServer(s *grpc.Server, srv SkuBusinessServiceServer)

Types

type CommonResponse

type CommonResponse struct {
	Code RetCode `protobuf:"varint,1,opt,name=code,proto3,enum=sku_business.RetCode" json:"code,omitempty"`
	Msg  string  `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	// contains filtered or unexported fields
}

func (*CommonResponse) Descriptor deprecated

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

Deprecated: Use CommonResponse.ProtoReflect.Descriptor instead.

func (*CommonResponse) GetCode

func (x *CommonResponse) GetCode() RetCode

func (*CommonResponse) GetMsg

func (x *CommonResponse) GetMsg() string

func (*CommonResponse) ProtoMessage

func (*CommonResponse) ProtoMessage()

func (*CommonResponse) ProtoReflect

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

func (*CommonResponse) Reset

func (x *CommonResponse) Reset()

func (*CommonResponse) String

func (x *CommonResponse) String() string

type ConfirmSkuInventoryRequest

type ConfirmSkuInventoryRequest struct {
	OutTradeNo []string       `protobuf:"bytes,1,rep,name=out_trade_no,json=outTradeNo,proto3" json:"out_trade_no,omitempty"` // 外部订单号
	OpMeta     *OperationMeta `protobuf:"bytes,2,opt,name=op_meta,json=opMeta,proto3" json:"op_meta,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfirmSkuInventoryRequest) Descriptor deprecated

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

Deprecated: Use ConfirmSkuInventoryRequest.ProtoReflect.Descriptor instead.

func (*ConfirmSkuInventoryRequest) GetOpMeta

func (x *ConfirmSkuInventoryRequest) GetOpMeta() *OperationMeta

func (*ConfirmSkuInventoryRequest) GetOutTradeNo

func (x *ConfirmSkuInventoryRequest) GetOutTradeNo() []string

func (*ConfirmSkuInventoryRequest) ProtoMessage

func (*ConfirmSkuInventoryRequest) ProtoMessage()

func (*ConfirmSkuInventoryRequest) ProtoReflect

func (*ConfirmSkuInventoryRequest) Reset

func (x *ConfirmSkuInventoryRequest) Reset()

func (*ConfirmSkuInventoryRequest) String

func (x *ConfirmSkuInventoryRequest) String() string

type ConfirmSkuInventoryResponse

type ConfirmSkuInventoryResponse struct {
	Common *CommonResponse `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
	// contains filtered or unexported fields
}

func (*ConfirmSkuInventoryResponse) Descriptor deprecated

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

Deprecated: Use ConfirmSkuInventoryResponse.ProtoReflect.Descriptor instead.

func (*ConfirmSkuInventoryResponse) GetCommon

func (*ConfirmSkuInventoryResponse) ProtoMessage

func (*ConfirmSkuInventoryResponse) ProtoMessage()

func (*ConfirmSkuInventoryResponse) ProtoReflect

func (*ConfirmSkuInventoryResponse) Reset

func (x *ConfirmSkuInventoryResponse) Reset()

func (*ConfirmSkuInventoryResponse) String

func (x *ConfirmSkuInventoryResponse) String() string

type DeductInventoryRequest

type DeductInventoryRequest struct {
	List          []*InventoryEntryShop `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	OperationMeta *OperationMeta        `protobuf:"bytes,199,opt,name=operation_meta,json=operationMeta,proto3" json:"operation_meta,omitempty"`
	// contains filtered or unexported fields
}

func (*DeductInventoryRequest) Descriptor deprecated

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

Deprecated: Use DeductInventoryRequest.ProtoReflect.Descriptor instead.

func (*DeductInventoryRequest) GetList

func (*DeductInventoryRequest) GetOperationMeta

func (x *DeductInventoryRequest) GetOperationMeta() *OperationMeta

func (*DeductInventoryRequest) ProtoMessage

func (*DeductInventoryRequest) ProtoMessage()

func (*DeductInventoryRequest) ProtoReflect

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

func (*DeductInventoryRequest) Reset

func (x *DeductInventoryRequest) Reset()

func (*DeductInventoryRequest) String

func (x *DeductInventoryRequest) String() string

type DeductInventoryResponse

type DeductInventoryResponse struct {
	Common    *CommonResponse `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
	IsSuccess bool            `protobuf:"varint,2,opt,name=is_success,json=isSuccess,proto3" json:"is_success,omitempty"` // 是否成功,要么全部成功,要么全部失败
	// contains filtered or unexported fields
}

func (*DeductInventoryResponse) Descriptor deprecated

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

Deprecated: Use DeductInventoryResponse.ProtoReflect.Descriptor instead.

func (*DeductInventoryResponse) GetCommon

func (x *DeductInventoryResponse) GetCommon() *CommonResponse

func (*DeductInventoryResponse) GetIsSuccess

func (x *DeductInventoryResponse) GetIsSuccess() bool

func (*DeductInventoryResponse) ProtoMessage

func (*DeductInventoryResponse) ProtoMessage()

func (*DeductInventoryResponse) ProtoReflect

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

func (*DeductInventoryResponse) Reset

func (x *DeductInventoryResponse) Reset()

func (*DeductInventoryResponse) String

func (x *DeductInventoryResponse) String() string

type FiltrateSkuPriceVersionRequest

type FiltrateSkuPriceVersionRequest struct {
	SetList    []*SkuPriceVersionSet      `protobuf:"bytes,1,rep,name=set_list,json=setList,proto3" json:"set_list,omitempty"`
	PolicyType SkuPricePolicyFiltrateType `` // 价格筛选策略类型
	/* 137-byte string literal not displayed */
	LimitUpper uint32 `protobuf:"varint,3,opt,name=limit_upper,json=limitUpper,proto3" json:"limit_upper,omitempty"` // 最低筛选几个价格区间
	// contains filtered or unexported fields
}

func (*FiltrateSkuPriceVersionRequest) Descriptor deprecated

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

Deprecated: Use FiltrateSkuPriceVersionRequest.ProtoReflect.Descriptor instead.

func (*FiltrateSkuPriceVersionRequest) GetLimitUpper

func (x *FiltrateSkuPriceVersionRequest) GetLimitUpper() uint32

func (*FiltrateSkuPriceVersionRequest) GetPolicyType

func (*FiltrateSkuPriceVersionRequest) GetSetList

func (*FiltrateSkuPriceVersionRequest) ProtoMessage

func (*FiltrateSkuPriceVersionRequest) ProtoMessage()

func (*FiltrateSkuPriceVersionRequest) ProtoReflect

func (*FiltrateSkuPriceVersionRequest) Reset

func (x *FiltrateSkuPriceVersionRequest) Reset()

func (*FiltrateSkuPriceVersionRequest) String

type FiltrateSkuPriceVersionResponse

type FiltrateSkuPriceVersionResponse struct {
	Common *CommonResponse                  `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
	Result []*FiltrateSkuPriceVersionResult `protobuf:"bytes,2,rep,name=result,proto3" json:"result,omitempty"` // 返回不满足筛选区间的商品列表
	// contains filtered or unexported fields
}

func (*FiltrateSkuPriceVersionResponse) Descriptor deprecated

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

Deprecated: Use FiltrateSkuPriceVersionResponse.ProtoReflect.Descriptor instead.

func (*FiltrateSkuPriceVersionResponse) GetCommon

func (*FiltrateSkuPriceVersionResponse) GetResult

func (*FiltrateSkuPriceVersionResponse) ProtoMessage

func (*FiltrateSkuPriceVersionResponse) ProtoMessage()

func (*FiltrateSkuPriceVersionResponse) ProtoReflect

func (*FiltrateSkuPriceVersionResponse) Reset

func (*FiltrateSkuPriceVersionResponse) String

type FiltrateSkuPriceVersionResult

type FiltrateSkuPriceVersionResult struct {
	ShopId  int64    `protobuf:"varint,1,opt,name=shop_id,json=shopId,proto3" json:"shop_id,omitempty"`
	SkuCode []string `protobuf:"bytes,2,rep,name=sku_code,json=skuCode,proto3" json:"sku_code,omitempty"`
	// contains filtered or unexported fields
}

func (*FiltrateSkuPriceVersionResult) Descriptor deprecated

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

Deprecated: Use FiltrateSkuPriceVersionResult.ProtoReflect.Descriptor instead.

func (*FiltrateSkuPriceVersionResult) GetShopId

func (x *FiltrateSkuPriceVersionResult) GetShopId() int64

func (*FiltrateSkuPriceVersionResult) GetSkuCode

func (x *FiltrateSkuPriceVersionResult) GetSkuCode() []string

func (*FiltrateSkuPriceVersionResult) ProtoMessage

func (*FiltrateSkuPriceVersionResult) ProtoMessage()

func (*FiltrateSkuPriceVersionResult) ProtoReflect

func (*FiltrateSkuPriceVersionResult) Reset

func (x *FiltrateSkuPriceVersionResult) Reset()

func (*FiltrateSkuPriceVersionResult) String

type GetSkuListRequest

type GetSkuListRequest struct {
	ShopId int64 `protobuf:"varint,2,opt,name=shop_id,json=shopId,proto3" json:"shop_id,omitempty"` // 指定店铺搜索,为0则搜索全部
	// contains filtered or unexported fields
}

func (*GetSkuListRequest) Descriptor deprecated

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

Deprecated: Use GetSkuListRequest.ProtoReflect.Descriptor instead.

func (*GetSkuListRequest) GetShopId

func (x *GetSkuListRequest) GetShopId() int64

func (*GetSkuListRequest) ProtoMessage

func (*GetSkuListRequest) ProtoMessage()

func (*GetSkuListRequest) ProtoReflect

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

func (*GetSkuListRequest) Reset

func (x *GetSkuListRequest) Reset()

func (*GetSkuListRequest) String

func (x *GetSkuListRequest) String() string

type GetSkuListResponse

type GetSkuListResponse struct {
	List []*SkuInventoryInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSkuListResponse) Descriptor deprecated

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

Deprecated: Use GetSkuListResponse.ProtoReflect.Descriptor instead.

func (*GetSkuListResponse) GetList

func (x *GetSkuListResponse) GetList() []*SkuInventoryInfo

func (*GetSkuListResponse) ProtoMessage

func (*GetSkuListResponse) ProtoMessage()

func (*GetSkuListResponse) ProtoReflect

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

func (*GetSkuListResponse) Reset

func (x *GetSkuListResponse) Reset()

func (*GetSkuListResponse) String

func (x *GetSkuListResponse) String() string

type InventoryEntryDetail

type InventoryEntryDetail struct {
	SkuCode string `protobuf:"bytes,1,opt,name=sku_code,json=skuCode,proto3" json:"sku_code,omitempty"`
	Amount  int64  `protobuf:"varint,2,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

func (*InventoryEntryDetail) Descriptor deprecated

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

Deprecated: Use InventoryEntryDetail.ProtoReflect.Descriptor instead.

func (*InventoryEntryDetail) GetAmount

func (x *InventoryEntryDetail) GetAmount() int64

func (*InventoryEntryDetail) GetSkuCode

func (x *InventoryEntryDetail) GetSkuCode() string

func (*InventoryEntryDetail) ProtoMessage

func (*InventoryEntryDetail) ProtoMessage()

func (*InventoryEntryDetail) ProtoReflect

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

func (*InventoryEntryDetail) Reset

func (x *InventoryEntryDetail) Reset()

func (*InventoryEntryDetail) String

func (x *InventoryEntryDetail) String() string

type InventoryEntryShop

type InventoryEntryShop struct {
	ShopId     int64                   `protobuf:"varint,1,opt,name=shop_id,json=shopId,proto3" json:"shop_id,omitempty"`
	OutTradeNo string                  `protobuf:"bytes,2,opt,name=out_trade_no,json=outTradeNo,proto3" json:"out_trade_no,omitempty"`
	Detail     []*InventoryEntryDetail `protobuf:"bytes,3,rep,name=detail,proto3" json:"detail,omitempty"`
	// contains filtered or unexported fields
}

func (*InventoryEntryShop) Descriptor deprecated

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

Deprecated: Use InventoryEntryShop.ProtoReflect.Descriptor instead.

func (*InventoryEntryShop) GetDetail

func (x *InventoryEntryShop) GetDetail() []*InventoryEntryDetail

func (*InventoryEntryShop) GetOutTradeNo

func (x *InventoryEntryShop) GetOutTradeNo() string

func (*InventoryEntryShop) GetShopId

func (x *InventoryEntryShop) GetShopId() int64

func (*InventoryEntryShop) ProtoMessage

func (*InventoryEntryShop) ProtoMessage()

func (*InventoryEntryShop) ProtoReflect

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

func (*InventoryEntryShop) Reset

func (x *InventoryEntryShop) Reset()

func (*InventoryEntryShop) String

func (x *InventoryEntryShop) String() string

type OperationMeta

type OperationMeta struct {
	OpUid int64  `protobuf:"varint,1,opt,name=op_uid,json=opUid,proto3" json:"op_uid,omitempty"`
	OpIp  string `protobuf:"bytes,2,opt,name=op_ip,json=opIp,proto3" json:"op_ip,omitempty"`
	// contains filtered or unexported fields
}

func (*OperationMeta) Descriptor deprecated

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

Deprecated: Use OperationMeta.ProtoReflect.Descriptor instead.

func (*OperationMeta) GetOpIp

func (x *OperationMeta) GetOpIp() string

func (*OperationMeta) GetOpUid

func (x *OperationMeta) GetOpUid() int64

func (*OperationMeta) ProtoMessage

func (*OperationMeta) ProtoMessage()

func (*OperationMeta) ProtoReflect

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

func (*OperationMeta) Reset

func (x *OperationMeta) Reset()

func (*OperationMeta) String

func (x *OperationMeta) String() string

type OperationType

type OperationType int32
const (
	OperationType_CREATE   OperationType = 0
	OperationType_UPDATE   OperationType = 1
	OperationType_DELETE   OperationType = 2
	OperationType_AUDIT    OperationType = 3
	OperationType_PUT_AWAY OperationType = 4
)

func (OperationType) Descriptor

func (OperationType) Enum

func (x OperationType) Enum() *OperationType

func (OperationType) EnumDescriptor deprecated

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

Deprecated: Use OperationType.Descriptor instead.

func (OperationType) Number

func (OperationType) String

func (x OperationType) String() string

func (OperationType) Type

type PutAwaySkuRequest

type PutAwaySkuRequest struct {
	Sku           *SkuInventoryInfo `protobuf:"bytes,1,opt,name=sku,proto3" json:"sku,omitempty"`
	OperationType OperationType     `` /* 135-byte string literal not displayed */
	OperationMeta *OperationMeta    `protobuf:"bytes,300,opt,name=operation_meta,json=operationMeta,proto3" json:"operation_meta,omitempty"`
	// contains filtered or unexported fields
}

func (*PutAwaySkuRequest) Descriptor deprecated

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

Deprecated: Use PutAwaySkuRequest.ProtoReflect.Descriptor instead.

func (*PutAwaySkuRequest) GetOperationMeta

func (x *PutAwaySkuRequest) GetOperationMeta() *OperationMeta

func (*PutAwaySkuRequest) GetOperationType

func (x *PutAwaySkuRequest) GetOperationType() OperationType

func (*PutAwaySkuRequest) GetSku

func (x *PutAwaySkuRequest) GetSku() *SkuInventoryInfo

func (*PutAwaySkuRequest) ProtoMessage

func (*PutAwaySkuRequest) ProtoMessage()

func (*PutAwaySkuRequest) ProtoReflect

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

func (*PutAwaySkuRequest) Reset

func (x *PutAwaySkuRequest) Reset()

func (*PutAwaySkuRequest) String

func (x *PutAwaySkuRequest) String() string

type PutAwaySkuResponse

type PutAwaySkuResponse struct {
	Common *CommonResponse `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
	// contains filtered or unexported fields
}

func (*PutAwaySkuResponse) Descriptor deprecated

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

Deprecated: Use PutAwaySkuResponse.ProtoReflect.Descriptor instead.

func (*PutAwaySkuResponse) GetCommon

func (x *PutAwaySkuResponse) GetCommon() *CommonResponse

func (*PutAwaySkuResponse) ProtoMessage

func (*PutAwaySkuResponse) ProtoMessage()

func (*PutAwaySkuResponse) ProtoReflect

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

func (*PutAwaySkuResponse) Reset

func (x *PutAwaySkuResponse) Reset()

func (*PutAwaySkuResponse) String

func (x *PutAwaySkuResponse) String() string

type RestoreInventoryRequest

type RestoreInventoryRequest struct {
	List          []*InventoryEntryShop `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	OperationMeta *OperationMeta        `protobuf:"bytes,199,opt,name=operation_meta,json=operationMeta,proto3" json:"operation_meta,omitempty"`
	// contains filtered or unexported fields
}

func (*RestoreInventoryRequest) Descriptor deprecated

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

Deprecated: Use RestoreInventoryRequest.ProtoReflect.Descriptor instead.

func (*RestoreInventoryRequest) GetList

func (*RestoreInventoryRequest) GetOperationMeta

func (x *RestoreInventoryRequest) GetOperationMeta() *OperationMeta

func (*RestoreInventoryRequest) ProtoMessage

func (*RestoreInventoryRequest) ProtoMessage()

func (*RestoreInventoryRequest) ProtoReflect

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

func (*RestoreInventoryRequest) Reset

func (x *RestoreInventoryRequest) Reset()

func (*RestoreInventoryRequest) String

func (x *RestoreInventoryRequest) String() string

type RestoreInventoryResponse

type RestoreInventoryResponse struct {
	Common    *CommonResponse `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
	IsSuccess bool            `protobuf:"varint,2,opt,name=is_success,json=isSuccess,proto3" json:"is_success,omitempty"` // 是否成功,要么全部成功,要么全部失败
	// contains filtered or unexported fields
}

func (*RestoreInventoryResponse) Descriptor deprecated

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

Deprecated: Use RestoreInventoryResponse.ProtoReflect.Descriptor instead.

func (*RestoreInventoryResponse) GetCommon

func (x *RestoreInventoryResponse) GetCommon() *CommonResponse

func (*RestoreInventoryResponse) GetIsSuccess

func (x *RestoreInventoryResponse) GetIsSuccess() bool

func (*RestoreInventoryResponse) ProtoMessage

func (*RestoreInventoryResponse) ProtoMessage()

func (*RestoreInventoryResponse) ProtoReflect

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

func (*RestoreInventoryResponse) Reset

func (x *RestoreInventoryResponse) Reset()

func (*RestoreInventoryResponse) String

func (x *RestoreInventoryResponse) String() string

type RetCode

type RetCode int32
const (
	RetCode_SUCCESS                                   RetCode = 0
	RetCode_ERROR                                     RetCode = 500
	RetCode_USER_NOT_EXIST                            RetCode = 50001
	RetCode_USER_EXIST                                RetCode = 50002
	RetCode_MERCHANT_NOT_EXIST                        RetCode = 50003
	RetCode_MERCHANT_EXIST                            RetCode = 50004
	RetCode_SHOP_NOT_EXIST                            RetCode = 50005
	RetCode_SHOP_EXIST                                RetCode = 50006
	RetCode_SKU_NOT_EXIST                             RetCode = 50007
	RetCode_SKU_EXIST                                 RetCode = 50008
	RetCode_SKU_AMOUNT_NOT_ENOUGH                     RetCode = 50009
	RetCode_TRANSACTION_FAILED                        RetCode = 50010
	RetCode_SKU_PRICE_VERSION_NOT_EXIST               RetCode = 50011
	RetCode_SKU_PRICE_VERSION_POLICY_TYPE_NOT_SUPPORT RetCode = 50012
	RetCode_SKU_PRICE_VERSION_POLICY_DATA_FORMAT_ERR  RetCode = 50013
	RetCode_SKU_DEDUCT_INVENTORY_RECORD_EXIST         RetCode = 50014
	RetCode_SKU_DEDUCT_INVENTORY_RECORD_NOT_EXIST     RetCode = 50015
	RetCode_SKU_RESTORE_INVENTORY_RECORD_EXIST        RetCode = 500016
	RetCode_SKU_RESTORE_INVENTORY_RECORD_NOT_EXIST    RetCode = 500017
)

func (RetCode) Descriptor

func (RetCode) Descriptor() protoreflect.EnumDescriptor

func (RetCode) Enum

func (x RetCode) Enum() *RetCode

func (RetCode) EnumDescriptor deprecated

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

Deprecated: Use RetCode.Descriptor instead.

func (RetCode) Number

func (x RetCode) Number() protoreflect.EnumNumber

func (RetCode) String

func (x RetCode) String() string

func (RetCode) Type

func (RetCode) Type() protoreflect.EnumType

type SearchSkuInventoryEntry

type SearchSkuInventoryEntry struct {
	Info  *SkuInventoryInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
	Score float64           `protobuf:"fixed64,2,opt,name=score,proto3" json:"score,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchSkuInventoryEntry) Descriptor deprecated

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

Deprecated: Use SearchSkuInventoryEntry.ProtoReflect.Descriptor instead.

func (*SearchSkuInventoryEntry) GetInfo

func (*SearchSkuInventoryEntry) GetScore

func (x *SearchSkuInventoryEntry) GetScore() float64

func (*SearchSkuInventoryEntry) ProtoMessage

func (*SearchSkuInventoryEntry) ProtoMessage()

func (*SearchSkuInventoryEntry) ProtoReflect

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

func (*SearchSkuInventoryEntry) Reset

func (x *SearchSkuInventoryEntry) Reset()

func (*SearchSkuInventoryEntry) String

func (x *SearchSkuInventoryEntry) String() string

type SearchSkuInventoryRequest

type SearchSkuInventoryRequest struct {
	Keyword string `protobuf:"bytes,1,opt,name=keyword,proto3" json:"keyword,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchSkuInventoryRequest) Descriptor deprecated

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

Deprecated: Use SearchSkuInventoryRequest.ProtoReflect.Descriptor instead.

func (*SearchSkuInventoryRequest) GetKeyword

func (x *SearchSkuInventoryRequest) GetKeyword() string

func (*SearchSkuInventoryRequest) ProtoMessage

func (*SearchSkuInventoryRequest) ProtoMessage()

func (*SearchSkuInventoryRequest) ProtoReflect

func (*SearchSkuInventoryRequest) Reset

func (x *SearchSkuInventoryRequest) Reset()

func (*SearchSkuInventoryRequest) String

func (x *SearchSkuInventoryRequest) String() string

type SearchSkuInventoryResponse

type SearchSkuInventoryResponse struct {
	Common *CommonResponse            `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
	List   []*SearchSkuInventoryEntry `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchSkuInventoryResponse) Descriptor deprecated

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

Deprecated: Use SearchSkuInventoryResponse.ProtoReflect.Descriptor instead.

func (*SearchSkuInventoryResponse) GetCommon

func (*SearchSkuInventoryResponse) GetList

func (*SearchSkuInventoryResponse) ProtoMessage

func (*SearchSkuInventoryResponse) ProtoMessage()

func (*SearchSkuInventoryResponse) ProtoReflect

func (*SearchSkuInventoryResponse) Reset

func (x *SearchSkuInventoryResponse) Reset()

func (*SearchSkuInventoryResponse) String

func (x *SearchSkuInventoryResponse) String() string

type SearchSyncSkuInventoryRequest

type SearchSyncSkuInventoryRequest struct {
	ShopId   int64 `protobuf:"varint,1,opt,name=shop_id,json=shopId,proto3" json:"shop_id,omitempty"`       // shop_id为0则同步所有库存
	PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // 大于0
	PageNum  int64 `protobuf:"varint,3,opt,name=page_num,json=pageNum,proto3" json:"page_num,omitempty"`    // 大于0
	// contains filtered or unexported fields
}

func (*SearchSyncSkuInventoryRequest) Descriptor deprecated

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

Deprecated: Use SearchSyncSkuInventoryRequest.ProtoReflect.Descriptor instead.

func (*SearchSyncSkuInventoryRequest) GetPageNum

func (x *SearchSyncSkuInventoryRequest) GetPageNum() int64

func (*SearchSyncSkuInventoryRequest) GetPageSize

func (x *SearchSyncSkuInventoryRequest) GetPageSize() int64

func (*SearchSyncSkuInventoryRequest) GetShopId

func (x *SearchSyncSkuInventoryRequest) GetShopId() int64

func (*SearchSyncSkuInventoryRequest) ProtoMessage

func (*SearchSyncSkuInventoryRequest) ProtoMessage()

func (*SearchSyncSkuInventoryRequest) ProtoReflect

func (*SearchSyncSkuInventoryRequest) Reset

func (x *SearchSyncSkuInventoryRequest) Reset()

func (*SearchSyncSkuInventoryRequest) String

type SearchSyncSkuInventoryResponse

type SearchSyncSkuInventoryResponse struct {
	Common *CommonResponse     `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
	Info   []*SkuInventoryInfo `protobuf:"bytes,2,rep,name=info,proto3" json:"info,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchSyncSkuInventoryResponse) Descriptor deprecated

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

Deprecated: Use SearchSyncSkuInventoryResponse.ProtoReflect.Descriptor instead.

func (*SearchSyncSkuInventoryResponse) GetCommon

func (*SearchSyncSkuInventoryResponse) GetInfo

func (*SearchSyncSkuInventoryResponse) ProtoMessage

func (*SearchSyncSkuInventoryResponse) ProtoMessage()

func (*SearchSyncSkuInventoryResponse) ProtoReflect

func (*SearchSyncSkuInventoryResponse) Reset

func (x *SearchSyncSkuInventoryResponse) Reset()

func (*SearchSyncSkuInventoryResponse) String

type SkuBusinessServiceClient

type SkuBusinessServiceClient interface {
	// 上架商品
	PutAwaySku(ctx context.Context, in *PutAwaySkuRequest, opts ...grpc.CallOption) (*PutAwaySkuResponse, error)
	// 获取店铺sku列表
	GetSkuList(ctx context.Context, in *GetSkuListRequest, opts ...grpc.CallOption) (*GetSkuListResponse, error)
	// 补充sku商品属性
	SupplementSkuProperty(ctx context.Context, in *SupplementSkuPropertyRequest, opts ...grpc.CallOption) (*SupplementSkuPropertyResponse, error)
	// 扣减库存
	DeductInventory(ctx context.Context, in *DeductInventoryRequest, opts ...grpc.CallOption) (*DeductInventoryResponse, error)
	// 恢复库存
	RestoreInventory(ctx context.Context, in *RestoreInventoryRequest, opts ...grpc.CallOption) (*RestoreInventoryResponse, error)
	// 按策略筛选商品价格版本
	FiltrateSkuPriceVersion(ctx context.Context, in *FiltrateSkuPriceVersionRequest, opts ...grpc.CallOption) (*FiltrateSkuPriceVersionResponse, error)
	// 商品库存搜索同步数据(请在业务不繁忙时调用)
	SearchSyncSkuInventory(ctx context.Context, in *SearchSyncSkuInventoryRequest, opts ...grpc.CallOption) (*SearchSyncSkuInventoryResponse, error)
	// 商品搜索
	SearchSkuInventory(ctx context.Context, in *SearchSkuInventoryRequest, opts ...grpc.CallOption) (*SearchSkuInventoryResponse, error)
	// 确认库存
	ConfirmSkuInventory(ctx context.Context, in *ConfirmSkuInventoryRequest, opts ...grpc.CallOption) (*ConfirmSkuInventoryResponse, error)
}

SkuBusinessServiceClient is the client API for SkuBusinessService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

type SkuBusinessServiceServer

type SkuBusinessServiceServer interface {
	// 上架商品
	PutAwaySku(context.Context, *PutAwaySkuRequest) (*PutAwaySkuResponse, error)
	// 获取店铺sku列表
	GetSkuList(context.Context, *GetSkuListRequest) (*GetSkuListResponse, error)
	// 补充sku商品属性
	SupplementSkuProperty(context.Context, *SupplementSkuPropertyRequest) (*SupplementSkuPropertyResponse, error)
	// 扣减库存
	DeductInventory(context.Context, *DeductInventoryRequest) (*DeductInventoryResponse, error)
	// 恢复库存
	RestoreInventory(context.Context, *RestoreInventoryRequest) (*RestoreInventoryResponse, error)
	// 按策略筛选商品价格版本
	FiltrateSkuPriceVersion(context.Context, *FiltrateSkuPriceVersionRequest) (*FiltrateSkuPriceVersionResponse, error)
	// 商品库存搜索同步数据(请在业务不繁忙时调用)
	SearchSyncSkuInventory(context.Context, *SearchSyncSkuInventoryRequest) (*SearchSyncSkuInventoryResponse, error)
	// 商品搜索
	SearchSkuInventory(context.Context, *SearchSkuInventoryRequest) (*SearchSkuInventoryResponse, error)
	// 确认库存
	ConfirmSkuInventory(context.Context, *ConfirmSkuInventoryRequest) (*ConfirmSkuInventoryResponse, error)
}

SkuBusinessServiceServer is the server API for SkuBusinessService service.

type SkuInventoryInfo

type SkuInventoryInfo struct {
	SkuCode       string `protobuf:"bytes,1,opt,name=sku_code,json=skuCode,proto3" json:"sku_code,omitempty"` // 商品唯一标识,代表同一个商品
	Name          string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Price         string `protobuf:"bytes,3,opt,name=price,proto3" json:"price,omitempty"`
	Title         string `protobuf:"bytes,4,opt,name=title,proto3" json:"title,omitempty"`
	SubTitle      string `protobuf:"bytes,5,opt,name=sub_title,json=subTitle,proto3" json:"sub_title,omitempty"`
	Desc          string `protobuf:"bytes,6,opt,name=desc,proto3" json:"desc,omitempty"`
	Production    string `protobuf:"bytes,7,opt,name=production,proto3" json:"production,omitempty"`
	Supplier      string `protobuf:"bytes,8,opt,name=supplier,proto3" json:"supplier,omitempty"`
	Category      int32  `protobuf:"varint,9,opt,name=category,proto3" json:"category,omitempty"`
	Color         string `protobuf:"bytes,10,opt,name=color,proto3" json:"color,omitempty"`
	ColorCode     int32  `protobuf:"varint,11,opt,name=color_code,json=colorCode,proto3" json:"color_code,omitempty"`
	Specification string `protobuf:"bytes,12,opt,name=specification,proto3" json:"specification,omitempty"`
	DescLink      string `protobuf:"bytes,13,opt,name=desc_link,json=descLink,proto3" json:"desc_link,omitempty"`
	State         int32  `protobuf:"varint,14,opt,name=state,proto3" json:"state,omitempty"`
	Version       int64  `protobuf:"varint,15,opt,name=version,proto3" json:"version,omitempty"`             // 商品版本,主要应对调价,下单时需要
	Amount        int64  `protobuf:"varint,16,opt,name=amount,proto3" json:"amount,omitempty"`               // 入库数量
	ShopId        int64  `protobuf:"varint,17,opt,name=shop_id,json=shopId,proto3" json:"shop_id,omitempty"` // 店铺id
	// contains filtered or unexported fields
}

商品库存数据

func (*SkuInventoryInfo) Descriptor deprecated

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

Deprecated: Use SkuInventoryInfo.ProtoReflect.Descriptor instead.

func (*SkuInventoryInfo) GetAmount

func (x *SkuInventoryInfo) GetAmount() int64

func (*SkuInventoryInfo) GetCategory

func (x *SkuInventoryInfo) GetCategory() int32

func (*SkuInventoryInfo) GetColor

func (x *SkuInventoryInfo) GetColor() string

func (*SkuInventoryInfo) GetColorCode

func (x *SkuInventoryInfo) GetColorCode() int32

func (*SkuInventoryInfo) GetDesc

func (x *SkuInventoryInfo) GetDesc() string
func (x *SkuInventoryInfo) GetDescLink() string

func (*SkuInventoryInfo) GetName

func (x *SkuInventoryInfo) GetName() string

func (*SkuInventoryInfo) GetPrice

func (x *SkuInventoryInfo) GetPrice() string

func (*SkuInventoryInfo) GetProduction

func (x *SkuInventoryInfo) GetProduction() string

func (*SkuInventoryInfo) GetShopId

func (x *SkuInventoryInfo) GetShopId() int64

func (*SkuInventoryInfo) GetSkuCode

func (x *SkuInventoryInfo) GetSkuCode() string

func (*SkuInventoryInfo) GetSpecification

func (x *SkuInventoryInfo) GetSpecification() string

func (*SkuInventoryInfo) GetState

func (x *SkuInventoryInfo) GetState() int32

func (*SkuInventoryInfo) GetSubTitle

func (x *SkuInventoryInfo) GetSubTitle() string

func (*SkuInventoryInfo) GetSupplier

func (x *SkuInventoryInfo) GetSupplier() string

func (*SkuInventoryInfo) GetTitle

func (x *SkuInventoryInfo) GetTitle() string

func (*SkuInventoryInfo) GetVersion

func (x *SkuInventoryInfo) GetVersion() int64

func (*SkuInventoryInfo) ProtoMessage

func (*SkuInventoryInfo) ProtoMessage()

func (*SkuInventoryInfo) ProtoReflect

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

func (*SkuInventoryInfo) Reset

func (x *SkuInventoryInfo) Reset()

func (*SkuInventoryInfo) String

func (x *SkuInventoryInfo) String() string

type SkuPricePolicyFiltrateType

type SkuPricePolicyFiltrateType int32
const (
	SkuPricePolicyFiltrateType_VERSION_SECTION SkuPricePolicyFiltrateType = 0 // 按版本区间
	SkuPricePolicyFiltrateType_VERSION_UPPER   SkuPricePolicyFiltrateType = 1 // 版本上限
	SkuPricePolicyFiltrateType_VERSION_LOWER   SkuPricePolicyFiltrateType = 2 // 版本下限
)

func (SkuPricePolicyFiltrateType) Descriptor

func (SkuPricePolicyFiltrateType) Enum

func (SkuPricePolicyFiltrateType) EnumDescriptor deprecated

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

Deprecated: Use SkuPricePolicyFiltrateType.Descriptor instead.

func (SkuPricePolicyFiltrateType) Number

func (SkuPricePolicyFiltrateType) String

func (SkuPricePolicyFiltrateType) Type

type SkuPriceVersionEntry

type SkuPriceVersionEntry struct {
	SkuCode string `protobuf:"bytes,2,opt,name=sku_code,json=skuCode,proto3" json:"sku_code,omitempty"`
	Price   string `protobuf:"bytes,3,opt,name=price,proto3" json:"price,omitempty"`
	Version int64  `protobuf:"varint,4,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*SkuPriceVersionEntry) Descriptor deprecated

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

Deprecated: Use SkuPriceVersionEntry.ProtoReflect.Descriptor instead.

func (*SkuPriceVersionEntry) GetPrice

func (x *SkuPriceVersionEntry) GetPrice() string

func (*SkuPriceVersionEntry) GetSkuCode

func (x *SkuPriceVersionEntry) GetSkuCode() string

func (*SkuPriceVersionEntry) GetVersion

func (x *SkuPriceVersionEntry) GetVersion() int64

func (*SkuPriceVersionEntry) ProtoMessage

func (*SkuPriceVersionEntry) ProtoMessage()

func (*SkuPriceVersionEntry) ProtoReflect

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

func (*SkuPriceVersionEntry) Reset

func (x *SkuPriceVersionEntry) Reset()

func (*SkuPriceVersionEntry) String

func (x *SkuPriceVersionEntry) String() string

type SkuPriceVersionSet

type SkuPriceVersionSet struct {
	ShopId    int64                   `protobuf:"varint,1,opt,name=shop_id,json=shopId,proto3" json:"shop_id,omitempty"`
	EntryList []*SkuPriceVersionEntry `protobuf:"bytes,2,rep,name=entry_list,json=entryList,proto3" json:"entry_list,omitempty"`
	// contains filtered or unexported fields
}

func (*SkuPriceVersionSet) Descriptor deprecated

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

Deprecated: Use SkuPriceVersionSet.ProtoReflect.Descriptor instead.

func (*SkuPriceVersionSet) GetEntryList

func (x *SkuPriceVersionSet) GetEntryList() []*SkuPriceVersionEntry

func (*SkuPriceVersionSet) GetShopId

func (x *SkuPriceVersionSet) GetShopId() int64

func (*SkuPriceVersionSet) ProtoMessage

func (*SkuPriceVersionSet) ProtoMessage()

func (*SkuPriceVersionSet) ProtoReflect

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

func (*SkuPriceVersionSet) Reset

func (x *SkuPriceVersionSet) Reset()

func (*SkuPriceVersionSet) String

func (x *SkuPriceVersionSet) String() string

type SupplementSkuPropertyRequest

type SupplementSkuPropertyRequest struct {
	ShopId            int64          `protobuf:"varint,11,opt,name=shop_id,json=shopId,proto3" json:"shop_id,omitempty"`
	SkuCode           string         `protobuf:"bytes,12,opt,name=sku_code,json=skuCode,proto3" json:"sku_code,omitempty"` // 商品唯一sku
	Size              string         `protobuf:"bytes,13,opt,name=size,proto3" json:"size,omitempty"`
	Shape             string         `protobuf:"bytes,14,opt,name=shape,proto3" json:"shape,omitempty"`
	ProductionCountry string         `protobuf:"bytes,15,opt,name=production_country,json=productionCountry,proto3" json:"production_country,omitempty"`
	ProductionDate    string         `protobuf:"bytes,16,opt,name=production_date,json=productionDate,proto3" json:"production_date,omitempty"`
	ShelfLife         string         `protobuf:"bytes,17,opt,name=shelf_life,json=shelfLife,proto3" json:"shelf_life,omitempty"`
	Name              string         `protobuf:"bytes,18,opt,name=name,proto3" json:"name,omitempty"`
	OutTradeNo        string         `protobuf:"bytes,2,opt,name=out_trade_no,json=outTradeNo,proto3" json:"out_trade_no,omitempty"`
	OperationMeta     *OperationMeta `protobuf:"bytes,199,opt,name=operation_meta,json=operationMeta,proto3" json:"operation_meta,omitempty"`
	OperationType     OperationType  `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*SupplementSkuPropertyRequest) Descriptor deprecated

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

Deprecated: Use SupplementSkuPropertyRequest.ProtoReflect.Descriptor instead.

func (*SupplementSkuPropertyRequest) GetName

func (x *SupplementSkuPropertyRequest) GetName() string

func (*SupplementSkuPropertyRequest) GetOperationMeta

func (x *SupplementSkuPropertyRequest) GetOperationMeta() *OperationMeta

func (*SupplementSkuPropertyRequest) GetOperationType

func (x *SupplementSkuPropertyRequest) GetOperationType() OperationType

func (*SupplementSkuPropertyRequest) GetOutTradeNo

func (x *SupplementSkuPropertyRequest) GetOutTradeNo() string

func (*SupplementSkuPropertyRequest) GetProductionCountry

func (x *SupplementSkuPropertyRequest) GetProductionCountry() string

func (*SupplementSkuPropertyRequest) GetProductionDate

func (x *SupplementSkuPropertyRequest) GetProductionDate() string

func (*SupplementSkuPropertyRequest) GetShape

func (x *SupplementSkuPropertyRequest) GetShape() string

func (*SupplementSkuPropertyRequest) GetShelfLife

func (x *SupplementSkuPropertyRequest) GetShelfLife() string

func (*SupplementSkuPropertyRequest) GetShopId

func (x *SupplementSkuPropertyRequest) GetShopId() int64

func (*SupplementSkuPropertyRequest) GetSize

func (x *SupplementSkuPropertyRequest) GetSize() string

func (*SupplementSkuPropertyRequest) GetSkuCode

func (x *SupplementSkuPropertyRequest) GetSkuCode() string

func (*SupplementSkuPropertyRequest) ProtoMessage

func (*SupplementSkuPropertyRequest) ProtoMessage()

func (*SupplementSkuPropertyRequest) ProtoReflect

func (*SupplementSkuPropertyRequest) Reset

func (x *SupplementSkuPropertyRequest) Reset()

func (*SupplementSkuPropertyRequest) String

type SupplementSkuPropertyResponse

type SupplementSkuPropertyResponse struct {
	Common *CommonResponse `protobuf:"bytes,1,opt,name=common,proto3" json:"common,omitempty"`
	// contains filtered or unexported fields
}

func (*SupplementSkuPropertyResponse) Descriptor deprecated

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

Deprecated: Use SupplementSkuPropertyResponse.ProtoReflect.Descriptor instead.

func (*SupplementSkuPropertyResponse) GetCommon

func (*SupplementSkuPropertyResponse) ProtoMessage

func (*SupplementSkuPropertyResponse) ProtoMessage()

func (*SupplementSkuPropertyResponse) ProtoReflect

func (*SupplementSkuPropertyResponse) Reset

func (x *SupplementSkuPropertyResponse) Reset()

func (*SupplementSkuPropertyResponse) String

type UnimplementedSkuBusinessServiceServer

type UnimplementedSkuBusinessServiceServer struct {
}

UnimplementedSkuBusinessServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedSkuBusinessServiceServer) ConfirmSkuInventory

func (*UnimplementedSkuBusinessServiceServer) DeductInventory

func (*UnimplementedSkuBusinessServiceServer) GetSkuList

func (*UnimplementedSkuBusinessServiceServer) PutAwaySku

func (*UnimplementedSkuBusinessServiceServer) RestoreInventory

func (*UnimplementedSkuBusinessServiceServer) SearchSkuInventory

func (*UnimplementedSkuBusinessServiceServer) SearchSyncSkuInventory

func (*UnimplementedSkuBusinessServiceServer) SupplementSkuProperty

Jump to

Keyboard shortcuts

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