Documentation
¶
Index ¶
- Variables
- type CreateItemRequest
- func (x *CreateItemRequest) ClearSupplierUuid()
- func (x *CreateItemRequest) GetItemNo() string
- func (x *CreateItemRequest) GetPrice() float64
- func (x *CreateItemRequest) GetStock() int64
- func (x *CreateItemRequest) GetSupplierItemIdentifier() string
- func (x *CreateItemRequest) GetSupplierUuid() *v1.UUID
- func (x *CreateItemRequest) HasSupplierUuid() bool
- func (*CreateItemRequest) ProtoMessage()
- func (x *CreateItemRequest) ProtoReflect() protoreflect.Message
- func (x *CreateItemRequest) Reset()
- func (x *CreateItemRequest) SetItemNo(v string)
- func (x *CreateItemRequest) SetPrice(v float64)
- func (x *CreateItemRequest) SetStock(v int64)
- func (x *CreateItemRequest) SetSupplierItemIdentifier(v string)
- func (x *CreateItemRequest) SetSupplierUuid(v *v1.UUID)
- func (x *CreateItemRequest) String() string
- type CreateItemRequest_builder
- type CreateItemResponse
- type CreateItemResponse_builder
- type DeleteItemRequest
- func (x *DeleteItemRequest) ClearSupplierUuid()
- func (x *DeleteItemRequest) GetSupplierItemIdentifier() string
- func (x *DeleteItemRequest) GetSupplierUuid() *v1.UUID
- func (x *DeleteItemRequest) HasSupplierUuid() bool
- func (*DeleteItemRequest) ProtoMessage()
- func (x *DeleteItemRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteItemRequest) Reset()
- func (x *DeleteItemRequest) SetSupplierItemIdentifier(v string)
- func (x *DeleteItemRequest) SetSupplierUuid(v *v1.UUID)
- func (x *DeleteItemRequest) String() string
- type DeleteItemRequest_builder
- type DeleteItemResponse
- type DeleteItemResponse_builder
- type ListItemsRequest
- func (x *ListItemsRequest) ClearSupplierUuid()
- func (x *ListItemsRequest) GetSupplierUuid() *v1.UUID
- func (x *ListItemsRequest) HasSupplierUuid() bool
- func (*ListItemsRequest) ProtoMessage()
- func (x *ListItemsRequest) ProtoReflect() protoreflect.Message
- func (x *ListItemsRequest) Reset()
- func (x *ListItemsRequest) SetSupplierUuid(v *v1.UUID)
- func (x *ListItemsRequest) String() string
- type ListItemsRequest_builder
- type ListItemsResponse
- func (x *ListItemsResponse) ClearSupplierUuid()
- func (x *ListItemsResponse) GetItemNo() string
- func (x *ListItemsResponse) GetPrice() float64
- func (x *ListItemsResponse) GetStock() int64
- func (x *ListItemsResponse) GetSupplierItemIdentifier() string
- func (x *ListItemsResponse) GetSupplierUuid() *v1.UUID
- func (x *ListItemsResponse) HasSupplierUuid() bool
- func (*ListItemsResponse) ProtoMessage()
- func (x *ListItemsResponse) ProtoReflect() protoreflect.Message
- func (x *ListItemsResponse) Reset()
- func (x *ListItemsResponse) SetItemNo(v string)
- func (x *ListItemsResponse) SetPrice(v float64)
- func (x *ListItemsResponse) SetStock(v int64)
- func (x *ListItemsResponse) SetSupplierItemIdentifier(v string)
- func (x *ListItemsResponse) SetSupplierUuid(v *v1.UUID)
- func (x *ListItemsResponse) String() string
- type ListItemsResponse_builder
- type UpdateItemRequest
- func (x *UpdateItemRequest) ClearItemNo()
- func (x *UpdateItemRequest) ClearPrice()
- func (x *UpdateItemRequest) ClearStock()
- func (x *UpdateItemRequest) ClearSupplierUuid()
- func (x *UpdateItemRequest) GetItemNo() string
- func (x *UpdateItemRequest) GetPrice() float64
- func (x *UpdateItemRequest) GetStock() int64
- func (x *UpdateItemRequest) GetSupplierItemIdentifier() string
- func (x *UpdateItemRequest) GetSupplierUuid() *v1.UUID
- func (x *UpdateItemRequest) HasItemNo() bool
- func (x *UpdateItemRequest) HasPrice() bool
- func (x *UpdateItemRequest) HasStock() bool
- func (x *UpdateItemRequest) HasSupplierUuid() bool
- func (*UpdateItemRequest) ProtoMessage()
- func (x *UpdateItemRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateItemRequest) Reset()
- func (x *UpdateItemRequest) SetItemNo(v string)
- func (x *UpdateItemRequest) SetPrice(v float64)
- func (x *UpdateItemRequest) SetStock(v int64)
- func (x *UpdateItemRequest) SetSupplierItemIdentifier(v string)
- func (x *UpdateItemRequest) SetSupplierUuid(v *v1.UUID)
- func (x *UpdateItemRequest) String() string
- type UpdateItemRequest_builder
- type UpdateItemResponse
- type UpdateItemResponse_builder
Constants ¶
This section is empty.
Variables ¶
View Source
var File_stargate_supplier_item_v1beta1_supplier_item_service_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CreateItemRequest ¶
type CreateItemRequest struct {
// Unique identifier for supplier.
SupplierUuid *v1.UUID `protobuf:"bytes,1,opt,name=supplier_uuid,json=supplierUuid,proto3" json:"supplier_uuid,omitempty"`
// Unique identifier of item in external supplier system.
SupplierItemIdentifier string `` /* 129-byte string literal not displayed */
// Identifier for the STEPS item.
ItemNo string `protobuf:"bytes,3,opt,name=item_no,json=itemNo,proto3" json:"item_no,omitempty"`
// Price in Euro.
Price float64 `protobuf:"fixed64,4,opt,name=price,proto3" json:"price,omitempty"`
// Available stock from supplier for this supplier item.
Stock int64 `protobuf:"varint,5,opt,name=stock,proto3" json:"stock,omitempty"`
// contains filtered or unexported fields
}
Request message for `SupplierItemService.CreateItem`.
func (*CreateItemRequest) ClearSupplierUuid ¶
func (x *CreateItemRequest) ClearSupplierUuid()
func (*CreateItemRequest) GetItemNo ¶
func (x *CreateItemRequest) GetItemNo() string
func (*CreateItemRequest) GetPrice ¶
func (x *CreateItemRequest) GetPrice() float64
func (*CreateItemRequest) GetStock ¶
func (x *CreateItemRequest) GetStock() int64
func (*CreateItemRequest) GetSupplierItemIdentifier ¶
func (x *CreateItemRequest) GetSupplierItemIdentifier() string
func (*CreateItemRequest) GetSupplierUuid ¶
func (x *CreateItemRequest) GetSupplierUuid() *v1.UUID
func (*CreateItemRequest) HasSupplierUuid ¶
func (x *CreateItemRequest) HasSupplierUuid() bool
func (*CreateItemRequest) ProtoMessage ¶
func (*CreateItemRequest) ProtoMessage()
func (*CreateItemRequest) ProtoReflect ¶
func (x *CreateItemRequest) ProtoReflect() protoreflect.Message
func (*CreateItemRequest) Reset ¶
func (x *CreateItemRequest) Reset()
func (*CreateItemRequest) SetItemNo ¶
func (x *CreateItemRequest) SetItemNo(v string)
func (*CreateItemRequest) SetPrice ¶
func (x *CreateItemRequest) SetPrice(v float64)
func (*CreateItemRequest) SetStock ¶
func (x *CreateItemRequest) SetStock(v int64)
func (*CreateItemRequest) SetSupplierItemIdentifier ¶
func (x *CreateItemRequest) SetSupplierItemIdentifier(v string)
func (*CreateItemRequest) SetSupplierUuid ¶
func (x *CreateItemRequest) SetSupplierUuid(v *v1.UUID)
func (*CreateItemRequest) String ¶
func (x *CreateItemRequest) String() string
type CreateItemRequest_builder ¶
type CreateItemRequest_builder struct {
// Unique identifier for supplier.
SupplierUuid *v1.UUID
// Unique identifier of item in external supplier system.
SupplierItemIdentifier string
// Identifier for the STEPS item.
ItemNo string
// Price in Euro.
Price float64
// Available stock from supplier for this supplier item.
Stock int64
// contains filtered or unexported fields
}
func (CreateItemRequest_builder) Build ¶
func (b0 CreateItemRequest_builder) Build() *CreateItemRequest
type CreateItemResponse ¶
type CreateItemResponse struct {
// contains filtered or unexported fields
}
Response message for `SupplierItemService.CreateItem`.
func (*CreateItemResponse) ProtoMessage ¶
func (*CreateItemResponse) ProtoMessage()
func (*CreateItemResponse) ProtoReflect ¶
func (x *CreateItemResponse) ProtoReflect() protoreflect.Message
func (*CreateItemResponse) Reset ¶
func (x *CreateItemResponse) Reset()
func (*CreateItemResponse) String ¶
func (x *CreateItemResponse) String() string
type CreateItemResponse_builder ¶
type CreateItemResponse_builder struct {
// contains filtered or unexported fields
}
func (CreateItemResponse_builder) Build ¶
func (b0 CreateItemResponse_builder) Build() *CreateItemResponse
type DeleteItemRequest ¶
type DeleteItemRequest struct {
// Unique identifier for supplier.
SupplierUuid *v1.UUID `protobuf:"bytes,1,opt,name=supplier_uuid,json=supplierUuid,proto3" json:"supplier_uuid,omitempty"`
// Identifies item provided from supplier.
SupplierItemIdentifier string `` /* 129-byte string literal not displayed */
// contains filtered or unexported fields
}
Request message for `SupplierItemService.DeleteItem`.
func (*DeleteItemRequest) ClearSupplierUuid ¶
func (x *DeleteItemRequest) ClearSupplierUuid()
func (*DeleteItemRequest) GetSupplierItemIdentifier ¶
func (x *DeleteItemRequest) GetSupplierItemIdentifier() string
func (*DeleteItemRequest) GetSupplierUuid ¶
func (x *DeleteItemRequest) GetSupplierUuid() *v1.UUID
func (*DeleteItemRequest) HasSupplierUuid ¶
func (x *DeleteItemRequest) HasSupplierUuid() bool
func (*DeleteItemRequest) ProtoMessage ¶
func (*DeleteItemRequest) ProtoMessage()
func (*DeleteItemRequest) ProtoReflect ¶
func (x *DeleteItemRequest) ProtoReflect() protoreflect.Message
func (*DeleteItemRequest) Reset ¶
func (x *DeleteItemRequest) Reset()
func (*DeleteItemRequest) SetSupplierItemIdentifier ¶
func (x *DeleteItemRequest) SetSupplierItemIdentifier(v string)
func (*DeleteItemRequest) SetSupplierUuid ¶
func (x *DeleteItemRequest) SetSupplierUuid(v *v1.UUID)
func (*DeleteItemRequest) String ¶
func (x *DeleteItemRequest) String() string
type DeleteItemRequest_builder ¶
type DeleteItemRequest_builder struct {
// Unique identifier for supplier.
SupplierUuid *v1.UUID
// Identifies item provided from supplier.
SupplierItemIdentifier string
// contains filtered or unexported fields
}
func (DeleteItemRequest_builder) Build ¶
func (b0 DeleteItemRequest_builder) Build() *DeleteItemRequest
type DeleteItemResponse ¶
type DeleteItemResponse struct {
// contains filtered or unexported fields
}
Response message for `SupplierItemService.DeleteItem`.
func (*DeleteItemResponse) ProtoMessage ¶
func (*DeleteItemResponse) ProtoMessage()
func (*DeleteItemResponse) ProtoReflect ¶
func (x *DeleteItemResponse) ProtoReflect() protoreflect.Message
func (*DeleteItemResponse) Reset ¶
func (x *DeleteItemResponse) Reset()
func (*DeleteItemResponse) String ¶
func (x *DeleteItemResponse) String() string
type DeleteItemResponse_builder ¶
type DeleteItemResponse_builder struct {
// contains filtered or unexported fields
}
func (DeleteItemResponse_builder) Build ¶
func (b0 DeleteItemResponse_builder) Build() *DeleteItemResponse
type ListItemsRequest ¶
type ListItemsRequest struct {
// Unique identifier for supplier.
SupplierUuid *v1.UUID `protobuf:"bytes,1,opt,name=supplier_uuid,json=supplierUuid,proto3" json:"supplier_uuid,omitempty"`
// contains filtered or unexported fields
}
Request message for `SupplierItemService.ListItems`.
func (*ListItemsRequest) ClearSupplierUuid ¶
func (x *ListItemsRequest) ClearSupplierUuid()
func (*ListItemsRequest) GetSupplierUuid ¶
func (x *ListItemsRequest) GetSupplierUuid() *v1.UUID
func (*ListItemsRequest) HasSupplierUuid ¶
func (x *ListItemsRequest) HasSupplierUuid() bool
func (*ListItemsRequest) ProtoMessage ¶
func (*ListItemsRequest) ProtoMessage()
func (*ListItemsRequest) ProtoReflect ¶
func (x *ListItemsRequest) ProtoReflect() protoreflect.Message
func (*ListItemsRequest) Reset ¶
func (x *ListItemsRequest) Reset()
func (*ListItemsRequest) SetSupplierUuid ¶
func (x *ListItemsRequest) SetSupplierUuid(v *v1.UUID)
func (*ListItemsRequest) String ¶
func (x *ListItemsRequest) String() string
type ListItemsRequest_builder ¶
type ListItemsRequest_builder struct {
// Unique identifier for supplier.
SupplierUuid *v1.UUID
// contains filtered or unexported fields
}
func (ListItemsRequest_builder) Build ¶
func (b0 ListItemsRequest_builder) Build() *ListItemsRequest
type ListItemsResponse ¶
type ListItemsResponse struct {
// Unique identifier for supplier.
SupplierUuid *v1.UUID `protobuf:"bytes,1,opt,name=supplier_uuid,json=supplierUuid,proto3" json:"supplier_uuid,omitempty"`
// Unique identifier of item in external supplier system.
SupplierItemIdentifier string `` /* 129-byte string literal not displayed */
// Identifier for the STEPS item.
ItemNo string `protobuf:"bytes,3,opt,name=item_no,json=itemNo,proto3" json:"item_no,omitempty"`
// Price in Euro.
Price float64 `protobuf:"fixed64,4,opt,name=price,proto3" json:"price,omitempty"`
// Available stock from supplier for this supplier item.
Stock int64 `protobuf:"varint,5,opt,name=stock,proto3" json:"stock,omitempty"`
// contains filtered or unexported fields
}
Response message for `SupplierItemService.ListItems`.
func (*ListItemsResponse) ClearSupplierUuid ¶
func (x *ListItemsResponse) ClearSupplierUuid()
func (*ListItemsResponse) GetItemNo ¶
func (x *ListItemsResponse) GetItemNo() string
func (*ListItemsResponse) GetPrice ¶
func (x *ListItemsResponse) GetPrice() float64
func (*ListItemsResponse) GetStock ¶
func (x *ListItemsResponse) GetStock() int64
func (*ListItemsResponse) GetSupplierItemIdentifier ¶
func (x *ListItemsResponse) GetSupplierItemIdentifier() string
func (*ListItemsResponse) GetSupplierUuid ¶
func (x *ListItemsResponse) GetSupplierUuid() *v1.UUID
func (*ListItemsResponse) HasSupplierUuid ¶
func (x *ListItemsResponse) HasSupplierUuid() bool
func (*ListItemsResponse) ProtoMessage ¶
func (*ListItemsResponse) ProtoMessage()
func (*ListItemsResponse) ProtoReflect ¶
func (x *ListItemsResponse) ProtoReflect() protoreflect.Message
func (*ListItemsResponse) Reset ¶
func (x *ListItemsResponse) Reset()
func (*ListItemsResponse) SetItemNo ¶
func (x *ListItemsResponse) SetItemNo(v string)
func (*ListItemsResponse) SetPrice ¶
func (x *ListItemsResponse) SetPrice(v float64)
func (*ListItemsResponse) SetStock ¶
func (x *ListItemsResponse) SetStock(v int64)
func (*ListItemsResponse) SetSupplierItemIdentifier ¶
func (x *ListItemsResponse) SetSupplierItemIdentifier(v string)
func (*ListItemsResponse) SetSupplierUuid ¶
func (x *ListItemsResponse) SetSupplierUuid(v *v1.UUID)
func (*ListItemsResponse) String ¶
func (x *ListItemsResponse) String() string
type ListItemsResponse_builder ¶
type ListItemsResponse_builder struct {
// Unique identifier for supplier.
SupplierUuid *v1.UUID
// Unique identifier of item in external supplier system.
SupplierItemIdentifier string
// Identifier for the STEPS item.
ItemNo string
// Price in Euro.
Price float64
// Available stock from supplier for this supplier item.
Stock int64
// contains filtered or unexported fields
}
func (ListItemsResponse_builder) Build ¶
func (b0 ListItemsResponse_builder) Build() *ListItemsResponse
type UpdateItemRequest ¶
type UpdateItemRequest struct {
// Unique identifier for supplier.
SupplierUuid *v1.UUID `protobuf:"bytes,1,opt,name=supplier_uuid,json=supplierUuid,proto3" json:"supplier_uuid,omitempty"`
// Unique identifier of item in external supplier system.
SupplierItemIdentifier string `` /* 129-byte string literal not displayed */
// Identifier for the STEPS item.
ItemNo *string `protobuf:"bytes,3,opt,name=item_no,json=itemNo,proto3,oneof" json:"item_no,omitempty"`
// Price in Euro.
Price *float64 `protobuf:"fixed64,4,opt,name=price,proto3,oneof" json:"price,omitempty"`
// Available stock from supplier for this supplier item.
Stock *int64 `protobuf:"varint,5,opt,name=stock,proto3,oneof" json:"stock,omitempty"`
// contains filtered or unexported fields
}
Request message for `SupplierItemService.UpdateItem`.
func (*UpdateItemRequest) ClearItemNo ¶
func (x *UpdateItemRequest) ClearItemNo()
func (*UpdateItemRequest) ClearPrice ¶
func (x *UpdateItemRequest) ClearPrice()
func (*UpdateItemRequest) ClearStock ¶
func (x *UpdateItemRequest) ClearStock()
func (*UpdateItemRequest) ClearSupplierUuid ¶
func (x *UpdateItemRequest) ClearSupplierUuid()
func (*UpdateItemRequest) GetItemNo ¶
func (x *UpdateItemRequest) GetItemNo() string
func (*UpdateItemRequest) GetPrice ¶
func (x *UpdateItemRequest) GetPrice() float64
func (*UpdateItemRequest) GetStock ¶
func (x *UpdateItemRequest) GetStock() int64
func (*UpdateItemRequest) GetSupplierItemIdentifier ¶
func (x *UpdateItemRequest) GetSupplierItemIdentifier() string
func (*UpdateItemRequest) GetSupplierUuid ¶
func (x *UpdateItemRequest) GetSupplierUuid() *v1.UUID
func (*UpdateItemRequest) HasItemNo ¶
func (x *UpdateItemRequest) HasItemNo() bool
func (*UpdateItemRequest) HasPrice ¶
func (x *UpdateItemRequest) HasPrice() bool
func (*UpdateItemRequest) HasStock ¶
func (x *UpdateItemRequest) HasStock() bool
func (*UpdateItemRequest) HasSupplierUuid ¶
func (x *UpdateItemRequest) HasSupplierUuid() bool
func (*UpdateItemRequest) ProtoMessage ¶
func (*UpdateItemRequest) ProtoMessage()
func (*UpdateItemRequest) ProtoReflect ¶
func (x *UpdateItemRequest) ProtoReflect() protoreflect.Message
func (*UpdateItemRequest) Reset ¶
func (x *UpdateItemRequest) Reset()
func (*UpdateItemRequest) SetItemNo ¶
func (x *UpdateItemRequest) SetItemNo(v string)
func (*UpdateItemRequest) SetPrice ¶
func (x *UpdateItemRequest) SetPrice(v float64)
func (*UpdateItemRequest) SetStock ¶
func (x *UpdateItemRequest) SetStock(v int64)
func (*UpdateItemRequest) SetSupplierItemIdentifier ¶
func (x *UpdateItemRequest) SetSupplierItemIdentifier(v string)
func (*UpdateItemRequest) SetSupplierUuid ¶
func (x *UpdateItemRequest) SetSupplierUuid(v *v1.UUID)
func (*UpdateItemRequest) String ¶
func (x *UpdateItemRequest) String() string
type UpdateItemRequest_builder ¶
type UpdateItemRequest_builder struct {
// Unique identifier for supplier.
SupplierUuid *v1.UUID
// Unique identifier of item in external supplier system.
SupplierItemIdentifier string
// Identifier for the STEPS item.
ItemNo *string
// Price in Euro.
Price *float64
// Available stock from supplier for this supplier item.
Stock *int64
// contains filtered or unexported fields
}
func (UpdateItemRequest_builder) Build ¶
func (b0 UpdateItemRequest_builder) Build() *UpdateItemRequest
type UpdateItemResponse ¶
type UpdateItemResponse struct {
// contains filtered or unexported fields
}
Response message for `SupplierItemService.UpdateItem`.
func (*UpdateItemResponse) ProtoMessage ¶
func (*UpdateItemResponse) ProtoMessage()
func (*UpdateItemResponse) ProtoReflect ¶
func (x *UpdateItemResponse) ProtoReflect() protoreflect.Message
func (*UpdateItemResponse) Reset ¶
func (x *UpdateItemResponse) Reset()
func (*UpdateItemResponse) String ¶
func (x *UpdateItemResponse) String() string
type UpdateItemResponse_builder ¶
type UpdateItemResponse_builder struct {
// contains filtered or unexported fields
}
func (UpdateItemResponse_builder) Build ¶
func (b0 UpdateItemResponse_builder) Build() *UpdateItemResponse
Source Files
¶
- supplier_item_service.pb.go
Click to show internal directories.
Click to hide internal directories.