orders

package
v0.0.0-...-bb91008 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: MulanPSL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Orders_CreateOrder_FullMethodName               = "/orders.Orders/CreateOrder"
	Orders_GetOrderBySn_FullMethodName              = "/orders.Orders/GetOrderBySn"
	Orders_GetOrderStatusBySn_FullMethodName        = "/orders.Orders/GetOrderStatusBySn"
	Orders_GetOrderByOrderId_FullMethodName         = "/orders.Orders/GetOrderByOrderId"
	Orders_GetOrdersByStatus_FullMethodName         = "/orders.Orders/GetOrdersByStatus"
	Orders_UpdateOrderBySn_FullMethodName           = "/orders.Orders/UpdateOrderBySn"
	Orders_RollbackOrderStatusBySn_FullMethodName   = "/orders.Orders/RollbackOrderStatusBySn"
	Orders_UpdateOrderToPaidBySn_FullMethodName     = "/orders.Orders/UpdateOrderToPaidBySn"
	Orders_UpdateOrderToTimedOutBySn_FullMethodName = "/orders.Orders/UpdateOrderToTimedOutBySn"
	Orders_RollbackCreateOrder_FullMethodName       = "/orders.Orders/RollbackCreateOrder"
)
View Source
const (
	Refunds_CreateRefundRecords_FullMethodName         = "/orders.Refunds/CreateRefundRecords"
	Refunds_RollbackCreateRefundRecords_FullMethodName = "/orders.Refunds/RollbackCreateRefundRecords"
	Refunds_GetRefundRecords_FullMethodName            = "/orders.Refunds/GetRefundRecords"
	Refunds_GetRefundRecordByRefundId_FullMethodName   = "/orders.Refunds/GetRefundRecordByRefundId"
)

Variables

View Source
var File_orders_proto protoreflect.FileDescriptor
View Source
var Orders_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "orders.Orders",
	HandlerType: (*OrdersServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateOrder",
			Handler:    _Orders_CreateOrder_Handler,
		},
		{
			MethodName: "GetOrderBySn",
			Handler:    _Orders_GetOrderBySn_Handler,
		},
		{
			MethodName: "GetOrderStatusBySn",
			Handler:    _Orders_GetOrderStatusBySn_Handler,
		},
		{
			MethodName: "GetOrderByOrderId",
			Handler:    _Orders_GetOrderByOrderId_Handler,
		},
		{
			MethodName: "GetOrdersByStatus",
			Handler:    _Orders_GetOrdersByStatus_Handler,
		},
		{
			MethodName: "UpdateOrderBySn",
			Handler:    _Orders_UpdateOrderBySn_Handler,
		},
		{
			MethodName: "RollbackOrderStatusBySn",
			Handler:    _Orders_RollbackOrderStatusBySn_Handler,
		},
		{
			MethodName: "UpdateOrderToPaidBySn",
			Handler:    _Orders_UpdateOrderToPaidBySn_Handler,
		},
		{
			MethodName: "UpdateOrderToTimedOutBySn",
			Handler:    _Orders_UpdateOrderToTimedOutBySn_Handler,
		},
		{
			MethodName: "RollbackCreateOrder",
			Handler:    _Orders_RollbackCreateOrder_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "orders.proto",
}

Orders_ServiceDesc is the grpc.ServiceDesc for Orders service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Refunds_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "orders.Refunds",
	HandlerType: (*RefundsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateRefundRecords",
			Handler:    _Refunds_CreateRefundRecords_Handler,
		},
		{
			MethodName: "RollbackCreateRefundRecords",
			Handler:    _Refunds_RollbackCreateRefundRecords_Handler,
		},
		{
			MethodName: "GetRefundRecords",
			Handler:    _Refunds_GetRefundRecords_Handler,
		},
		{
			MethodName: "GetRefundRecordByRefundId",
			Handler:    _Refunds_GetRefundRecordByRefundId_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "orders.proto",
}

Refunds_ServiceDesc is the grpc.ServiceDesc for Refunds service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterOrdersServer

func RegisterOrdersServer(s grpc.ServiceRegistrar, srv OrdersServer)

func RegisterRefundsServer

func RegisterRefundsServer(s grpc.ServiceRegistrar, srv RefundsServer)

Types

type CreateOrderRequest

