Documentation ¶
Index ¶
- func RegisterOrderServiceServer(s *grpc.Server, srv OrderServiceServer)
- func Server(port int, srv OrderServiceServer) error
- type AliPayReply
- func (*AliPayReply) Descriptor() ([]byte, []int)
- func (m *AliPayReply) GetAliTradeNo() string
- func (m *AliPayReply) GetAppReply() *AlipayAppInfo
- func (m *AliPayReply) GetH5Html() string
- func (*AliPayReply) ProtoMessage()
- func (m *AliPayReply) Reset()
- func (m *AliPayReply) String() string
- func (m *AliPayReply) XXX_DiscardUnknown()
- func (m *AliPayReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AliPayReply) XXX_Merge(src proto.Message)
- func (m *AliPayReply) XXX_Size() int
- func (m *AliPayReply) XXX_Unmarshal(b []byte) error
- type AliPayRequest
- func (*AliPayRequest) Descriptor() ([]byte, []int)
- func (m *AliPayRequest) GetAppId() string
- func (m *AliPayRequest) GetBuyerId() string
- func (m *AliPayRequest) GetDescription() string
- func (m *AliPayRequest) GetPayAmount() int64
- func (m *AliPayRequest) GetPayType() string
- func (m *AliPayRequest) GetReceiptSymbol() string
- func (m *AliPayRequest) GetReturnUrl() string
- func (m *AliPayRequest) GetTradeNo() string
- func (m *AliPayRequest) GetUserId() int64
- func (*AliPayRequest) ProtoMessage()
- func (m *AliPayRequest) Reset()
- func (m *AliPayRequest) String() string
- func (m *AliPayRequest) XXX_DiscardUnknown()
- func (m *AliPayRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AliPayRequest) XXX_Merge(src proto.Message)
- func (m *AliPayRequest) XXX_Size() int
- func (m *AliPayRequest) XXX_Unmarshal(b []byte) error
- type AlipayAppInfo
- func (*AlipayAppInfo) Descriptor() ([]byte, []int)
- func (m *AlipayAppInfo) GetBizContent() string
- func (m *AlipayAppInfo) GetCharset() string
- func (m *AlipayAppInfo) GetMethod() string
- func (m *AlipayAppInfo) GetNotifyUrl() string
- func (m *AlipayAppInfo) GetProductCode() string
- func (m *AlipayAppInfo) GetSign() string
- func (m *AlipayAppInfo) GetSignType() string
- func (m *AlipayAppInfo) GetTimestamp() string
- func (m *AlipayAppInfo) GetVersion() string
- func (*AlipayAppInfo) ProtoMessage()
- func (m *AlipayAppInfo) Reset()
- func (m *AlipayAppInfo) String() string
- func (m *AlipayAppInfo) XXX_DiscardUnknown()
- func (m *AlipayAppInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *AlipayAppInfo) XXX_Merge(src proto.Message)
- func (m *AlipayAppInfo) XXX_Size() int
- func (m *AlipayAppInfo) XXX_Unmarshal(b []byte) error
- type BusProductsList
- func (*BusProductsList) Descriptor() ([]byte, []int)
- func (m *BusProductsList) GetBusOrderNo() string
- func (m *BusProductsList) GetBusType() string
- func (m *BusProductsList) GetCommodityId() string
- func (m *BusProductsList) GetCommodityName() string
- func (m *BusProductsList) GetExtraInfo() string
- func (m *BusProductsList) GetFeeList() []*FeeInfo
- func (m *BusProductsList) GetGoodsAmount() int64
- func (m *BusProductsList) GetPayAmount() int64
- func (m *BusProductsList) GetProductType() string
- func (m *BusProductsList) GetPurchaseAmount() int64
- func (m *BusProductsList) GetSupplierCode() int64
- func (*BusProductsList) ProtoMessage()
- func (m *BusProductsList) Reset()
- func (m *BusProductsList) String() string
- func (m *BusProductsList) XXX_DiscardUnknown()
- func (m *BusProductsList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *BusProductsList) XXX_Merge(src proto.Message)
- func (m *BusProductsList) XXX_Size() int
- func (m *BusProductsList) XXX_Unmarshal(b []byte) error
- type CreateOrderReply
- func (*CreateOrderReply) Descriptor() ([]byte, []int)
- func (m *CreateOrderReply) GetBusTradeNo() string
- func (m *CreateOrderReply) GetOrderNos() []*OrderNoList
- func (m *CreateOrderReply) GetTradeNo() string
- func (*CreateOrderReply) ProtoMessage()
- func (m *CreateOrderReply) Reset()
- func (m *CreateOrderReply) String() string
- func (m *CreateOrderReply) XXX_DiscardUnknown()
- func (m *CreateOrderReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CreateOrderReply) XXX_Merge(src proto.Message)
- func (m *CreateOrderReply) XXX_Size() int
- func (m *CreateOrderReply) XXX_Unmarshal(b []byte) error
- type CreateOrderRequest
- func (*CreateOrderRequest) Descriptor() ([]byte, []int)
- func (m *CreateOrderRequest) GetAppId() string
- func (m *CreateOrderRequest) GetBusProducts() []*BusProductsList
- func (m *CreateOrderRequest) GetBusTradeNo() string
- func (m *CreateOrderRequest) GetBusType() string
- func (m *CreateOrderRequest) GetCurrency() string
- func (m *CreateOrderRequest) GetExpireTime() string
- func (m *CreateOrderRequest) GetFreight() int64
- func (m *CreateOrderRequest) GetMerchantCoupon() int64
- func (m *CreateOrderRequest) GetPayAmount() int64
- func (m *CreateOrderRequest) GetPlatformCoupon() int64
- func (m *CreateOrderRequest) GetRemark() string
- func (m *CreateOrderRequest) GetTradeAmount() int64
- func (m *CreateOrderRequest) GetTradeExtraInfo() string
- func (m *CreateOrderRequest) GetTradeMode() int64
- func (m *CreateOrderRequest) GetTradeSubType() int64
- func (m *CreateOrderRequest) GetTradeType() int64
- func (m *CreateOrderRequest) GetUserId() int64
- func (*CreateOrderRequest) ProtoMessage()
- func (m *CreateOrderRequest) Reset()
- func (m *CreateOrderRequest) String() string
- func (m *CreateOrderRequest) XXX_DiscardUnknown()
- func (m *CreateOrderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CreateOrderRequest) XXX_Merge(src proto.Message)
- func (m *CreateOrderRequest) XXX_Size() int
- func (m *CreateOrderRequest) XXX_Unmarshal(b []byte) error
- type FeeInfo
- func (*FeeInfo) Descriptor() ([]byte, []int)
- func (m *FeeInfo) GetFee() int64
- func (m *FeeInfo) GetFeeType() int64
- func (*FeeInfo) ProtoMessage()
- func (m *FeeInfo) Reset()
- func (m *FeeInfo) String() string
- func (m *FeeInfo) XXX_DiscardUnknown()
- func (m *FeeInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *FeeInfo) XXX_Merge(src proto.Message)
- func (m *FeeInfo) XXX_Size() int
- func (m *FeeInfo) XXX_Unmarshal(b []byte) error
- type OrderNoList
- func (*OrderNoList) Descriptor() ([]byte, []int)
- func (m *OrderNoList) GetBusOrderNo() string
- func (m *OrderNoList) GetOrderNo() string
- func (*OrderNoList) ProtoMessage()
- func (m *OrderNoList) Reset()
- func (m *OrderNoList) String() string
- func (m *OrderNoList) XXX_DiscardUnknown()
- func (m *OrderNoList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *OrderNoList) XXX_Merge(src proto.Message)
- func (m *OrderNoList) XXX_Size() int
- func (m *OrderNoList) XXX_Unmarshal(b []byte) error
- type OrderServiceClient
- type OrderServiceServer
- type PingReply
- func (*PingReply) Descriptor() ([]byte, []int)
- func (m *PingReply) GetMsg() string
- func (*PingReply) ProtoMessage()
- func (m *PingReply) Reset()
- func (m *PingReply) String() string
- func (m *PingReply) XXX_DiscardUnknown()
- func (m *PingReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PingReply) XXX_Merge(src proto.Message)
- func (m *PingReply) XXX_Size() int
- func (m *PingReply) XXX_Unmarshal(b []byte) error
- type PingRequest
- func (*PingRequest) Descriptor() ([]byte, []int)
- func (m *PingRequest) GetMsg() string
- func (*PingRequest) ProtoMessage()
- func (m *PingRequest) Reset()
- func (m *PingRequest) String() string
- func (m *PingRequest) XXX_DiscardUnknown()
- func (m *PingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *PingRequest) XXX_Merge(src proto.Message)
- func (m *PingRequest) XXX_Size() int
- func (m *PingRequest) XXX_Unmarshal(b []byte) error
- type WXPayReply
- func (*WXPayReply) Descriptor() ([]byte, []int)
- func (m *WXPayReply) GetAppId() string
- func (m *WXPayReply) GetCodeUrl() string
- func (m *WXPayReply) GetMchId() string
- func (m *WXPayReply) GetMwebUrl() string
- func (m *WXPayReply) GetNonceStr() string
- func (m *WXPayReply) GetPackage() string
- func (m *WXPayReply) GetPaySign() string
- func (m *WXPayReply) GetPrepayId() string
- func (m *WXPayReply) GetSignType() string
- func (m *WXPayReply) GetTimestamp() string
- func (*WXPayReply) ProtoMessage()
- func (m *WXPayReply) Reset()
- func (m *WXPayReply) String() string
- func (m *WXPayReply) XXX_DiscardUnknown()
- func (m *WXPayReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *WXPayReply) XXX_Merge(src proto.Message)
- func (m *WXPayReply) XXX_Size() int
- func (m *WXPayReply) XXX_Unmarshal(b []byte) error
- type WxPayRequest
- func (*WxPayRequest) Descriptor() ([]byte, []int)
- func (m *WxPayRequest) GetAppId() string
- func (m *WxPayRequest) GetClientIp() string
- func (m *WxPayRequest) GetDescription() string
- func (m *WxPayRequest) GetPayAmount() int64
- func (m *WxPayRequest) GetPayType() string
- func (m *WxPayRequest) GetProductId() string
- func (m *WxPayRequest) GetReceiptSymbol() string
- func (m *WxPayRequest) GetSceneInfo() string
- func (m *WxPayRequest) GetTradeNo() string
- func (m *WxPayRequest) GetUserId() int64
- func (*WxPayRequest) ProtoMessage()
- func (m *WxPayRequest) Reset()
- func (m *WxPayRequest) String() string
- func (m *WxPayRequest) XXX_DiscardUnknown()
- func (m *WxPayRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *WxPayRequest) XXX_Merge(src proto.Message)
- func (m *WxPayRequest) XXX_Size() int
- func (m *WxPayRequest) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterOrderServiceServer ¶
func RegisterOrderServiceServer(s *grpc.Server, srv OrderServiceServer)
Types ¶
type AliPayReply ¶
type AliPayReply struct { H5Html string `protobuf:"bytes,1,opt,name=H5_html,json=H5Html,proto3" json:"H5_html,omitempty"` AliTradeNo string `protobuf:"bytes,2,opt,name=ali_trade_no,json=aliTradeNo,proto3" json:"ali_trade_no,omitempty"` AppReply *AlipayAppInfo `protobuf:"bytes,3,opt,name=appReply,proto3" json:"appReply,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AliPayReply) Descriptor ¶
func (*AliPayReply) Descriptor() ([]byte, []int)
func (*AliPayReply) GetAliTradeNo ¶
func (m *AliPayReply) GetAliTradeNo() string
func (*AliPayReply) GetAppReply ¶
func (m *AliPayReply) GetAppReply() *AlipayAppInfo
func (*AliPayReply) GetH5Html ¶
func (m *AliPayReply) GetH5Html() string
func (*AliPayReply) ProtoMessage ¶
func (*AliPayReply) ProtoMessage()
func (*AliPayReply) Reset ¶
func (m *AliPayReply) Reset()
func (*AliPayReply) String ¶
func (m *AliPayReply) String() string
func (*AliPayReply) XXX_DiscardUnknown ¶
func (m *AliPayReply) XXX_DiscardUnknown()
func (*AliPayReply) XXX_Marshal ¶
func (m *AliPayReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AliPayReply) XXX_Merge ¶
func (dst *AliPayReply) XXX_Merge(src proto.Message)
func (*AliPayReply) XXX_Size ¶
func (m *AliPayReply) XXX_Size() int
func (*AliPayReply) XXX_Unmarshal ¶
func (m *AliPayReply) XXX_Unmarshal(b []byte) error
type AliPayRequest ¶
type AliPayRequest struct { UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` TradeNo string `protobuf:"bytes,2,opt,name=trade_no,json=tradeNo,proto3" json:"trade_no,omitempty"` PayAmount int64 `protobuf:"varint,3,opt,name=pay_amount,json=payAmount,proto3" json:"pay_amount,omitempty"` PayType string `protobuf:"bytes,4,opt,name=pay_type,json=payType,proto3" json:"pay_type,omitempty"` AppId string `protobuf:"bytes,5,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` ReturnUrl string `protobuf:"bytes,7,opt,name=return_url,json=returnUrl,proto3" json:"return_url,omitempty"` BuyerId string `protobuf:"bytes,8,opt,name=buyer_id,json=buyerId,proto3" json:"buyer_id,omitempty"` ReceiptSymbol string `protobuf:"bytes,9,opt,name=receipt_symbol,json=receiptSymbol,proto3" json:"receipt_symbol,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AliPayRequest) Descriptor ¶
func (*AliPayRequest) Descriptor() ([]byte, []int)
func (*AliPayRequest) GetAppId ¶
func (m *AliPayRequest) GetAppId() string
func (*AliPayRequest) GetBuyerId ¶
func (m *AliPayRequest) GetBuyerId() string
func (*AliPayRequest) GetDescription ¶
func (m *AliPayRequest) GetDescription() string
func (*AliPayRequest) GetPayAmount ¶
func (m *AliPayRequest) GetPayAmount() int64
func (*AliPayRequest) GetPayType ¶
func (m *AliPayRequest) GetPayType() string
func (*AliPayRequest) GetReceiptSymbol ¶
func (m *AliPayRequest) GetReceiptSymbol() string
func (*AliPayRequest) GetReturnUrl ¶
func (m *AliPayRequest) GetReturnUrl() string
func (*AliPayRequest) GetTradeNo ¶
func (m *AliPayRequest) GetTradeNo() string
func (*AliPayRequest) GetUserId ¶
func (m *AliPayRequest) GetUserId() int64
func (*AliPayRequest) ProtoMessage ¶
func (*AliPayRequest) ProtoMessage()
func (*AliPayRequest) Reset ¶
func (m *AliPayRequest) Reset()
func (*AliPayRequest) String ¶
func (m *AliPayRequest) String() string
func (*AliPayRequest) XXX_DiscardUnknown ¶
func (m *AliPayRequest) XXX_DiscardUnknown()
func (*AliPayRequest) XXX_Marshal ¶
func (m *AliPayRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AliPayRequest) XXX_Merge ¶
func (dst *AliPayRequest) XXX_Merge(src proto.Message)
func (*AliPayRequest) XXX_Size ¶
func (m *AliPayRequest) XXX_Size() int
func (*AliPayRequest) XXX_Unmarshal ¶
func (m *AliPayRequest) XXX_Unmarshal(b []byte) error
type AlipayAppInfo ¶
type AlipayAppInfo struct { Charset string `protobuf:"bytes,1,opt,name=charset,proto3" json:"charset,omitempty"` SignType string `protobuf:"bytes,2,opt,name=sign_type,json=signType,proto3" json:"sign_type,omitempty"` Sign string `protobuf:"bytes,3,opt,name=sign,proto3" json:"sign,omitempty"` NotifyUrl string `protobuf:"bytes,4,opt,name=notify_url,json=notifyUrl,proto3" json:"notify_url,omitempty"` Timestamp string `protobuf:"bytes,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Version string `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty"` Method string `protobuf:"bytes,7,opt,name=method,proto3" json:"method,omitempty"` ProductCode string `protobuf:"bytes,8,opt,name=product_code,json=productCode,proto3" json:"product_code,omitempty"` BizContent string `protobuf:"bytes,9,opt,name=biz_content,json=bizContent,proto3" json:"biz_content,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AlipayAppInfo) Descriptor ¶
func (*AlipayAppInfo) Descriptor() ([]byte, []int)
func (*AlipayAppInfo) GetBizContent ¶
func (m *AlipayAppInfo) GetBizContent() string
func (*AlipayAppInfo) GetCharset ¶
func (m *AlipayAppInfo) GetCharset() string
func (*AlipayAppInfo) GetMethod ¶
func (m *AlipayAppInfo) GetMethod() string
func (*AlipayAppInfo) GetNotifyUrl ¶
func (m *AlipayAppInfo) GetNotifyUrl() string
func (*AlipayAppInfo) GetProductCode ¶
func (m *AlipayAppInfo) GetProductCode() string
func (*AlipayAppInfo) GetSign ¶
func (m *AlipayAppInfo) GetSign() string
func (*AlipayAppInfo) GetSignType ¶
func (m *AlipayAppInfo) GetSignType() string
func (*AlipayAppInfo) GetTimestamp ¶
func (m *AlipayAppInfo) GetTimestamp() string
func (*AlipayAppInfo) GetVersion ¶
func (m *AlipayAppInfo) GetVersion() string
func (*AlipayAppInfo) ProtoMessage ¶
func (*AlipayAppInfo) ProtoMessage()
func (*AlipayAppInfo) Reset ¶
func (m *AlipayAppInfo) Reset()
func (*AlipayAppInfo) String ¶
func (m *AlipayAppInfo) String() string
func (*AlipayAppInfo) XXX_DiscardUnknown ¶
func (m *AlipayAppInfo) XXX_DiscardUnknown()
func (*AlipayAppInfo) XXX_Marshal ¶
func (m *AlipayAppInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AlipayAppInfo) XXX_Merge ¶
func (dst *AlipayAppInfo) XXX_Merge(src proto.Message)
func (*AlipayAppInfo) XXX_Size ¶
func (m *AlipayAppInfo) XXX_Size() int
func (*AlipayAppInfo) XXX_Unmarshal ¶
func (m *AlipayAppInfo) XXX_Unmarshal(b []byte) error
type BusProductsList ¶
type BusProductsList struct { BusType string `protobuf:"bytes,1,opt,name=bus_type,json=busType,proto3" json:"bus_type,omitempty"` ProductType string `protobuf:"bytes,2,opt,name=product_type,json=productType,proto3" json:"product_type,omitempty"` CommodityId string `protobuf:"bytes,3,opt,name=commodity_id,json=commodityId,proto3" json:"commodity_id,omitempty"` CommodityName string `protobuf:"bytes,4,opt,name=commodity_name,json=commodityName,proto3" json:"commodity_name,omitempty"` BusOrderNo string `protobuf:"bytes,5,opt,name=bus_order_no,json=busOrderNo,proto3" json:"bus_order_no,omitempty"` GoodsAmount int64 `protobuf:"varint,6,opt,name=goods_amount,json=goodsAmount,proto3" json:"goods_amount,omitempty"` PayAmount int64 `protobuf:"varint,7,opt,name=pay_amount,json=payAmount,proto3" json:"pay_amount,omitempty"` SupplierCode int64 `protobuf:"varint,8,opt,name=supplier_code,json=supplierCode,proto3" json:"supplier_code,omitempty"` PurchaseAmount int64 `protobuf:"varint,9,opt,name=purchase_amount,json=purchaseAmount,proto3" json:"purchase_amount,omitempty"` ExtraInfo string `protobuf:"bytes,10,opt,name=extra_info,json=extraInfo,proto3" json:"extra_info,omitempty"` FeeList []*FeeInfo `protobuf:"bytes,11,rep,name=fee_list,json=feeList,proto3" json:"fee_list,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*BusProductsList) Descriptor ¶
func (*BusProductsList) Descriptor() ([]byte, []int)
func (*BusProductsList) GetBusOrderNo ¶
func (m *BusProductsList) GetBusOrderNo() string
func (*BusProductsList) GetBusType ¶
func (m *BusProductsList) GetBusType() string
func (*BusProductsList) GetCommodityId ¶
func (m *BusProductsList) GetCommodityId() string
func (*BusProductsList) GetCommodityName ¶
func (m *BusProductsList) GetCommodityName() string
func (*BusProductsList) GetExtraInfo ¶
func (m *BusProductsList) GetExtraInfo() string
func (*BusProductsList) GetFeeList ¶
func (m *BusProductsList) GetFeeList() []*FeeInfo
func (*BusProductsList) GetGoodsAmount ¶
func (m *BusProductsList) GetGoodsAmount() int64
func (*BusProductsList) GetPayAmount ¶
func (m *BusProductsList) GetPayAmount() int64
func (*BusProductsList) GetProductType ¶
func (m *BusProductsList) GetProductType() string
func (*BusProductsList) GetPurchaseAmount ¶
func (m *BusProductsList) GetPurchaseAmount() int64
func (*BusProductsList) GetSupplierCode ¶
func (m *BusProductsList) GetSupplierCode() int64
func (*BusProductsList) ProtoMessage ¶
func (*BusProductsList) ProtoMessage()
func (*BusProductsList) Reset ¶
func (m *BusProductsList) Reset()
func (*BusProductsList) String ¶
func (m *BusProductsList) String() string
func (*BusProductsList) XXX_DiscardUnknown ¶
func (m *BusProductsList) XXX_DiscardUnknown()
func (*BusProductsList) XXX_Marshal ¶
func (m *BusProductsList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BusProductsList) XXX_Merge ¶
func (dst *BusProductsList) XXX_Merge(src proto.Message)
func (*BusProductsList) XXX_Size ¶
func (m *BusProductsList) XXX_Size() int
func (*BusProductsList) XXX_Unmarshal ¶
func (m *BusProductsList) XXX_Unmarshal(b []byte) error
type CreateOrderReply ¶
type CreateOrderReply struct { TradeNo string `protobuf:"bytes,1,opt,name=trade_no,json=tradeNo,proto3" json:"trade_no,omitempty"` BusTradeNo string `protobuf:"bytes,2,opt,name=bus_trade_no,json=busTradeNo,proto3" json:"bus_trade_no,omitempty"` OrderNos []*OrderNoList `protobuf:"bytes,3,rep,name=orderNos,proto3" json:"orderNos,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateOrderReply) Descriptor ¶
func (*CreateOrderReply) Descriptor() ([]byte, []int)
func (*CreateOrderReply) GetBusTradeNo ¶
func (m *CreateOrderReply) GetBusTradeNo() string
func (*CreateOrderReply) GetOrderNos ¶
func (m *CreateOrderReply) GetOrderNos() []*OrderNoList
func (*CreateOrderReply) GetTradeNo ¶
func (m *CreateOrderReply) GetTradeNo() string
func (*CreateOrderReply) ProtoMessage ¶
func (*CreateOrderReply) ProtoMessage()
func (*CreateOrderReply) Reset ¶
func (m *CreateOrderReply) Reset()
func (*CreateOrderReply) String ¶
func (m *CreateOrderReply) String() string
func (*CreateOrderReply) XXX_DiscardUnknown ¶
func (m *CreateOrderReply) XXX_DiscardUnknown()
func (*CreateOrderReply) XXX_Marshal ¶
func (m *CreateOrderReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateOrderReply) XXX_Merge ¶
func (dst *CreateOrderReply) XXX_Merge(src proto.Message)
func (*CreateOrderReply) XXX_Size ¶
func (m *CreateOrderReply) XXX_Size() int
func (*CreateOrderReply) XXX_Unmarshal ¶
func (m *CreateOrderReply) XXX_Unmarshal(b []byte) error
type CreateOrderRequest ¶
type CreateOrderRequest struct { UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` TradeMode int64 `protobuf:"varint,2,opt,name=trade_mode,json=tradeMode,proto3" json:"trade_mode,omitempty"` TradeType int64 `protobuf:"varint,3,opt,name=trade_type,json=tradeType,proto3" json:"trade_type,omitempty"` TradeSubType int64 `protobuf:"varint,4,opt,name=trade_sub_type,json=tradeSubType,proto3" json:"trade_sub_type,omitempty"` AppId string `protobuf:"bytes,5,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` BusType string `protobuf:"bytes,6,opt,name=bus_type,json=busType,proto3" json:"bus_type,omitempty"` BusTradeNo string `protobuf:"bytes,7,opt,name=bus_trade_no,json=busTradeNo,proto3" json:"bus_trade_no,omitempty"` BusProducts []*BusProductsList `protobuf:"bytes,8,rep,name=bus_products,json=busProducts,proto3" json:"bus_products,omitempty"` Currency string `protobuf:"bytes,9,opt,name=currency,proto3" json:"currency,omitempty"` TradeAmount int64 `protobuf:"varint,10,opt,name=trade_amount,json=tradeAmount,proto3" json:"trade_amount,omitempty"` PayAmount int64 `protobuf:"varint,11,opt,name=pay_amount,json=payAmount,proto3" json:"pay_amount,omitempty"` Freight int64 `protobuf:"varint,12,opt,name=freight,proto3" json:"freight,omitempty"` MerchantCoupon int64 `protobuf:"varint,13,opt,name=merchant_coupon,json=merchantCoupon,proto3" json:"merchant_coupon,omitempty"` PlatformCoupon int64 `protobuf:"varint,14,opt,name=platform_coupon,json=platformCoupon,proto3" json:"platform_coupon,omitempty"` ExpireTime string `protobuf:"bytes,15,opt,name=expire_time,json=expireTime,proto3" json:"expire_time,omitempty"` Remark string `protobuf:"bytes,16,opt,name=remark,proto3" json:"remark,omitempty"` TradeExtraInfo string `protobuf:"bytes,17,opt,name=trade_extra_info,json=tradeExtraInfo,proto3" json:"trade_extra_info,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateOrderRequest) Descriptor ¶
func (*CreateOrderRequest) Descriptor() ([]byte, []int)
func (*CreateOrderRequest) GetAppId ¶
func (m *CreateOrderRequest) GetAppId() string
func (*CreateOrderRequest) GetBusProducts ¶
func (m *CreateOrderRequest) GetBusProducts() []*BusProductsList
func (*CreateOrderRequest) GetBusTradeNo ¶
func (m *CreateOrderRequest) GetBusTradeNo() string
func (*CreateOrderRequest) GetBusType ¶
func (m *CreateOrderRequest) GetBusType() string
func (*CreateOrderRequest) GetCurrency ¶
func (m *CreateOrderRequest) GetCurrency() string
func (*CreateOrderRequest) GetExpireTime ¶
func (m *CreateOrderRequest) GetExpireTime() string
func (*CreateOrderRequest) GetFreight ¶
func (m *CreateOrderRequest) GetFreight() int64
func (*CreateOrderRequest) GetMerchantCoupon ¶
func (m *CreateOrderRequest) GetMerchantCoupon() int64
func (*CreateOrderRequest) GetPayAmount ¶
func (m *CreateOrderRequest) GetPayAmount() int64
func (*CreateOrderRequest) GetPlatformCoupon ¶
func (m *CreateOrderRequest) GetPlatformCoupon() int64
func (*CreateOrderRequest) GetRemark ¶
func (m *CreateOrderRequest) GetRemark() string
func (*CreateOrderRequest) GetTradeAmount ¶
func (m *CreateOrderRequest) GetTradeAmount() int64
func (*CreateOrderRequest) GetTradeExtraInfo ¶
func (m *CreateOrderRequest) GetTradeExtraInfo() string
func (*CreateOrderRequest) GetTradeMode ¶
func (m *CreateOrderRequest) GetTradeMode() int64
func (*CreateOrderRequest) GetTradeSubType ¶
func (m *CreateOrderRequest) GetTradeSubType() int64
func (*CreateOrderRequest) GetTradeType ¶
func (m *CreateOrderRequest) GetTradeType() int64
func (*CreateOrderRequest) GetUserId ¶
func (m *CreateOrderRequest) GetUserId() int64
func (*CreateOrderRequest) ProtoMessage ¶
func (*CreateOrderRequest) ProtoMessage()
func (*CreateOrderRequest) Reset ¶
func (m *CreateOrderRequest) Reset()
func (*CreateOrderRequest) String ¶
func (m *CreateOrderRequest) String() string
func (*CreateOrderRequest) XXX_DiscardUnknown ¶
func (m *CreateOrderRequest) XXX_DiscardUnknown()
func (*CreateOrderRequest) XXX_Marshal ¶
func (m *CreateOrderRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateOrderRequest) XXX_Merge ¶
func (dst *CreateOrderRequest) XXX_Merge(src proto.Message)
func (*CreateOrderRequest) XXX_Size ¶
func (m *CreateOrderRequest) XXX_Size() int
func (*CreateOrderRequest) XXX_Unmarshal ¶
func (m *CreateOrderRequest) XXX_Unmarshal(b []byte) error
type FeeInfo ¶
type FeeInfo struct { FeeType int64 `protobuf:"varint,1,opt,name=fee_type,json=feeType,proto3" json:"fee_type,omitempty"` Fee int64 `protobuf:"varint,2,opt,name=fee,proto3" json:"fee,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*FeeInfo) Descriptor ¶
func (*FeeInfo) GetFeeType ¶
func (*FeeInfo) ProtoMessage ¶
func (*FeeInfo) ProtoMessage()
func (*FeeInfo) XXX_DiscardUnknown ¶
func (m *FeeInfo) XXX_DiscardUnknown()
func (*FeeInfo) XXX_Marshal ¶
func (*FeeInfo) XXX_Unmarshal ¶
type OrderNoList ¶
type OrderNoList struct { OrderNo string `protobuf:"bytes,1,opt,name=order_no,json=orderNo,proto3" json:"order_no,omitempty"` BusOrderNo string `protobuf:"bytes,2,opt,name=bus_order_no,json=busOrderNo,proto3" json:"bus_order_no,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*OrderNoList) Descriptor ¶
func (*OrderNoList) Descriptor() ([]byte, []int)
func (*OrderNoList) GetBusOrderNo ¶
func (m *OrderNoList) GetBusOrderNo() string
func (*OrderNoList) GetOrderNo ¶
func (m *OrderNoList) GetOrderNo() string
func (*OrderNoList) ProtoMessage ¶
func (*OrderNoList) ProtoMessage()
func (*OrderNoList) Reset ¶
func (m *OrderNoList) Reset()
func (*OrderNoList) String ¶
func (m *OrderNoList) String() string
func (*OrderNoList) XXX_DiscardUnknown ¶
func (m *OrderNoList) XXX_DiscardUnknown()
func (*OrderNoList) XXX_Marshal ¶
func (m *OrderNoList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OrderNoList) XXX_Merge ¶
func (dst *OrderNoList) XXX_Merge(src proto.Message)
func (*OrderNoList) XXX_Size ¶
func (m *OrderNoList) XXX_Size() int
func (*OrderNoList) XXX_Unmarshal ¶
func (m *OrderNoList) XXX_Unmarshal(b []byte) error
type OrderServiceClient ¶
type OrderServiceClient interface { // ping 测试连通性 Ping(ctx context.Context, in *PingRequest, opts ...grpc.CallOption) (*PingReply, error) // 创建订单 CreateOrder(ctx context.Context, in *CreateOrderRequest, opts ...grpc.CallOption) (*CreateOrderReply, error) // 微信支付 WxPay(ctx context.Context, in *WXPayReply, opts ...grpc.CallOption) (*WxPayRequest, error) // 支付宝支付 AliPay(ctx context.Context, in *AliPayReply, opts ...grpc.CallOption) (*AliPayRequest, error) }
OrderServiceClient is the client API for OrderService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewOrderServiceClient ¶
func NewOrderServiceClient(cc *grpc.ClientConn) OrderServiceClient
type OrderServiceServer ¶
type OrderServiceServer interface { // ping 测试连通性 Ping(context.Context, *PingRequest) (*PingReply, error) // 创建订单 CreateOrder(context.Context, *CreateOrderRequest) (*CreateOrderReply, error) // 微信支付 WxPay(context.Context, *WXPayReply) (*WxPayRequest, error) // 支付宝支付 AliPay(context.Context, *AliPayReply) (*AliPayRequest, error) }
OrderServiceServer is the server API for OrderService service.
type PingReply ¶
type PingReply struct { Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PingReply) Descriptor ¶
func (*PingReply) ProtoMessage ¶
func (*PingReply) ProtoMessage()
func (*PingReply) XXX_DiscardUnknown ¶
func (m *PingReply) XXX_DiscardUnknown()
func (*PingReply) XXX_Marshal ¶
func (*PingReply) XXX_Unmarshal ¶
type PingRequest ¶
type PingRequest struct { Msg string `protobuf:"bytes,1,opt,name=msg,proto3" json:"msg,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*PingRequest) Descriptor ¶
func (*PingRequest) Descriptor() ([]byte, []int)
func (*PingRequest) GetMsg ¶
func (m *PingRequest) GetMsg() string
func (*PingRequest) ProtoMessage ¶
func (*PingRequest) ProtoMessage()
func (*PingRequest) Reset ¶
func (m *PingRequest) Reset()
func (*PingRequest) String ¶
func (m *PingRequest) String() string
func (*PingRequest) XXX_DiscardUnknown ¶
func (m *PingRequest) XXX_DiscardUnknown()
func (*PingRequest) XXX_Marshal ¶
func (m *PingRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PingRequest) XXX_Merge ¶
func (dst *PingRequest) XXX_Merge(src proto.Message)
func (*PingRequest) XXX_Size ¶
func (m *PingRequest) XXX_Size() int
func (*PingRequest) XXX_Unmarshal ¶
func (m *PingRequest) XXX_Unmarshal(b []byte) error
type WXPayReply ¶
type WXPayReply struct { PrepayId string `protobuf:"bytes,1,opt,name=prepay_id,json=prepayId,proto3" json:"prepay_id,omitempty"` CodeUrl string `protobuf:"bytes,2,opt,name=code_url,json=codeUrl,proto3" json:"code_url,omitempty"` MwebUrl string `protobuf:"bytes,3,opt,name=mweb_url,json=mwebUrl,proto3" json:"mweb_url,omitempty"` AppId string `protobuf:"bytes,4,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` Timestamp string `protobuf:"bytes,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"` NonceStr string `protobuf:"bytes,6,opt,name=nonce_str,json=nonceStr,proto3" json:"nonce_str,omitempty"` Package string `protobuf:"bytes,7,opt,name=package,proto3" json:"package,omitempty"` SignType string `protobuf:"bytes,8,opt,name=sign_type,json=signType,proto3" json:"sign_type,omitempty"` PaySign string `protobuf:"bytes,9,opt,name=pay_sign,json=paySign,proto3" json:"pay_sign,omitempty"` MchId string `protobuf:"bytes,10,opt,name=mch_id,json=mchId,proto3" json:"mch_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*WXPayReply) Descriptor ¶
func (*WXPayReply) Descriptor() ([]byte, []int)
func (*WXPayReply) GetAppId ¶
func (m *WXPayReply) GetAppId() string
func (*WXPayReply) GetCodeUrl ¶
func (m *WXPayReply) GetCodeUrl() string
func (*WXPayReply) GetMchId ¶
func (m *WXPayReply) GetMchId() string
func (*WXPayReply) GetMwebUrl ¶
func (m *WXPayReply) GetMwebUrl() string
func (*WXPayReply) GetNonceStr ¶
func (m *WXPayReply) GetNonceStr() string
func (*WXPayReply) GetPackage ¶
func (m *WXPayReply) GetPackage() string
func (*WXPayReply) GetPaySign ¶
func (m *WXPayReply) GetPaySign() string
func (*WXPayReply) GetPrepayId ¶
func (m *WXPayReply) GetPrepayId() string
func (*WXPayReply) GetSignType ¶
func (m *WXPayReply) GetSignType() string
func (*WXPayReply) GetTimestamp ¶
func (m *WXPayReply) GetTimestamp() string
func (*WXPayReply) ProtoMessage ¶
func (*WXPayReply) ProtoMessage()
func (*WXPayReply) Reset ¶
func (m *WXPayReply) Reset()
func (*WXPayReply) String ¶
func (m *WXPayReply) String() string
func (*WXPayReply) XXX_DiscardUnknown ¶
func (m *WXPayReply) XXX_DiscardUnknown()
func (*WXPayReply) XXX_Marshal ¶
func (m *WXPayReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WXPayReply) XXX_Merge ¶
func (dst *WXPayReply) XXX_Merge(src proto.Message)
func (*WXPayReply) XXX_Size ¶
func (m *WXPayReply) XXX_Size() int
func (*WXPayReply) XXX_Unmarshal ¶
func (m *WXPayReply) XXX_Unmarshal(b []byte) error
type WxPayRequest ¶
type WxPayRequest struct { UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` TradeNo string `protobuf:"bytes,2,opt,name=trade_no,json=tradeNo,proto3" json:"trade_no,omitempty"` PayAmount int64 `protobuf:"varint,3,opt,name=pay_amount,json=payAmount,proto3" json:"pay_amount,omitempty"` PayType string `protobuf:"bytes,4,opt,name=pay_type,json=payType,proto3" json:"pay_type,omitempty"` Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` ClientIp string `protobuf:"bytes,6,opt,name=client_ip,json=clientIp,proto3" json:"client_ip,omitempty"` AppId string `protobuf:"bytes,7,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` ProductId string `protobuf:"bytes,8,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` SceneInfo string `protobuf:"bytes,9,opt,name=scene_info,json=sceneInfo,proto3" json:"scene_info,omitempty"` ReceiptSymbol string `protobuf:"bytes,10,opt,name=receipt_symbol,json=receiptSymbol,proto3" json:"receipt_symbol,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*WxPayRequest) Descriptor ¶
func (*WxPayRequest) Descriptor() ([]byte, []int)
func (*WxPayRequest) GetAppId ¶
func (m *WxPayRequest) GetAppId() string
func (*WxPayRequest) GetClientIp ¶
func (m *WxPayRequest) GetClientIp() string
func (*WxPayRequest) GetDescription ¶
func (m *WxPayRequest) GetDescription() string
func (*WxPayRequest) GetPayAmount ¶
func (m *WxPayRequest) GetPayAmount() int64
func (*WxPayRequest) GetPayType ¶
func (m *WxPayRequest) GetPayType() string
func (*WxPayRequest) GetProductId ¶
func (m *WxPayRequest) GetProductId() string
func (*WxPayRequest) GetReceiptSymbol ¶
func (m *WxPayRequest) GetReceiptSymbol() string
func (*WxPayRequest) GetSceneInfo ¶
func (m *WxPayRequest) GetSceneInfo() string
func (*WxPayRequest) GetTradeNo ¶
func (m *WxPayRequest) GetTradeNo() string
func (*WxPayRequest) GetUserId ¶
func (m *WxPayRequest) GetUserId() int64
func (*WxPayRequest) ProtoMessage ¶
func (*WxPayRequest) ProtoMessage()
func (*WxPayRequest) Reset ¶
func (m *WxPayRequest) Reset()
func (*WxPayRequest) String ¶
func (m *WxPayRequest) String() string
func (*WxPayRequest) XXX_DiscardUnknown ¶
func (m *WxPayRequest) XXX_DiscardUnknown()
func (*WxPayRequest) XXX_Marshal ¶
func (m *WxPayRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*WxPayRequest) XXX_Merge ¶
func (dst *WxPayRequest) XXX_Merge(src proto.Message)
func (*WxPayRequest) XXX_Size ¶
func (m *WxPayRequest) XXX_Size() int
func (*WxPayRequest) XXX_Unmarshal ¶
func (m *WxPayRequest) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.