Documentation ¶
Index ¶
- type OrderItem
- func (*OrderItem) Descriptor() ([]byte, []int)
- func (m *OrderItem) GetAddress() *OrderItem_Address
- func (m *OrderItem) GetAncestor() string
- func (m *OrderItem) GetBuyer() string
- func (m *OrderItem) GetCreatedAt() string
- func (m *OrderItem) GetDeletedAt() string
- func (m *OrderItem) GetDelivery() int64
- func (m *OrderItem) GetDescription() map[string]string
- func (m *OrderItem) GetExecuteAt() string
- func (m *OrderItem) GetItems() []*OrderItem_Item
- func (m *OrderItem) GetNumber() int64
- func (m *OrderItem) GetPayment() int64
- func (m *OrderItem) GetSortOrder() int64
- func (m *OrderItem) GetStatus() int64
- func (m *OrderItem) GetTotal() float64
- func (m *OrderItem) GetUpdatedAt() string
- func (m *OrderItem) GetUuid() string
- func (*OrderItem) ProtoMessage()
- func (m *OrderItem) Reset()
- func (m *OrderItem) String() string
- func (m *OrderItem) Validate() error
- func (m *OrderItem) XXX_DiscardUnknown()
- func (m *OrderItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OrderItem) XXX_Merge(src proto.Message)
- func (m *OrderItem) XXX_Size() int
- func (m *OrderItem) XXX_Unmarshal(b []byte) error
- type OrderItemValidationError
- type OrderItem_Address
- func (*OrderItem_Address) Descriptor() ([]byte, []int)
- func (m *OrderItem_Address) GetBuilding() string
- func (m *OrderItem_Address) GetComment() string
- func (m *OrderItem_Address) GetEntrance() string
- func (m *OrderItem_Address) GetFlat() string
- func (m *OrderItem_Address) GetFloor() string
- func (m *OrderItem_Address) GetStreet() string
- func (m *OrderItem_Address) GetTown() string
- func (*OrderItem_Address) ProtoMessage()
- func (m *OrderItem_Address) Reset()
- func (m *OrderItem_Address) String() string
- func (m *OrderItem_Address) Validate() error
- func (m *OrderItem_Address) XXX_DiscardUnknown()
- func (m *OrderItem_Address) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OrderItem_Address) XXX_Merge(src proto.Message)
- func (m *OrderItem_Address) XXX_Size() int
- func (m *OrderItem_Address) XXX_Unmarshal(b []byte) error
- type OrderItem_AddressValidationError
- func (e OrderItem_AddressValidationError) Cause() error
- func (e OrderItem_AddressValidationError) Error() string
- func (e OrderItem_AddressValidationError) ErrorName() string
- func (e OrderItem_AddressValidationError) Field() string
- func (e OrderItem_AddressValidationError) Key() bool
- func (e OrderItem_AddressValidationError) Reason() string
- type OrderItem_Item
- func (*OrderItem_Item) Descriptor() ([]byte, []int)
- func (m *OrderItem_Item) GetAmount() float64
- func (m *OrderItem_Item) GetAttrName() map[string]string
- func (m *OrderItem_Item) GetAttrUuid() string
- func (m *OrderItem_Item) GetComment() string
- func (m *OrderItem_Item) GetCount() int64
- func (m *OrderItem_Item) GetPrice() float64
- func (m *OrderItem_Item) GetProdForeign() string
- func (m *OrderItem_Item) GetProdImages() map[string]string
- func (m *OrderItem_Item) GetProdName() map[string]string
- func (m *OrderItem_Item) GetProdUuid() string
- func (m *OrderItem_Item) GetVolume() float64
- func (*OrderItem_Item) ProtoMessage()
- func (m *OrderItem_Item) Reset()
- func (m *OrderItem_Item) String() string
- func (m *OrderItem_Item) Validate() error
- func (m *OrderItem_Item) XXX_DiscardUnknown()
- func (m *OrderItem_Item) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OrderItem_Item) XXX_Merge(src proto.Message)
- func (m *OrderItem_Item) XXX_Size() int
- func (m *OrderItem_Item) XXX_Unmarshal(b []byte) error
- type OrderItem_ItemValidationError
- func (e OrderItem_ItemValidationError) Cause() error
- func (e OrderItem_ItemValidationError) Error() string
- func (e OrderItem_ItemValidationError) ErrorName() string
- func (e OrderItem_ItemValidationError) Field() string
- func (e OrderItem_ItemValidationError) Key() bool
- func (e OrderItem_ItemValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OrderItem ¶
type OrderItem struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid"` Number int64 `protobuf:"varint,2,opt,name=number,proto3" json:"number"` Buyer string `protobuf:"bytes,3,opt,name=buyer,proto3" json:"buyer_uuid"` Ancestor string `protobuf:"bytes,4,opt,name=ancestor,proto3" json:"ancestor_uuid"` Status int64 `protobuf:"varint,5,opt,name=status,proto3" json:"status"` Payment int64 `protobuf:"varint,6,opt,name=payment,proto3" json:"payment"` Delivery int64 `protobuf:"varint,7,opt,name=delivery,proto3" json:"delivery"` Items []*OrderItem_Item `protobuf:"bytes,8,rep,name=items,proto3" json:"items"` Address *OrderItem_Address `protobuf:"bytes,9,opt,name=address,proto3" json:"address"` ExecuteAt string `protobuf:"bytes,10,opt,name=execute_at,json=executeAt,proto3" json:"execute_at"` Description map[string]string `` /* 154-byte string literal not displayed */ SortOrder int64 `protobuf:"varint,12,opt,name=sort_order,json=sortOrder,proto3" json:"sort_order"` Total float64 `protobuf:"fixed64,13,opt,name=total,proto3" json:"total"` CreatedAt string `protobuf:"bytes,1001,opt,name=created_at,json=createdAt,proto3" json:"created_at"` UpdatedAt string `protobuf:"bytes,1002,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at"` DeletedAt string `protobuf:"bytes,1003,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at"` }
func (*OrderItem) Descriptor ¶
func (*OrderItem) GetAddress ¶
func (m *OrderItem) GetAddress() *OrderItem_Address
func (*OrderItem) GetAncestor ¶
func (*OrderItem) GetCreatedAt ¶
func (*OrderItem) GetDeletedAt ¶
func (*OrderItem) GetDelivery ¶
func (*OrderItem) GetDescription ¶
func (*OrderItem) GetExecuteAt ¶
func (*OrderItem) GetItems ¶
func (m *OrderItem) GetItems() []*OrderItem_Item
func (*OrderItem) GetPayment ¶
func (*OrderItem) GetSortOrder ¶
func (*OrderItem) GetUpdatedAt ¶
func (*OrderItem) ProtoMessage ¶
func (*OrderItem) ProtoMessage()
func (*OrderItem) Validate ¶
Validate checks the field values on OrderItem with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*OrderItem) XXX_DiscardUnknown ¶
func (m *OrderItem) XXX_DiscardUnknown()
func (*OrderItem) XXX_Marshal ¶
func (*OrderItem) XXX_Unmarshal ¶
type OrderItemValidationError ¶
type OrderItemValidationError struct {
// contains filtered or unexported fields
}
OrderItemValidationError is the validation error returned by OrderItem.Validate if the designated constraints aren't met.
func (OrderItemValidationError) Cause ¶
func (e OrderItemValidationError) Cause() error
Cause function returns cause value.
func (OrderItemValidationError) Error ¶
func (e OrderItemValidationError) Error() string
Error satisfies the builtin error interface
func (OrderItemValidationError) ErrorName ¶
func (e OrderItemValidationError) ErrorName() string
ErrorName returns error name.
func (OrderItemValidationError) Field ¶
func (e OrderItemValidationError) Field() string
Field function returns field value.
func (OrderItemValidationError) Key ¶
func (e OrderItemValidationError) Key() bool
Key function returns key value.
func (OrderItemValidationError) Reason ¶
func (e OrderItemValidationError) Reason() string
Reason function returns reason value.
type OrderItem_Address ¶
type OrderItem_Address struct { Town string `protobuf:"bytes,1,opt,name=town,proto3" json:"town"` Flat string `protobuf:"bytes,2,opt,name=flat,proto3" json:"flat"` Floor string `protobuf:"bytes,3,opt,name=floor,proto3" json:"floor"` Street string `protobuf:"bytes,4,opt,name=street,proto3" json:"street"` Comment string `protobuf:"bytes,5,opt,name=comment,proto3" json:"comment"` Building string `protobuf:"bytes,6,opt,name=building,proto3" json:"building"` Entrance string `protobuf:"bytes,7,opt,name=entrance,proto3" json:"entrance"` }
func (*OrderItem_Address) Descriptor ¶
func (*OrderItem_Address) Descriptor() ([]byte, []int)
func (*OrderItem_Address) GetBuilding ¶
func (m *OrderItem_Address) GetBuilding() string
func (*OrderItem_Address) GetComment ¶
func (m *OrderItem_Address) GetComment() string
func (*OrderItem_Address) GetEntrance ¶
func (m *OrderItem_Address) GetEntrance() string
func (*OrderItem_Address) GetFlat ¶
func (m *OrderItem_Address) GetFlat() string
func (*OrderItem_Address) GetFloor ¶
func (m *OrderItem_Address) GetFloor() string
func (*OrderItem_Address) GetStreet ¶
func (m *OrderItem_Address) GetStreet() string
func (*OrderItem_Address) GetTown ¶
func (m *OrderItem_Address) GetTown() string
func (*OrderItem_Address) ProtoMessage ¶
func (*OrderItem_Address) ProtoMessage()
func (*OrderItem_Address) Reset ¶
func (m *OrderItem_Address) Reset()
func (*OrderItem_Address) String ¶
func (m *OrderItem_Address) String() string
func (*OrderItem_Address) Validate ¶
func (m *OrderItem_Address) Validate() error
Validate checks the field values on OrderItem_Address with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*OrderItem_Address) XXX_DiscardUnknown ¶
func (m *OrderItem_Address) XXX_DiscardUnknown()
func (*OrderItem_Address) XXX_Marshal ¶
func (m *OrderItem_Address) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OrderItem_Address) XXX_Merge ¶
func (m *OrderItem_Address) XXX_Merge(src proto.Message)
func (*OrderItem_Address) XXX_Size ¶
func (m *OrderItem_Address) XXX_Size() int
func (*OrderItem_Address) XXX_Unmarshal ¶
func (m *OrderItem_Address) XXX_Unmarshal(b []byte) error
type OrderItem_AddressValidationError ¶
type OrderItem_AddressValidationError struct {
// contains filtered or unexported fields
}
OrderItem_AddressValidationError is the validation error returned by OrderItem_Address.Validate if the designated constraints aren't met.
func (OrderItem_AddressValidationError) Cause ¶
func (e OrderItem_AddressValidationError) Cause() error
Cause function returns cause value.
func (OrderItem_AddressValidationError) Error ¶
func (e OrderItem_AddressValidationError) Error() string
Error satisfies the builtin error interface
func (OrderItem_AddressValidationError) ErrorName ¶
func (e OrderItem_AddressValidationError) ErrorName() string
ErrorName returns error name.
func (OrderItem_AddressValidationError) Field ¶
func (e OrderItem_AddressValidationError) Field() string
Field function returns field value.
func (OrderItem_AddressValidationError) Key ¶
func (e OrderItem_AddressValidationError) Key() bool
Key function returns key value.
func (OrderItem_AddressValidationError) Reason ¶
func (e OrderItem_AddressValidationError) Reason() string
Reason function returns reason value.
type OrderItem_Item ¶
type OrderItem_Item struct { Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count"` Price float64 `protobuf:"fixed64,2,opt,name=price,proto3" json:"price"` Amount float64 `protobuf:"fixed64,3,opt,name=amount,proto3" json:"amount"` Volume float64 `protobuf:"fixed64,4,opt,name=volume,proto3" json:"volume"` Comment string `protobuf:"bytes,5,opt,name=comment,proto3" json:"comment"` AttrUuid string `protobuf:"bytes,6,opt,name=attr_uuid,json=attrUuid,proto3" json:"attr_uuid"` AttrName map[string]string `` /* 163-byte string literal not displayed */ ProdUuid string `protobuf:"bytes,8,opt,name=prod_uuid,json=prodUuid,proto3" json:"prod_uuid"` ProdName map[string]string `` /* 163-byte string literal not displayed */ ProdForeign string `protobuf:"bytes,10,opt,name=prod_foreign,json=prodForeign,proto3" json:"prod_foreign"` ProdImages map[string]string `` /* 170-byte string literal not displayed */ }
func (*OrderItem_Item) Descriptor ¶
func (*OrderItem_Item) Descriptor() ([]byte, []int)
func (*OrderItem_Item) GetAmount ¶
func (m *OrderItem_Item) GetAmount() float64
func (*OrderItem_Item) GetAttrName ¶
func (m *OrderItem_Item) GetAttrName() map[string]string
func (*OrderItem_Item) GetAttrUuid ¶
func (m *OrderItem_Item) GetAttrUuid() string
func (*OrderItem_Item) GetComment ¶
func (m *OrderItem_Item) GetComment() string
func (*OrderItem_Item) GetCount ¶
func (m *OrderItem_Item) GetCount() int64
func (*OrderItem_Item) GetPrice ¶
func (m *OrderItem_Item) GetPrice() float64
func (*OrderItem_Item) GetProdForeign ¶
func (m *OrderItem_Item) GetProdForeign() string
func (*OrderItem_Item) GetProdImages ¶
func (m *OrderItem_Item) GetProdImages() map[string]string
func (*OrderItem_Item) GetProdName ¶
func (m *OrderItem_Item) GetProdName() map[string]string
func (*OrderItem_Item) GetProdUuid ¶
func (m *OrderItem_Item) GetProdUuid() string
func (*OrderItem_Item) GetVolume ¶
func (m *OrderItem_Item) GetVolume() float64
func (*OrderItem_Item) ProtoMessage ¶
func (*OrderItem_Item) ProtoMessage()
func (*OrderItem_Item) Reset ¶
func (m *OrderItem_Item) Reset()
func (*OrderItem_Item) String ¶
func (m *OrderItem_Item) String() string
func (*OrderItem_Item) Validate ¶
func (m *OrderItem_Item) Validate() error
Validate checks the field values on OrderItem_Item with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*OrderItem_Item) XXX_DiscardUnknown ¶
func (m *OrderItem_Item) XXX_DiscardUnknown()
func (*OrderItem_Item) XXX_Marshal ¶
func (m *OrderItem_Item) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OrderItem_Item) XXX_Merge ¶
func (m *OrderItem_Item) XXX_Merge(src proto.Message)
func (*OrderItem_Item) XXX_Size ¶
func (m *OrderItem_Item) XXX_Size() int
func (*OrderItem_Item) XXX_Unmarshal ¶
func (m *OrderItem_Item) XXX_Unmarshal(b []byte) error
type OrderItem_ItemValidationError ¶
type OrderItem_ItemValidationError struct {
// contains filtered or unexported fields
}
OrderItem_ItemValidationError is the validation error returned by OrderItem_Item.Validate if the designated constraints aren't met.
func (OrderItem_ItemValidationError) Cause ¶
func (e OrderItem_ItemValidationError) Cause() error
Cause function returns cause value.
func (OrderItem_ItemValidationError) Error ¶
func (e OrderItem_ItemValidationError) Error() string
Error satisfies the builtin error interface
func (OrderItem_ItemValidationError) ErrorName ¶
func (e OrderItem_ItemValidationError) ErrorName() string
ErrorName returns error name.
func (OrderItem_ItemValidationError) Field ¶
func (e OrderItem_ItemValidationError) Field() string
Field function returns field value.
func (OrderItem_ItemValidationError) Key ¶
func (e OrderItem_ItemValidationError) Key() bool
Key function returns key value.
func (OrderItem_ItemValidationError) Reason ¶
func (e OrderItem_ItemValidationError) Reason() string
Reason function returns reason value.