Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterProductRpcServiceServer(s grpc.ServiceRegistrar, srv ProductRpcServiceServer)
- func RegisterTransactionsRpcServiceServer(s grpc.ServiceRegistrar, srv TransactionsRpcServiceServer)
- type CloseOrderParams
- func (*CloseOrderParams) Descriptor() ([]byte, []int)deprecated
- func (x *CloseOrderParams) GetKey() string
- func (x *CloseOrderParams) GetOutTradeNo() string
- func (x *CloseOrderParams) GetPlatform() string
- func (*CloseOrderParams) ProtoMessage()
- func (x *CloseOrderParams) ProtoReflect() protoreflect.Message
- func (x *CloseOrderParams) Reset()
- func (x *CloseOrderParams) String() string
- type CloseOrderResp
- func (*CloseOrderResp) Descriptor() ([]byte, []int)deprecated
- func (x *CloseOrderResp) GetCode() int32
- func (x *CloseOrderResp) GetData() *CloseOrderRespData
- func (x *CloseOrderResp) GetMsg() string
- func (x *CloseOrderResp) GetPath() string
- func (x *CloseOrderResp) GetRequestID() string
- func (*CloseOrderResp) ProtoMessage()
- func (x *CloseOrderResp) ProtoReflect() protoreflect.Message
- func (x *CloseOrderResp) Reset()
- func (x *CloseOrderResp) String() string
- type CloseOrderRespData
- func (*CloseOrderRespData) Descriptor() ([]byte, []int)deprecated
- func (x *CloseOrderRespData) GetAppid() string
- func (x *CloseOrderRespData) GetErrCode() string
- func (x *CloseOrderRespData) GetErrMsg() string
- func (x *CloseOrderRespData) GetKey() string
- func (x *CloseOrderRespData) GetOutTradeNo() string
- func (x *CloseOrderRespData) GetPlatform() string
- func (*CloseOrderRespData) ProtoMessage()
- func (x *CloseOrderRespData) ProtoReflect() protoreflect.Message
- func (x *CloseOrderRespData) Reset()
- func (x *CloseOrderRespData) String() string
- type CreateOrderParams
- func (*CreateOrderParams) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOrderParams) GetCustomDesc() string
- func (x *CreateOrderParams) GetCustomName() string
- func (x *CreateOrderParams) GetExtraData() string
- func (x *CreateOrderParams) GetGoodsTags() string
- func (x *CreateOrderParams) GetKey() string
- func (x *CreateOrderParams) GetOpenid() string
- func (x *CreateOrderParams) GetPlatform() string
- func (x *CreateOrderParams) GetProductSn() string
- func (x *CreateOrderParams) GetProfitSharing() bool
- func (x *CreateOrderParams) GetQuantity() int64
- func (x *CreateOrderParams) GetSceneInfo() *MiniAppJSAPICreateOrderReqSceneInfo
- func (x *CreateOrderParams) GetSupportFapiao() bool
- func (*CreateOrderParams) ProtoMessage()
- func (x *CreateOrderParams) ProtoReflect() protoreflect.Message
- func (x *CreateOrderParams) Reset()
- func (x *CreateOrderParams) String() string
- type CreateOrderResp
- func (*CreateOrderResp) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOrderResp) GetCode() int32
- func (x *CreateOrderResp) GetData() *CreateOrderRespData
- func (x *CreateOrderResp) GetMsg() string
- func (x *CreateOrderResp) GetPath() string
- func (x *CreateOrderResp) GetRequestID() string
- func (*CreateOrderResp) ProtoMessage()
- func (x *CreateOrderResp) ProtoReflect() protoreflect.Message
- func (x *CreateOrderResp) Reset()
- func (x *CreateOrderResp) String() string
- type CreateOrderRespData
- func (*CreateOrderRespData) Descriptor() ([]byte, []int)deprecated
- func (x *CreateOrderRespData) GetAppid() string
- func (x *CreateOrderRespData) GetNonceStr() string
- func (x *CreateOrderRespData) GetOrderNo() string
- func (x *CreateOrderRespData) GetPackage() string
- func (x *CreateOrderRespData) GetPaySign() string
- func (x *CreateOrderRespData) GetPlatform() string
- func (x *CreateOrderRespData) GetPrepayId() string
- func (x *CreateOrderRespData) GetProductSn() string
- func (x *CreateOrderRespData) GetSignType() string
- func (x *CreateOrderRespData) GetTimeStamp() string
- func (*CreateOrderRespData) ProtoMessage()
- func (x *CreateOrderRespData) ProtoReflect() protoreflect.Message
- func (x *CreateOrderRespData) Reset()
- func (x *CreateOrderRespData) String() string
- type MiniAppJSAPICreateOrderReqSceneInfo
- func (*MiniAppJSAPICreateOrderReqSceneInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MiniAppJSAPICreateOrderReqSceneInfo) GetDeviceId() string
- func (x *MiniAppJSAPICreateOrderReqSceneInfo) GetPayerClientIp() string
- func (x *MiniAppJSAPICreateOrderReqSceneInfo) GetStoreInfo() *MiniAppJSAPICreateOrderReqStoreInfo
- func (*MiniAppJSAPICreateOrderReqSceneInfo) ProtoMessage()
- func (x *MiniAppJSAPICreateOrderReqSceneInfo) ProtoReflect() protoreflect.Message
- func (x *MiniAppJSAPICreateOrderReqSceneInfo) Reset()
- func (x *MiniAppJSAPICreateOrderReqSceneInfo) String() string
- type MiniAppJSAPICreateOrderReqSettleInfo
- func (*MiniAppJSAPICreateOrderReqSettleInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MiniAppJSAPICreateOrderReqSettleInfo) GetProfitSharing() bool
- func (*MiniAppJSAPICreateOrderReqSettleInfo) ProtoMessage()
- func (x *MiniAppJSAPICreateOrderReqSettleInfo) ProtoReflect() protoreflect.Message
- func (x *MiniAppJSAPICreateOrderReqSettleInfo) Reset()
- func (x *MiniAppJSAPICreateOrderReqSettleInfo) String() string
- type MiniAppJSAPICreateOrderReqStoreInfo
- func (*MiniAppJSAPICreateOrderReqStoreInfo) Descriptor() ([]byte, []int)deprecated
- func (x *MiniAppJSAPICreateOrderReqStoreInfo) GetAddress() string
- func (x *MiniAppJSAPICreateOrderReqStoreInfo) GetAreaCode() string
- func (x *MiniAppJSAPICreateOrderReqStoreInfo) GetId() string
- func (x *MiniAppJSAPICreateOrderReqStoreInfo) GetName() string
- func (*MiniAppJSAPICreateOrderReqStoreInfo) ProtoMessage()
- func (x *MiniAppJSAPICreateOrderReqStoreInfo) ProtoReflect() protoreflect.Message
- func (x *MiniAppJSAPICreateOrderReqStoreInfo) Reset()
- func (x *MiniAppJSAPICreateOrderReqStoreInfo) String() string
- type Model
- type ModelProduct
- func (*ModelProduct) Descriptor() ([]byte, []int)deprecated
- func (x *ModelProduct) GetContent() string
- func (x *ModelProduct) GetCover() string
- func (x *ModelProduct) GetDesc() string
- func (x *ModelProduct) GetExtra() string
- func (x *ModelProduct) GetId() uint32
- func (x *ModelProduct) GetName() string
- func (x *ModelProduct) GetPType() int32
- func (x *ModelProduct) GetPrice() int64
- func (x *ModelProduct) GetProductSn() string
- func (x *ModelProduct) GetStatus() int32
- func (x *ModelProduct) GetStock() int64
- func (x *ModelProduct) GetUrl() string
- func (*ModelProduct) ProtoMessage()
- func (x *ModelProduct) ProtoReflect() protoreflect.Message
- func (x *ModelProduct) Reset()
- func (x *ModelProduct) String() string
- type ProductCreateReq
- func (*ProductCreateReq) Descriptor() ([]byte, []int)deprecated
- func (x *ProductCreateReq) GetKey() string
- func (x *ProductCreateReq) GetProduct() *ModelProduct
- func (*ProductCreateReq) ProtoMessage()
- func (x *ProductCreateReq) ProtoReflect() protoreflect.Message
- func (x *ProductCreateReq) Reset()
- func (x *ProductCreateReq) String() string
- type ProductCreateResp
- func (*ProductCreateResp) Descriptor() ([]byte, []int)deprecated
- func (x *ProductCreateResp) GetCode() int32
- func (x *ProductCreateResp) GetData() *ProductModelBase
- func (x *ProductCreateResp) GetMsg() string
- func (x *ProductCreateResp) GetPath() string
- func (x *ProductCreateResp) GetRequestID() string
- func (*ProductCreateResp) ProtoMessage()
- func (x *ProductCreateResp) ProtoReflect() protoreflect.Message
- func (x *ProductCreateResp) Reset()
- func (x *ProductCreateResp) String() string
- type ProductDeleteIdsReq
- func (*ProductDeleteIdsReq) Descriptor() ([]byte, []int)deprecated
- func (x *ProductDeleteIdsReq) GetDeleteType() string
- func (x *ProductDeleteIdsReq) GetIds() []uint32
- func (x *ProductDeleteIdsReq) GetProductSns() []string
- func (*ProductDeleteIdsReq) ProtoMessage()
- func (x *ProductDeleteIdsReq) ProtoReflect() protoreflect.Message
- func (x *ProductDeleteIdsReq) Reset()
- func (x *ProductDeleteIdsReq) String() string
- type ProductDeleteIdsResp
- func (*ProductDeleteIdsResp) Descriptor() ([]byte, []int)deprecated
- func (x *ProductDeleteIdsResp) GetCode() int32
- func (x *ProductDeleteIdsResp) GetData() string
- func (x *ProductDeleteIdsResp) GetMsg() string
- func (x *ProductDeleteIdsResp) GetPath() string
- func (x *ProductDeleteIdsResp) GetRequestID() string
- func (*ProductDeleteIdsResp) ProtoMessage()
- func (x *ProductDeleteIdsResp) ProtoReflect() protoreflect.Message
- func (x *ProductDeleteIdsResp) Reset()
- func (x *ProductDeleteIdsResp) String() string
- type ProductDeleteReq
- func (*ProductDeleteReq) Descriptor() ([]byte, []int)deprecated
- func (x *ProductDeleteReq) GetDeleteType() string
- func (x *ProductDeleteReq) GetId() uint32
- func (x *ProductDeleteReq) GetProductSn() string
- func (*ProductDeleteReq) ProtoMessage()
- func (x *ProductDeleteReq) ProtoReflect() protoreflect.Message
- func (x *ProductDeleteReq) Reset()
- func (x *ProductDeleteReq) String() string
- type ProductDeleteResp
- func (*ProductDeleteResp) Descriptor() ([]byte, []int)deprecated
- func (x *ProductDeleteResp) GetCode() int32
- func (x *ProductDeleteResp) GetData() *ProductModelBase
- func (x *ProductDeleteResp) GetMsg() string
- func (x *ProductDeleteResp) GetPath() string
- func (x *ProductDeleteResp) GetRequestID() string
- func (*ProductDeleteResp) ProtoMessage()
- func (x *ProductDeleteResp) ProtoReflect() protoreflect.Message
- func (x *ProductDeleteResp) Reset()
- func (x *ProductDeleteResp) String() string
- type ProductModelBase
- func (*ProductModelBase) Descriptor() ([]byte, []int)deprecated
- func (x *ProductModelBase) GetId() uint32
- func (x *ProductModelBase) GetProductSn() string
- func (*ProductModelBase) ProtoMessage()
- func (x *ProductModelBase) ProtoReflect() protoreflect.Message
- func (x *ProductModelBase) Reset()
- func (x *ProductModelBase) String() string
- type ProductQueryIdsReq
- func (*ProductQueryIdsReq) Descriptor() ([]byte, []int)deprecated
- func (x *ProductQueryIdsReq) GetIds() []uint32
- func (x *ProductQueryIdsReq) GetProductSns() []string
- func (x *ProductQueryIdsReq) GetQueryType() string
- func (*ProductQueryIdsReq) ProtoMessage()
- func (x *ProductQueryIdsReq) ProtoReflect() protoreflect.Message
- func (x *ProductQueryIdsReq) Reset()
- func (x *ProductQueryIdsReq) String() string
- type ProductQueryIdsResp
- func (*ProductQueryIdsResp) Descriptor() ([]byte, []int)deprecated
- func (x *ProductQueryIdsResp) GetCode() int32
- func (x *ProductQueryIdsResp) GetData() []*ModelProduct
- func (x *ProductQueryIdsResp) GetMsg() string
- func (x *ProductQueryIdsResp) GetPath() string
- func (x *ProductQueryIdsResp) GetRequestID() string
- func (*ProductQueryIdsResp) ProtoMessage()
- func (x *ProductQueryIdsResp) ProtoReflect() protoreflect.Message
- func (x *ProductQueryIdsResp) Reset()
- func (x *ProductQueryIdsResp) String() string
- type ProductQueryListReq
- func (*ProductQueryListReq) Descriptor() ([]byte, []int)deprecated
- func (x *ProductQueryListReq) GetEndTime() int64
- func (x *ProductQueryListReq) GetKeyword() string
- func (x *ProductQueryListReq) GetPType() int32
- func (x *ProductQueryListReq) GetPage() int32
- func (x *ProductQueryListReq) GetPageSize() int32
- func (x *ProductQueryListReq) GetStartTime() int64
- func (*ProductQueryListReq) ProtoMessage()
- func (x *ProductQueryListReq) ProtoReflect() protoreflect.Message
- func (x *ProductQueryListReq) Reset()
- func (x *ProductQueryListReq) String() string
- type ProductQueryListResp
- func (*ProductQueryListResp) Descriptor() ([]byte, []int)deprecated
- func (x *ProductQueryListResp) GetCode() int32
- func (x *ProductQueryListResp) GetData() *ProductQueryListRespData
- func (x *ProductQueryListResp) GetMsg() string
- func (x *ProductQueryListResp) GetPath() string
- func (x *ProductQueryListResp) GetRequestID() string
- func (*ProductQueryListResp) ProtoMessage()
- func (x *ProductQueryListResp) ProtoReflect() protoreflect.Message
- func (x *ProductQueryListResp) Reset()
- func (x *ProductQueryListResp) String() string
- type ProductQueryListRespData
- func (*ProductQueryListRespData) Descriptor() ([]byte, []int)deprecated
- func (x *ProductQueryListRespData) GetList() []*ModelProduct
- func (x *ProductQueryListRespData) GetPage() int32
- func (x *ProductQueryListRespData) GetPageSize() int32
- func (x *ProductQueryListRespData) GetTotal() int64
- func (*ProductQueryListRespData) ProtoMessage()
- func (x *ProductQueryListRespData) ProtoReflect() protoreflect.Message
- func (x *ProductQueryListRespData) Reset()
- func (x *ProductQueryListRespData) String() string
- type ProductQueryReq
- func (*ProductQueryReq) Descriptor() ([]byte, []int)deprecated
- func (x *ProductQueryReq) GetId() uint32
- func (x *ProductQueryReq) GetProductSn() string
- func (x *ProductQueryReq) GetQueryType() string
- func (*ProductQueryReq) ProtoMessage()
- func (x *ProductQueryReq) ProtoReflect() protoreflect.Message
- func (x *ProductQueryReq) Reset()
- func (x *ProductQueryReq) String() string
- type ProductQueryResp
- func (*ProductQueryResp) Descriptor() ([]byte, []int)deprecated
- func (x *ProductQueryResp) GetCode() int32
- func (x *ProductQueryResp) GetData() *ModelProduct
- func (x *ProductQueryResp) GetMsg() string
- func (x *ProductQueryResp) GetPath() string
- func (x *ProductQueryResp) GetRequestID() string
- func (*ProductQueryResp) ProtoMessage()
- func (x *ProductQueryResp) ProtoReflect() protoreflect.Message
- func (x *ProductQueryResp) Reset()
- func (x *ProductQueryResp) String() string
- type ProductRpcServiceClient
- type ProductRpcServiceServer
- type ProductUpdateReq
- type ProductUpdateResp
- func (*ProductUpdateResp) Descriptor() ([]byte, []int)deprecated
- func (x *ProductUpdateResp) GetCode() int32
- func (x *ProductUpdateResp) GetData() *ProductModelBase
- func (x *ProductUpdateResp) GetMsg() string
- func (x *ProductUpdateResp) GetPath() string
- func (x *ProductUpdateResp) GetRequestID() string
- func (*ProductUpdateResp) ProtoMessage()
- func (x *ProductUpdateResp) ProtoReflect() protoreflect.Message
- func (x *ProductUpdateResp) Reset()
- func (x *ProductUpdateResp) String() string
- type QueryOrderParams
- func (*QueryOrderParams) Descriptor() ([]byte, []int)deprecated
- func (x *QueryOrderParams) GetIsUnique() bool
- func (x *QueryOrderParams) GetKey() string
- func (x *QueryOrderParams) GetOutTradeNo() string
- func (x *QueryOrderParams) GetPlatform() string
- func (x *QueryOrderParams) GetPlatformUniqueId() string
- func (x *QueryOrderParams) GetProductSn() string
- func (x *QueryOrderParams) GetQueryType() string
- func (x *QueryOrderParams) GetTransactionId() string
- func (*QueryOrderParams) ProtoMessage()
- func (x *QueryOrderParams) ProtoReflect() protoreflect.Message
- func (x *QueryOrderParams) Reset()
- func (x *QueryOrderParams) String() string
- type QueryOrderResp
- func (*QueryOrderResp) Descriptor() ([]byte, []int)deprecated
- func (x *QueryOrderResp) GetCode() int32
- func (x *QueryOrderResp) GetData() *QueryOrderRespData
- func (x *QueryOrderResp) GetMsg() string
- func (x *QueryOrderResp) GetPath() string
- func (x *QueryOrderResp) GetRequestID() string
- func (*QueryOrderResp) ProtoMessage()
- func (x *QueryOrderResp) ProtoReflect() protoreflect.Message
- func (x *QueryOrderResp) Reset()
- func (x *QueryOrderResp) String() string
- type QueryOrderRespData
- func (*QueryOrderRespData) Descriptor() ([]byte, []int)deprecated
- func (x *QueryOrderRespData) GetAmount() *WechatMiniAppQueryOrderRespDataAmount
- func (x *QueryOrderRespData) GetAppid() string
- func (x *QueryOrderRespData) GetAttach() string
- func (x *QueryOrderRespData) GetBankType() string
- func (x *QueryOrderRespData) GetCreateOrderRespData() *CreateOrderRespData
- func (x *QueryOrderRespData) GetErrCode() string
- func (x *QueryOrderRespData) GetErrMsg() string
- func (x *QueryOrderRespData) GetExpireTime() string
- func (x *QueryOrderRespData) GetMchid() string
- func (x *QueryOrderRespData) GetOutTradeNo() string
- func (x *QueryOrderRespData) GetPayer() *WechatMiniAppQueryOrderRespDataPayer
- func (x *QueryOrderRespData) GetProductDesc() string
- func (x *QueryOrderRespData) GetProductName() string
- func (x *QueryOrderRespData) GetProductSn() string
- func (x *QueryOrderRespData) GetProductType() int32
- func (x *QueryOrderRespData) GetPromotionDetail() []*WechatMiniAppQueryOrderRespPromotionDetail
- func (x *QueryOrderRespData) GetStatus() int32
- func (x *QueryOrderRespData) GetSuccessTime() string
- func (x *QueryOrderRespData) GetTradeState() string
- func (x *QueryOrderRespData) GetTradeStateDesc() string
- func (x *QueryOrderRespData) GetTradeType() string
- func (x *QueryOrderRespData) GetTransactionId() string
- func (*QueryOrderRespData) ProtoMessage()
- func (x *QueryOrderRespData) ProtoReflect() protoreflect.Message
- func (x *QueryOrderRespData) Reset()
- func (x *QueryOrderRespData) String() string
- type TransactionsRpcServiceClient
- type TransactionsRpcServiceServer
- type UnimplementedProductRpcServiceServer
- func (UnimplementedProductRpcServiceServer) ProductCreate(context.Context, *ProductCreateReq) (*ProductCreateResp, error)
- func (UnimplementedProductRpcServiceServer) ProductDelete(context.Context, *ProductDeleteReq) (*ProductDeleteResp, error)
- func (UnimplementedProductRpcServiceServer) ProductDeleteIds(context.Context, *ProductDeleteIdsReq) (*ProductDeleteIdsResp, error)
- func (UnimplementedProductRpcServiceServer) ProductQuery(context.Context, *ProductQueryReq) (*ProductQueryResp, error)
- func (UnimplementedProductRpcServiceServer) ProductQueryIds(context.Context, *ProductQueryIdsReq) (*ProductQueryIdsResp, error)
- func (UnimplementedProductRpcServiceServer) ProductQueryList(context.Context, *ProductQueryListReq) (*ProductQueryListResp, error)
- func (UnimplementedProductRpcServiceServer) ProductUpdate(context.Context, *ProductUpdateReq) (*ProductUpdateResp, error)
- type UnimplementedTransactionsRpcServiceServer
- func (UnimplementedTransactionsRpcServiceServer) CloseOrder(context.Context, *CloseOrderParams) (*CloseOrderResp, error)
- func (UnimplementedTransactionsRpcServiceServer) CreateOrder(context.Context, *CreateOrderParams) (*CreateOrderResp, error)
- func (UnimplementedTransactionsRpcServiceServer) QueryOrder(context.Context, *QueryOrderParams) (*QueryOrderResp, error)
- type UnsafeProductRpcServiceServer
- type UnsafeTransactionsRpcServiceServer
- type WechatMiniAppQueryOrderRespDataAmount
- func (*WechatMiniAppQueryOrderRespDataAmount) Descriptor() ([]byte, []int)deprecated
- func (x *WechatMiniAppQueryOrderRespDataAmount) GetCurrency() string
- func (x *WechatMiniAppQueryOrderRespDataAmount) GetPayerCurrency() string
- func (x *WechatMiniAppQueryOrderRespDataAmount) GetPayerTotal() uint32
- func (x *WechatMiniAppQueryOrderRespDataAmount) GetTotal() uint32
- func (*WechatMiniAppQueryOrderRespDataAmount) ProtoMessage()
- func (x *WechatMiniAppQueryOrderRespDataAmount) ProtoReflect() protoreflect.Message
- func (x *WechatMiniAppQueryOrderRespDataAmount) Reset()
- func (x *WechatMiniAppQueryOrderRespDataAmount) String() string
- type WechatMiniAppQueryOrderRespDataPayer
- func (*WechatMiniAppQueryOrderRespDataPayer) Descriptor() ([]byte, []int)deprecated
- func (x *WechatMiniAppQueryOrderRespDataPayer) GetOpenid() string
- func (*WechatMiniAppQueryOrderRespDataPayer) ProtoMessage()
- func (x *WechatMiniAppQueryOrderRespDataPayer) ProtoReflect() protoreflect.Message
- func (x *WechatMiniAppQueryOrderRespDataPayer) Reset()
- func (x *WechatMiniAppQueryOrderRespDataPayer) String() string
- type WechatMiniAppQueryOrderRespPromotionDetail
- func (*WechatMiniAppQueryOrderRespPromotionDetail) Descriptor() ([]byte, []int)deprecated
- func (x *WechatMiniAppQueryOrderRespPromotionDetail) GetAmount() int32
- func (x *WechatMiniAppQueryOrderRespPromotionDetail) GetCouponId() string
- func (x *WechatMiniAppQueryOrderRespPromotionDetail) GetCurrency() string
- func (x *WechatMiniAppQueryOrderRespPromotionDetail) GetGoodsDetail() []*WechatMiniAppQueryOrderRespPromotionDetailGoodsDetail
- func (x *WechatMiniAppQueryOrderRespPromotionDetail) GetMerchantContribute() int32
- func (x *WechatMiniAppQueryOrderRespPromotionDetail) GetName() string
- func (x *WechatMiniAppQueryOrderRespPromotionDetail) GetOtherContribute() int32
- func (x *WechatMiniAppQueryOrderRespPromotionDetail) GetScope() string
- func (x *WechatMiniAppQueryOrderRespPromotionDetail) GetStockId() string
- func (x *WechatMiniAppQueryOrderRespPromotionDetail) GetType() string
- func (x *WechatMiniAppQueryOrderRespPromotionDetail) GetWechatpayContribute() int32
- func (*WechatMiniAppQueryOrderRespPromotionDetail) ProtoMessage()
- func (x *WechatMiniAppQueryOrderRespPromotionDetail) ProtoReflect() protoreflect.Message
- func (x *WechatMiniAppQueryOrderRespPromotionDetail) Reset()
- func (x *WechatMiniAppQueryOrderRespPromotionDetail) String() string
- type WechatMiniAppQueryOrderRespPromotionDetailGoodsDetail
- func (*WechatMiniAppQueryOrderRespPromotionDetailGoodsDetail) Descriptor() ([]byte, []int)deprecated
- func (x *WechatMiniAppQueryOrderRespPromotionDetailGoodsDetail) GetDiscountAmount() int32
- func (x *WechatMiniAppQueryOrderRespPromotionDetailGoodsDetail) GetGoodsId() string
- func (x *WechatMiniAppQueryOrderRespPromotionDetailGoodsDetail) GetGoodsRemark() string
- func (x *WechatMiniAppQueryOrderRespPromotionDetailGoodsDetail) GetQuantity() int32
- func (x *WechatMiniAppQueryOrderRespPromotionDetailGoodsDetail) GetUnitPrice() int32
- func (*WechatMiniAppQueryOrderRespPromotionDetailGoodsDetail) ProtoMessage()
- func (x *WechatMiniAppQueryOrderRespPromotionDetailGoodsDetail) ProtoReflect() protoreflect.Message
- func (x *WechatMiniAppQueryOrderRespPromotionDetailGoodsDetail) Reset()
- func (x *WechatMiniAppQueryOrderRespPromotionDetailGoodsDetail) String() string
Constants ¶
const ( ProductRpcService_ProductCreate_FullMethodName = "/transactions.ProductRpcService/ProductCreate" ProductRpcService_ProductDelete_FullMethodName = "/transactions.ProductRpcService/ProductDelete" ProductRpcService_ProductDeleteIds_FullMethodName = "/transactions.ProductRpcService/ProductDeleteIds" ProductRpcService_ProductUpdate_FullMethodName = "/transactions.ProductRpcService/ProductUpdate" ProductRpcService_ProductQuery_FullMethodName = "/transactions.ProductRpcService/ProductQuery" ProductRpcService_ProductQueryIds_FullMethodName = "/transactions.ProductRpcService/ProductQueryIds" ProductRpcService_ProductQueryList_FullMethodName = "/transactions.ProductRpcService/ProductQueryList" )
const ( TransactionsRpcService_CreateOrder_FullMethodName = "/transactions.TransactionsRpcService/CreateOrder" TransactionsRpcService_QueryOrder_FullMethodName = "/transactions.TransactionsRpcService/QueryOrder" TransactionsRpcService_CloseOrder_FullMethodName = "/transactions.TransactionsRpcService/CloseOrder" )
Variables ¶
var File_transactions_rpc_service_transactions_rpc_service_proto protoreflect.FileDescriptor
var ProductRpcService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "transactions.ProductRpcService", HandlerType: (*ProductRpcServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ProductCreate", Handler: _ProductRpcService_ProductCreate_Handler, }, { MethodName: "ProductDelete", Handler: _ProductRpcService_ProductDelete_Handler, }, { MethodName: "ProductDeleteIds", Handler: _ProductRpcService_ProductDeleteIds_Handler, }, { MethodName: "ProductUpdate", Handler: _ProductRpcService_ProductUpdate_Handler, }, { MethodName: "ProductQuery", Handler: _ProductRpcService_ProductQuery_Handler, }, { MethodName: "ProductQueryIds", Handler: _ProductRpcService_ProductQueryIds_Handler, }, { MethodName: "ProductQueryList", Handler: _ProductRpcService_ProductQueryList_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "transactions-rpc-service/transactions-rpc-service.proto", }
ProductRpcService_ServiceDesc is the grpc.ServiceDesc for ProductRpcService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var TransactionsRpcService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "transactions.TransactionsRpcService", HandlerType: (*TransactionsRpcServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateOrder", Handler: _TransactionsRpcService_CreateOrder_Handler, }, { MethodName: "QueryOrder", Handler: _TransactionsRpcService_QueryOrder_Handler, }, { MethodName: "CloseOrder", Handler: _TransactionsRpcService_CloseOrder_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "transactions-rpc-service/transactions-rpc-service.proto", }
TransactionsRpcService_ServiceDesc is the grpc.ServiceDesc for TransactionsRpcService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterProductRpcServiceServer ¶
func RegisterProductRpcServiceServer(s grpc.ServiceRegistrar, srv ProductRpcServiceServer)
func RegisterTransactionsRpcServiceServer ¶
func RegisterTransactionsRpcServiceServer(s grpc.ServiceRegistrar, srv TransactionsRpcServiceServer)
Types ¶
type CloseOrderParams ¶
type CloseOrderParams struct { // note: 同步配置中心的数据 Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // note: 率先支持微信支付 Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"` OutTradeNo string `protobuf:"bytes,5,opt,name=outTradeNo,proto3" json:"outTradeNo,omitempty"` // contains filtered or unexported fields }
func (*CloseOrderParams) Descriptor
deprecated
func (*CloseOrderParams) Descriptor() ([]byte, []int)
Deprecated: Use CloseOrderParams.ProtoReflect.Descriptor instead.
func (*CloseOrderParams) GetKey ¶
func (x *CloseOrderParams) GetKey() string
func (*CloseOrderParams) GetOutTradeNo ¶
func (x *CloseOrderParams) GetOutTradeNo() string
func (*CloseOrderParams) GetPlatform ¶
func (x *CloseOrderParams) GetPlatform() string
func (*CloseOrderParams) ProtoMessage ¶
func (*CloseOrderParams) ProtoMessage()
func (*CloseOrderParams) ProtoReflect ¶
func (x *CloseOrderParams) ProtoReflect() protoreflect.Message
func (*CloseOrderParams) Reset ¶
func (x *CloseOrderParams) Reset()
func (*CloseOrderParams) String ¶
func (x *CloseOrderParams) String() string
type CloseOrderResp ¶
type CloseOrderResp struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` RequestID string `protobuf:"bytes,3,opt,name=requestID,proto3" json:"requestID,omitempty"` Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` Data *CloseOrderRespData `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*CloseOrderResp) Descriptor
deprecated
func (*CloseOrderResp) Descriptor() ([]byte, []int)
Deprecated: Use CloseOrderResp.ProtoReflect.Descriptor instead.
func (*CloseOrderResp) GetCode ¶
func (x *CloseOrderResp) GetCode() int32
func (*CloseOrderResp) GetData ¶
func (x *CloseOrderResp) GetData() *CloseOrderRespData
func (*CloseOrderResp) GetMsg ¶
func (x *CloseOrderResp) GetMsg() string
func (*CloseOrderResp) GetPath ¶
func (x *CloseOrderResp) GetPath() string
func (*CloseOrderResp) GetRequestID ¶
func (x *CloseOrderResp) GetRequestID() string
func (*CloseOrderResp) ProtoMessage ¶
func (*CloseOrderResp) ProtoMessage()
func (*CloseOrderResp) ProtoReflect ¶
func (x *CloseOrderResp) ProtoReflect() protoreflect.Message
func (*CloseOrderResp) Reset ¶
func (x *CloseOrderResp) Reset()
func (*CloseOrderResp) String ¶
func (x *CloseOrderResp) String() string
type CloseOrderRespData ¶
type CloseOrderRespData struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"` Appid string `protobuf:"bytes,3,opt,name=appid,proto3" json:"appid,omitempty"` OutTradeNo string `protobuf:"bytes,4,opt,name=outTradeNo,proto3" json:"outTradeNo,omitempty"` ErrCode string `protobuf:"bytes,5,opt,name=errCode,proto3" json:"errCode,omitempty"` ErrMsg string `protobuf:"bytes,6,opt,name=errMsg,proto3" json:"errMsg,omitempty"` // contains filtered or unexported fields }
func (*CloseOrderRespData) Descriptor
deprecated
func (*CloseOrderRespData) Descriptor() ([]byte, []int)
Deprecated: Use CloseOrderRespData.ProtoReflect.Descriptor instead.
func (*CloseOrderRespData) GetAppid ¶
func (x *CloseOrderRespData) GetAppid() string
func (*CloseOrderRespData) GetErrCode ¶
func (x *CloseOrderRespData) GetErrCode() string
func (*CloseOrderRespData) GetErrMsg ¶
func (x *CloseOrderRespData) GetErrMsg() string
func (*CloseOrderRespData) GetKey ¶
func (x *CloseOrderRespData) GetKey() string
func (*CloseOrderRespData) GetOutTradeNo ¶
func (x *CloseOrderRespData) GetOutTradeNo() string
func (*CloseOrderRespData) GetPlatform ¶
func (x *CloseOrderRespData) GetPlatform() string
func (*CloseOrderRespData) ProtoMessage ¶
func (*CloseOrderRespData) ProtoMessage()
func (*CloseOrderRespData) ProtoReflect ¶
func (x *CloseOrderRespData) ProtoReflect() protoreflect.Message
func (*CloseOrderRespData) Reset ¶
func (x *CloseOrderRespData) Reset()
func (*CloseOrderRespData) String ¶
func (x *CloseOrderRespData) String() string
type CreateOrderParams ¶
type CreateOrderParams struct { // note: 同步配置中心的数据 Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // note: 率先支持微信支付 Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"` // note: 产品信息 ProductSn string `protobuf:"bytes,3,opt,name=productSn,proto3" json:"productSn,omitempty"` Quantity int64 `protobuf:"varint,4,opt,name=quantity,proto3" json:"quantity,omitempty"` ExtraData string `protobuf:"bytes,5,opt,name=extraData,proto3" json:"extraData,omitempty"` // note: 微信相关的数据 GoodsTags string `protobuf:"bytes,6,opt,name=goodsTags,proto3" json:"goodsTags,omitempty"` SupportFapiao bool `protobuf:"varint,7,opt,name=supportFapiao,proto3" json:"supportFapiao,omitempty"` Openid string `protobuf:"bytes,8,opt,name=openid,proto3" json:"openid,omitempty"` ProfitSharing bool `protobuf:"varint,10,opt,name=ProfitSharing,proto3" json:"ProfitSharing,omitempty"` SceneInfo *MiniAppJSAPICreateOrderReqSceneInfo `protobuf:"bytes,11,opt,name=sceneInfo,proto3" json:"sceneInfo,omitempty"` CustomName string `protobuf:"bytes,12,opt,name=customName,proto3" json:"customName,omitempty"` CustomDesc string `protobuf:"bytes,13,opt,name=customDesc,proto3" json:"customDesc,omitempty"` // note: 抖音相关的数据 // contains filtered or unexported fields }
func (*CreateOrderParams) Descriptor
deprecated
func (*CreateOrderParams) Descriptor() ([]byte, []int)
Deprecated: Use CreateOrderParams.ProtoReflect.Descriptor instead.
func (*CreateOrderParams) GetCustomDesc ¶ added in v0.0.58
func (x *CreateOrderParams) GetCustomDesc() string
func (*CreateOrderParams) GetCustomName ¶ added in v0.0.58
func (x *CreateOrderParams) GetCustomName() string
func (*CreateOrderParams) GetExtraData ¶
func (x *CreateOrderParams) GetExtraData() string
func (*CreateOrderParams) GetGoodsTags ¶
func (x *CreateOrderParams) GetGoodsTags() string
func (*CreateOrderParams) GetKey ¶
func (x *CreateOrderParams) GetKey() string
func (*CreateOrderParams) GetOpenid ¶
func (x *CreateOrderParams) GetOpenid() string
func (*CreateOrderParams) GetPlatform ¶
func (x *CreateOrderParams) GetPlatform() string
func (*CreateOrderParams) GetProductSn ¶
func (x *CreateOrderParams) GetProductSn() string
func (*CreateOrderParams) GetProfitSharing ¶
func (x *CreateOrderParams) GetProfitSharing() bool
func (*CreateOrderParams) GetQuantity ¶
func (x *CreateOrderParams) GetQuantity() int64
func (*CreateOrderParams) GetSceneInfo ¶
func (x *CreateOrderParams) GetSceneInfo() *MiniAppJSAPICreateOrderReqSceneInfo
func (*CreateOrderParams) GetSupportFapiao ¶
func (x *CreateOrderParams) GetSupportFapiao() bool
func (*CreateOrderParams) ProtoMessage ¶
func (*CreateOrderParams) ProtoMessage()
func (*CreateOrderParams) ProtoReflect ¶
func (x *CreateOrderParams) ProtoReflect() protoreflect.Message
func (*CreateOrderParams) Reset ¶
func (x *CreateOrderParams) Reset()
func (*CreateOrderParams) String ¶
func (x *CreateOrderParams) String() string
type CreateOrderResp ¶
type CreateOrderResp struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` RequestID string `protobuf:"bytes,3,opt,name=requestID,proto3" json:"requestID,omitempty"` Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` Data *CreateOrderRespData `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
note: 输出订单编号和相关数据编码
func (*CreateOrderResp) Descriptor
deprecated
func (*CreateOrderResp) Descriptor() ([]byte, []int)
Deprecated: Use CreateOrderResp.ProtoReflect.Descriptor instead.
func (*CreateOrderResp) GetCode ¶
func (x *CreateOrderResp) GetCode() int32
func (*CreateOrderResp) GetData ¶
func (x *CreateOrderResp) GetData() *CreateOrderRespData
func (*CreateOrderResp) GetMsg ¶
func (x *CreateOrderResp) GetMsg() string
func (*CreateOrderResp) GetPath ¶
func (x *CreateOrderResp) GetPath() string
func (*CreateOrderResp) GetRequestID ¶
func (x *CreateOrderResp) GetRequestID() string
func (*CreateOrderResp) ProtoMessage ¶
func (*CreateOrderResp) ProtoMessage()
func (*CreateOrderResp) ProtoReflect ¶
func (x *CreateOrderResp) ProtoReflect() protoreflect.Message
func (*CreateOrderResp) Reset ¶
func (x *CreateOrderResp) Reset()
func (*CreateOrderResp) String ¶
func (x *CreateOrderResp) String() string
type CreateOrderRespData ¶
type CreateOrderRespData struct { PrepayId string `protobuf:"bytes,1,opt,name=prepayId,proto3" json:"prepayId,omitempty"` Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"` ProductSn string `protobuf:"bytes,3,opt,name=productSn,proto3" json:"productSn,omitempty"` Appid string `protobuf:"bytes,4,opt,name=appid,proto3" json:"appid,omitempty"` TimeStamp string `protobuf:"bytes,5,opt,name=timeStamp,proto3" json:"timeStamp,omitempty"` NonceStr string `protobuf:"bytes,6,opt,name=nonceStr,proto3" json:"nonceStr,omitempty"` Package string `protobuf:"bytes,7,opt,name=package,proto3" json:"package,omitempty"` SignType string `protobuf:"bytes,8,opt,name=signType,proto3" json:"signType,omitempty"` PaySign string `protobuf:"bytes,9,opt,name=paySign,proto3" json:"paySign,omitempty"` OrderNo string `protobuf:"bytes,10,opt,name=orderNo,proto3" json:"orderNo,omitempty"` // contains filtered or unexported fields }
func (*CreateOrderRespData) Descriptor
deprecated
func (*CreateOrderRespData) Descriptor() ([]byte, []int)
Deprecated: Use CreateOrderRespData.ProtoReflect.Descriptor instead.
func (*CreateOrderRespData) GetAppid ¶ added in v0.0.58
func (x *CreateOrderRespData) GetAppid() string
func (*CreateOrderRespData) GetNonceStr ¶ added in v0.0.58
func (x *CreateOrderRespData) GetNonceStr() string
func (*CreateOrderRespData) GetOrderNo ¶ added in v0.0.59
func (x *CreateOrderRespData) GetOrderNo() string
func (*CreateOrderRespData) GetPackage ¶ added in v0.0.58
func (x *CreateOrderRespData) GetPackage() string
func (*CreateOrderRespData) GetPaySign ¶ added in v0.0.58
func (x *CreateOrderRespData) GetPaySign() string
func (*CreateOrderRespData) GetPlatform ¶
func (x *CreateOrderRespData) GetPlatform() string
func (*CreateOrderRespData) GetPrepayId ¶
func (x *CreateOrderRespData) GetPrepayId() string
func (*CreateOrderRespData) GetProductSn ¶
func (x *CreateOrderRespData) GetProductSn() string
func (*CreateOrderRespData) GetSignType ¶ added in v0.0.58
func (x *CreateOrderRespData) GetSignType() string
func (*CreateOrderRespData) GetTimeStamp ¶ added in v0.0.58
func (x *CreateOrderRespData) GetTimeStamp() string
func (*CreateOrderRespData) ProtoMessage ¶
func (*CreateOrderRespData) ProtoMessage()
func (*CreateOrderRespData) ProtoReflect ¶
func (x *CreateOrderRespData) ProtoReflect() protoreflect.Message
func (*CreateOrderRespData) Reset ¶
func (x *CreateOrderRespData) Reset()
func (*CreateOrderRespData) String ¶
func (x *CreateOrderRespData) String() string
type MiniAppJSAPICreateOrderReqSceneInfo ¶
type MiniAppJSAPICreateOrderReqSceneInfo struct { PayerClientIp string `protobuf:"bytes,1,opt,name=payerClientIp,proto3" json:"payerClientIp,omitempty"` DeviceId string `protobuf:"bytes,2,opt,name=deviceId,proto3" json:"deviceId,omitempty"` StoreInfo *MiniAppJSAPICreateOrderReqStoreInfo `protobuf:"bytes,3,opt,name=storeInfo,proto3" json:"storeInfo,omitempty"` // contains filtered or unexported fields }
func (*MiniAppJSAPICreateOrderReqSceneInfo) Descriptor
deprecated
func (*MiniAppJSAPICreateOrderReqSceneInfo) Descriptor() ([]byte, []int)
Deprecated: Use MiniAppJSAPICreateOrderReqSceneInfo.ProtoReflect.Descriptor instead.
func (*MiniAppJSAPICreateOrderReqSceneInfo) GetDeviceId ¶
func (x *MiniAppJSAPICreateOrderReqSceneInfo) GetDeviceId() string
func (*MiniAppJSAPICreateOrderReqSceneInfo) GetPayerClientIp ¶
func (x *MiniAppJSAPICreateOrderReqSceneInfo) GetPayerClientIp() string
func (*MiniAppJSAPICreateOrderReqSceneInfo) GetStoreInfo ¶
func (x *MiniAppJSAPICreateOrderReqSceneInfo) GetStoreInfo() *MiniAppJSAPICreateOrderReqStoreInfo
func (*MiniAppJSAPICreateOrderReqSceneInfo) ProtoMessage ¶
func (*MiniAppJSAPICreateOrderReqSceneInfo) ProtoMessage()
func (*MiniAppJSAPICreateOrderReqSceneInfo) ProtoReflect ¶
func (x *MiniAppJSAPICreateOrderReqSceneInfo) ProtoReflect() protoreflect.Message
func (*MiniAppJSAPICreateOrderReqSceneInfo) Reset ¶
func (x *MiniAppJSAPICreateOrderReqSceneInfo) Reset()
func (*MiniAppJSAPICreateOrderReqSceneInfo) String ¶
func (x *MiniAppJSAPICreateOrderReqSceneInfo) String() string
type MiniAppJSAPICreateOrderReqSettleInfo ¶
type MiniAppJSAPICreateOrderReqSettleInfo struct { ProfitSharing bool `protobuf:"varint,1,opt,name=ProfitSharing,proto3" json:"ProfitSharing,omitempty"` // contains filtered or unexported fields }
func (*MiniAppJSAPICreateOrderReqSettleInfo) Descriptor
deprecated
func (*MiniAppJSAPICreateOrderReqSettleInfo) Descriptor() ([]byte, []int)
Deprecated: Use MiniAppJSAPICreateOrderReqSettleInfo.ProtoReflect.Descriptor instead.
func (*MiniAppJSAPICreateOrderReqSettleInfo) GetProfitSharing ¶
func (x *MiniAppJSAPICreateOrderReqSettleInfo) GetProfitSharing() bool
func (*MiniAppJSAPICreateOrderReqSettleInfo) ProtoMessage ¶
func (*MiniAppJSAPICreateOrderReqSettleInfo) ProtoMessage()
func (*MiniAppJSAPICreateOrderReqSettleInfo) ProtoReflect ¶
func (x *MiniAppJSAPICreateOrderReqSettleInfo) ProtoReflect() protoreflect.Message
func (*MiniAppJSAPICreateOrderReqSettleInfo) Reset ¶
func (x *MiniAppJSAPICreateOrderReqSettleInfo) Reset()
func (*MiniAppJSAPICreateOrderReqSettleInfo) String ¶
func (x *MiniAppJSAPICreateOrderReqSettleInfo) String() string
type MiniAppJSAPICreateOrderReqStoreInfo ¶
type MiniAppJSAPICreateOrderReqStoreInfo struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` AreaCode string `protobuf:"bytes,3,opt,name=areaCode,proto3" json:"areaCode,omitempty"` Address string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*MiniAppJSAPICreateOrderReqStoreInfo) Descriptor
deprecated
func (*MiniAppJSAPICreateOrderReqStoreInfo) Descriptor() ([]byte, []int)
Deprecated: Use MiniAppJSAPICreateOrderReqStoreInfo.ProtoReflect.Descriptor instead.
func (*MiniAppJSAPICreateOrderReqStoreInfo) GetAddress ¶
func (x *MiniAppJSAPICreateOrderReqStoreInfo) GetAddress() string
func (*MiniAppJSAPICreateOrderReqStoreInfo) GetAreaCode ¶
func (x *MiniAppJSAPICreateOrderReqStoreInfo) GetAreaCode() string
func (*MiniAppJSAPICreateOrderReqStoreInfo) GetId ¶
func (x *MiniAppJSAPICreateOrderReqStoreInfo) GetId() string
func (*MiniAppJSAPICreateOrderReqStoreInfo) GetName ¶
func (x *MiniAppJSAPICreateOrderReqStoreInfo) GetName() string
func (*MiniAppJSAPICreateOrderReqStoreInfo) ProtoMessage ¶
func (*MiniAppJSAPICreateOrderReqStoreInfo) ProtoMessage()
func (*MiniAppJSAPICreateOrderReqStoreInfo) ProtoReflect ¶
func (x *MiniAppJSAPICreateOrderReqStoreInfo) ProtoReflect() protoreflect.Message
func (*MiniAppJSAPICreateOrderReqStoreInfo) Reset ¶
func (x *MiniAppJSAPICreateOrderReqStoreInfo) Reset()
func (*MiniAppJSAPICreateOrderReqStoreInfo) String ¶
func (x *MiniAppJSAPICreateOrderReqStoreInfo) String() string
type Model ¶
type Model struct { Id uint32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*Model) Descriptor
deprecated
func (*Model) ProtoMessage ¶
func (*Model) ProtoMessage()
func (*Model) ProtoReflect ¶
func (x *Model) ProtoReflect() protoreflect.Message
type ModelProduct ¶
type ModelProduct struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` ProductSn string `protobuf:"bytes,2,opt,name=productSn,proto3" json:"productSn,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Desc string `protobuf:"bytes,4,opt,name=desc,proto3" json:"desc,omitempty"` Price int64 `protobuf:"varint,5,opt,name=price,proto3" json:"price,omitempty"` // 价格,单位分 PType int32 `protobuf:"varint,6,opt,name=pType,proto3" json:"pType,omitempty"` // 产品类型 Status int32 `protobuf:"varint,7,opt,name=status,proto3" json:"status,omitempty"` // 状态 Cover string `protobuf:"bytes,8,opt,name=cover,proto3" json:"cover,omitempty"` // 封面 Content string `protobuf:"bytes,9,opt,name=content,proto3" json:"content,omitempty"` // 产品详情 Url string `protobuf:"bytes,10,opt,name=url,proto3" json:"url,omitempty"` Stock int64 `protobuf:"varint,11,opt,name=stock,proto3" json:"stock,omitempty"` // 库存 Extra string `protobuf:"bytes,12,opt,name=extra,proto3" json:"extra,omitempty"` // 额外信息,json // contains filtered or unexported fields }
func (*ModelProduct) Descriptor
deprecated
func (*ModelProduct) Descriptor() ([]byte, []int)
Deprecated: Use ModelProduct.ProtoReflect.Descriptor instead.
func (*ModelProduct) GetContent ¶
func (x *ModelProduct) GetContent() string
func (*ModelProduct) GetCover ¶
func (x *ModelProduct) GetCover() string
func (*ModelProduct) GetDesc ¶
func (x *ModelProduct) GetDesc() string
func (*ModelProduct) GetExtra ¶
func (x *ModelProduct) GetExtra() string
func (*ModelProduct) GetId ¶
func (x *ModelProduct) GetId() uint32
func (*ModelProduct) GetName ¶
func (x *ModelProduct) GetName() string
func (*ModelProduct) GetPType ¶
func (x *ModelProduct) GetPType() int32
func (*ModelProduct) GetPrice ¶
func (x *ModelProduct) GetPrice() int64
func (*ModelProduct) GetProductSn ¶
func (x *ModelProduct) GetProductSn() string
func (*ModelProduct) GetStatus ¶
func (x *ModelProduct) GetStatus() int32
func (*ModelProduct) GetStock ¶
func (x *ModelProduct) GetStock() int64
func (*ModelProduct) GetUrl ¶
func (x *ModelProduct) GetUrl() string
func (*ModelProduct) ProtoMessage ¶
func (*ModelProduct) ProtoMessage()
func (*ModelProduct) ProtoReflect ¶
func (x *ModelProduct) ProtoReflect() protoreflect.Message
func (*ModelProduct) Reset ¶
func (x *ModelProduct) Reset()
func (*ModelProduct) String ¶
func (x *ModelProduct) String() string
type ProductCreateReq ¶
type ProductCreateReq struct { Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // note: 同步配置中心的数据 Product *ModelProduct `protobuf:"bytes,2,opt,name=product,proto3" json:"product,omitempty"` // contains filtered or unexported fields }
func (*ProductCreateReq) Descriptor
deprecated
func (*ProductCreateReq) Descriptor() ([]byte, []int)
Deprecated: Use ProductCreateReq.ProtoReflect.Descriptor instead.
func (*ProductCreateReq) GetKey ¶
func (x *ProductCreateReq) GetKey() string
func (*ProductCreateReq) GetProduct ¶
func (x *ProductCreateReq) GetProduct() *ModelProduct
func (*ProductCreateReq) ProtoMessage ¶
func (*ProductCreateReq) ProtoMessage()
func (*ProductCreateReq) ProtoReflect ¶
func (x *ProductCreateReq) ProtoReflect() protoreflect.Message
func (*ProductCreateReq) Reset ¶
func (x *ProductCreateReq) Reset()
func (*ProductCreateReq) String ¶
func (x *ProductCreateReq) String() string
type ProductCreateResp ¶
type ProductCreateResp struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` RequestID string `protobuf:"bytes,3,opt,name=requestID,proto3" json:"requestID,omitempty"` Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` Data *ProductModelBase `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ProductCreateResp) Descriptor
deprecated
func (*ProductCreateResp) Descriptor() ([]byte, []int)
Deprecated: Use ProductCreateResp.ProtoReflect.Descriptor instead.
func (*ProductCreateResp) GetCode ¶
func (x *ProductCreateResp) GetCode() int32
func (*ProductCreateResp) GetData ¶
func (x *ProductCreateResp) GetData() *ProductModelBase
func (*ProductCreateResp) GetMsg ¶
func (x *ProductCreateResp) GetMsg() string
func (*ProductCreateResp) GetPath ¶
func (x *ProductCreateResp) GetPath() string
func (*ProductCreateResp) GetRequestID ¶
func (x *ProductCreateResp) GetRequestID() string
func (*ProductCreateResp) ProtoMessage ¶
func (*ProductCreateResp) ProtoMessage()
func (*ProductCreateResp) ProtoReflect ¶
func (x *ProductCreateResp) ProtoReflect() protoreflect.Message
func (*ProductCreateResp) Reset ¶
func (x *ProductCreateResp) Reset()
func (*ProductCreateResp) String ¶
func (x *ProductCreateResp) String() string
type ProductDeleteIdsReq ¶
type ProductDeleteIdsReq struct { // note: 删除方式, id, productNum 二选一 DeleteType string `protobuf:"bytes,1,opt,name=deleteType,proto3" json:"deleteType,omitempty"` Ids []uint32 `protobuf:"varint,2,rep,packed,name=ids,proto3" json:"ids,omitempty"` ProductSns []string `protobuf:"bytes,3,rep,name=productSns,proto3" json:"productSns,omitempty"` // contains filtered or unexported fields }
func (*ProductDeleteIdsReq) Descriptor
deprecated
func (*ProductDeleteIdsReq) Descriptor() ([]byte, []int)
Deprecated: Use ProductDeleteIdsReq.ProtoReflect.Descriptor instead.
func (*ProductDeleteIdsReq) GetDeleteType ¶
func (x *ProductDeleteIdsReq) GetDeleteType() string
func (*ProductDeleteIdsReq) GetIds ¶
func (x *ProductDeleteIdsReq) GetIds() []uint32
func (*ProductDeleteIdsReq) GetProductSns ¶
func (x *ProductDeleteIdsReq) GetProductSns() []string
func (*ProductDeleteIdsReq) ProtoMessage ¶
func (*ProductDeleteIdsReq) ProtoMessage()
func (*ProductDeleteIdsReq) ProtoReflect ¶
func (x *ProductDeleteIdsReq) ProtoReflect() protoreflect.Message
func (*ProductDeleteIdsReq) Reset ¶
func (x *ProductDeleteIdsReq) Reset()
func (*ProductDeleteIdsReq) String ¶
func (x *ProductDeleteIdsReq) String() string
type ProductDeleteIdsResp ¶
type ProductDeleteIdsResp struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` RequestID string `protobuf:"bytes,3,opt,name=requestID,proto3" json:"requestID,omitempty"` Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` Data string `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ProductDeleteIdsResp) Descriptor
deprecated
func (*ProductDeleteIdsResp) Descriptor() ([]byte, []int)
Deprecated: Use ProductDeleteIdsResp.ProtoReflect.Descriptor instead.
func (*ProductDeleteIdsResp) GetCode ¶
func (x *ProductDeleteIdsResp) GetCode() int32
func (*ProductDeleteIdsResp) GetData ¶
func (x *ProductDeleteIdsResp) GetData() string
func (*ProductDeleteIdsResp) GetMsg ¶
func (x *ProductDeleteIdsResp) GetMsg() string
func (*ProductDeleteIdsResp) GetPath ¶
func (x *ProductDeleteIdsResp) GetPath() string
func (*ProductDeleteIdsResp) GetRequestID ¶
func (x *ProductDeleteIdsResp) GetRequestID() string
func (*ProductDeleteIdsResp) ProtoMessage ¶
func (*ProductDeleteIdsResp) ProtoMessage()
func (*ProductDeleteIdsResp) ProtoReflect ¶
func (x *ProductDeleteIdsResp) ProtoReflect() protoreflect.Message
func (*ProductDeleteIdsResp) Reset ¶
func (x *ProductDeleteIdsResp) Reset()
func (*ProductDeleteIdsResp) String ¶
func (x *ProductDeleteIdsResp) String() string
type ProductDeleteReq ¶
type ProductDeleteReq struct { // note: 删除方式, id, productNum 二选一 DeleteType string `protobuf:"bytes,1,opt,name=deleteType,proto3" json:"deleteType,omitempty"` Id uint32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` ProductSn string `protobuf:"bytes,3,opt,name=productSn,proto3" json:"productSn,omitempty"` // contains filtered or unexported fields }
func (*ProductDeleteReq) Descriptor
deprecated
func (*ProductDeleteReq) Descriptor() ([]byte, []int)
Deprecated: Use ProductDeleteReq.ProtoReflect.Descriptor instead.
func (*ProductDeleteReq) GetDeleteType ¶
func (x *ProductDeleteReq) GetDeleteType() string
func (*ProductDeleteReq) GetId ¶
func (x *ProductDeleteReq) GetId() uint32
func (*ProductDeleteReq) GetProductSn ¶
func (x *ProductDeleteReq) GetProductSn() string
func (*ProductDeleteReq) ProtoMessage ¶
func (*ProductDeleteReq) ProtoMessage()
func (*ProductDeleteReq) ProtoReflect ¶
func (x *ProductDeleteReq) ProtoReflect() protoreflect.Message
func (*ProductDeleteReq) Reset ¶
func (x *ProductDeleteReq) Reset()
func (*ProductDeleteReq) String ¶
func (x *ProductDeleteReq) String() string
type ProductDeleteResp ¶
type ProductDeleteResp struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` RequestID string `protobuf:"bytes,3,opt,name=requestID,proto3" json:"requestID,omitempty"` Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` Data *ProductModelBase `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ProductDeleteResp) Descriptor
deprecated
func (*ProductDeleteResp) Descriptor() ([]byte, []int)
Deprecated: Use ProductDeleteResp.ProtoReflect.Descriptor instead.
func (*ProductDeleteResp) GetCode ¶
func (x *ProductDeleteResp) GetCode() int32
func (*ProductDeleteResp) GetData ¶
func (x *ProductDeleteResp) GetData() *ProductModelBase
func (*ProductDeleteResp) GetMsg ¶
func (x *ProductDeleteResp) GetMsg() string
func (*ProductDeleteResp) GetPath ¶
func (x *ProductDeleteResp) GetPath() string
func (*ProductDeleteResp) GetRequestID ¶
func (x *ProductDeleteResp) GetRequestID() string
func (*ProductDeleteResp) ProtoMessage ¶
func (*ProductDeleteResp) ProtoMessage()
func (*ProductDeleteResp) ProtoReflect ¶
func (x *ProductDeleteResp) ProtoReflect() protoreflect.Message
func (*ProductDeleteResp) Reset ¶
func (x *ProductDeleteResp) Reset()
func (*ProductDeleteResp) String ¶
func (x *ProductDeleteResp) String() string
type ProductModelBase ¶
type ProductModelBase struct { Id uint32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` ProductSn string `protobuf:"bytes,3,opt,name=productSn,proto3" json:"productSn,omitempty"` // contains filtered or unexported fields }
func (*ProductModelBase) Descriptor
deprecated
func (*ProductModelBase) Descriptor() ([]byte, []int)
Deprecated: Use ProductModelBase.ProtoReflect.Descriptor instead.
func (*ProductModelBase) GetId ¶
func (x *ProductModelBase) GetId() uint32
func (*ProductModelBase) GetProductSn ¶
func (x *ProductModelBase) GetProductSn() string
func (*ProductModelBase) ProtoMessage ¶
func (*ProductModelBase) ProtoMessage()
func (*ProductModelBase) ProtoReflect ¶
func (x *ProductModelBase) ProtoReflect() protoreflect.Message
func (*ProductModelBase) Reset ¶
func (x *ProductModelBase) Reset()
func (*ProductModelBase) String ¶
func (x *ProductModelBase) String() string
type ProductQueryIdsReq ¶
type ProductQueryIdsReq struct { // note: 查询方式, id, productNum 二选一 QueryType string `protobuf:"bytes,1,opt,name=queryType,proto3" json:"queryType,omitempty"` Ids []uint32 `protobuf:"varint,2,rep,packed,name=ids,proto3" json:"ids,omitempty"` ProductSns []string `protobuf:"bytes,3,rep,name=productSns,proto3" json:"productSns,omitempty"` // contains filtered or unexported fields }
func (*ProductQueryIdsReq) Descriptor
deprecated
func (*ProductQueryIdsReq) Descriptor() ([]byte, []int)
Deprecated: Use ProductQueryIdsReq.ProtoReflect.Descriptor instead.
func (*ProductQueryIdsReq) GetIds ¶
func (x *ProductQueryIdsReq) GetIds() []uint32
func (*ProductQueryIdsReq) GetProductSns ¶
func (x *ProductQueryIdsReq) GetProductSns() []string
func (*ProductQueryIdsReq) GetQueryType ¶
func (x *ProductQueryIdsReq) GetQueryType() string
func (*ProductQueryIdsReq) ProtoMessage ¶
func (*ProductQueryIdsReq) ProtoMessage()
func (*ProductQueryIdsReq) ProtoReflect ¶
func (x *ProductQueryIdsReq) ProtoReflect() protoreflect.Message
func (*ProductQueryIdsReq) Reset ¶
func (x *ProductQueryIdsReq) Reset()
func (*ProductQueryIdsReq) String ¶
func (x *ProductQueryIdsReq) String() string
type ProductQueryIdsResp ¶
type ProductQueryIdsResp struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` RequestID string `protobuf:"bytes,3,opt,name=requestID,proto3" json:"requestID,omitempty"` Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` Data []*ModelProduct `protobuf:"bytes,5,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ProductQueryIdsResp) Descriptor
deprecated
func (*ProductQueryIdsResp) Descriptor() ([]byte, []int)
Deprecated: Use ProductQueryIdsResp.ProtoReflect.Descriptor instead.
func (*ProductQueryIdsResp) GetCode ¶
func (x *ProductQueryIdsResp) GetCode() int32
func (*ProductQueryIdsResp) GetData ¶
func (x *ProductQueryIdsResp) GetData() []*ModelProduct
func (*ProductQueryIdsResp) GetMsg ¶
func (x *ProductQueryIdsResp) GetMsg() string
func (*ProductQueryIdsResp) GetPath ¶
func (x *ProductQueryIdsResp) GetPath() string
func (*ProductQueryIdsResp) GetRequestID ¶
func (x *ProductQueryIdsResp) GetRequestID() string
func (*ProductQueryIdsResp) ProtoMessage ¶
func (*ProductQueryIdsResp) ProtoMessage()
func (*ProductQueryIdsResp) ProtoReflect ¶
func (x *ProductQueryIdsResp) ProtoReflect() protoreflect.Message
func (*ProductQueryIdsResp) Reset ¶
func (x *ProductQueryIdsResp) Reset()
func (*ProductQueryIdsResp) String ¶
func (x *ProductQueryIdsResp) String() string
type ProductQueryListReq ¶
type ProductQueryListReq struct { Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` PageSize int32 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize,omitempty"` StartTime int64 `protobuf:"varint,3,opt,name=startTime,proto3" json:"startTime,omitempty"` EndTime int64 `protobuf:"varint,4,opt,name=endTime,proto3" json:"endTime,omitempty"` Keyword string `protobuf:"bytes,5,opt,name=keyword,proto3" json:"keyword,omitempty"` PType int32 `protobuf:"varint,6,opt,name=pType,proto3" json:"pType,omitempty"` // contains filtered or unexported fields }
func (*ProductQueryListReq) Descriptor
deprecated
func (*ProductQueryListReq) Descriptor() ([]byte, []int)
Deprecated: Use ProductQueryListReq.ProtoReflect.Descriptor instead.
func (*ProductQueryListReq) GetEndTime ¶
func (x *ProductQueryListReq) GetEndTime() int64
func (*ProductQueryListReq) GetKeyword ¶
func (x *ProductQueryListReq) GetKeyword() string
func (*ProductQueryListReq) GetPType ¶
func (x *ProductQueryListReq) GetPType() int32
func (*ProductQueryListReq) GetPage ¶
func (x *ProductQueryListReq) GetPage() int32
func (*ProductQueryListReq) GetPageSize ¶
func (x *ProductQueryListReq) GetPageSize() int32
func (*ProductQueryListReq) GetStartTime ¶
func (x *ProductQueryListReq) GetStartTime() int64
func (*ProductQueryListReq) ProtoMessage ¶
func (*ProductQueryListReq) ProtoMessage()
func (*ProductQueryListReq) ProtoReflect ¶
func (x *ProductQueryListReq) ProtoReflect() protoreflect.Message
func (*ProductQueryListReq) Reset ¶
func (x *ProductQueryListReq) Reset()
func (*ProductQueryListReq) String ¶
func (x *ProductQueryListReq) String() string
type ProductQueryListResp ¶
type ProductQueryListResp struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` RequestID string `protobuf:"bytes,3,opt,name=requestID,proto3" json:"requestID,omitempty"` Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` Data *ProductQueryListRespData `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ProductQueryListResp) Descriptor
deprecated
func (*ProductQueryListResp) Descriptor() ([]byte, []int)
Deprecated: Use ProductQueryListResp.ProtoReflect.Descriptor instead.
func (*ProductQueryListResp) GetCode ¶
func (x *ProductQueryListResp) GetCode() int32
func (*ProductQueryListResp) GetData ¶
func (x *ProductQueryListResp) GetData() *ProductQueryListRespData
func (*ProductQueryListResp) GetMsg ¶
func (x *ProductQueryListResp) GetMsg() string
func (*ProductQueryListResp) GetPath ¶
func (x *ProductQueryListResp) GetPath() string
func (*ProductQueryListResp) GetRequestID ¶
func (x *ProductQueryListResp) GetRequestID() string
func (*ProductQueryListResp) ProtoMessage ¶
func (*ProductQueryListResp) ProtoMessage()
func (*ProductQueryListResp) ProtoReflect ¶
func (x *ProductQueryListResp) ProtoReflect() protoreflect.Message
func (*ProductQueryListResp) Reset ¶
func (x *ProductQueryListResp) Reset()
func (*ProductQueryListResp) String ¶
func (x *ProductQueryListResp) String() string
type ProductQueryListRespData ¶
type ProductQueryListRespData struct { List []*ModelProduct `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty"` PageSize int32 `protobuf:"varint,4,opt,name=pageSize,proto3" json:"pageSize,omitempty"` // contains filtered or unexported fields }
func (*ProductQueryListRespData) Descriptor
deprecated
func (*ProductQueryListRespData) Descriptor() ([]byte, []int)
Deprecated: Use ProductQueryListRespData.ProtoReflect.Descriptor instead.
func (*ProductQueryListRespData) GetList ¶
func (x *ProductQueryListRespData) GetList() []*ModelProduct
func (*ProductQueryListRespData) GetPage ¶
func (x *ProductQueryListRespData) GetPage() int32
func (*ProductQueryListRespData) GetPageSize ¶
func (x *ProductQueryListRespData) GetPageSize() int32
func (*ProductQueryListRespData) GetTotal ¶
func (x *ProductQueryListRespData) GetTotal() int64
func (*ProductQueryListRespData) ProtoMessage ¶
func (*ProductQueryListRespData) ProtoMessage()
func (*ProductQueryListRespData) ProtoReflect ¶
func (x *ProductQueryListRespData) ProtoReflect() protoreflect.Message
func (*ProductQueryListRespData) Reset ¶
func (x *ProductQueryListRespData) Reset()
func (*ProductQueryListRespData) String ¶
func (x *ProductQueryListRespData) String() string
type ProductQueryReq ¶
type ProductQueryReq struct { // note: 查询方式, id, productNum 二选一 QueryType string `protobuf:"bytes,1,opt,name=queryType,proto3" json:"queryType,omitempty"` Id uint32 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` ProductSn string `protobuf:"bytes,3,opt,name=productSn,proto3" json:"productSn,omitempty"` // contains filtered or unexported fields }
func (*ProductQueryReq) Descriptor
deprecated
func (*ProductQueryReq) Descriptor() ([]byte, []int)
Deprecated: Use ProductQueryReq.ProtoReflect.Descriptor instead.
func (*ProductQueryReq) GetId ¶
func (x *ProductQueryReq) GetId() uint32
func (*ProductQueryReq) GetProductSn ¶
func (x *ProductQueryReq) GetProductSn() string
func (*ProductQueryReq) GetQueryType ¶
func (x *ProductQueryReq) GetQueryType() string
func (*ProductQueryReq) ProtoMessage ¶
func (*ProductQueryReq) ProtoMessage()
func (*ProductQueryReq) ProtoReflect ¶
func (x *ProductQueryReq) ProtoReflect() protoreflect.Message
func (*ProductQueryReq) Reset ¶
func (x *ProductQueryReq) Reset()
func (*ProductQueryReq) String ¶
func (x *ProductQueryReq) String() string
type ProductQueryResp ¶
type ProductQueryResp struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` RequestID string `protobuf:"bytes,3,opt,name=requestID,proto3" json:"requestID,omitempty"` Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` Data *ModelProduct `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ProductQueryResp) Descriptor
deprecated
func (*ProductQueryResp) Descriptor() ([]byte, []int)
Deprecated: Use ProductQueryResp.ProtoReflect.Descriptor instead.
func (*ProductQueryResp) GetCode ¶
func (x *ProductQueryResp) GetCode() int32
func (*ProductQueryResp) GetData ¶
func (x *ProductQueryResp) GetData() *ModelProduct
func (*ProductQueryResp) GetMsg ¶
func (x *ProductQueryResp) GetMsg() string
func (*ProductQueryResp) GetPath ¶
func (x *ProductQueryResp) GetPath() string
func (*ProductQueryResp) GetRequestID ¶
func (x *ProductQueryResp) GetRequestID() string
func (*ProductQueryResp) ProtoMessage ¶
func (*ProductQueryResp) ProtoMessage()
func (*ProductQueryResp) ProtoReflect ¶
func (x *ProductQueryResp) ProtoReflect() protoreflect.Message
func (*ProductQueryResp) Reset ¶
func (x *ProductQueryResp) Reset()
func (*ProductQueryResp) String ¶
func (x *ProductQueryResp) String() string
type ProductRpcServiceClient ¶
type ProductRpcServiceClient interface { // note: 产品管理 ProductCreate(ctx context.Context, in *ProductCreateReq, opts ...grpc.CallOption) (*ProductCreateResp, error) ProductDelete(ctx context.Context, in *ProductDeleteReq, opts ...grpc.CallOption) (*ProductDeleteResp, error) ProductDeleteIds(ctx context.Context, in *ProductDeleteIdsReq, opts ...grpc.CallOption) (*ProductDeleteIdsResp, error) ProductUpdate(ctx context.Context, in *ProductUpdateReq, opts ...grpc.CallOption) (*ProductUpdateResp, error) ProductQuery(ctx context.Context, in *ProductQueryReq, opts ...grpc.CallOption) (*ProductQueryResp, error) ProductQueryIds(ctx context.Context, in *ProductQueryIdsReq, opts ...grpc.CallOption) (*ProductQueryIdsResp, error) ProductQueryList(ctx context.Context, in *ProductQueryListReq, opts ...grpc.CallOption) (*ProductQueryListResp, error) }
ProductRpcServiceClient is the client API for ProductRpcService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewProductRpcServiceClient ¶
func NewProductRpcServiceClient(cc grpc.ClientConnInterface) ProductRpcServiceClient
type ProductRpcServiceServer ¶
type ProductRpcServiceServer interface { // note: 产品管理 ProductCreate(context.Context, *ProductCreateReq) (*ProductCreateResp, error) ProductDelete(context.Context, *ProductDeleteReq) (*ProductDeleteResp, error) ProductDeleteIds(context.Context, *ProductDeleteIdsReq) (*ProductDeleteIdsResp, error) ProductUpdate(context.Context, *ProductUpdateReq) (*ProductUpdateResp, error) ProductQuery(context.Context, *ProductQueryReq) (*ProductQueryResp, error) ProductQueryIds(context.Context, *ProductQueryIdsReq) (*ProductQueryIdsResp, error) ProductQueryList(context.Context, *ProductQueryListReq) (*ProductQueryListResp, error) // contains filtered or unexported methods }
ProductRpcServiceServer is the server API for ProductRpcService service. All implementations must embed UnimplementedProductRpcServiceServer for forward compatibility
type ProductUpdateReq ¶
type ProductUpdateReq struct { // note: 更新产品信息 Product *ModelProduct `protobuf:"bytes,2,opt,name=product,proto3" json:"product,omitempty"` // contains filtered or unexported fields }
func (*ProductUpdateReq) Descriptor
deprecated
func (*ProductUpdateReq) Descriptor() ([]byte, []int)
Deprecated: Use ProductUpdateReq.ProtoReflect.Descriptor instead.
func (*ProductUpdateReq) GetProduct ¶
func (x *ProductUpdateReq) GetProduct() *ModelProduct
func (*ProductUpdateReq) ProtoMessage ¶
func (*ProductUpdateReq) ProtoMessage()
func (*ProductUpdateReq) ProtoReflect ¶
func (x *ProductUpdateReq) ProtoReflect() protoreflect.Message
func (*ProductUpdateReq) Reset ¶
func (x *ProductUpdateReq) Reset()
func (*ProductUpdateReq) String ¶
func (x *ProductUpdateReq) String() string
type ProductUpdateResp ¶
type ProductUpdateResp struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` RequestID string `protobuf:"bytes,3,opt,name=requestID,proto3" json:"requestID,omitempty"` Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` Data *ProductModelBase `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ProductUpdateResp) Descriptor
deprecated
func (*ProductUpdateResp) Descriptor() ([]byte, []int)
Deprecated: Use ProductUpdateResp.ProtoReflect.Descriptor instead.
func (*ProductUpdateResp) GetCode ¶
func (x *ProductUpdateResp) GetCode() int32
func (*ProductUpdateResp) GetData ¶
func (x *ProductUpdateResp) GetData() *ProductModelBase
func (*ProductUpdateResp) GetMsg ¶
func (x *ProductUpdateResp) GetMsg() string
func (*ProductUpdateResp) GetPath ¶
func (x *ProductUpdateResp) GetPath() string
func (*ProductUpdateResp) GetRequestID ¶
func (x *ProductUpdateResp) GetRequestID() string
func (*ProductUpdateResp) ProtoMessage ¶
func (*ProductUpdateResp) ProtoMessage()
func (*ProductUpdateResp) ProtoReflect ¶
func (x *ProductUpdateResp) ProtoReflect() protoreflect.Message
func (*ProductUpdateResp) Reset ¶
func (x *ProductUpdateResp) Reset()
func (*ProductUpdateResp) String ¶
func (x *ProductUpdateResp) String() string
type QueryOrderParams ¶
type QueryOrderParams struct { // note: 同步配置中心的数据 Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // note: 率先支持微信支付 Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"` QueryType string `protobuf:"bytes,3,opt,name=queryType,proto3" json:"queryType,omitempty"` TransactionId string `protobuf:"bytes,4,opt,name=transactionId,proto3" json:"transactionId,omitempty"` OutTradeNo string `protobuf:"bytes,5,opt,name=outTradeNo,proto3" json:"outTradeNo,omitempty"` // note: 检查这个产品用户是否有未完成,但是已发起的订单 ProductSn string `protobuf:"bytes,6,opt,name=productSn,proto3" json:"productSn,omitempty"` IsUnique bool `protobuf:"varint,7,opt,name=isUnique,proto3" json:"isUnique,omitempty"` PlatformUniqueId string `protobuf:"bytes,8,opt,name=platformUniqueId,proto3" json:"platformUniqueId,omitempty"` // contains filtered or unexported fields }
func (*QueryOrderParams) Descriptor
deprecated
func (*QueryOrderParams) Descriptor() ([]byte, []int)
Deprecated: Use QueryOrderParams.ProtoReflect.Descriptor instead.
func (*QueryOrderParams) GetIsUnique ¶ added in v0.0.62
func (x *QueryOrderParams) GetIsUnique() bool
func (*QueryOrderParams) GetKey ¶
func (x *QueryOrderParams) GetKey() string
func (*QueryOrderParams) GetOutTradeNo ¶
func (x *QueryOrderParams) GetOutTradeNo() string
func (*QueryOrderParams) GetPlatform ¶
func (x *QueryOrderParams) GetPlatform() string
func (*QueryOrderParams) GetPlatformUniqueId ¶ added in v0.0.63
func (x *QueryOrderParams) GetPlatformUniqueId() string
func (*QueryOrderParams) GetProductSn ¶ added in v0.0.61
func (x *QueryOrderParams) GetProductSn() string
func (*QueryOrderParams) GetQueryType ¶
func (x *QueryOrderParams) GetQueryType() string
func (*QueryOrderParams) GetTransactionId ¶
func (x *QueryOrderParams) GetTransactionId() string
func (*QueryOrderParams) ProtoMessage ¶
func (*QueryOrderParams) ProtoMessage()
func (*QueryOrderParams) ProtoReflect ¶
func (x *QueryOrderParams) ProtoReflect() protoreflect.Message
func (*QueryOrderParams) Reset ¶
func (x *QueryOrderParams) Reset()
func (*QueryOrderParams) String ¶
func (x *QueryOrderParams) String() string
type QueryOrderResp ¶
type QueryOrderResp struct { Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Msg string `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"` RequestID string `protobuf:"bytes,3,opt,name=requestID,proto3" json:"requestID,omitempty"` Path string `protobuf:"bytes,4,opt,name=path,proto3" json:"path,omitempty"` Data *QueryOrderRespData `protobuf:"bytes,5,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*QueryOrderResp) Descriptor
deprecated
func (*QueryOrderResp) Descriptor() ([]byte, []int)
Deprecated: Use QueryOrderResp.ProtoReflect.Descriptor instead.
func (*QueryOrderResp) GetCode ¶
func (x *QueryOrderResp) GetCode() int32
func (*QueryOrderResp) GetData ¶
func (x *QueryOrderResp) GetData() *QueryOrderRespData
func (*QueryOrderResp) GetMsg ¶
func (x *QueryOrderResp) GetMsg() string
func (*QueryOrderResp) GetPath ¶
func (x *QueryOrderResp) GetPath() string
func (*QueryOrderResp) GetRequestID ¶
func (x *QueryOrderResp) GetRequestID() string
func (*QueryOrderResp) ProtoMessage ¶
func (*QueryOrderResp) ProtoMessage()
func (*QueryOrderResp) ProtoReflect ¶
func (x *QueryOrderResp) ProtoReflect() protoreflect.Message
func (*QueryOrderResp) Reset ¶
func (x *QueryOrderResp) Reset()
func (*QueryOrderResp) String ¶
func (x *QueryOrderResp) String() string
type QueryOrderRespData ¶
type QueryOrderRespData struct { Amount *WechatMiniAppQueryOrderRespDataAmount `protobuf:"bytes,1,opt,name=amount,proto3" json:"amount,omitempty"` Appid string `protobuf:"bytes,2,opt,name=appid,proto3" json:"appid,omitempty"` Attach string `protobuf:"bytes,3,opt,name=attach,proto3" json:"attach,omitempty"` BankType string `protobuf:"bytes,4,opt,name=bankType,proto3" json:"bankType,omitempty"` Mchid string `protobuf:"bytes,5,opt,name=mchid,proto3" json:"mchid,omitempty"` OutTradeNo string `protobuf:"bytes,6,opt,name=outTradeNo,proto3" json:"outTradeNo,omitempty"` Payer *WechatMiniAppQueryOrderRespDataPayer `protobuf:"bytes,7,opt,name=payer,proto3" json:"payer,omitempty"` PromotionDetail []*WechatMiniAppQueryOrderRespPromotionDetail `protobuf:"bytes,8,rep,name=promotionDetail,proto3" json:"promotionDetail,omitempty"` SuccessTime string `protobuf:"bytes,9,opt,name=successTime,proto3" json:"successTime,omitempty"` TradeState string `protobuf:"bytes,10,opt,name=tradeState,proto3" json:"tradeState,omitempty"` TradeStateDesc string `protobuf:"bytes,11,opt,name=tradeStateDesc,proto3" json:"tradeStateDesc,omitempty"` TradeType string `protobuf:"bytes,12,opt,name=tradeType,proto3" json:"tradeType,omitempty"` TransactionId string `protobuf:"bytes,13,opt,name=transactionId,proto3" json:"transactionId,omitempty"` ErrCode string `protobuf:"bytes,14,opt,name=errCode,proto3" json:"errCode,omitempty"` ErrMsg string `protobuf:"bytes,15,opt,name=errMsg,proto3" json:"errMsg,omitempty"` Status int32 `protobuf:"varint,16,opt,name=status,proto3" json:"status,omitempty"` ExpireTime string `protobuf:"bytes,17,opt,name=expireTime,proto3" json:"expireTime,omitempty"` ProductType int32 `protobuf:"varint,18,opt,name=productType,proto3" json:"productType,omitempty"` CreateOrderRespData *CreateOrderRespData `protobuf:"bytes,19,opt,name=createOrderRespData,proto3" json:"createOrderRespData,omitempty"` ProductSn string `protobuf:"bytes,20,opt,name=productSn,proto3" json:"productSn,omitempty"` ProductName string `protobuf:"bytes,21,opt,name=productName,proto3" json:"productName,omitempty"` ProductDesc string `protobuf:"bytes,22,opt,name=productDesc,proto3" json:"productDesc,omitempty"` // contains filtered or unexported fields }
func (*QueryOrderRespData) Descriptor
deprecated
func (*QueryOrderRespData) Descriptor() ([]byte, []int)
Deprecated: Use QueryOrderRespData.ProtoReflect.Descriptor instead.
func (*QueryOrderRespData) GetAmount ¶
func (x *QueryOrderRespData) GetAmount() *WechatMiniAppQueryOrderRespDataAmount
func (*QueryOrderRespData) GetAppid ¶
func (x *QueryOrderRespData) GetAppid() string
func (*QueryOrderRespData) GetAttach ¶
func (x *QueryOrderRespData) GetAttach() string
func (*QueryOrderRespData) GetBankType ¶
func (x *QueryOrderRespData) GetBankType() string
func (*QueryOrderRespData) GetCreateOrderRespData ¶ added in v0.0.63
func (x *QueryOrderRespData) GetCreateOrderRespData() *CreateOrderRespData
func (*QueryOrderRespData) GetErrCode ¶
func (x *QueryOrderRespData) GetErrCode() string
func (*QueryOrderRespData) GetErrMsg ¶
func (x *QueryOrderRespData) GetErrMsg() string
func (*QueryOrderRespData) GetExpireTime ¶ added in v0.0.61
func (x *QueryOrderRespData) GetExpireTime() string
func (*QueryOrderRespData) GetMchid ¶
func (x *QueryOrderRespData) GetMchid() string
func (*QueryOrderRespData) GetOutTradeNo ¶
func (x *QueryOrderRespData) GetOutTradeNo() string
func (*QueryOrderRespData) GetPayer ¶
func (x *QueryOrderRespData) GetPayer() *WechatMiniAppQueryOrderRespDataPayer
func (*QueryOrderRespData) GetProductDesc ¶ added in v0.0.65
func (x *QueryOrderRespData) GetProductDesc() string
func (*QueryOrderRespData) GetProductName ¶ added in v0.0.65
func (x *QueryOrderRespData) GetProductName() string
func (*QueryOrderRespData) GetProductSn ¶ added in v0.0.65
func (x *QueryOrderRespData) GetProductSn() string
func (*QueryOrderRespData) GetProductType ¶ added in v0.0.62
func (x *QueryOrderRespData) GetProductType() int32
func (*QueryOrderRespData) GetPromotionDetail ¶
func (x *QueryOrderRespData) GetPromotionDetail() []*WechatMiniAppQueryOrderRespPromotionDetail
func (*QueryOrderRespData) GetStatus ¶ added in v0.0.61
func (x *QueryOrderRespData) GetStatus() int32
func (*QueryOrderRespData) GetSuccessTime ¶
func (x *QueryOrderRespData) GetSuccessTime() string
func (*QueryOrderRespData) GetTradeState ¶
func (x *QueryOrderRespData) GetTradeState() string
func (*QueryOrderRespData) GetTradeStateDesc ¶
func (x *QueryOrderRespData) GetTradeStateDesc() string
func (*QueryOrderRespData) GetTradeType ¶
func (x *QueryOrderRespData) GetTradeType() string
func (*QueryOrderRespData) GetTransactionId ¶
func (x *QueryOrderRespData) GetTransactionId() string
func (*QueryOrderRespData) ProtoMessage ¶
func (*QueryOrderRespData) ProtoMessage()
func (*QueryOrderRespData) ProtoReflect ¶
func (x *QueryOrderRespData) ProtoReflect() protoreflect.Message
func (*QueryOrderRespData) Reset ¶
func (x *QueryOrderRespData) Reset()
func (*QueryOrderRespData) String ¶
func (x *QueryOrderRespData) String() string
type TransactionsRpcServiceClient ¶
type TransactionsRpcServiceClient interface { CreateOrder(ctx context.Context, in *CreateOrderParams, opts ...grpc.CallOption) (*CreateOrderResp, error) QueryOrder(ctx context.Context, in *QueryOrderParams, opts ...grpc.CallOption) (*QueryOrderResp, error) CloseOrder(ctx context.Context, in *CloseOrderParams, opts ...grpc.CallOption) (*CloseOrderResp, error) }
TransactionsRpcServiceClient is the client API for TransactionsRpcService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewTransactionsRpcServiceClient ¶
func NewTransactionsRpcServiceClient(cc grpc.ClientConnInterface) TransactionsRpcServiceClient
type TransactionsRpcServiceServer ¶
type TransactionsRpcServiceServer interface { CreateOrder(context.Context, *CreateOrderParams) (*CreateOrderResp, error) QueryOrder(context.Context, *QueryOrderParams) (*QueryOrderResp, error) CloseOrder(context.Context, *CloseOrderParams) (*CloseOrderResp, error) // contains filtered or unexported methods }
TransactionsRpcServiceServer is the server API for TransactionsRpcService service. All implementations must embed UnimplementedTransactionsRpcServiceServer for forward compatibility
type UnimplementedProductRpcServiceServer ¶
type UnimplementedProductRpcServiceServer struct { }
UnimplementedProductRpcServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedProductRpcServiceServer) ProductCreate ¶
func (UnimplementedProductRpcServiceServer) ProductCreate(context.Context, *ProductCreateReq) (*ProductCreateResp, error)
func (UnimplementedProductRpcServiceServer) ProductDelete ¶
func (UnimplementedProductRpcServiceServer) ProductDelete(context.Context, *ProductDeleteReq) (*ProductDeleteResp, error)
func (UnimplementedProductRpcServiceServer) ProductDeleteIds ¶
func (UnimplementedProductRpcServiceServer) ProductDeleteIds(context.Context, *ProductDeleteIdsReq) (*ProductDeleteIdsResp, error)
func (UnimplementedProductRpcServiceServer) ProductQuery ¶
func (UnimplementedProductRpcServiceServer) ProductQuery(context.Context, *ProductQueryReq) (*ProductQueryResp, error)
func (UnimplementedProductRpcServiceServer) ProductQueryIds ¶
func (UnimplementedProductRpcServiceServer) ProductQueryIds(context.Context, *ProductQueryIdsReq) (*ProductQueryIdsResp, error)
func (UnimplementedProductRpcServiceServer) ProductQueryList ¶
func (UnimplementedProductRpcServiceServer) ProductQueryList(context.Context, *ProductQueryListReq) (*ProductQueryListResp, error)
func (UnimplementedProductRpcServiceServer) ProductUpdate ¶
func (UnimplementedProductRpcServiceServer) ProductUpdate(context.Context, *ProductUpdateReq) (*ProductUpdateResp, error)
type UnimplementedTransactionsRpcServiceServer ¶
type UnimplementedTransactionsRpcServiceServer struct { }
UnimplementedTransactionsRpcServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedTransactionsRpcServiceServer) CloseOrder ¶
func (UnimplementedTransactionsRpcServiceServer) CloseOrder(context.Context, *CloseOrderParams) (*CloseOrderResp, error)
func (UnimplementedTransactionsRpcServiceServer) CreateOrder ¶
func (UnimplementedTransactionsRpcServiceServer) CreateOrder(context.Context, *CreateOrderParams) (*CreateOrderResp, error)
func (UnimplementedTransactionsRpcServiceServer) QueryOrder ¶
func (UnimplementedTransactionsRpcServiceServer) QueryOrder(context.Context, *QueryOrderParams) (*QueryOrderResp, error)
type UnsafeProductRpcServiceServer ¶
type UnsafeProductRpcServiceServer interface {
// contains filtered or unexported methods
}
UnsafeProductRpcServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProductRpcServiceServer will result in compilation errors.
type UnsafeTransactionsRpcServiceServer ¶
type UnsafeTransactionsRpcServiceServer interface {
// contains filtered or unexported methods
}
UnsafeTransactionsRpcServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TransactionsRpcServiceServer will result in compilation errors.
type WechatMiniAppQueryOrderRespDataAmount ¶
type WechatMiniAppQueryOrderRespDataAmount struct { Currency string `protobuf:"bytes,1,opt,name=currency,proto3" json:"currency,omitempty"` PayerCurrency string `protobuf:"bytes,2,opt,name=payer_currency,json=payerCurrency,proto3" json:"payer_currency,omitempty"` PayerTotal uint32 `protobuf:"varint,3,opt,name=payer_total,json=payerTotal,proto3" json:"payer_total,omitempty"` Total uint32 `protobuf:"varint,4,opt,name=total,proto3" json:"total,omitempty"` // contains filtered or unexported fields }
func (*WechatMiniAppQueryOrderRespDataAmount) Descriptor
deprecated
func (*WechatMiniAppQueryOrderRespDataAmount) Descriptor() ([]byte, []int)
Deprecated: Use WechatMiniAppQueryOrderRespDataAmount.ProtoReflect.Descriptor instead.
func (*WechatMiniAppQueryOrderRespDataAmount) GetCurrency ¶
func (x *WechatMiniAppQueryOrderRespDataAmount) GetCurrency() string
func (*WechatMiniAppQueryOrderRespDataAmount) GetPayerCurrency ¶
func (x *WechatMiniAppQueryOrderRespDataAmount) GetPayerCurrency() string
func (*WechatMiniAppQueryOrderRespDataAmount) GetPayerTotal ¶
func (x *WechatMiniAppQueryOrderRespDataAmount) GetPayerTotal() uint32
func (*WechatMiniAppQueryOrderRespDataAmount) GetTotal ¶
func (x *WechatMiniAppQueryOrderRespDataAmount) GetTotal() uint32
func (*WechatMiniAppQueryOrderRespDataAmount) ProtoMessage ¶
func (*WechatMiniAppQueryOrderRespDataAmount) ProtoMessage()
func (*WechatMiniAppQueryOrderRespDataAmount) ProtoReflect ¶
func (x *WechatMiniAppQueryOrderRespDataAmount) ProtoReflect() protoreflect.Message
func (*WechatMiniAppQueryOrderRespDataAmount) Reset ¶
func (x *WechatMiniAppQueryOrderRespDataAmount) Reset()
func (*WechatMiniAppQueryOrderRespDataAmount) String ¶
func (x *WechatMiniAppQueryOrderRespDataAmount) String() string
type WechatMiniAppQueryOrderRespDataPayer ¶
type WechatMiniAppQueryOrderRespDataPayer struct { Openid string `protobuf:"bytes,1,opt,name=openid,proto3" json:"openid,omitempty"` // contains filtered or unexported fields }
func (*WechatMiniAppQueryOrderRespDataPayer) Descriptor
deprecated
func (*WechatMiniAppQueryOrderRespDataPayer) Descriptor() ([]byte, []int)
Deprecated: Use WechatMiniAppQueryOrderRespDataPayer.ProtoReflect.Descriptor instead.
func (*WechatMiniAppQueryOrderRespDataPayer) GetOpenid ¶
func (x *WechatMiniAppQueryOrderRespDataPayer) GetOpenid() string
func (*WechatMiniAppQueryOrderRespDataPayer) ProtoMessage ¶
func (*WechatMiniAppQueryOrderRespDataPayer) ProtoMessage()
func (*WechatMiniAppQueryOrderRespDataPayer) ProtoReflect ¶
func (x *WechatMiniAppQueryOrderRespDataPayer) ProtoReflect() protoreflect.Message
func (*WechatMiniAppQueryOrderRespDataPayer) Reset ¶
func (x *WechatMiniAppQueryOrderRespDataPayer) Reset()
func (*WechatMiniAppQueryOrderRespDataPayer) String ¶
func (x *WechatMiniAppQueryOrderRespDataPayer) String() string
type WechatMiniAppQueryOrderRespPromotionDetail ¶
type WechatMiniAppQueryOrderRespPromotionDetail struct { CouponId string `protobuf:"bytes,1,opt,name=CouponId,proto3" json:"CouponId,omitempty"` Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` Scope string `protobuf:"bytes,3,opt,name=Scope,proto3" json:"Scope,omitempty"` Type string `protobuf:"bytes,4,opt,name=Type,proto3" json:"Type,omitempty"` Amount int32 `protobuf:"varint,5,opt,name=Amount,proto3" json:"Amount,omitempty"` StockId string `protobuf:"bytes,6,opt,name=StockId,proto3" json:"StockId,omitempty"` WechatpayContribute int32 `protobuf:"varint,7,opt,name=WechatpayContribute,proto3" json:"WechatpayContribute,omitempty"` MerchantContribute int32 `protobuf:"varint,8,opt,name=MerchantContribute,proto3" json:"MerchantContribute,omitempty"` OtherContribute int32 `protobuf:"varint,9,opt,name=OtherContribute,proto3" json:"OtherContribute,omitempty"` Currency string `protobuf:"bytes,10,opt,name=Currency,proto3" json:"Currency,omitempty"` GoodsDetail []*WechatMiniAppQueryOrderRespPromotionDetailGoodsDetail `protobuf:"bytes,11,rep,name=goodsDetail,proto3" json:"goodsDetail,omitempty"` // contains filtered or unexported fields }
func (*WechatMiniAppQueryOrderRespPromotionDetail) Descriptor
deprecated
func (*WechatMiniAppQueryOrderRespPromotionDetail) Descriptor() ([]byte, []int)
Deprecated: Use WechatMiniAppQueryOrderRespPromotionDetail.ProtoReflect.Descriptor instead.
func (*WechatMiniAppQueryOrderRespPromotionDetail) GetAmount ¶
func (x *WechatMiniAppQueryOrderRespPromotionDetail) GetAmount() int32
func (*WechatMiniAppQueryOrderRespPromotionDetail) GetCouponId ¶
func (x *WechatMiniAppQueryOrderRespPromotionDetail) GetCouponId() string
func (*WechatMiniAppQueryOrderRespPromotionDetail) GetCurrency ¶
func (x *WechatMiniAppQueryOrderRespPromotionDetail) GetCurrency() string
func (*WechatMiniAppQueryOrderRespPromotionDetail) GetGoodsDetail ¶
func (x *WechatMiniAppQueryOrderRespPromotionDetail) GetGoodsDetail() []*WechatMiniAppQueryOrderRespPromotionDetailGoodsDetail
func (*WechatMiniAppQueryOrderRespPromotionDetail) GetMerchantContribute ¶
func (x *WechatMiniAppQueryOrderRespPromotionDetail) GetMerchantContribute() int32
func (*WechatMiniAppQueryOrderRespPromotionDetail) GetName ¶
func (x *WechatMiniAppQueryOrderRespPromotionDetail) GetName() string
func (*WechatMiniAppQueryOrderRespPromotionDetail) GetOtherContribute ¶
func (x *WechatMiniAppQueryOrderRespPromotionDetail) GetOtherContribute() int32
func (*WechatMiniAppQueryOrderRespPromotionDetail) GetScope ¶
func (x *WechatMiniAppQueryOrderRespPromotionDetail) GetScope() string
func (*WechatMiniAppQueryOrderRespPromotionDetail) GetStockId ¶
func (x *WechatMiniAppQueryOrderRespPromotionDetail) GetStockId() string
func (*WechatMiniAppQueryOrderRespPromotionDetail) GetType ¶
func (x *WechatMiniAppQueryOrderRespPromotionDetail) GetType() string
func (*WechatMiniAppQueryOrderRespPromotionDetail) GetWechatpayContribute ¶
func (x *WechatMiniAppQueryOrderRespPromotionDetail) GetWechatpayContribute() int32
func (*WechatMiniAppQueryOrderRespPromotionDetail) ProtoMessage ¶
func (*WechatMiniAppQueryOrderRespPromotionDetail) ProtoMessage()
func (*WechatMiniAppQueryOrderRespPromotionDetail) ProtoReflect ¶
func (x *WechatMiniAppQueryOrderRespPromotionDetail) ProtoReflect() protoreflect.Message
func (*WechatMiniAppQueryOrderRespPromotionDetail) Reset ¶
func (x *WechatMiniAppQueryOrderRespPromotionDetail) Reset()
func (*WechatMiniAppQueryOrderRespPromotionDetail) String ¶
func (x *WechatMiniAppQueryOrderRespPromotionDetail) String() string
type WechatMiniAppQueryOrderRespPromotionDetailGoodsDetail ¶
type WechatMiniAppQueryOrderRespPromotionDetailGoodsDetail struct { GoodsId string `protobuf:"bytes,1,opt,name=GoodsId,proto3" json:"GoodsId,omitempty"` Quantity int32 `protobuf:"varint,2,opt,name=Quantity,proto3" json:"Quantity,omitempty"` UnitPrice int32 `protobuf:"varint,3,opt,name=UnitPrice,proto3" json:"UnitPrice,omitempty"` DiscountAmount int32 `protobuf:"varint,4,opt,name=DiscountAmount,proto3" json:"DiscountAmount,omitempty"` GoodsRemark string `protobuf:"bytes,5,opt,name=GoodsRemark,proto3" json:"GoodsRemark,omitempty"` // contains filtered or unexported fields }
func (*WechatMiniAppQueryOrderRespPromotionDetailGoodsDetail) Descriptor
deprecated
func (*WechatMiniAppQueryOrderRespPromotionDetailGoodsDetail) Descriptor() ([]byte, []int)
Deprecated: Use WechatMiniAppQueryOrderRespPromotionDetailGoodsDetail.ProtoReflect.Descriptor instead.
func (*WechatMiniAppQueryOrderRespPromotionDetailGoodsDetail) GetDiscountAmount ¶
func (x *WechatMiniAppQueryOrderRespPromotionDetailGoodsDetail) GetDiscountAmount() int32
func (*WechatMiniAppQueryOrderRespPromotionDetailGoodsDetail) GetGoodsId ¶
func (x *WechatMiniAppQueryOrderRespPromotionDetailGoodsDetail) GetGoodsId() string
func (*WechatMiniAppQueryOrderRespPromotionDetailGoodsDetail) GetGoodsRemark ¶
func (x *WechatMiniAppQueryOrderRespPromotionDetailGoodsDetail) GetGoodsRemark() string
func (*WechatMiniAppQueryOrderRespPromotionDetailGoodsDetail) GetQuantity ¶
func (x *WechatMiniAppQueryOrderRespPromotionDetailGoodsDetail) GetQuantity() int32
func (*WechatMiniAppQueryOrderRespPromotionDetailGoodsDetail) GetUnitPrice ¶
func (x *WechatMiniAppQueryOrderRespPromotionDetailGoodsDetail) GetUnitPrice() int32
func (*WechatMiniAppQueryOrderRespPromotionDetailGoodsDetail) ProtoMessage ¶
func (*WechatMiniAppQueryOrderRespPromotionDetailGoodsDetail) ProtoMessage()
func (*WechatMiniAppQueryOrderRespPromotionDetailGoodsDetail) ProtoReflect ¶
func (x *WechatMiniAppQueryOrderRespPromotionDetailGoodsDetail) ProtoReflect() protoreflect.Message
func (*WechatMiniAppQueryOrderRespPromotionDetailGoodsDetail) Reset ¶
func (x *WechatMiniAppQueryOrderRespPromotionDetailGoodsDetail) Reset()
func (*WechatMiniAppQueryOrderRespPromotionDetailGoodsDetail) String ¶
func (x *WechatMiniAppQueryOrderRespPromotionDetailGoodsDetail) String() string