Files
full/module/ec/order/pb/summary.pb.go

1017 lines
34 KiB
Go
Raw Permalink Normal View History

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.11
// protoc v7.35.1
// source: module/ec/order/proto/summary.proto
package order
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type SimulateShipmentsRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Identity string `protobuf:"bytes,1,opt,name=identity,proto3" json:"identity,omitempty"` // 订单唯一标识
ItemIdetity string `protobuf:"bytes,2,opt,name=item_idetity,proto3" json:"item_idetity,omitempty"` // 配送团队唯一标识
MemberIdentity string `protobuf:"bytes,3,opt,name=member_identity,proto3" json:"member_identity,omitempty"` // 配送人员唯一标识
CarIdentity string `protobuf:"bytes,4,opt,name=car_identity,proto3" json:"car_identity,omitempty"` // 配送车辆唯一标识
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SimulateShipmentsRequest) Reset() {
*x = SimulateShipmentsRequest{}
mi := &file_module_ec_order_proto_summary_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SimulateShipmentsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SimulateShipmentsRequest) ProtoMessage() {}
func (x *SimulateShipmentsRequest) ProtoReflect() protoreflect.Message {
mi := &file_module_ec_order_proto_summary_proto_msgTypes[0]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SimulateShipmentsRequest.ProtoReflect.Descriptor instead.
func (*SimulateShipmentsRequest) Descriptor() ([]byte, []int) {
return file_module_ec_order_proto_summary_proto_rawDescGZIP(), []int{0}
}
func (x *SimulateShipmentsRequest) GetIdentity() string {
if x != nil {
return x.Identity
}
return ""
}
func (x *SimulateShipmentsRequest) GetItemIdetity() string {
if x != nil {
return x.ItemIdetity
}
return ""
}
func (x *SimulateShipmentsRequest) GetMemberIdentity() string {
if x != nil {
return x.MemberIdentity
}
return ""
}
func (x *SimulateShipmentsRequest) GetCarIdentity() string {
if x != nil {
return x.CarIdentity
}
return ""
}
type SubmitReply struct {
state protoimpl.MessageState `protogen:"open.v1"`
Status int64 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"` // 状态码
Identity []string `protobuf:"bytes,2,rep,name=identity,proto3" json:"identity,omitempty"` // 标识码
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"` //状态说明
Timeseq int64 `protobuf:"varint,4,opt,name=timeseq,proto3" json:"timeseq,omitempty"` // 响应时间序列
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SubmitReply) Reset() {
*x = SubmitReply{}
mi := &file_module_ec_order_proto_summary_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SubmitReply) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SubmitReply) ProtoMessage() {}
func (x *SubmitReply) ProtoReflect() protoreflect.Message {
mi := &file_module_ec_order_proto_summary_proto_msgTypes[1]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SubmitReply.ProtoReflect.Descriptor instead.
func (*SubmitReply) Descriptor() ([]byte, []int) {
return file_module_ec_order_proto_summary_proto_rawDescGZIP(), []int{1}
}
func (x *SubmitReply) GetStatus() int64 {
if x != nil {
return x.Status
}
return 0
}
func (x *SubmitReply) GetIdentity() []string {
if x != nil {
return x.Identity
}
return nil
}
func (x *SubmitReply) GetMessage() string {
if x != nil {
return x.Message
}
return ""
}
func (x *SubmitReply) GetTimeseq() int64 {
if x != nil {
return x.Timeseq
}
return 0
}
type SimulatePayRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Identity []string `protobuf:"bytes,1,rep,name=identity,proto3" json:"identity,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SimulatePayRequest) Reset() {
*x = SimulatePayRequest{}
mi := &file_module_ec_order_proto_summary_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SimulatePayRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SimulatePayRequest) ProtoMessage() {}
func (x *SimulatePayRequest) ProtoReflect() protoreflect.Message {
mi := &file_module_ec_order_proto_summary_proto_msgTypes[2]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SimulatePayRequest.ProtoReflect.Descriptor instead.
func (*SimulatePayRequest) Descriptor() ([]byte, []int) {
return file_module_ec_order_proto_summary_proto_rawDescGZIP(), []int{2}
}
func (x *SimulatePayRequest) GetIdentity() []string {
if x != nil {
return x.Identity
}
return nil
}
type QuickCreateByProductRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
PartnerId int32 `protobuf:"varint,1,opt,name=partner_id,proto3" json:"partner_id,omitempty"` // 合伙人ID
StoreIdentity string `protobuf:"bytes,2,opt,name=store_identity,proto3" json:"store_identity,omitempty"` // 店铺唯一标识
ProductIdentity string `protobuf:"bytes,3,opt,name=product_identity,proto3" json:"product_identity,omitempty"` // 商品唯一标识
Number int32 `protobuf:"varint,4,opt,name=number,proto3" json:"number,omitempty"` // 数量
Args string `protobuf:"bytes,5,opt,name=args,proto3" json:"args,omitempty"` // 相关参数
AddressIdentity string `protobuf:"bytes,6,opt,name=address_identity,proto3" json:"address_identity,omitempty"` // 地址库唯一标识
DeliveryTime string `protobuf:"bytes,7,opt,name=delivery_time,proto3" json:"delivery_time,omitempty"` // 预约配送时间
SpecIdentity string `protobuf:"bytes,8,opt,name=spec_identity,proto3" json:"spec_identity,omitempty"` // 规格identity
MemberIdentity string `protobuf:"bytes,9,opt,name=member_identity,proto3" json:"member_identity,omitempty"` // 配送员唯一标识
DeliveryAddress string `protobuf:"bytes,10,opt,name=delivery_address,proto3" json:"delivery_address,omitempty"` // 配送地址
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *QuickCreateByProductRequest) Reset() {
*x = QuickCreateByProductRequest{}
mi := &file_module_ec_order_proto_summary_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *QuickCreateByProductRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*QuickCreateByProductRequest) ProtoMessage() {}
func (x *QuickCreateByProductRequest) ProtoReflect() protoreflect.Message {
mi := &file_module_ec_order_proto_summary_proto_msgTypes[3]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use QuickCreateByProductRequest.ProtoReflect.Descriptor instead.
func (*QuickCreateByProductRequest) Descriptor() ([]byte, []int) {
return file_module_ec_order_proto_summary_proto_rawDescGZIP(), []int{3}
}
func (x *QuickCreateByProductRequest) GetPartnerId() int32 {
if x != nil {
return x.PartnerId
}
return 0
}
func (x *QuickCreateByProductRequest) GetStoreIdentity() string {
if x != nil {
return x.StoreIdentity
}
return ""
}
func (x *QuickCreateByProductRequest) GetProductIdentity() string {
if x != nil {
return x.ProductIdentity
}
return ""
}
func (x *QuickCreateByProductRequest) GetNumber() int32 {
if x != nil {
return x.Number
}
return 0
}
func (x *QuickCreateByProductRequest) GetArgs() string {
if x != nil {
return x.Args
}
return ""
}
func (x *QuickCreateByProductRequest) GetAddressIdentity() string {
if x != nil {
return x.AddressIdentity
}
return ""
}
func (x *QuickCreateByProductRequest) GetDeliveryTime() string {
if x != nil {
return x.DeliveryTime
}
return ""
}
func (x *QuickCreateByProductRequest) GetSpecIdentity() string {
if x != nil {
return x.SpecIdentity
}
return ""
}
func (x *QuickCreateByProductRequest) GetMemberIdentity() string {
if x != nil {
return x.MemberIdentity
}
return ""
}
func (x *QuickCreateByProductRequest) GetDeliveryAddress() string {
if x != nil {
return x.DeliveryAddress
}
return ""
}
type SubmitRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id []string `protobuf:"bytes,1,rep,name=id,proto3" json:"id,omitempty"` // 购物车的ID数据以逗号分开
PartnerId int32 `protobuf:"varint,2,opt,name=partner_id,proto3" json:"partner_id,omitempty"` // 合伙人ID
StoreIdentity string `protobuf:"bytes,3,opt,name=store_identity,proto3" json:"store_identity,omitempty"` // 店铺唯一标识
AddressIdentity string `protobuf:"bytes,4,opt,name=address_identity,proto3" json:"address_identity,omitempty"` // 地址库唯一标识
DeliveryTime string `protobuf:"bytes,5,opt,name=delivery_time,proto3" json:"delivery_time,omitempty"` // 预约配送时间
Address *OrderAddress `protobuf:"bytes,6,opt,name=address,proto3" json:"address,omitempty"` // 地址详情
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SubmitRequest) Reset() {
*x = SubmitRequest{}
mi := &file_module_ec_order_proto_summary_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SubmitRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SubmitRequest) ProtoMessage() {}
func (x *SubmitRequest) ProtoReflect() protoreflect.Message {
mi := &file_module_ec_order_proto_summary_proto_msgTypes[4]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SubmitRequest.ProtoReflect.Descriptor instead.
func (*SubmitRequest) Descriptor() ([]byte, []int) {
return file_module_ec_order_proto_summary_proto_rawDescGZIP(), []int{4}
}
func (x *SubmitRequest) GetId() []string {
if x != nil {
return x.Id
}
return nil
}
func (x *SubmitRequest) GetPartnerId() int32 {
if x != nil {
return x.PartnerId
}
return 0
}
func (x *SubmitRequest) GetStoreIdentity() string {
if x != nil {
return x.StoreIdentity
}
return ""
}
func (x *SubmitRequest) GetAddressIdentity() string {
if x != nil {
return x.AddressIdentity
}
return ""
}
func (x *SubmitRequest) GetDeliveryTime() string {
if x != nil {
return x.DeliveryTime
}
return ""
}
func (x *SubmitRequest) GetAddress() *OrderAddress {
if x != nil {
return x.Address
}
return nil
}
type OrderAddress struct {
state protoimpl.MessageState `protogen:"open.v1"`
Country string `protobuf:"bytes,1,opt,name=country,proto3" json:"country,omitempty"` // 国家
Province string `protobuf:"bytes,2,opt,name=province,proto3" json:"province,omitempty"` // 省/州
City string `protobuf:"bytes,3,opt,name=city,proto3" json:"city,omitempty"` // 市
Area string `protobuf:"bytes,4,opt,name=area,proto3" json:"area,omitempty"` // 区
Detail string `protobuf:"bytes,5,opt,name=detail,proto3" json:"detail,omitempty"` // 详细地址
Contact string `protobuf:"bytes,6,opt,name=contact,proto3" json:"contact,omitempty"` // 联系人
Phone string `protobuf:"bytes,7,opt,name=phone,proto3" json:"phone,omitempty"` // 手机号码
Email string `protobuf:"bytes,8,opt,name=email,proto3" json:"email,omitempty"` // 邮箱
ZipCode string `protobuf:"bytes,9,opt,name=zip_code,json=zipCode,proto3" json:"zip_code,omitempty"` // 邮编
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *OrderAddress) Reset() {
*x = OrderAddress{}
mi := &file_module_ec_order_proto_summary_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *OrderAddress) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*OrderAddress) ProtoMessage() {}
func (x *OrderAddress) ProtoReflect() protoreflect.Message {
mi := &file_module_ec_order_proto_summary_proto_msgTypes[5]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use OrderAddress.ProtoReflect.Descriptor instead.
func (*OrderAddress) Descriptor() ([]byte, []int) {
return file_module_ec_order_proto_summary_proto_rawDescGZIP(), []int{5}
}
func (x *OrderAddress) GetCountry() string {
if x != nil {
return x.Country
}
return ""
}
func (x *OrderAddress) GetProvince() string {
if x != nil {
return x.Province
}
return ""
}
func (x *OrderAddress) GetCity() string {
if x != nil {
return x.City
}
return ""
}
func (x *OrderAddress) GetArea() string {
if x != nil {
return x.Area
}
return ""
}
func (x *OrderAddress) GetDetail() string {
if x != nil {
return x.Detail
}
return ""
}
func (x *OrderAddress) GetContact() string {
if x != nil {
return x.Contact
}
return ""
}
func (x *OrderAddress) GetPhone() string {
if x != nil {
return x.Phone
}
return ""
}
func (x *OrderAddress) GetEmail() string {
if x != nil {
return x.Email
}
return ""
}
func (x *OrderAddress) GetZipCode() string {
if x != nil {
return x.ZipCode
}
return ""
}
type SummaryGetReply struct {
state protoimpl.MessageState `protogen:"open.v1"`
Summary *OrderSummaryItem `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"` // 订单概要详情
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SummaryGetReply) Reset() {
*x = SummaryGetReply{}
mi := &file_module_ec_order_proto_summary_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SummaryGetReply) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SummaryGetReply) ProtoMessage() {}
func (x *SummaryGetReply) ProtoReflect() protoreflect.Message {
mi := &file_module_ec_order_proto_summary_proto_msgTypes[6]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SummaryGetReply.ProtoReflect.Descriptor instead.
func (*SummaryGetReply) Descriptor() ([]byte, []int) {
return file_module_ec_order_proto_summary_proto_rawDescGZIP(), []int{6}
}
func (x *SummaryGetReply) GetSummary() *OrderSummaryItem {
if x != nil {
return x.Summary
}
return nil
}
type SummaryListRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
PayType int32 `protobuf:"varint,1,opt,name=pay_type,proto3" json:"pay_type,omitempty"` // 支付类型0:待支付1:线下支付2:微信 3:支付宝,4:余额
OrderStatus int32 `protobuf:"varint,2,opt,name=order_status,proto3" json:"order_status,omitempty"` // 订单状态 1未支付 2已支付 3已发货 4已收货 5:已完成 6:已收货退款 7未发货退款 8:已退货 -1已取消
PageNo int64 `protobuf:"varint,3,opt,name=page_no,proto3" json:"page_no,omitempty"`
PageSize int64 `protobuf:"varint,4,opt,name=page_size,proto3" json:"page_size,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SummaryListRequest) Reset() {
*x = SummaryListRequest{}
mi := &file_module_ec_order_proto_summary_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SummaryListRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SummaryListRequest) ProtoMessage() {}
func (x *SummaryListRequest) ProtoReflect() protoreflect.Message {
mi := &file_module_ec_order_proto_summary_proto_msgTypes[7]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SummaryListRequest.ProtoReflect.Descriptor instead.
func (*SummaryListRequest) Descriptor() ([]byte, []int) {
return file_module_ec_order_proto_summary_proto_rawDescGZIP(), []int{7}
}
func (x *SummaryListRequest) GetPayType() int32 {
if x != nil {
return x.PayType
}
return 0
}
func (x *SummaryListRequest) GetOrderStatus() int32 {
if x != nil {
return x.OrderStatus
}
return 0
}
func (x *SummaryListRequest) GetPageNo() int64 {
if x != nil {
return x.PageNo
}
return 0
}
func (x *SummaryListRequest) GetPageSize() int64 {
if x != nil {
return x.PageSize
}
return 0
}
type SummaryListReply struct {
state protoimpl.MessageState `protogen:"open.v1"`
Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
Data []*OrderSummaryItem `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` // 订单列表
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SummaryListReply) Reset() {
*x = SummaryListReply{}
mi := &file_module_ec_order_proto_summary_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SummaryListReply) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SummaryListReply) ProtoMessage() {}
func (x *SummaryListReply) ProtoReflect() protoreflect.Message {
mi := &file_module_ec_order_proto_summary_proto_msgTypes[8]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use SummaryListReply.ProtoReflect.Descriptor instead.
func (*SummaryListReply) Descriptor() ([]byte, []int) {
return file_module_ec_order_proto_summary_proto_rawDescGZIP(), []int{8}
}
func (x *SummaryListReply) GetCount() int32 {
if x != nil {
return x.Count
}
return 0
}
func (x *SummaryListReply) GetData() []*OrderSummaryItem {
if x != nil {
return x.Data
}
return nil
}
type ConfirmRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
OrderNo string `protobuf:"bytes,1,opt,name=order_no,proto3" json:"order_no,omitempty"` // 订单唯一码
AddressIdentity string `protobuf:"bytes,2,opt,name=address_identity,proto3" json:"address_identity,omitempty"` // 地址identity
CouponIdentity string `protobuf:"bytes,3,opt,name=coupon_identity,proto3" json:"coupon_identity,omitempty"` // 优惠卷
Remark string `protobuf:"bytes,4,opt,name=remark,proto3" json:"remark,omitempty"` //备注
LogisticsFee float64 `protobuf:"fixed64,5,opt,name=logistics_fee,proto3" json:"logistics_fee,omitempty"` //运费
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ConfirmRequest) Reset() {
*x = ConfirmRequest{}
mi := &file_module_ec_order_proto_summary_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ConfirmRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ConfirmRequest) ProtoMessage() {}
func (x *ConfirmRequest) ProtoReflect() protoreflect.Message {
mi := &file_module_ec_order_proto_summary_proto_msgTypes[9]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ConfirmRequest.ProtoReflect.Descriptor instead.
func (*ConfirmRequest) Descriptor() ([]byte, []int) {
return file_module_ec_order_proto_summary_proto_rawDescGZIP(), []int{9}
}
func (x *ConfirmRequest) GetOrderNo() string {
if x != nil {
return x.OrderNo
}
return ""
}
func (x *ConfirmRequest) GetAddressIdentity() string {
if x != nil {
return x.AddressIdentity
}
return ""
}
func (x *ConfirmRequest) GetCouponIdentity() string {
if x != nil {
return x.CouponIdentity
}
return ""
}
func (x *ConfirmRequest) GetRemark() string {
if x != nil {
return x.Remark
}
return ""
}
func (x *ConfirmRequest) GetLogisticsFee() float64 {
if x != nil {
return x.LogisticsFee
}
return 0
}
type ConfirmReply struct {
state protoimpl.MessageState `protogen:"open.v1"`
TotalPrice int64 `protobuf:"varint,1,opt,name=total_price,proto3" json:"total_price,omitempty"` // 总价
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ConfirmReply) Reset() {
*x = ConfirmReply{}
mi := &file_module_ec_order_proto_summary_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ConfirmReply) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ConfirmReply) ProtoMessage() {}
func (x *ConfirmReply) ProtoReflect() protoreflect.Message {
mi := &file_module_ec_order_proto_summary_proto_msgTypes[10]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ConfirmReply.ProtoReflect.Descriptor instead.
func (*ConfirmReply) Descriptor() ([]byte, []int) {
return file_module_ec_order_proto_summary_proto_rawDescGZIP(), []int{10}
}
func (x *ConfirmReply) GetTotalPrice() int64 {
if x != nil {
return x.TotalPrice
}
return 0
}
type CancelRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
OrderNo string `protobuf:"bytes,1,opt,name=order_no,proto3" json:"order_no,omitempty"` // 订单唯一码
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"` // 订单类型
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CancelRequest) Reset() {
*x = CancelRequest{}
mi := &file_module_ec_order_proto_summary_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CancelRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CancelRequest) ProtoMessage() {}
func (x *CancelRequest) ProtoReflect() protoreflect.Message {
mi := &file_module_ec_order_proto_summary_proto_msgTypes[11]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CancelRequest.ProtoReflect.Descriptor instead.
func (*CancelRequest) Descriptor() ([]byte, []int) {
return file_module_ec_order_proto_summary_proto_rawDescGZIP(), []int{11}
}
func (x *CancelRequest) GetOrderNo() string {
if x != nil {
return x.OrderNo
}
return ""
}
func (x *CancelRequest) GetType() string {
if x != nil {
return x.Type
}
return ""
}
var File_module_ec_order_proto_summary_proto protoreflect.FileDescriptor
const file_module_ec_order_proto_summary_proto_rawDesc = "" +
"\n" +
"#module/ec/order/proto/summary.proto\x12\x05order\x1a!module/ec/order/proto/const.proto\"\xa8\x01\n" +
"\x18SimulateShipmentsRequest\x12\x1a\n" +
"\bidentity\x18\x01 \x01(\tR\bidentity\x12\"\n" +
"\fitem_idetity\x18\x02 \x01(\tR\fitem_idetity\x12(\n" +
"\x0fmember_identity\x18\x03 \x01(\tR\x0fmember_identity\x12\"\n" +
"\fcar_identity\x18\x04 \x01(\tR\fcar_identity\"u\n" +
"\vSubmitReply\x12\x16\n" +
"\x06status\x18\x01 \x01(\x03R\x06status\x12\x1a\n" +
"\bidentity\x18\x02 \x03(\tR\bidentity\x12\x18\n" +
"\amessage\x18\x03 \x01(\tR\amessage\x12\x18\n" +
"\atimeseq\x18\x04 \x01(\x03R\atimeseq\"0\n" +
"\x12SimulatePayRequest\x12\x1a\n" +
"\bidentity\x18\x01 \x03(\tR\bidentity\"\x8b\x03\n" +
"\x1bQuickCreateByProductRequest\x12\x1e\n" +
"\n" +
"partner_id\x18\x01 \x01(\x05R\n" +
"partner_id\x12&\n" +
"\x0estore_identity\x18\x02 \x01(\tR\x0estore_identity\x12*\n" +
"\x10product_identity\x18\x03 \x01(\tR\x10product_identity\x12\x16\n" +
"\x06number\x18\x04 \x01(\x05R\x06number\x12\x12\n" +
"\x04args\x18\x05 \x01(\tR\x04args\x12*\n" +
"\x10address_identity\x18\x06 \x01(\tR\x10address_identity\x12$\n" +
"\rdelivery_time\x18\a \x01(\tR\rdelivery_time\x12$\n" +
"\rspec_identity\x18\b \x01(\tR\rspec_identity\x12(\n" +
"\x0fmember_identity\x18\t \x01(\tR\x0fmember_identity\x12*\n" +
"\x10delivery_address\x18\n" +
" \x01(\tR\x10delivery_address\"\xe8\x01\n" +
"\rSubmitRequest\x12\x0e\n" +
"\x02id\x18\x01 \x03(\tR\x02id\x12\x1e\n" +
"\n" +
"partner_id\x18\x02 \x01(\x05R\n" +
"partner_id\x12&\n" +
"\x0estore_identity\x18\x03 \x01(\tR\x0estore_identity\x12*\n" +
"\x10address_identity\x18\x04 \x01(\tR\x10address_identity\x12$\n" +
"\rdelivery_time\x18\x05 \x01(\tR\rdelivery_time\x12-\n" +
"\aaddress\x18\x06 \x01(\v2\x13.order.OrderAddressR\aaddress\"\xe5\x01\n" +
"\fOrderAddress\x12\x18\n" +
"\acountry\x18\x01 \x01(\tR\acountry\x12\x1a\n" +
"\bprovince\x18\x02 \x01(\tR\bprovince\x12\x12\n" +
"\x04city\x18\x03 \x01(\tR\x04city\x12\x12\n" +
"\x04area\x18\x04 \x01(\tR\x04area\x12\x16\n" +
"\x06detail\x18\x05 \x01(\tR\x06detail\x12\x18\n" +
"\acontact\x18\x06 \x01(\tR\acontact\x12\x14\n" +
"\x05phone\x18\a \x01(\tR\x05phone\x12\x14\n" +
"\x05email\x18\b \x01(\tR\x05email\x12\x19\n" +
"\bzip_code\x18\t \x01(\tR\azipCode\"N\n" +
"\x0fSummaryGetReply\x12;\n" +
"\asummary\x18\x01 \x01(\v2!.ec_order_blocks.OrderSummaryItemR\asummary\"\x8c\x01\n" +
"\x12SummaryListRequest\x12\x1a\n" +
"\bpay_type\x18\x01 \x01(\x05R\bpay_type\x12\"\n" +
"\forder_status\x18\x02 \x01(\x05R\forder_status\x12\x18\n" +
"\apage_no\x18\x03 \x01(\x03R\apage_no\x12\x1c\n" +
"\tpage_size\x18\x04 \x01(\x03R\tpage_size\"_\n" +
"\x10SummaryListReply\x12\x14\n" +
"\x05count\x18\x01 \x01(\x05R\x05count\x125\n" +
"\x04data\x18\x02 \x03(\v2!.ec_order_blocks.OrderSummaryItemR\x04data\"\xc0\x01\n" +
"\x0eConfirmRequest\x12\x1a\n" +
"\border_no\x18\x01 \x01(\tR\border_no\x12*\n" +
"\x10address_identity\x18\x02 \x01(\tR\x10address_identity\x12(\n" +
"\x0fcoupon_identity\x18\x03 \x01(\tR\x0fcoupon_identity\x12\x16\n" +
"\x06remark\x18\x04 \x01(\tR\x06remark\x12$\n" +
"\rlogistics_fee\x18\x05 \x01(\x01R\rlogistics_fee\"0\n" +
"\fConfirmReply\x12 \n" +
"\vtotal_price\x18\x01 \x01(\x03R\vtotal_price\"?\n" +
"\rCancelRequest\x12\x1a\n" +
"\border_no\x18\x01 \x01(\tR\border_no\x12\x12\n" +
"\x04type\x18\x02 \x01(\tR\x04type2\xfe\x05\n" +
"\aSummary\x12_\n" +
"\x14QuickCreateByProduct\x12\".order.QuickCreateByProductRequest\x1a!.ec_order_blocks.OrderStatusReply\"\x00\x12C\n" +
"\x06Submit\x12\x14.order.SubmitRequest\x1a!.ec_order_blocks.OrderStatusReply\"\x00\x12D\n" +
"\x05Check\x12\x16.ec_order_blocks.Empty\x1a!.ec_order_blocks.OrderStatusReply\"\x00\x12C\n" +
"\x03Get\x12\".ec_order_blocks.OrderIdentRequest\x1a\x16.order.SummaryGetReply\"\x00\x12<\n" +
"\x04List\x12\x19.order.SummaryListRequest\x1a\x17.order.SummaryListReply\"\x00\x127\n" +
"\aConfirm\x12\x15.order.ConfirmRequest\x1a\x13.order.ConfirmReply\"\x00\x12C\n" +
"\x06Cancel\x12\x14.order.CancelRequest\x1a!.ec_order_blocks.OrderStatusReply\"\x00\x12M\n" +
"\vSimulatePay\x12\x19.order.SimulatePayRequest\x1a!.ec_order_blocks.OrderStatusReply\"\x00\x12Y\n" +
"\x11SimulateShipments\x12\x1f.order.SimulateShipmentsRequest\x1a!.ec_order_blocks.OrderStatusReply\"\x00\x12\\\n" +
"\x11SimulateReceiving\x12\".ec_order_blocks.OrderIdentRequest\x1a!.ec_order_blocks.OrderStatusReply\"\x00B#Z!bsm/full/module/ec/order/pb;orderb\x06proto3"
var (
file_module_ec_order_proto_summary_proto_rawDescOnce sync.Once
file_module_ec_order_proto_summary_proto_rawDescData []byte
)
func file_module_ec_order_proto_summary_proto_rawDescGZIP() []byte {
file_module_ec_order_proto_summary_proto_rawDescOnce.Do(func() {
file_module_ec_order_proto_summary_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_module_ec_order_proto_summary_proto_rawDesc), len(file_module_ec_order_proto_summary_proto_rawDesc)))
})
return file_module_ec_order_proto_summary_proto_rawDescData
}
var file_module_ec_order_proto_summary_proto_msgTypes = make([]protoimpl.MessageInfo, 12)
var file_module_ec_order_proto_summary_proto_goTypes = []any{
(*SimulateShipmentsRequest)(nil), // 0: order.SimulateShipmentsRequest
(*SubmitReply)(nil), // 1: order.SubmitReply
(*SimulatePayRequest)(nil), // 2: order.SimulatePayRequest
(*QuickCreateByProductRequest)(nil), // 3: order.QuickCreateByProductRequest
(*SubmitRequest)(nil), // 4: order.SubmitRequest
(*OrderAddress)(nil), // 5: order.OrderAddress
(*SummaryGetReply)(nil), // 6: order.SummaryGetReply
(*SummaryListRequest)(nil), // 7: order.SummaryListRequest
(*SummaryListReply)(nil), // 8: order.SummaryListReply
(*ConfirmRequest)(nil), // 9: order.ConfirmRequest
(*ConfirmReply)(nil), // 10: order.ConfirmReply
(*CancelRequest)(nil), // 11: order.CancelRequest
(*OrderSummaryItem)(nil), // 12: ec_order_blocks.OrderSummaryItem
(*Empty)(nil), // 13: ec_order_blocks.Empty
(*OrderIdentRequest)(nil), // 14: ec_order_blocks.OrderIdentRequest
(*OrderStatusReply)(nil), // 15: ec_order_blocks.OrderStatusReply
}
var file_module_ec_order_proto_summary_proto_depIdxs = []int32{
5, // 0: order.SubmitRequest.address:type_name -> order.OrderAddress
12, // 1: order.SummaryGetReply.summary:type_name -> ec_order_blocks.OrderSummaryItem
12, // 2: order.SummaryListReply.data:type_name -> ec_order_blocks.OrderSummaryItem
3, // 3: order.Summary.QuickCreateByProduct:input_type -> order.QuickCreateByProductRequest
4, // 4: order.Summary.Submit:input_type -> order.SubmitRequest
13, // 5: order.Summary.Check:input_type -> ec_order_blocks.Empty
14, // 6: order.Summary.Get:input_type -> ec_order_blocks.OrderIdentRequest
7, // 7: order.Summary.List:input_type -> order.SummaryListRequest
9, // 8: order.Summary.Confirm:input_type -> order.ConfirmRequest
11, // 9: order.Summary.Cancel:input_type -> order.CancelRequest
2, // 10: order.Summary.SimulatePay:input_type -> order.SimulatePayRequest
0, // 11: order.Summary.SimulateShipments:input_type -> order.SimulateShipmentsRequest
14, // 12: order.Summary.SimulateReceiving:input_type -> ec_order_blocks.OrderIdentRequest
15, // 13: order.Summary.QuickCreateByProduct:output_type -> ec_order_blocks.OrderStatusReply
15, // 14: order.Summary.Submit:output_type -> ec_order_blocks.OrderStatusReply
15, // 15: order.Summary.Check:output_type -> ec_order_blocks.OrderStatusReply
6, // 16: order.Summary.Get:output_type -> order.SummaryGetReply
8, // 17: order.Summary.List:output_type -> order.SummaryListReply
10, // 18: order.Summary.Confirm:output_type -> order.ConfirmReply
15, // 19: order.Summary.Cancel:output_type -> ec_order_blocks.OrderStatusReply
15, // 20: order.Summary.SimulatePay:output_type -> ec_order_blocks.OrderStatusReply
15, // 21: order.Summary.SimulateShipments:output_type -> ec_order_blocks.OrderStatusReply
15, // 22: order.Summary.SimulateReceiving:output_type -> ec_order_blocks.OrderStatusReply
13, // [13:23] is the sub-list for method output_type
3, // [3:13] is the sub-list for method input_type
3, // [3:3] is the sub-list for extension type_name
3, // [3:3] is the sub-list for extension extendee
0, // [0:3] is the sub-list for field type_name
}
func init() { file_module_ec_order_proto_summary_proto_init() }
func file_module_ec_order_proto_summary_proto_init() {
if File_module_ec_order_proto_summary_proto != nil {
return
}
file_module_ec_order_proto_const_proto_init()
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_module_ec_order_proto_summary_proto_rawDesc), len(file_module_ec_order_proto_summary_proto_rawDesc)),
NumEnums: 0,
NumMessages: 12,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_module_ec_order_proto_summary_proto_goTypes,
DependencyIndexes: file_module_ec_order_proto_summary_proto_depIdxs,
MessageInfos: file_module_ec_order_proto_summary_proto_msgTypes,
}.Build()
File_module_ec_order_proto_summary_proto = out.File
file_module_ec_order_proto_summary_proto_goTypes = nil
file_module_ec_order_proto_summary_proto_depIdxs = nil
}