Documentation ¶
Index ¶
- type OrderingpbCancelOrderResponse
- type OrderingpbCreateOrderRequest
- func (m *OrderingpbCreateOrderRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *OrderingpbCreateOrderRequest) MarshalBinary() ([]byte, error)
- func (m *OrderingpbCreateOrderRequest) UnmarshalBinary(b []byte) error
- func (m *OrderingpbCreateOrderRequest) Validate(formats strfmt.Registry) error
- type OrderingpbCreateOrderResponse
- func (m *OrderingpbCreateOrderResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *OrderingpbCreateOrderResponse) MarshalBinary() ([]byte, error)
- func (m *OrderingpbCreateOrderResponse) UnmarshalBinary(b []byte) error
- func (m *OrderingpbCreateOrderResponse) Validate(formats strfmt.Registry) error
- type OrderingpbGetOrderResponse
- func (m *OrderingpbGetOrderResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
- func (m *OrderingpbGetOrderResponse) MarshalBinary() ([]byte, error)
- func (m *OrderingpbGetOrderResponse) UnmarshalBinary(b []byte) error
- func (m *OrderingpbGetOrderResponse) Validate(formats strfmt.Registry) error
- type OrderingpbItem
- type OrderingpbOrder
- type ProtobufAny
- type RPCStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OrderingpbCancelOrderResponse ¶
type OrderingpbCancelOrderResponse interface{}
OrderingpbCancelOrderResponse orderingpb cancel order response
swagger:model orderingpbCancelOrderResponse
type OrderingpbCreateOrderRequest ¶
type OrderingpbCreateOrderRequest struct { // customer Id CustomerID string `json:"customerId,omitempty"` // items Items []*OrderingpbItem `json:"items"` // payment Id PaymentID string `json:"paymentId,omitempty"` }
OrderingpbCreateOrderRequest orderingpb create order request
swagger:model orderingpbCreateOrderRequest
func (*OrderingpbCreateOrderRequest) ContextValidate ¶
func (m *OrderingpbCreateOrderRequest) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this orderingpb create order request based on the context it is used
func (*OrderingpbCreateOrderRequest) MarshalBinary ¶
func (m *OrderingpbCreateOrderRequest) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OrderingpbCreateOrderRequest) UnmarshalBinary ¶
func (m *OrderingpbCreateOrderRequest) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OrderingpbCreateOrderResponse ¶
type OrderingpbCreateOrderResponse struct { // id ID string `json:"id,omitempty"` }
OrderingpbCreateOrderResponse orderingpb create order response
swagger:model orderingpbCreateOrderResponse
func (*OrderingpbCreateOrderResponse) ContextValidate ¶
func (m *OrderingpbCreateOrderResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validates this orderingpb create order response based on context it is used
func (*OrderingpbCreateOrderResponse) MarshalBinary ¶
func (m *OrderingpbCreateOrderResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OrderingpbCreateOrderResponse) UnmarshalBinary ¶
func (m *OrderingpbCreateOrderResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OrderingpbGetOrderResponse ¶
type OrderingpbGetOrderResponse struct { // order Order *OrderingpbOrder `json:"order,omitempty"` }
OrderingpbGetOrderResponse orderingpb get order response
swagger:model orderingpbGetOrderResponse
func (*OrderingpbGetOrderResponse) ContextValidate ¶
func (m *OrderingpbGetOrderResponse) ContextValidate(ctx context.Context, formats strfmt.Registry) error
ContextValidate validate this orderingpb get order response based on the context it is used
func (*OrderingpbGetOrderResponse) MarshalBinary ¶
func (m *OrderingpbGetOrderResponse) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OrderingpbGetOrderResponse) UnmarshalBinary ¶
func (m *OrderingpbGetOrderResponse) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OrderingpbItem ¶
type OrderingpbItem struct { // price Price float64 `json:"price,omitempty"` // product Id ProductID string `json:"productId,omitempty"` // product name ProductName string `json:"productName,omitempty"` // quantity Quantity int32 `json:"quantity,omitempty"` // store Id StoreID string `json:"storeId,omitempty"` // store name StoreName string `json:"storeName,omitempty"` }
OrderingpbItem orderingpb item
swagger:model orderingpbItem
func (*OrderingpbItem) ContextValidate ¶
ContextValidate validates this orderingpb item based on context it is used
func (*OrderingpbItem) MarshalBinary ¶
func (m *OrderingpbItem) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OrderingpbItem) UnmarshalBinary ¶
func (m *OrderingpbItem) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type OrderingpbOrder ¶
type OrderingpbOrder struct { // customer Id CustomerID string `json:"customerId,omitempty"` // id ID string `json:"id,omitempty"` // items Items []*OrderingpbItem `json:"items"` // payment Id PaymentID string `json:"paymentId,omitempty"` // status Status string `json:"status,omitempty"` }
OrderingpbOrder orderingpb order
swagger:model orderingpbOrder
func (*OrderingpbOrder) ContextValidate ¶
ContextValidate validate this orderingpb order based on the context it is used
func (*OrderingpbOrder) MarshalBinary ¶
func (m *OrderingpbOrder) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*OrderingpbOrder) UnmarshalBinary ¶
func (m *OrderingpbOrder) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type ProtobufAny ¶
type ProtobufAny struct { // at type AtType string `json:"@type,omitempty"` }
ProtobufAny protobuf any
swagger:model protobufAny
func (*ProtobufAny) ContextValidate ¶
ContextValidate validates this protobuf any based on context it is used
func (*ProtobufAny) MarshalBinary ¶
func (m *ProtobufAny) MarshalBinary() ([]byte, error)
MarshalBinary interface implementation
func (*ProtobufAny) UnmarshalBinary ¶
func (m *ProtobufAny) UnmarshalBinary(b []byte) error
UnmarshalBinary interface implementation
type RPCStatus ¶
type RPCStatus struct { // code Code int32 `json:"code,omitempty"` // details Details []*ProtobufAny `json:"details"` // message Message string `json:"message,omitempty"` }
RPCStatus rpc status
swagger:model rpcStatus
func (*RPCStatus) ContextValidate ¶
ContextValidate validate this rpc status based on the context it is used
func (*RPCStatus) MarshalBinary ¶
MarshalBinary interface implementation
func (*RPCStatus) UnmarshalBinary ¶
UnmarshalBinary interface implementation