type CreateOrderRequest struct {
	OrderInfo *OrderInfo `protobuf:"bytes,10,opt,name=OrderInfo,proto3" json:"OrderInfo,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateOrderRequest) Descriptor deprecated

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

Deprecated: Use CreateOrderRequest.ProtoReflect.Descriptor instead.

func (*CreateOrderRequest) GetOrderInfo

func (x *CreateOrderRequest) GetOrderInfo() *OrderInfo

func (*CreateOrderRequest) ProtoMessage

func (*CreateOrderRequest) ProtoMessage()

func (*CreateOrderRequest) ProtoReflect

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

func (*CreateOrderRequest) Reset

func (x *CreateOrderRequest) Reset()

func (*CreateOrderRequest) String

func (x *CreateOrderRequest) String() string

type CreateOrderResponse

type CreateOrderResponse struct {
	OrderId int64 `protobuf:"varint,10,opt,name=OrderId,proto3" json:"OrderId,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateOrderResponse) Descriptor deprecated

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

Deprecated: Use CreateOrderResponse.ProtoReflect.Descriptor instead.

func (*CreateOrderResponse) GetOrderId

func (x *CreateOrderResponse) GetOrderId() int64

func (*CreateOrderResponse) ProtoMessage

func (*CreateOrderResponse) ProtoMessage()

func (*CreateOrderResponse) ProtoReflect

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

func (*CreateOrderResponse) Reset

func (x *CreateOrderResponse) Reset()

func (*CreateOrderResponse) String

func (x *CreateOrderResponse) String() string

type CreateRefundRecordsRequest

type CreateRefundRecordsRequest struct {
	RefundRecords *RefundRecords `protobuf:"bytes,10,opt,name=RefundRecords,proto3" json:"RefundRecords,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRefundRecordsRequest) Descriptor deprecated

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

Deprecated: Use CreateRefundRecordsRequest.ProtoReflect.Descriptor instead.

func (*CreateRefundRecordsRequest) GetRefundRecords

func (x *CreateRefundRecordsRequest) GetRefundRecords() *RefundRecords

func (*CreateRefundRecordsRequest) ProtoMessage

func (*CreateRefundRecordsRequest) ProtoMessage()

func (*CreateRefundRecordsRequest) ProtoReflect

func (*CreateRefundRecordsRequest) Reset

func (x *CreateRefundRecordsRequest) Reset()

func (*CreateRefundRecordsRequest) String

func (x *CreateRefundRecordsRequest) String() string

type CreateRefundRecordsResponse

type CreateRefundRecordsResponse struct {
	RefundRecords *RefundRecords `protobuf:"bytes,10,opt,name=RefundRecords,proto3" json:"RefundRecords,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRefundRecordsResponse) Descriptor deprecated

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

Deprecated: Use CreateRefundRecordsResponse.ProtoReflect.Descriptor instead.

func (*CreateRefundRecordsResponse) GetRefundRecords

func (x *CreateRefundRecordsResponse) GetRefundRecords() *RefundRecords

func (*CreateRefundRecordsResponse) ProtoMessage

func (*CreateRefundRecordsResponse) ProtoMessage()

func (*CreateRefundRecordsResponse) ProtoReflect

func (*CreateRefundRecordsResponse) Reset

func (x *CreateRefundRecordsResponse) Reset()

func (*CreateRefundRecordsResponse) String

func (x *CreateRefundRecordsResponse) String() string

type GetOrderByOrderIdRequest

type GetOrderByOrderIdRequest struct {
	OrderId int64 `protobuf:"varint,10,opt,name=OrderId,proto3" json:"OrderId,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOrderByOrderIdRequest) Descriptor deprecated

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

Deprecated: Use GetOrderByOrderIdRequest.ProtoReflect.Descriptor instead.

func (*GetOrderByOrderIdRequest) GetOrderId

func (x *GetOrderByOrderIdRequest) GetOrderId() int64

func (*GetOrderByOrderIdRequest) ProtoMessage

func (*GetOrderByOrderIdRequest) ProtoMessage()

func (*GetOrderByOrderIdRequest) ProtoReflect

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

func (*GetOrderByOrderIdRequest) Reset

func (x *GetOrderByOrderIdRequest) Reset()

func (*GetOrderByOrderIdRequest) String

func (x *GetOrderByOrderIdRequest) String() string

type GetOrderByOrderIdResponse

type GetOrderByOrderIdResponse struct {
	OrderInfo *OrderInfo `protobuf:"bytes,10,opt,name=OrderInfo,proto3" json:"OrderInfo,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOrderByOrderIdResponse) Descriptor deprecated

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

Deprecated: Use GetOrderByOrderIdResponse.ProtoReflect.Descriptor instead.

func (*GetOrderByOrderIdResponse) GetOrderInfo

func (x *GetOrderByOrderIdResponse) GetOrderInfo() *OrderInfo

func (*GetOrderByOrderIdResponse) ProtoMessage

func (*GetOrderByOrderIdResponse) ProtoMessage()

func (*GetOrderByOrderIdResponse) ProtoReflect

func (*GetOrderByOrderIdResponse) Reset

func (x *GetOrderByOrderIdResponse) Reset()

func (*GetOrderByOrderIdResponse) String

func (x *GetOrderByOrderIdResponse) String() string

type GetOrderBySnRequest

type GetOrderBySnRequest struct {
	Sn string `protobuf:"bytes,10,opt,name=Sn,proto3" json:"Sn,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOrderBySnRequest) Descriptor deprecated

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

Deprecated: Use GetOrderBySnRequest.ProtoReflect.Descriptor instead.

func (*GetOrderBySnRequest) GetSn

func (x *GetOrderBySnRequest) GetSn() string

func (*GetOrderBySnRequest) ProtoMessage

func (*GetOrderBySnRequest) ProtoMessage()

func (*GetOrderBySnRequest) ProtoReflect

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

func (*GetOrderBySnRequest) Reset

func (x *GetOrderBySnRequest) Reset()

func (*GetOrderBySnRequest) String

func (x *GetOrderBySnRequest) String() string

type GetOrderBySnResponse

type GetOrderBySnResponse struct {
	OrderInfo *OrderInfo `protobuf:"bytes,10,opt,name=OrderInfo,proto3" json:"OrderInfo,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOrderBySnResponse) Descriptor deprecated

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

Deprecated: Use GetOrderBySnResponse.ProtoReflect.Descriptor instead.

func (*GetOrderBySnResponse) GetOrderInfo

func (x *GetOrderBySnResponse) GetOrderInfo() *OrderInfo

func (*GetOrderBySnResponse) ProtoMessage

func (*GetOrderBySnResponse) ProtoMessage()

func (*GetOrderBySnResponse) ProtoReflect

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

func (*GetOrderBySnResponse) Reset

func (x *GetOrderBySnResponse) Reset()

func (*GetOrderBySnResponse) String

func (x *GetOrderBySnResponse) String() string

type GetOrderStatusBySnRequest

type GetOrderStatusBySnRequest struct {
	Sn string `protobuf:"bytes,10,opt,name=Sn,proto3" json:"Sn,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOrderStatusBySnRequest) Descriptor deprecated

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

Deprecated: Use GetOrderStatusBySnRequest.ProtoReflect.Descriptor instead.

func (*GetOrderStatusBySnRequest) GetSn

func (x *GetOrderStatusBySnRequest) GetSn() string

func (*GetOrderStatusBySnRequest) ProtoMessage

func (*GetOrderStatusBySnRequest) ProtoMessage()

func (*GetOrderStatusBySnRequest) ProtoReflect

func (*GetOrderStatusBySnRequest) Reset

func (x *GetOrderStatusBySnRequest) Reset()

func (*GetOrderStatusBySnRequest) String

func (x *GetOrderStatusBySnRequest) String() string

type GetOrderStatusBySnResponse

type GetOrderStatusBySnResponse struct {
	Status int32 `protobuf:"varint,10,opt,name=Status,proto3" json:"Status,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOrderStatusBySnResponse) Descriptor deprecated

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

Deprecated: Use GetOrderStatusBySnResponse.ProtoReflect.Descriptor instead.

func (*GetOrderStatusBySnResponse) GetStatus

func (x *GetOrderStatusBySnResponse) GetStatus() int32

func (*GetOrderStatusBySnResponse) ProtoMessage

func (*GetOrderStatusBySnResponse) ProtoMessage()

func (*GetOrderStatusBySnResponse) ProtoReflect

func (*GetOrderStatusBySnResponse) Reset

func (x *GetOrderStatusBySnResponse) Reset()

func (*GetOrderStatusBySnResponse) String

func (x *GetOrderStatusBySnResponse) String() string

type GetOrdersByStatusRequest

type GetOrdersByStatusRequest struct {
	UserId       int64 `protobuf:"varint,10,opt,name=UserId,proto3" json:"UserId,omitempty"`
	Status       int64 `protobuf:"varint,20,opt,name=Status,proto3" json:"Status,omitempty"`
	IsAll        bool  `protobuf:"varint,30,opt,name=IsAll,proto3" json:"IsAll,omitempty"`
	IsEstimation bool  `protobuf:"varint,40,opt,name=IsEstimation,proto3" json:"IsEstimation,omitempty"`
	Page         int64 `protobuf:"varint,50,opt,name=Page,proto3" json:"Page,omitempty"`
	PageSize     int64 `protobuf:"varint,60,opt,name=PageSize,proto3" json:"PageSize,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOrdersByStatusRequest) Descriptor deprecated

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

Deprecated: Use GetOrdersByStatusRequest.ProtoReflect.Descriptor instead.

func (*GetOrdersByStatusRequest) GetIsAll

func (x *GetOrdersByStatusRequest) GetIsAll() bool

func (*GetOrdersByStatusRequest) GetIsEstimation

func (x *GetOrdersByStatusRequest) GetIsEstimation() bool

func (*GetOrdersByStatusRequest) GetPage

func (x *GetOrdersByStatusRequest) GetPage() int64

func (*GetOrdersByStatusRequest) GetPageSize

func (x *GetOrdersByStatusRequest) GetPageSize() int64

func (*GetOrdersByStatusRequest) GetStatus

func (x *GetOrdersByStatusRequest) GetStatus() int64

func (*GetOrdersByStatusRequest) GetUserId

func (x *GetOrdersByStatusRequest) GetUserId() int64

func (*GetOrdersByStatusRequest) ProtoMessage

func (*GetOrdersByStatusRequest) ProtoMessage()

func (*GetOrdersByStatusRequest) ProtoReflect

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

func (*GetOrdersByStatusRequest) Reset

func (x *GetOrdersByStatusRequest) Reset()

func (*GetOrdersByStatusRequest) String

func (x *GetOrdersByStatusRequest) String() string

type GetOrdersByStatusResponse

type GetOrdersByStatusResponse struct {
	OrderList []*OrderInfo `protobuf:"bytes,10,rep,name=OrderList,proto3" json:"OrderList,omitempty"`
	// contains filtered or unexported fields
}

func (*GetOrdersByStatusResponse) Descriptor deprecated

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

Deprecated: Use GetOrdersByStatusResponse.ProtoReflect.Descriptor instead.

func (*GetOrdersByStatusResponse) GetOrderList

func (x *GetOrdersByStatusResponse) GetOrderList() []*OrderInfo

func (*GetOrdersByStatusResponse) ProtoMessage

func (*GetOrdersByStatusResponse) ProtoMessage()

func (*GetOrdersByStatusResponse) ProtoReflect

func (*GetOrdersByStatusResponse) Reset

func (x *GetOrdersByStatusResponse) Reset()

func (*GetOrdersByStatusResponse) String

func (x *GetOrdersByStatusResponse) String() string

type GetRefundRecordByRefundIdRequest

type GetRefundRecordByRefundIdRequest struct {
	RefundId int64 `protobuf:"varint,10,opt,name=RefundId,proto3" json:"RefundId,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRefundRecordByRefundIdRequest) Descriptor deprecated

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

Deprecated: Use GetRefundRecordByRefundIdRequest.ProtoReflect.Descriptor instead.

func (*GetRefundRecordByRefundIdRequest) GetRefundId

func (x *GetRefundRecordByRefundIdRequest) GetRefundId() int64

func (*GetRefundRecordByRefundIdRequest) ProtoMessage

func (*GetRefundRecordByRefundIdRequest) ProtoMessage()

func (*GetRefundRecordByRefundIdRequest) ProtoReflect

func (*GetRefundRecordByRefundIdRequest) Reset

func (*GetRefundRecordByRefundIdRequest) String

type GetRefundRecordByRefundIdResponse

type GetRefundRecordByRefundIdResponse struct {
	RefundRecord *RefundRecords `protobuf:"bytes,10,opt,name=RefundRecord,proto3" json:"RefundRecord,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRefundRecordByRefundIdResponse) Descriptor deprecated

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

Deprecated: Use GetRefundRecordByRefundIdResponse.ProtoReflect.Descriptor instead.

func (*GetRefundRecordByRefundIdResponse) GetRefundRecord

func (x *GetRefundRecordByRefundIdResponse) GetRefundRecord() *RefundRecords

func (*GetRefundRecordByRefundIdResponse) ProtoMessage

func (*GetRefundRecordByRefundIdResponse) ProtoMessage()

func (*GetRefundRecordByRefundIdResponse) ProtoReflect

func (*GetRefundRecordByRefundIdResponse) Reset

func (*GetRefundRecordByRefundIdResponse) String

type GetRefundRecordsRequest

type GetRefundRecordsRequest struct {
	UserId   int64 `protobuf:"varint,20,opt,name=UserId,proto3" json:"UserId,omitempty"`
	Page     int64 `protobuf:"varint,30,opt,name=Page,proto3" json:"Page,omitempty"`
	PageSize int64 `protobuf:"varint,40,opt,name=PageSize,proto3" json:"PageSize,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRefundRecordsRequest) Descriptor deprecated

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

Deprecated: Use GetRefundRecordsRequest.ProtoReflect.Descriptor instead.

func (*GetRefundRecordsRequest) GetPage

func (x *GetRefundRecordsRequest) GetPage() int64

func (*GetRefundRecordsRequest) GetPageSize

func (x *GetRefundRecordsRequest) GetPageSize() int64

func (*GetRefundRecordsRequest) GetUserId

func (x *GetRefundRecordsRequest) GetUserId() int64

func (*GetRefundRecordsRequest) ProtoMessage

func (*GetRefundRecordsRequest) ProtoMessage()

func (*GetRefundRecordsRequest) ProtoReflect

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

func (*GetRefundRecordsRequest) Reset

func (x *GetRefundRecordsRequest) Reset()

func (*GetRefundRecordsRequest) String

func (x *GetRefundRecordsRequest) String() string

type GetRefundRecordsResponse

type GetRefundRecordsResponse struct {
	RefundRecords []*RefundRecords `protobuf:"bytes,10,rep,name=RefundRecords,proto3" json:"RefundRecords,omitempty"`
	// contains filtered or unexported fields
}

func (*GetRefundRecordsResponse) Descriptor deprecated

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

Deprecated: Use GetRefundRecordsResponse.ProtoReflect.Descriptor instead.

func (*GetRefundRecordsResponse) GetRefundRecords

func (x *GetRefundRecordsResponse) GetRefundRecords() []*RefundRecords

func (*GetRefundRecordsResponse) ProtoMessage

func (*GetRefundRecordsResponse) ProtoMessage()

func (*GetRefundRecordsResponse) ProtoReflect

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

func (*GetRefundRecordsResponse) Reset

func (x *GetRefundRecordsResponse) Reset()

func (*GetRefundRecordsResponse) String

func (x *GetRefundRecordsResponse) String() string

type OrderAddr

type OrderAddr struct {
	OrderAddrId int64  `protobuf:"varint,10,opt,name=OrderAddrId,proto3" json:"OrderAddrId,omitempty"`
	OrderId     int64  `protobuf:"varint,20,opt,name=OrderId,proto3" json:"OrderId,omitempty"`
	Mobile      string `protobuf:"bytes,30,opt,name=Mobile,proto3" json:"Mobile,omitempty"`
	Nickname    string `protobuf:"bytes,40,opt,name=Nickname,proto3" json:"Nickname,omitempty"`
	Address     string `protobuf:"bytes,50,opt,name=Address,proto3" json:"Address,omitempty"`
	// contains filtered or unexported fields
}

func (*OrderAddr) Descriptor deprecated

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

Deprecated: Use OrderAddr.ProtoReflect.Descriptor instead.

func (*OrderAddr) GetAddress

func (x *OrderAddr) GetAddress() string

func (*OrderAddr) GetMobile

func (x *OrderAddr) GetMobile() string

func (*OrderAddr) GetNickname

func (x *OrderAddr) GetNickname() string

func (*OrderAddr) GetOrderAddrId

func (x *OrderAddr) GetOrderAddrId() int64

func (*OrderAddr) GetOrderId

func (x *OrderAddr) GetOrderId() int64

func (*OrderAddr) ProtoMessage

func (*OrderAddr) ProtoMessage()

func (*OrderAddr) ProtoReflect

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

func (*OrderAddr) Reset

func (x *OrderAddr) Reset()

func (*OrderAddr) String

func (x *OrderAddr) String() string

type OrderInfo

type OrderInfo struct {
	OrderId         int64            `protobuf:"varint,10,opt,name=OrderId,proto3" json:"OrderId,omitempty"`
	CreatedAt       string           `protobuf:"bytes,11,opt,name=CreatedAt,proto3" json:"CreatedAt,omitempty"`
	UserId          int64            `protobuf:"varint,20,opt,name=UserId,proto3" json:"UserId,omitempty"`
	CouponId        int64            `protobuf:"varint,30,opt,name=CouponId,proto3" json:"CouponId,omitempty"`
	Sn              string           `protobuf:"bytes,40,opt,name=Sn,proto3" json:"Sn,omitempty"`
	Amount          string           `protobuf:"bytes,50,opt,name=Amount,proto3" json:"Amount,omitempty"`
	DiscountAmount  string           `protobuf:"bytes,60,opt,name=DiscountAmount,proto3" json:"DiscountAmount,omitempty"`
	PaidAmount      string           `protobuf:"bytes,70,opt,name=PaidAmount,proto3" json:"PaidAmount,omitempty"`
	PayType         int32            `protobuf:"varint,80,opt,name=PayType,proto3" json:"PayType,omitempty"`
	PayTime         string           `protobuf:"bytes,90,opt,name=PayTime,proto3" json:"PayTime,omitempty"`
	Status          int32            `protobuf:"varint,100,opt,name=Status,proto3" json:"Status,omitempty"`
	IsEstimation    bool             `protobuf:"varint,110,opt,name=IsEstimation,proto3" json:"IsEstimation,omitempty"`
	RefundableOrNot int32            `protobuf:"varint,120,opt,name=RefundableOrNot,proto3" json:"RefundableOrNot,omitempty"`
	OrderType       int32            `protobuf:"varint,130,opt,name=OrderType,proto3" json:"OrderType,omitempty"`
	OrderAddr       *OrderAddr       `protobuf:"bytes,140,opt,name=OrderAddr,proto3" json:"OrderAddr,omitempty"`
	Items           []*OrderItemInfo `protobuf:"bytes,150,rep,name=Items,proto3" json:"Items,omitempty"`
	// contains filtered or unexported fields
}

func (*OrderInfo) Descriptor deprecated

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

Deprecated: Use OrderInfo.ProtoReflect.Descriptor instead.

func (*OrderInfo) GetAmount

func (x *OrderInfo) GetAmount() string

func (*OrderInfo) GetCouponId

func (x *OrderInfo) GetCouponId() int64

func (*OrderInfo) GetCreatedAt

func (x *OrderInfo) GetCreatedAt() string

func (*OrderInfo) GetDiscountAmount

func (x *OrderInfo) GetDiscountAmount() string

func (*OrderInfo) GetIsEstimation

func (x *OrderInfo) GetIsEstimation() bool

func (*OrderInfo) GetItems

func (x *OrderInfo) GetItems() []*OrderItemInfo

func (*OrderInfo) GetOrderAddr

func (x *OrderInfo) GetOrderAddr() *OrderAddr

func (*OrderInfo) GetOrderId

func (x *OrderInfo) GetOrderId() int64

func (*OrderInfo) GetOrderType

func (x *OrderInfo) GetOrderType() int32

func (*OrderInfo) GetPaidAmount

func (x *OrderInfo) GetPaidAmount() string

func (*OrderInfo) GetPayTime

func (x *OrderInfo) GetPayTime() string

func (*OrderInfo) GetPayType

func (x *OrderInfo) GetPayType() int32

func (*OrderInfo) GetRefundableOrNot

func (x *OrderInfo) GetRefundableOrNot() int32

func (*OrderInfo) GetSn

func (x *OrderInfo) GetSn() string

func (*OrderInfo) GetStatus

func (x *OrderInfo) GetStatus() int32

func (*OrderInfo) GetUserId

func (x *OrderInfo) GetUserId() int64

func (*OrderInfo) ProtoMessage

func (*OrderInfo) ProtoMessage()

func (*OrderInfo) ProtoReflect

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

func (*OrderInfo) Reset

func (x *OrderInfo) Reset()

func (*OrderInfo) String

func (x *OrderInfo) String() string

type OrderItemInfo

type OrderItemInfo struct {
	OrderItemId int64  `protobuf:"varint,10,opt,name=OrderItemId,proto3" json:"OrderItemId,omitempty"`
	OrderId     int64  `protobuf:"varint,20,opt,name=OrderId,proto3" json:"OrderId,omitempty"`
	GoodsId     int64  `protobuf:"varint,30,opt,name=GoodsId,proto3" json:"GoodsId,omitempty"`
	Quantity    int64  `protobuf:"varint,40,opt,name=Quantity,proto3" json:"Quantity,omitempty"`
	GoodsTitle  string `protobuf:"bytes,50,opt,name=GoodsTitle,proto3" json:"GoodsTitle,omitempty"`
	GoodsPrice  string `protobuf:"bytes,60,opt,name=GoodsPrice,proto3" json:"GoodsPrice,omitempty"`
	Img         string `protobuf:"bytes,70,opt,name=Img,proto3" json:"Img,omitempty"`
	// contains filtered or unexported fields
}

func (*OrderItemInfo) Descriptor deprecated

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

Deprecated: Use OrderItemInfo.ProtoReflect.Descriptor instead.

func (*OrderItemInfo) GetGoodsId

func (x *OrderItemInfo) GetGoodsId() int64

func (*OrderItemInfo) GetGoodsPrice

func (x *OrderItemInfo) GetGoodsPrice() string

func (*OrderItemInfo) GetGoodsTitle

func (x *OrderItemInfo) GetGoodsTitle() string

func (*OrderItemInfo) GetImg

func (x *OrderItemInfo) GetImg() string

func (*OrderItemInfo) GetOrderId

func (x *OrderItemInfo) GetOrderId() int64

func (*OrderItemInfo) GetOrderItemId

func (x *OrderItemInfo) GetOrderItemId() int64

func (*OrderItemInfo) GetQuantity

func (x *OrderItemInfo) GetQuantity() int64

func (*OrderItemInfo) ProtoMessage

func (*OrderItemInfo) ProtoMessage()

func (*OrderItemInfo) ProtoReflect

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

func (*OrderItemInfo) Reset

func (x *OrderItemInfo) Reset()

func (*OrderItemInfo) String

func (x *OrderItemInfo) String() string

type OrdersClient

OrdersClient is the client API for Orders 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 NewOrdersClient

func NewOrdersClient(cc grpc.ClientConnInterface) OrdersClient

type OrdersServer

OrdersServer is the server API for Orders service. All implementations must embed UnimplementedOrdersServer for forward compatibility.

type RefundRecords

type RefundRecords struct {
	RefundRecordsID int64    `protobuf:"varint,10,opt,name=RefundRecordsID,proto3" json:"RefundRecordsID,omitempty"`
	OrderID         int64    `protobuf:"varint,20,opt,name=OrderID,proto3" json:"OrderID,omitempty"`
	UserId          int64    `protobuf:"varint,30,opt,name=UserId,proto3" json:"UserId,omitempty"`
	OrderSn         string   `protobuf:"bytes,40,opt,name=OrderSn,proto3" json:"OrderSn,omitempty"`
	RefundAmount    string   `protobuf:"bytes,50,opt,name=RefundAmount,proto3" json:"RefundAmount,omitempty"`
	RefundSn        string   `protobuf:"bytes,60,opt,name=RefundSn,proto3" json:"RefundSn,omitempty"`
	RefundReason    string   `protobuf:"bytes,70,opt,name=RefundReason,proto3" json:"RefundReason,omitempty"`
	RefundStatus    int32    `protobuf:"varint,80,opt,name=RefundStatus,proto3" json:"RefundStatus,omitempty"`
	RefundImageUrls []string `protobuf:"bytes,90,rep,name=RefundImageUrls,proto3" json:"RefundImageUrls,omitempty"`
	// contains filtered or unexported fields
}

func (*RefundRecords) Descriptor deprecated

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

Deprecated: Use RefundRecords.ProtoReflect.Descriptor instead.

func (*RefundRecords) GetOrderID

func (x *RefundRecords) GetOrderID() int64

func (*RefundRecords) GetOrderSn

func (x *RefundRecords) GetOrderSn() string

func (*RefundRecords) GetRefundAmount

func (x *RefundRecords) GetRefundAmount() string

func (*RefundRecords) GetRefundImageUrls

func (x *RefundRecords) GetRefundImageUrls() []string

func (*RefundRecords) GetRefundReason

func (x *RefundRecords) GetRefundReason() string

func (*RefundRecords) GetRefundRecordsID

func (x *RefundRecords) GetRefundRecordsID() int64

func (*RefundRecords) GetRefundSn

func (x *RefundRecords) GetRefundSn() string

func (*RefundRecords) GetRefundStatus

func (x *RefundRecords) GetRefundStatus() int32

func (*RefundRecords) GetUserId

func (x *RefundRecords) GetUserId() int64

func (*RefundRecords) ProtoMessage

func (*RefundRecords) ProtoMessage()

func (*RefundRecords) ProtoReflect

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

func (*RefundRecords) Reset

func (x *RefundRecords) Reset()

func (*RefundRecords) String

func (x *RefundRecords) String() string

type RefundsClient

type RefundsClient interface {
	CreateRefundRecords(ctx context.Context, in *CreateRefundRecordsRequest, opts ...grpc.CallOption) (*CreateRefundRecordsResponse, error)
	RollbackCreateRefundRecords(ctx context.Context, in *CreateRefundRecordsRequest, opts ...grpc.CallOption) (*CreateRefundRecordsResponse, error)
	GetRefundRecords(ctx context.Context, in *GetRefundRecordsRequest, opts ...grpc.CallOption) (*GetRefundRecordsResponse, error)
	GetRefundRecordByRefundId(ctx context.Context, in *GetRefundRecordByRefundIdRequest, opts ...grpc.CallOption) (*GetRefundRecordByRefundIdResponse, error)
}

RefundsClient is the client API for Refunds 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 NewRefundsClient

func NewRefundsClient(cc grpc.ClientConnInterface) RefundsClient

type RefundsServer

type RefundsServer interface {
	CreateRefundRecords(context.Context, *CreateRefundRecordsRequest) (*CreateRefundRecordsResponse, error)
	RollbackCreateRefundRecords(context.Context, *CreateRefundRecordsRequest) (*CreateRefundRecordsResponse, error)
	GetRefundRecords(context.Context, *GetRefundRecordsRequest) (*GetRefundRecordsResponse, error)
	GetRefundRecordByRefundId(context.Context, *GetRefundRecordByRefundIdRequest) (*GetRefundRecordByRefundIdResponse, error)
	// contains filtered or unexported methods
}

RefundsServer is the server API for Refunds service. All implementations must embed UnimplementedRefundsServer for forward compatibility.

type UnimplementedOrdersServer

type UnimplementedOrdersServer struct{}

UnimplementedOrdersServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedOrdersServer) CreateOrder

func (UnimplementedOrdersServer) GetOrderBySn

func (UnimplementedOrdersServer) RollbackCreateOrder

func (UnimplementedOrdersServer) RollbackOrderStatusBySn

func (UnimplementedOrdersServer) UpdateOrderBySn

type UnimplementedRefundsServer

type UnimplementedRefundsServer struct{}

UnimplementedRefundsServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedRefundsServer) GetRefundRecords

func (UnimplementedRefundsServer) RollbackCreateRefundRecords

type UnsafeOrdersServer

type UnsafeOrdersServer interface {
	// contains filtered or unexported methods
}

UnsafeOrdersServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OrdersServer will result in compilation errors.

type UnsafeRefundsServer

type UnsafeRefundsServer interface {
	// contains filtered or unexported methods
}

UnsafeRefundsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RefundsServer will result in compilation errors.

type UpdOrderPaymentStatusRequest

type UpdOrderPaymentStatusRequest struct {
	OrderSn string `protobuf:"bytes,10,opt,name=OrderSn,proto3" json:"OrderSn,omitempty"`
	PayTime string `protobuf:"bytes,20,opt,name=PayTime,proto3" json:"PayTime,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdOrderPaymentStatusRequest) Descriptor deprecated

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

Deprecated: Use UpdOrderPaymentStatusRequest.ProtoReflect.Descriptor instead.

func (*UpdOrderPaymentStatusRequest) GetOrderSn

func (x *UpdOrderPaymentStatusRequest) GetOrderSn() string

func (*UpdOrderPaymentStatusRequest) GetPayTime

func (x *UpdOrderPaymentStatusRequest) GetPayTime() string

func (*UpdOrderPaymentStatusRequest) ProtoMessage

func (*UpdOrderPaymentStatusRequest) ProtoMessage()

func (*UpdOrderPaymentStatusRequest) ProtoReflect

func (*UpdOrderPaymentStatusRequest) Reset

func (x *UpdOrderPaymentStatusRequest) Reset()

func (*UpdOrderPaymentStatusRequest) String

type UpdOrderPaymentStatusResponse

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

func (*UpdOrderPaymentStatusResponse) Descriptor deprecated

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

Deprecated: Use UpdOrderPaymentStatusResponse.ProtoReflect.Descriptor instead.

func (*UpdOrderPaymentStatusResponse) ProtoMessage

func (*UpdOrderPaymentStatusResponse) ProtoMessage()

func (*UpdOrderPaymentStatusResponse) ProtoReflect

func (*UpdOrderPaymentStatusResponse) Reset

func (x *UpdOrderPaymentStatusResponse) Reset()

func (*UpdOrderPaymentStatusResponse) String

type UpdateOrderBySnRequest

type UpdateOrderBySnRequest struct {
	OrderSn                 string `protobuf:"bytes,10,opt,name=OrderSn,proto3" json:"OrderSn,omitempty"`
	Status                  int32  `protobuf:"varint,20,opt,name=Status,proto3" json:"Status,omitempty"`
	PayTime                 string `protobuf:"bytes,30,opt,name=PayTime,proto3" json:"PayTime,omitempty"`
	RefundableOrNot         int32  `protobuf:"varint,40,opt,name=RefundableOrNot,proto3" json:"RefundableOrNot,omitempty"`
	RollbackStatus          int32  `protobuf:"varint,50,opt,name=RollbackStatus,proto3" json:"RollbackStatus,omitempty"`
	RollbackRefundableOrNot int32  `protobuf:"varint,60,opt,name=RollbackRefundableOrNot,proto3" json:"RollbackRefundableOrNot,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateOrderBySnRequest) Descriptor deprecated

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

Deprecated: Use UpdateOrderBySnRequest.ProtoReflect.Descriptor instead.

func (*UpdateOrderBySnRequest) GetOrderSn

func (x *UpdateOrderBySnRequest) GetOrderSn() string

func (*UpdateOrderBySnRequest) GetPayTime

func (x *UpdateOrderBySnRequest) GetPayTime() string

func (*UpdateOrderBySnRequest) GetRefundableOrNot

func (x *UpdateOrderBySnRequest) GetRefundableOrNot() int32

func (*UpdateOrderBySnRequest) GetRollbackRefundableOrNot

func (x *UpdateOrderBySnRequest) GetRollbackRefundableOrNot() int32

func (*UpdateOrderBySnRequest) GetRollbackStatus

func (x *UpdateOrderBySnRequest) GetRollbackStatus() int32

func (*UpdateOrderBySnRequest) GetStatus

func (x *UpdateOrderBySnRequest) GetStatus() int32

func (*UpdateOrderBySnRequest) ProtoMessage

func (*UpdateOrderBySnRequest) ProtoMessage()

func (*UpdateOrderBySnRequest) ProtoReflect

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

func (*UpdateOrderBySnRequest) Reset

func (x *UpdateOrderBySnRequest) Reset()

func (*UpdateOrderBySnRequest) String

func (x *UpdateOrderBySnRequest) String() string

type UpdateOrderBySnResponse

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

func (*UpdateOrderBySnResponse) Descriptor deprecated

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

Deprecated: Use UpdateOrderBySnResponse.ProtoReflect.Descriptor instead.

func (*UpdateOrderBySnResponse) ProtoMessage

func (*UpdateOrderBySnResponse) ProtoMessage()

func (*UpdateOrderBySnResponse) ProtoReflect

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

func (*UpdateOrderBySnResponse) Reset

func (x *UpdateOrderBySnResponse) Reset()

func (*UpdateOrderBySnResponse) String

func (x *UpdateOrderBySnResponse) String() string

Jump to

Keyboard shortcuts

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