Documentation ¶
Index ¶
- type Client
- func (me *Client) DeregisterWebhook(id int64) (*DeregisterWebhookResponse, error)
- func (me *Client) GetInvoices(req *GetInvoicesRequest) (*GetInvoicesResponse, error)
- func (me *Client) GetProducts(req *GetProductsRequest) (*GetProductsResponse, error)
- func (me *Client) RegisterWebhook(req *RegisterWebhookRequest) (*RegisterWebhookResponse, error)
- func (me *Client) UpdateProduct(productId string, req *UpdateProductRequest) (*Product, error)
- type DeregisterWebhookRequest
- func (*DeregisterWebhookRequest) Descriptor() ([]byte, []int)
- func (m *DeregisterWebhookRequest) GetId() int64
- func (*DeregisterWebhookRequest) ProtoMessage()
- func (m *DeregisterWebhookRequest) Reset()
- func (m *DeregisterWebhookRequest) String() string
- func (m *DeregisterWebhookRequest) XXX_DiscardUnknown()
- func (m *DeregisterWebhookRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeregisterWebhookRequest) XXX_Merge(src proto.Message)
- func (m *DeregisterWebhookRequest) XXX_Size() int
- func (m *DeregisterWebhookRequest) XXX_Unmarshal(b []byte) error
- type DeregisterWebhookResponse
- func (*DeregisterWebhookResponse) Descriptor() ([]byte, []int)
- func (m *DeregisterWebhookResponse) GetMessage() string
- func (*DeregisterWebhookResponse) ProtoMessage()
- func (m *DeregisterWebhookResponse) Reset()
- func (m *DeregisterWebhookResponse) String() string
- func (m *DeregisterWebhookResponse) XXX_DiscardUnknown()
- func (m *DeregisterWebhookResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeregisterWebhookResponse) XXX_Merge(src proto.Message)
- func (m *DeregisterWebhookResponse) XXX_Size() int
- func (m *DeregisterWebhookResponse) XXX_Unmarshal(b []byte) error
- type GetInvoicesRequest
- func (*GetInvoicesRequest) Descriptor() ([]byte, []int)
- func (m *GetInvoicesRequest) GetBranchIds() []int64
- func (m *GetInvoicesRequest) GetCurrentItem() int64
- func (m *GetInvoicesRequest) GetCustomerCode() string
- func (m *GetInvoicesRequest) GetCustomerIds() []int64
- func (m *GetInvoicesRequest) GetIncludeOrderDelivery() bool
- func (m *GetInvoicesRequest) GetIncludePayment() bool
- func (m *GetInvoicesRequest) GetLastModifiedFrom() string
- func (m *GetInvoicesRequest) GetOrderBy() string
- func (m *GetInvoicesRequest) GetOrderDirection() string
- func (m *GetInvoicesRequest) GetOrderId() int64
- func (m *GetInvoicesRequest) GetPageSize() int64
- func (m *GetInvoicesRequest) GetStatus() []int64
- func (m *GetInvoicesRequest) GetToDate() string
- func (*GetInvoicesRequest) ProtoMessage()
- func (m *GetInvoicesRequest) Reset()
- func (m *GetInvoicesRequest) String() string
- func (m *GetInvoicesRequest) XXX_DiscardUnknown()
- func (m *GetInvoicesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetInvoicesRequest) XXX_Merge(src proto.Message)
- func (m *GetInvoicesRequest) XXX_Size() int
- func (m *GetInvoicesRequest) XXX_Unmarshal(b []byte) error
- type GetInvoicesResponse
- func (*GetInvoicesResponse) Descriptor() ([]byte, []int)
- func (m *GetInvoicesResponse) GetData() []*Invoice
- func (m *GetInvoicesResponse) GetPageSize() int64
- func (m *GetInvoicesResponse) GetTimestamp() string
- func (m *GetInvoicesResponse) GetTotal() int64
- func (*GetInvoicesResponse) ProtoMessage()
- func (m *GetInvoicesResponse) Reset()
- func (m *GetInvoicesResponse) String() string
- func (m *GetInvoicesResponse) XXX_DiscardUnknown()
- func (m *GetInvoicesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetInvoicesResponse) XXX_Merge(src proto.Message)
- func (m *GetInvoicesResponse) XXX_Size() int
- func (m *GetInvoicesResponse) XXX_Unmarshal(b []byte) error
- type GetProductsRequest
- func (*GetProductsRequest) Descriptor() ([]byte, []int)
- func (m *GetProductsRequest) GetCategoryId() int64
- func (m *GetProductsRequest) GetCurrentItem() int64
- func (m *GetProductsRequest) GetIncludeBatchExpires() bool
- func (m *GetProductsRequest) GetIncludeInventory() bool
- func (m *GetProductsRequest) GetIncludeMaterial() bool
- func (m *GetProductsRequest) GetIncludePricebook() bool
- func (m *GetProductsRequest) GetIncludeRemoveIds() bool
- func (m *GetProductsRequest) GetIncludeSerials() bool
- func (m *GetProductsRequest) GetLastModifiedFrom() string
- func (m *GetProductsRequest) GetMasterUnitId() int64
- func (m *GetProductsRequest) GetOrderBy() string
- func (m *GetProductsRequest) GetOrderDirection() string
- func (m *GetProductsRequest) GetPageSize() int64
- func (m *GetProductsRequest) GetProductType() int64
- func (*GetProductsRequest) ProtoMessage()
- func (m *GetProductsRequest) Reset()
- func (m *GetProductsRequest) String() string
- func (m *GetProductsRequest) XXX_DiscardUnknown()
- func (m *GetProductsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetProductsRequest) XXX_Merge(src proto.Message)
- func (m *GetProductsRequest) XXX_Size() int
- func (m *GetProductsRequest) XXX_Unmarshal(b []byte) error
- type GetProductsResponse
- func (*GetProductsResponse) Descriptor() ([]byte, []int)
- func (m *GetProductsResponse) GetData() []*Product
- func (m *GetProductsResponse) GetPageSize() int64
- func (m *GetProductsResponse) GetRemoveId() []int64
- func (m *GetProductsResponse) GetTimestamp() string
- func (m *GetProductsResponse) GetTotal() int64
- func (*GetProductsResponse) ProtoMessage()
- func (m *GetProductsResponse) Reset()
- func (m *GetProductsResponse) String() string
- func (m *GetProductsResponse) XXX_DiscardUnknown()
- func (m *GetProductsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetProductsResponse) XXX_Merge(src proto.Message)
- func (m *GetProductsResponse) XXX_Size() int
- func (m *GetProductsResponse) XXX_Unmarshal(b []byte) error
- type Invoice
- func (*Invoice) Descriptor() ([]byte, []int)
- func (m *Invoice) GetBranchId() int64
- func (m *Invoice) GetBranchName() string
- func (m *Invoice) GetCode() string
- func (m *Invoice) GetCreatedDate() string
- func (m *Invoice) GetCustomerCode() string
- func (m *Invoice) GetCustomerId() int64
- func (m *Invoice) GetCustomerName() string
- func (m *Invoice) GetId() int64
- func (m *Invoice) GetInvoiceDelivery() *Invoice_InvoiceDelivery
- func (m *Invoice) GetInvoiceDetails() []*Invoice_InvoiceDetail
- func (m *Invoice) GetInvoiceOrderSurcharges() []*Invoice_InvoiceOrderSurcharge
- func (m *Invoice) GetModifiedDate() string
- func (m *Invoice) GetPayments() []*Invoice_Payment
- func (m *Invoice) GetPurchaseDate() string
- func (m *Invoice) GetSoldById() int64
- func (m *Invoice) GetSoldByName() string
- func (m *Invoice) GetStatus() int64
- func (m *Invoice) GetStatusValue() string
- func (m *Invoice) GetTotal() float32
- func (m *Invoice) GetTotalPayment() float32
- func (m *Invoice) GetUsingCod() bool
- func (m *Invoice) GetUuid() string
- func (*Invoice) ProtoMessage()
- func (m *Invoice) Reset()
- func (m *Invoice) String() string
- func (m *Invoice) XXX_DiscardUnknown()
- func (m *Invoice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Invoice) XXX_Merge(src proto.Message)
- func (m *Invoice) XXX_Size() int
- func (m *Invoice) XXX_Unmarshal(b []byte) error
- type Invoice_InvoiceDelivery
- func (*Invoice_InvoiceDelivery) Descriptor() ([]byte, []int)
- func (m *Invoice_InvoiceDelivery) GetAddress() string
- func (m *Invoice_InvoiceDelivery) GetContactNumber() string
- func (m *Invoice_InvoiceDelivery) GetDeliveryCode() string
- func (m *Invoice_InvoiceDelivery) GetHeight() int64
- func (m *Invoice_InvoiceDelivery) GetLength() int64
- func (m *Invoice_InvoiceDelivery) GetLocationId() int64
- func (m *Invoice_InvoiceDelivery) GetLocationName() string
- func (m *Invoice_InvoiceDelivery) GetPartnerDelivery() *Invoice_InvoiceDelivery_PartnerDelivery
- func (m *Invoice_InvoiceDelivery) GetPartnerDeliveryId() int64
- func (m *Invoice_InvoiceDelivery) GetPrice() float32
- func (m *Invoice_InvoiceDelivery) GetPriceCodPayment() float32
- func (m *Invoice_InvoiceDelivery) GetReceiver() string
- func (m *Invoice_InvoiceDelivery) GetType() []byte
- func (m *Invoice_InvoiceDelivery) GetUsingPriceCod() bool
- func (m *Invoice_InvoiceDelivery) GetWeight() int64
- func (m *Invoice_InvoiceDelivery) GetWidth() int64
- func (*Invoice_InvoiceDelivery) ProtoMessage()
- func (m *Invoice_InvoiceDelivery) Reset()
- func (m *Invoice_InvoiceDelivery) String() string
- func (m *Invoice_InvoiceDelivery) XXX_DiscardUnknown()
- func (m *Invoice_InvoiceDelivery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Invoice_InvoiceDelivery) XXX_Merge(src proto.Message)
- func (m *Invoice_InvoiceDelivery) XXX_Size() int
- func (m *Invoice_InvoiceDelivery) XXX_Unmarshal(b []byte) error
- type Invoice_InvoiceDelivery_PartnerDelivery
- func (*Invoice_InvoiceDelivery_PartnerDelivery) Descriptor() ([]byte, []int)
- func (m *Invoice_InvoiceDelivery_PartnerDelivery) GetAddress() string
- func (m *Invoice_InvoiceDelivery_PartnerDelivery) GetCode() string
- func (m *Invoice_InvoiceDelivery_PartnerDelivery) GetContactNumber() string
- func (m *Invoice_InvoiceDelivery_PartnerDelivery) GetEmail() string
- func (m *Invoice_InvoiceDelivery_PartnerDelivery) GetName() string
- func (*Invoice_InvoiceDelivery_PartnerDelivery) ProtoMessage()
- func (m *Invoice_InvoiceDelivery_PartnerDelivery) Reset()
- func (m *Invoice_InvoiceDelivery_PartnerDelivery) String() string
- func (m *Invoice_InvoiceDelivery_PartnerDelivery) XXX_DiscardUnknown()
- func (m *Invoice_InvoiceDelivery_PartnerDelivery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Invoice_InvoiceDelivery_PartnerDelivery) XXX_Merge(src proto.Message)
- func (m *Invoice_InvoiceDelivery_PartnerDelivery) XXX_Size() int
- func (m *Invoice_InvoiceDelivery_PartnerDelivery) XXX_Unmarshal(b []byte) error
- type Invoice_InvoiceDetail
- func (*Invoice_InvoiceDetail) Descriptor() ([]byte, []int)
- func (m *Invoice_InvoiceDetail) GetDiscount() float32
- func (m *Invoice_InvoiceDetail) GetDiscountRatio() int64
- func (m *Invoice_InvoiceDetail) GetPrice() float32
- func (m *Invoice_InvoiceDetail) GetProductCode() string
- func (m *Invoice_InvoiceDetail) GetProductId() int64
- func (m *Invoice_InvoiceDetail) GetProductName() string
- func (m *Invoice_InvoiceDetail) GetQuantity() int64
- func (m *Invoice_InvoiceDetail) GetReturnQuantity() int64
- func (m *Invoice_InvoiceDetail) GetSubTotal() float32
- func (*Invoice_InvoiceDetail) ProtoMessage()
- func (m *Invoice_InvoiceDetail) Reset()
- func (m *Invoice_InvoiceDetail) String() string
- func (m *Invoice_InvoiceDetail) XXX_DiscardUnknown()
- func (m *Invoice_InvoiceDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Invoice_InvoiceDetail) XXX_Merge(src proto.Message)
- func (m *Invoice_InvoiceDetail) XXX_Size() int
- func (m *Invoice_InvoiceDetail) XXX_Unmarshal(b []byte) error
- type Invoice_InvoiceOrderSurcharge
- func (*Invoice_InvoiceOrderSurcharge) Descriptor() ([]byte, []int)
- func (m *Invoice_InvoiceOrderSurcharge) GetCreatedDate() string
- func (m *Invoice_InvoiceOrderSurcharge) GetId() int64
- func (m *Invoice_InvoiceOrderSurcharge) GetInvoiceId() int64
- func (m *Invoice_InvoiceOrderSurcharge) GetPrice() float32
- func (m *Invoice_InvoiceOrderSurcharge) GetSurValue() float32
- func (m *Invoice_InvoiceOrderSurcharge) GetSurchargeId() int64
- func (m *Invoice_InvoiceOrderSurcharge) GetSurchargeName() string
- func (*Invoice_InvoiceOrderSurcharge) ProtoMessage()
- func (m *Invoice_InvoiceOrderSurcharge) Reset()
- func (m *Invoice_InvoiceOrderSurcharge) String() string
- func (m *Invoice_InvoiceOrderSurcharge) XXX_DiscardUnknown()
- func (m *Invoice_InvoiceOrderSurcharge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Invoice_InvoiceOrderSurcharge) XXX_Merge(src proto.Message)
- func (m *Invoice_InvoiceOrderSurcharge) XXX_Size() int
- func (m *Invoice_InvoiceOrderSurcharge) XXX_Unmarshal(b []byte) error
- type Invoice_Payment
- func (*Invoice_Payment) Descriptor() ([]byte, []int)
- func (m *Invoice_Payment) GetAccountId() int64
- func (m *Invoice_Payment) GetAmount() float32
- func (m *Invoice_Payment) GetBankAccount() string
- func (m *Invoice_Payment) GetCode() string
- func (m *Invoice_Payment) GetId() int64
- func (m *Invoice_Payment) GetMethod() string
- func (m *Invoice_Payment) GetStatus() []byte
- func (m *Invoice_Payment) GetStatusValue() string
- func (m *Invoice_Payment) GetTransDate() string
- func (*Invoice_Payment) ProtoMessage()
- func (m *Invoice_Payment) Reset()
- func (m *Invoice_Payment) String() string
- func (m *Invoice_Payment) XXX_DiscardUnknown()
- func (m *Invoice_Payment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Invoice_Payment) XXX_Merge(src proto.Message)
- func (m *Invoice_Payment) XXX_Size() int
- func (m *Invoice_Payment) XXX_Unmarshal(b []byte) error
- type Product
- func (*Product) Descriptor() ([]byte, []int)
- func (m *Product) GetAllowsSale() bool
- func (m *Product) GetAttributes() []*Product_Attribute
- func (m *Product) GetBasePrice() float32
- func (m *Product) GetCategoryId() int64
- func (m *Product) GetCategoryName() string
- func (m *Product) GetCode() string
- func (m *Product) GetConversionValue() int64
- func (m *Product) GetCreatedDate() string
- func (m *Product) GetDescription() string
- func (m *Product) GetFullName() string
- func (m *Product) GetHasVariants() bool
- func (m *Product) GetId() int64
- func (m *Product) GetImages() []string
- func (m *Product) GetInventories() []*Product_Inventory
- func (m *Product) GetIsActive() bool
- func (m *Product) GetMasterProductId() int64
- func (m *Product) GetMasterUnitId() int64
- func (m *Product) GetMaxQuantity() int64
- func (m *Product) GetMinQuantity() int64
- func (m *Product) GetModifiedDate() string
- func (m *Product) GetName() string
- func (m *Product) GetOrderTemplate() string
- func (m *Product) GetPriceBooks() []*Product_PriceBook
- func (m *Product) GetProductFormulas() []*Product_ProductFormula
- func (m *Product) GetRetailerId() int64
- func (m *Product) GetType() int64
- func (m *Product) GetUnit() string
- func (m *Product) GetUnits() []*Product_Unit
- func (m *Product) GetWeight() int64
- func (*Product) ProtoMessage()
- func (m *Product) Reset()
- func (m *Product) String() string
- func (m *Product) XXX_DiscardUnknown()
- func (m *Product) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Product) XXX_Merge(src proto.Message)
- func (m *Product) XXX_Size() int
- func (m *Product) XXX_Unmarshal(b []byte) error
- type Product_Attribute
- func (*Product_Attribute) Descriptor() ([]byte, []int)
- func (m *Product_Attribute) GetAttributeName() string
- func (m *Product_Attribute) GetAttributeValue() string
- func (m *Product_Attribute) GetProductId() int64
- func (*Product_Attribute) ProtoMessage()
- func (m *Product_Attribute) Reset()
- func (m *Product_Attribute) String() string
- func (m *Product_Attribute) XXX_DiscardUnknown()
- func (m *Product_Attribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Product_Attribute) XXX_Merge(src proto.Message)
- func (m *Product_Attribute) XXX_Size() int
- func (m *Product_Attribute) XXX_Unmarshal(b []byte) error
- type Product_Inventory
- func (*Product_Inventory) Descriptor() ([]byte, []int)
- func (m *Product_Inventory) GetBranchId() int64
- func (m *Product_Inventory) GetBranchName() string
- func (m *Product_Inventory) GetCost() float32
- func (m *Product_Inventory) GetOnHand() int64
- func (m *Product_Inventory) GetProductCode() string
- func (m *Product_Inventory) GetProductId() int64
- func (m *Product_Inventory) GetProductName() string
- func (m *Product_Inventory) GetReserved() int64
- func (*Product_Inventory) ProtoMessage()
- func (m *Product_Inventory) Reset()
- func (m *Product_Inventory) String() string
- func (m *Product_Inventory) XXX_DiscardUnknown()
- func (m *Product_Inventory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Product_Inventory) XXX_Merge(src proto.Message)
- func (m *Product_Inventory) XXX_Size() int
- func (m *Product_Inventory) XXX_Unmarshal(b []byte) error
- type Product_PriceBook
- func (*Product_PriceBook) Descriptor() ([]byte, []int)
- func (m *Product_PriceBook) GetEndDate() string
- func (m *Product_PriceBook) GetIsActive() bool
- func (m *Product_PriceBook) GetPrice() float32
- func (m *Product_PriceBook) GetPriceBookId() int64
- func (m *Product_PriceBook) GetPriceBookName() string
- func (m *Product_PriceBook) GetProductId() int64
- func (m *Product_PriceBook) GetStartDate() string
- func (*Product_PriceBook) ProtoMessage()
- func (m *Product_PriceBook) Reset()
- func (m *Product_PriceBook) String() string
- func (m *Product_PriceBook) XXX_DiscardUnknown()
- func (m *Product_PriceBook) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Product_PriceBook) XXX_Merge(src proto.Message)
- func (m *Product_PriceBook) XXX_Size() int
- func (m *Product_PriceBook) XXX_Unmarshal(b []byte) error
- type Product_ProductFormula
- func (*Product_ProductFormula) Descriptor() ([]byte, []int)
- func (m *Product_ProductFormula) GetBasePrice() float64
- func (m *Product_ProductFormula) GetMaterialCode() string
- func (m *Product_ProductFormula) GetMaterialFullName() string
- func (m *Product_ProductFormula) GetMaterialId() int64
- func (m *Product_ProductFormula) GetMaterialName() string
- func (m *Product_ProductFormula) GetProduct() *Product_ProductFormula_Product
- func (m *Product_ProductFormula) GetProductId() int64
- func (m *Product_ProductFormula) GetQuantity() int64
- func (*Product_ProductFormula) ProtoMessage()
- func (m *Product_ProductFormula) Reset()
- func (m *Product_ProductFormula) String() string
- func (m *Product_ProductFormula) XXX_DiscardUnknown()
- func (m *Product_ProductFormula) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Product_ProductFormula) XXX_Merge(src proto.Message)
- func (m *Product_ProductFormula) XXX_Size() int
- func (m *Product_ProductFormula) XXX_Unmarshal(b []byte) error
- type Product_ProductFormula_Product
- func (*Product_ProductFormula_Product) Descriptor() ([]byte, []int)
- func (m *Product_ProductFormula_Product) GetAllowsSale() bool
- func (m *Product_ProductFormula_Product) GetBasePrice() float64
- func (m *Product_ProductFormula_Product) GetCategoryId() int64
- func (m *Product_ProductFormula_Product) GetCode() string
- func (m *Product_ProductFormula_Product) GetConversionValue() float64
- func (m *Product_ProductFormula_Product) GetCreatedDate() string
- func (m *Product_ProductFormula_Product) GetFullName() string
- func (m *Product_ProductFormula_Product) GetHasVariants() bool
- func (m *Product_ProductFormula_Product) GetId() int64
- func (m *Product_ProductFormula_Product) GetIsActive() bool
- func (m *Product_ProductFormula_Product) GetIsBatchExpireControl() bool
- func (m *Product_ProductFormula_Product) GetIsLotSerialControl() bool
- func (m *Product_ProductFormula_Product) GetIsRewardPoint() bool
- func (m *Product_ProductFormula_Product) GetModifiedDate() string
- func (m *Product_ProductFormula_Product) GetName() string
- func (m *Product_ProductFormula_Product) GetOrderTemplate() string
- func (m *Product_ProductFormula_Product) GetProductBatchExpires() []*Product_ProductFormula_Product_ProductBatchExpire
- func (m *Product_ProductFormula_Product) GetProductSerials() []*Product_ProductFormula_Product_ProductSerial
- func (m *Product_ProductFormula_Product) GetRetailerId() int64
- func (m *Product_ProductFormula_Product) GetUnit() string
- func (*Product_ProductFormula_Product) ProtoMessage()
- func (m *Product_ProductFormula_Product) Reset()
- func (m *Product_ProductFormula_Product) String() string
- func (m *Product_ProductFormula_Product) XXX_DiscardUnknown()
- func (m *Product_ProductFormula_Product) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Product_ProductFormula_Product) XXX_Merge(src proto.Message)
- func (m *Product_ProductFormula_Product) XXX_Size() int
- func (m *Product_ProductFormula_Product) XXX_Unmarshal(b []byte) error
- type Product_ProductFormula_Product_ProductBatchExpire
- func (*Product_ProductFormula_Product_ProductBatchExpire) Descriptor() ([]byte, []int)
- func (m *Product_ProductFormula_Product_ProductBatchExpire) GetBatchName() string
- func (m *Product_ProductFormula_Product_ProductBatchExpire) GetBranchId() int64
- func (m *Product_ProductFormula_Product_ProductBatchExpire) GetExpireDate() string
- func (m *Product_ProductFormula_Product_ProductBatchExpire) GetFullNameVirgule() string
- func (m *Product_ProductFormula_Product_ProductBatchExpire) GetOnHand() int64
- func (m *Product_ProductFormula_Product_ProductBatchExpire) GetProductId() int64
- func (m *Product_ProductFormula_Product_ProductBatchExpire) GetStatus() int64
- func (*Product_ProductFormula_Product_ProductBatchExpire) ProtoMessage()
- func (m *Product_ProductFormula_Product_ProductBatchExpire) Reset()
- func (m *Product_ProductFormula_Product_ProductBatchExpire) String() string
- func (m *Product_ProductFormula_Product_ProductBatchExpire) XXX_DiscardUnknown()
- func (m *Product_ProductFormula_Product_ProductBatchExpire) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Product_ProductFormula_Product_ProductBatchExpire) XXX_Merge(src proto.Message)
- func (m *Product_ProductFormula_Product_ProductBatchExpire) XXX_Size() int
- func (m *Product_ProductFormula_Product_ProductBatchExpire) XXX_Unmarshal(b []byte) error
- type Product_ProductFormula_Product_ProductSerial
- func (*Product_ProductFormula_Product_ProductSerial) Descriptor() ([]byte, []int)
- func (m *Product_ProductFormula_Product_ProductSerial) GetBranchId() int64
- func (m *Product_ProductFormula_Product_ProductSerial) GetCreatedDate() string
- func (m *Product_ProductFormula_Product_ProductSerial) GetModifiedDate() string
- func (m *Product_ProductFormula_Product_ProductSerial) GetProductId() int64
- func (m *Product_ProductFormula_Product_ProductSerial) GetQuantity() int64
- func (m *Product_ProductFormula_Product_ProductSerial) GetSerialNumber() string
- func (m *Product_ProductFormula_Product_ProductSerial) GetStatus() int64
- func (*Product_ProductFormula_Product_ProductSerial) ProtoMessage()
- func (m *Product_ProductFormula_Product_ProductSerial) Reset()
- func (m *Product_ProductFormula_Product_ProductSerial) String() string
- func (m *Product_ProductFormula_Product_ProductSerial) XXX_DiscardUnknown()
- func (m *Product_ProductFormula_Product_ProductSerial) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Product_ProductFormula_Product_ProductSerial) XXX_Merge(src proto.Message)
- func (m *Product_ProductFormula_Product_ProductSerial) XXX_Size() int
- func (m *Product_ProductFormula_Product_ProductSerial) XXX_Unmarshal(b []byte) error
- type Product_Unit
- func (*Product_Unit) Descriptor() ([]byte, []int)
- func (m *Product_Unit) GetBasePrice() float32
- func (m *Product_Unit) GetCode() string
- func (m *Product_Unit) GetConversionValue() int64
- func (m *Product_Unit) GetFullName() string
- func (m *Product_Unit) GetId() int64
- func (m *Product_Unit) GetName() string
- func (m *Product_Unit) GetUnit() string
- func (*Product_Unit) ProtoMessage()
- func (m *Product_Unit) Reset()
- func (m *Product_Unit) String() string
- func (m *Product_Unit) XXX_DiscardUnknown()
- func (m *Product_Unit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Product_Unit) XXX_Merge(src proto.Message)
- func (m *Product_Unit) XXX_Size() int
- func (m *Product_Unit) XXX_Unmarshal(b []byte) error
- type RegisterWebhookRequest
- func (*RegisterWebhookRequest) Descriptor() ([]byte, []int)
- func (m *RegisterWebhookRequest) GetWebhook() *RegisterWebhookRequest_Webhook2
- func (*RegisterWebhookRequest) ProtoMessage()
- func (m *RegisterWebhookRequest) Reset()
- func (m *RegisterWebhookRequest) String() string
- func (m *RegisterWebhookRequest) XXX_DiscardUnknown()
- func (m *RegisterWebhookRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RegisterWebhookRequest) XXX_Merge(src proto.Message)
- func (m *RegisterWebhookRequest) XXX_Size() int
- func (m *RegisterWebhookRequest) XXX_Unmarshal(b []byte) error
- type RegisterWebhookRequest_Webhook2
- func (*RegisterWebhookRequest_Webhook2) Descriptor() ([]byte, []int)
- func (m *RegisterWebhookRequest_Webhook2) GetDescription() string
- func (m *RegisterWebhookRequest_Webhook2) GetIsActive() bool
- func (m *RegisterWebhookRequest_Webhook2) GetType() string
- func (m *RegisterWebhookRequest_Webhook2) GetUrl() string
- func (*RegisterWebhookRequest_Webhook2) ProtoMessage()
- func (m *RegisterWebhookRequest_Webhook2) Reset()
- func (m *RegisterWebhookRequest_Webhook2) String() string
- func (m *RegisterWebhookRequest_Webhook2) XXX_DiscardUnknown()
- func (m *RegisterWebhookRequest_Webhook2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RegisterWebhookRequest_Webhook2) XXX_Merge(src proto.Message)
- func (m *RegisterWebhookRequest_Webhook2) XXX_Size() int
- func (m *RegisterWebhookRequest_Webhook2) XXX_Unmarshal(b []byte) error
- type RegisterWebhookResponse
- func (*RegisterWebhookResponse) Descriptor() ([]byte, []int)
- func (m *RegisterWebhookResponse) GetDescription() string
- func (m *RegisterWebhookResponse) GetId() int64
- func (m *RegisterWebhookResponse) GetIsActive() bool
- func (m *RegisterWebhookResponse) GetRetailerId() int64
- func (m *RegisterWebhookResponse) GetType() string
- func (m *RegisterWebhookResponse) GetUrl() string
- func (*RegisterWebhookResponse) ProtoMessage()
- func (m *RegisterWebhookResponse) Reset()
- func (m *RegisterWebhookResponse) String() string
- func (m *RegisterWebhookResponse) XXX_DiscardUnknown()
- func (m *RegisterWebhookResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RegisterWebhookResponse) XXX_Merge(src proto.Message)
- func (m *RegisterWebhookResponse) XXX_Size() int
- func (m *RegisterWebhookResponse) XXX_Unmarshal(b []byte) error
- type StockUpdatedWebhookRequest
- func (*StockUpdatedWebhookRequest) Descriptor() ([]byte, []int)
- func (m *StockUpdatedWebhookRequest) GetAttempt() int64
- func (m *StockUpdatedWebhookRequest) GetId() string
- func (m *StockUpdatedWebhookRequest) GetNotifications() []*StockUpdatedWebhookRequest_Notification
- func (*StockUpdatedWebhookRequest) ProtoMessage()
- func (m *StockUpdatedWebhookRequest) Reset()
- func (m *StockUpdatedWebhookRequest) String() string
- func (m *StockUpdatedWebhookRequest) XXX_DiscardUnknown()
- func (m *StockUpdatedWebhookRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StockUpdatedWebhookRequest) XXX_Merge(src proto.Message)
- func (m *StockUpdatedWebhookRequest) XXX_Size() int
- func (m *StockUpdatedWebhookRequest) XXX_Unmarshal(b []byte) error
- type StockUpdatedWebhookRequest_Notification
- func (*StockUpdatedWebhookRequest_Notification) Descriptor() ([]byte, []int)
- func (m *StockUpdatedWebhookRequest_Notification) GetAction() string
- func (m *StockUpdatedWebhookRequest_Notification) GetData() []*StockUpdatedWebhookRequest_Notification_Data2
- func (*StockUpdatedWebhookRequest_Notification) ProtoMessage()
- func (m *StockUpdatedWebhookRequest_Notification) Reset()
- func (m *StockUpdatedWebhookRequest_Notification) String() string
- func (m *StockUpdatedWebhookRequest_Notification) XXX_DiscardUnknown()
- func (m *StockUpdatedWebhookRequest_Notification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StockUpdatedWebhookRequest_Notification) XXX_Merge(src proto.Message)
- func (m *StockUpdatedWebhookRequest_Notification) XXX_Size() int
- func (m *StockUpdatedWebhookRequest_Notification) XXX_Unmarshal(b []byte) error
- type StockUpdatedWebhookRequest_Notification_Data2
- func (*StockUpdatedWebhookRequest_Notification_Data2) Descriptor() ([]byte, []int)
- func (m *StockUpdatedWebhookRequest_Notification_Data2) GetBranchId() int64
- func (m *StockUpdatedWebhookRequest_Notification_Data2) GetBranchName() string
- func (m *StockUpdatedWebhookRequest_Notification_Data2) GetCost() float64
- func (m *StockUpdatedWebhookRequest_Notification_Data2) GetOnHand() int64
- func (m *StockUpdatedWebhookRequest_Notification_Data2) GetProductCode() string
- func (m *StockUpdatedWebhookRequest_Notification_Data2) GetProductId() int64
- func (m *StockUpdatedWebhookRequest_Notification_Data2) GetProductName() string
- func (m *StockUpdatedWebhookRequest_Notification_Data2) GetReserved() int64
- func (*StockUpdatedWebhookRequest_Notification_Data2) ProtoMessage()
- func (m *StockUpdatedWebhookRequest_Notification_Data2) Reset()
- func (m *StockUpdatedWebhookRequest_Notification_Data2) String() string
- func (m *StockUpdatedWebhookRequest_Notification_Data2) XXX_DiscardUnknown()
- func (m *StockUpdatedWebhookRequest_Notification_Data2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StockUpdatedWebhookRequest_Notification_Data2) XXX_Merge(src proto.Message)
- func (m *StockUpdatedWebhookRequest_Notification_Data2) XXX_Size() int
- func (m *StockUpdatedWebhookRequest_Notification_Data2) XXX_Unmarshal(b []byte) error
- type Token
- func (*Token) Descriptor() ([]byte, []int)
- func (m *Token) GetAccessToken() string
- func (m *Token) GetExpiresIn() int64
- func (m *Token) GetTokenType() string
- func (*Token) ProtoMessage()
- func (m *Token) Reset()
- func (m *Token) String() string
- func (m *Token) XXX_DiscardUnknown()
- func (m *Token) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Token) XXX_Merge(src proto.Message)
- func (m *Token) XXX_Size() int
- func (m *Token) XXX_Unmarshal(b []byte) error
- type UpdateProductRequest
- func (*UpdateProductRequest) Descriptor() ([]byte, []int)
- func (m *UpdateProductRequest) GetAllowsSale() bool
- func (m *UpdateProductRequest) GetAttributes() []*UpdateProductRequest_Attribute
- func (m *UpdateProductRequest) GetBasePrice() float64
- func (m *UpdateProductRequest) GetCategoryId() int64
- func (m *UpdateProductRequest) GetCode() string
- func (m *UpdateProductRequest) GetConversionValue() int64
- func (m *UpdateProductRequest) GetDescription() string
- func (m *UpdateProductRequest) GetHasVariants() bool
- func (m *UpdateProductRequest) GetInventories() []*UpdateProductRequest_Inventory
- func (m *UpdateProductRequest) GetIsActive() bool
- func (m *UpdateProductRequest) GetIsRewardPoint() bool
- func (m *UpdateProductRequest) GetMasterUnitId() int64
- func (m *UpdateProductRequest) GetName() string
- func (m *UpdateProductRequest) GetUnit() string
- func (m *UpdateProductRequest) GetWeight() int64
- func (*UpdateProductRequest) ProtoMessage()
- func (m *UpdateProductRequest) Reset()
- func (m *UpdateProductRequest) String() string
- func (m *UpdateProductRequest) XXX_DiscardUnknown()
- func (m *UpdateProductRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateProductRequest) XXX_Merge(src proto.Message)
- func (m *UpdateProductRequest) XXX_Size() int
- func (m *UpdateProductRequest) XXX_Unmarshal(b []byte) error
- type UpdateProductRequest_Attribute
- func (*UpdateProductRequest_Attribute) Descriptor() ([]byte, []int)
- func (m *UpdateProductRequest_Attribute) GetAttributeName() string
- func (m *UpdateProductRequest_Attribute) GetAttributeValue() string
- func (*UpdateProductRequest_Attribute) ProtoMessage()
- func (m *UpdateProductRequest_Attribute) Reset()
- func (m *UpdateProductRequest_Attribute) String() string
- func (m *UpdateProductRequest_Attribute) XXX_DiscardUnknown()
- func (m *UpdateProductRequest_Attribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateProductRequest_Attribute) XXX_Merge(src proto.Message)
- func (m *UpdateProductRequest_Attribute) XXX_Size() int
- func (m *UpdateProductRequest_Attribute) XXX_Unmarshal(b []byte) error
- type UpdateProductRequest_Inventory
- func (*UpdateProductRequest_Inventory) Descriptor() ([]byte, []int)
- func (m *UpdateProductRequest_Inventory) GetBranchId() int64
- func (m *UpdateProductRequest_Inventory) GetBranchName() string
- func (m *UpdateProductRequest_Inventory) GetCost() float64
- func (m *UpdateProductRequest_Inventory) GetOnHand() int64
- func (m *UpdateProductRequest_Inventory) GetReserved() int64
- func (*UpdateProductRequest_Inventory) ProtoMessage()
- func (m *UpdateProductRequest_Inventory) Reset()
- func (m *UpdateProductRequest_Inventory) String() string
- func (m *UpdateProductRequest_Inventory) XXX_DiscardUnknown()
- func (m *UpdateProductRequest_Inventory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateProductRequest_Inventory) XXX_Merge(src proto.Message)
- func (m *UpdateProductRequest_Inventory) XXX_Size() int
- func (m *UpdateProductRequest_Inventory) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Debug bool // contains filtered or unexported fields }
func (*Client) DeregisterWebhook ¶
func (me *Client) DeregisterWebhook(id int64) (*DeregisterWebhookResponse, error)
func (*Client) GetInvoices ¶
func (me *Client) GetInvoices(req *GetInvoicesRequest) (*GetInvoicesResponse, error)
GetInvoices list all invoices
func (*Client) GetProducts ¶
func (me *Client) GetProducts(req *GetProductsRequest) (*GetProductsResponse, error)
GetProducts list all products
func (*Client) RegisterWebhook ¶
func (me *Client) RegisterWebhook(req *RegisterWebhookRequest) (*RegisterWebhookResponse, error)
func (*Client) UpdateProduct ¶
func (me *Client) UpdateProduct(productId string, req *UpdateProductRequest) (*Product, error)
type DeregisterWebhookRequest ¶
type DeregisterWebhookRequest struct { Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeregisterWebhookRequest) Descriptor ¶
func (*DeregisterWebhookRequest) Descriptor() ([]byte, []int)
func (*DeregisterWebhookRequest) GetId ¶
func (m *DeregisterWebhookRequest) GetId() int64
func (*DeregisterWebhookRequest) ProtoMessage ¶
func (*DeregisterWebhookRequest) ProtoMessage()
func (*DeregisterWebhookRequest) Reset ¶
func (m *DeregisterWebhookRequest) Reset()
func (*DeregisterWebhookRequest) String ¶
func (m *DeregisterWebhookRequest) String() string
func (*DeregisterWebhookRequest) XXX_DiscardUnknown ¶
func (m *DeregisterWebhookRequest) XXX_DiscardUnknown()
func (*DeregisterWebhookRequest) XXX_Marshal ¶
func (m *DeregisterWebhookRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeregisterWebhookRequest) XXX_Merge ¶
func (m *DeregisterWebhookRequest) XXX_Merge(src proto.Message)
func (*DeregisterWebhookRequest) XXX_Size ¶
func (m *DeregisterWebhookRequest) XXX_Size() int
func (*DeregisterWebhookRequest) XXX_Unmarshal ¶
func (m *DeregisterWebhookRequest) XXX_Unmarshal(b []byte) error
type DeregisterWebhookResponse ¶
type DeregisterWebhookResponse struct { Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DeregisterWebhookResponse) Descriptor ¶
func (*DeregisterWebhookResponse) Descriptor() ([]byte, []int)
func (*DeregisterWebhookResponse) GetMessage ¶
func (m *DeregisterWebhookResponse) GetMessage() string
func (*DeregisterWebhookResponse) ProtoMessage ¶
func (*DeregisterWebhookResponse) ProtoMessage()
func (*DeregisterWebhookResponse) Reset ¶
func (m *DeregisterWebhookResponse) Reset()
func (*DeregisterWebhookResponse) String ¶
func (m *DeregisterWebhookResponse) String() string
func (*DeregisterWebhookResponse) XXX_DiscardUnknown ¶
func (m *DeregisterWebhookResponse) XXX_DiscardUnknown()
func (*DeregisterWebhookResponse) XXX_Marshal ¶
func (m *DeregisterWebhookResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeregisterWebhookResponse) XXX_Merge ¶
func (m *DeregisterWebhookResponse) XXX_Merge(src proto.Message)
func (*DeregisterWebhookResponse) XXX_Size ¶
func (m *DeregisterWebhookResponse) XXX_Size() int
func (*DeregisterWebhookResponse) XXX_Unmarshal ¶
func (m *DeregisterWebhookResponse) XXX_Unmarshal(b []byte) error
type GetInvoicesRequest ¶
type GetInvoicesRequest struct { BranchIds []int64 `protobuf:"varint,2,rep,packed,name=branchIds,proto3" json:"branchIds,omitempty"` CustomerIds []int64 `protobuf:"varint,3,rep,packed,name=customerIds,proto3" json:"customerIds,omitempty"` CustomerCode string `protobuf:"bytes,4,opt,name=customerCode,proto3" json:"customerCode,omitempty"` Status []int64 `protobuf:"varint,5,rep,packed,name=status,proto3" json:"status,omitempty"` IncludePayment bool `protobuf:"varint,6,opt,name=includePayment,proto3" json:"includePayment,omitempty"` IncludeOrderDelivery bool `protobuf:"varint,7,opt,name=includeOrderDelivery,proto3" json:"includeOrderDelivery,omitempty"` LastModifiedFrom string `protobuf:"bytes,8,opt,name=lastModifiedFrom,proto3" json:"lastModifiedFrom,omitempty"` PageSize int64 `protobuf:"varint,9,opt,name=pageSize,proto3" json:"pageSize,omitempty"` CurrentItem int64 `protobuf:"varint,10,opt,name=currentItem,proto3" json:"currentItem,omitempty"` ToDate string `protobuf:"bytes,11,opt,name=toDate,proto3" json:"toDate,omitempty"` OrderBy string `protobuf:"bytes,12,opt,name=orderBy,proto3" json:"orderBy,omitempty"` OrderDirection string `protobuf:"bytes,13,opt,name=orderDirection,proto3" json:"orderDirection,omitempty"` OrderId int64 `protobuf:"varint,14,opt,name=orderId,proto3" json:"orderId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetInvoicesRequest) Descriptor ¶
func (*GetInvoicesRequest) Descriptor() ([]byte, []int)
func (*GetInvoicesRequest) GetBranchIds ¶
func (m *GetInvoicesRequest) GetBranchIds() []int64
func (*GetInvoicesRequest) GetCurrentItem ¶
func (m *GetInvoicesRequest) GetCurrentItem() int64
func (*GetInvoicesRequest) GetCustomerCode ¶
func (m *GetInvoicesRequest) GetCustomerCode() string
func (*GetInvoicesRequest) GetCustomerIds ¶
func (m *GetInvoicesRequest) GetCustomerIds() []int64
func (*GetInvoicesRequest) GetIncludeOrderDelivery ¶
func (m *GetInvoicesRequest) GetIncludeOrderDelivery() bool
func (*GetInvoicesRequest) GetIncludePayment ¶
func (m *GetInvoicesRequest) GetIncludePayment() bool
func (*GetInvoicesRequest) GetLastModifiedFrom ¶
func (m *GetInvoicesRequest) GetLastModifiedFrom() string
func (*GetInvoicesRequest) GetOrderBy ¶
func (m *GetInvoicesRequest) GetOrderBy() string
func (*GetInvoicesRequest) GetOrderDirection ¶
func (m *GetInvoicesRequest) GetOrderDirection() string
func (*GetInvoicesRequest) GetOrderId ¶
func (m *GetInvoicesRequest) GetOrderId() int64
func (*GetInvoicesRequest) GetPageSize ¶
func (m *GetInvoicesRequest) GetPageSize() int64
func (*GetInvoicesRequest) GetStatus ¶
func (m *GetInvoicesRequest) GetStatus() []int64
func (*GetInvoicesRequest) GetToDate ¶
func (m *GetInvoicesRequest) GetToDate() string
func (*GetInvoicesRequest) ProtoMessage ¶
func (*GetInvoicesRequest) ProtoMessage()
func (*GetInvoicesRequest) Reset ¶
func (m *GetInvoicesRequest) Reset()
func (*GetInvoicesRequest) String ¶
func (m *GetInvoicesRequest) String() string
func (*GetInvoicesRequest) XXX_DiscardUnknown ¶
func (m *GetInvoicesRequest) XXX_DiscardUnknown()
func (*GetInvoicesRequest) XXX_Marshal ¶
func (m *GetInvoicesRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetInvoicesRequest) XXX_Merge ¶
func (m *GetInvoicesRequest) XXX_Merge(src proto.Message)
func (*GetInvoicesRequest) XXX_Size ¶
func (m *GetInvoicesRequest) XXX_Size() int
func (*GetInvoicesRequest) XXX_Unmarshal ¶
func (m *GetInvoicesRequest) XXX_Unmarshal(b []byte) error
type GetInvoicesResponse ¶
type GetInvoicesResponse struct { Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` PageSize int64 `protobuf:"varint,3,opt,name=pageSize,proto3" json:"pageSize,omitempty"` Data []*Invoice `protobuf:"bytes,4,rep,name=data,proto3" json:"data,omitempty"` Timestamp string `protobuf:"bytes,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetInvoicesResponse) Descriptor ¶
func (*GetInvoicesResponse) Descriptor() ([]byte, []int)
func (*GetInvoicesResponse) GetData ¶
func (m *GetInvoicesResponse) GetData() []*Invoice
func (*GetInvoicesResponse) GetPageSize ¶
func (m *GetInvoicesResponse) GetPageSize() int64
func (*GetInvoicesResponse) GetTimestamp ¶
func (m *GetInvoicesResponse) GetTimestamp() string
func (*GetInvoicesResponse) GetTotal ¶
func (m *GetInvoicesResponse) GetTotal() int64
func (*GetInvoicesResponse) ProtoMessage ¶
func (*GetInvoicesResponse) ProtoMessage()
func (*GetInvoicesResponse) Reset ¶
func (m *GetInvoicesResponse) Reset()
func (*GetInvoicesResponse) String ¶
func (m *GetInvoicesResponse) String() string
func (*GetInvoicesResponse) XXX_DiscardUnknown ¶
func (m *GetInvoicesResponse) XXX_DiscardUnknown()
func (*GetInvoicesResponse) XXX_Marshal ¶
func (m *GetInvoicesResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetInvoicesResponse) XXX_Merge ¶
func (m *GetInvoicesResponse) XXX_Merge(src proto.Message)
func (*GetInvoicesResponse) XXX_Size ¶
func (m *GetInvoicesResponse) XXX_Size() int
func (*GetInvoicesResponse) XXX_Unmarshal ¶
func (m *GetInvoicesResponse) XXX_Unmarshal(b []byte) error
type GetProductsRequest ¶
type GetProductsRequest struct { OrderBy string `protobuf:"bytes,2,opt,name=orderBy,proto3" json:"orderBy,omitempty"` LastModifiedFrom string `protobuf:"bytes,3,opt,name=lastModifiedFrom,proto3" json:"lastModifiedFrom,omitempty"` PageSize int64 `protobuf:"varint,4,opt,name=pageSize,proto3" json:"pageSize,omitempty"` CurrentItem int64 `protobuf:"varint,5,opt,name=currentItem,proto3" json:"currentItem,omitempty"` IncludeInventory bool `protobuf:"varint,6,opt,name=includeInventory,proto3" json:"includeInventory,omitempty"` IncludePricebook bool `protobuf:"varint,7,opt,name=includePricebook,proto3" json:"includePricebook,omitempty"` MasterUnitId int64 `protobuf:"varint,8,opt,name=masterUnitId,proto3" json:"masterUnitId,omitempty"` CategoryId int64 `protobuf:"varint,9,opt,name=categoryId,proto3" json:"categoryId,omitempty"` OrderDirection string `protobuf:"bytes,10,opt,name=orderDirection,proto3" json:"orderDirection,omitempty"` IncludeRemoveIds bool `protobuf:"varint,11,opt,name=includeRemoveIds,proto3" json:"includeRemoveIds,omitempty"` IncludeSerials bool `protobuf:"varint,12,opt,name=IncludeSerials,proto3" json:"IncludeSerials,omitempty"` IncludeBatchExpires bool `protobuf:"varint,13,opt,name=IncludeBatchExpires,proto3" json:"IncludeBatchExpires,omitempty"` ProductType int64 `protobuf:"varint,14,opt,name=productType,proto3" json:"productType,omitempty"` IncludeMaterial bool `protobuf:"varint,15,opt,name=includeMaterial,proto3" json:"includeMaterial,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetProductsRequest) Descriptor ¶
func (*GetProductsRequest) Descriptor() ([]byte, []int)
func (*GetProductsRequest) GetCategoryId ¶
func (m *GetProductsRequest) GetCategoryId() int64
func (*GetProductsRequest) GetCurrentItem ¶
func (m *GetProductsRequest) GetCurrentItem() int64
func (*GetProductsRequest) GetIncludeBatchExpires ¶
func (m *GetProductsRequest) GetIncludeBatchExpires() bool
func (*GetProductsRequest) GetIncludeInventory ¶
func (m *GetProductsRequest) GetIncludeInventory() bool
func (*GetProductsRequest) GetIncludeMaterial ¶
func (m *GetProductsRequest) GetIncludeMaterial() bool
func (*GetProductsRequest) GetIncludePricebook ¶
func (m *GetProductsRequest) GetIncludePricebook() bool
func (*GetProductsRequest) GetIncludeRemoveIds ¶
func (m *GetProductsRequest) GetIncludeRemoveIds() bool
func (*GetProductsRequest) GetIncludeSerials ¶
func (m *GetProductsRequest) GetIncludeSerials() bool
func (*GetProductsRequest) GetLastModifiedFrom ¶
func (m *GetProductsRequest) GetLastModifiedFrom() string
func (*GetProductsRequest) GetMasterUnitId ¶
func (m *GetProductsRequest) GetMasterUnitId() int64
func (*GetProductsRequest) GetOrderBy ¶
func (m *GetProductsRequest) GetOrderBy() string
func (*GetProductsRequest) GetOrderDirection ¶
func (m *GetProductsRequest) GetOrderDirection() string
func (*GetProductsRequest) GetPageSize ¶
func (m *GetProductsRequest) GetPageSize() int64
func (*GetProductsRequest) GetProductType ¶
func (m *GetProductsRequest) GetProductType() int64
func (*GetProductsRequest) ProtoMessage ¶
func (*GetProductsRequest) ProtoMessage()
func (*GetProductsRequest) Reset ¶
func (m *GetProductsRequest) Reset()
func (*GetProductsRequest) String ¶
func (m *GetProductsRequest) String() string
func (*GetProductsRequest) XXX_DiscardUnknown ¶
func (m *GetProductsRequest) XXX_DiscardUnknown()
func (*GetProductsRequest) XXX_Marshal ¶
func (m *GetProductsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetProductsRequest) XXX_Merge ¶
func (m *GetProductsRequest) XXX_Merge(src proto.Message)
func (*GetProductsRequest) XXX_Size ¶
func (m *GetProductsRequest) XXX_Size() int
func (*GetProductsRequest) XXX_Unmarshal ¶
func (m *GetProductsRequest) XXX_Unmarshal(b []byte) error
type GetProductsResponse ¶
type GetProductsResponse struct { Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total,omitempty"` PageSize int64 `protobuf:"varint,3,opt,name=pageSize,proto3" json:"pageSize,omitempty"` Data []*Product `protobuf:"bytes,4,rep,name=data,proto3" json:"data,omitempty"` Timestamp string `protobuf:"bytes,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"` RemoveId []int64 `protobuf:"varint,6,rep,packed,name=removeId,proto3" json:"removeId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetProductsResponse) Descriptor ¶
func (*GetProductsResponse) Descriptor() ([]byte, []int)
func (*GetProductsResponse) GetData ¶
func (m *GetProductsResponse) GetData() []*Product
func (*GetProductsResponse) GetPageSize ¶
func (m *GetProductsResponse) GetPageSize() int64
func (*GetProductsResponse) GetRemoveId ¶
func (m *GetProductsResponse) GetRemoveId() []int64
func (*GetProductsResponse) GetTimestamp ¶
func (m *GetProductsResponse) GetTimestamp() string
func (*GetProductsResponse) GetTotal ¶
func (m *GetProductsResponse) GetTotal() int64
func (*GetProductsResponse) ProtoMessage ¶
func (*GetProductsResponse) ProtoMessage()
func (*GetProductsResponse) Reset ¶
func (m *GetProductsResponse) Reset()
func (*GetProductsResponse) String ¶
func (m *GetProductsResponse) String() string
func (*GetProductsResponse) XXX_DiscardUnknown ¶
func (m *GetProductsResponse) XXX_DiscardUnknown()
func (*GetProductsResponse) XXX_Marshal ¶
func (m *GetProductsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetProductsResponse) XXX_Merge ¶
func (m *GetProductsResponse) XXX_Merge(src proto.Message)
func (*GetProductsResponse) XXX_Size ¶
func (m *GetProductsResponse) XXX_Size() int
func (*GetProductsResponse) XXX_Unmarshal ¶
func (m *GetProductsResponse) XXX_Unmarshal(b []byte) error
type Invoice ¶
type Invoice struct { Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` Uuid string `protobuf:"bytes,3,opt,name=uuid,proto3" json:"uuid,omitempty"` Code string `protobuf:"bytes,4,opt,name=code,proto3" json:"code,omitempty"` PurchaseDate string `protobuf:"bytes,5,opt,name=purchaseDate,proto3" json:"purchaseDate,omitempty"` BranchId int64 `protobuf:"varint,6,opt,name=branchId,proto3" json:"branchId,omitempty"` BranchName string `protobuf:"bytes,7,opt,name=branchName,proto3" json:"branchName,omitempty"` SoldById int64 `protobuf:"varint,8,opt,name=soldById,proto3" json:"soldById,omitempty"` SoldByName string `protobuf:"bytes,9,opt,name=soldByName,proto3" json:"soldByName,omitempty"` CustomerId int64 `protobuf:"varint,10,opt,name=customerId,proto3" json:"customerId,omitempty"` CustomerCode string `protobuf:"bytes,11,opt,name=customerCode,proto3" json:"customerCode,omitempty"` CustomerName string `protobuf:"bytes,12,opt,name=customerName,proto3" json:"customerName,omitempty"` Total float32 `protobuf:"fixed32,13,opt,name=total,proto3" json:"total,omitempty"` TotalPayment float32 `protobuf:"fixed32,14,opt,name=totalPayment,proto3" json:"totalPayment,omitempty"` Status int64 `protobuf:"varint,15,opt,name=status,proto3" json:"status,omitempty"` StatusValue string `protobuf:"bytes,16,opt,name=statusValue,proto3" json:"statusValue,omitempty"` UsingCod bool `protobuf:"varint,17,opt,name=usingCod,proto3" json:"usingCod,omitempty"` CreatedDate string `protobuf:"bytes,18,opt,name=createdDate,proto3" json:"createdDate,omitempty"` InvoiceDetails []*Invoice_InvoiceDetail `protobuf:"bytes,19,rep,name=invoiceDetails,proto3" json:"invoiceDetails,omitempty"` ModifiedDate string `protobuf:"bytes,20,opt,name=modifiedDate,proto3" json:"modifiedDate,omitempty"` Payments []*Invoice_Payment `protobuf:"bytes,21,rep,name=payments,proto3" json:"payments,omitempty"` InvoiceOrderSurcharges []*Invoice_InvoiceOrderSurcharge `protobuf:"bytes,22,rep,name=invoiceOrderSurcharges,proto3" json:"invoiceOrderSurcharges,omitempty"` InvoiceDelivery *Invoice_InvoiceDelivery `protobuf:"bytes,23,opt,name=invoiceDelivery,proto3" json:"invoiceDelivery,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Invoice) Descriptor ¶
func (*Invoice) GetBranchId ¶
func (*Invoice) GetBranchName ¶
func (*Invoice) GetCreatedDate ¶
func (*Invoice) GetCustomerCode ¶
func (*Invoice) GetCustomerId ¶
func (*Invoice) GetCustomerName ¶
func (*Invoice) GetInvoiceDelivery ¶
func (m *Invoice) GetInvoiceDelivery() *Invoice_InvoiceDelivery
func (*Invoice) GetInvoiceDetails ¶
func (m *Invoice) GetInvoiceDetails() []*Invoice_InvoiceDetail
func (*Invoice) GetInvoiceOrderSurcharges ¶
func (m *Invoice) GetInvoiceOrderSurcharges() []*Invoice_InvoiceOrderSurcharge
func (*Invoice) GetModifiedDate ¶
func (*Invoice) GetPayments ¶
func (m *Invoice) GetPayments() []*Invoice_Payment
func (*Invoice) GetPurchaseDate ¶
func (*Invoice) GetSoldById ¶
func (*Invoice) GetSoldByName ¶
func (*Invoice) GetStatusValue ¶
func (*Invoice) GetTotalPayment ¶
func (*Invoice) GetUsingCod ¶
func (*Invoice) ProtoMessage ¶
func (*Invoice) ProtoMessage()
func (*Invoice) XXX_DiscardUnknown ¶
func (m *Invoice) XXX_DiscardUnknown()
func (*Invoice) XXX_Marshal ¶
func (*Invoice) XXX_Unmarshal ¶
type Invoice_InvoiceDelivery ¶
type Invoice_InvoiceDelivery struct { DeliveryCode string `protobuf:"bytes,2,opt,name=deliveryCode,proto3" json:"deliveryCode,omitempty"` Type []byte `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Price float32 `protobuf:"fixed32,4,opt,name=price,proto3" json:"price,omitempty"` Receiver string `protobuf:"bytes,5,opt,name=receiver,proto3" json:"receiver,omitempty"` ContactNumber string `protobuf:"bytes,6,opt,name=contactNumber,proto3" json:"contactNumber,omitempty"` Address string `protobuf:"bytes,7,opt,name=address,proto3" json:"address,omitempty"` LocationId int64 `protobuf:"varint,8,opt,name=locationId,proto3" json:"locationId,omitempty"` LocationName string `protobuf:"bytes,9,opt,name=locationName,proto3" json:"locationName,omitempty"` UsingPriceCod bool `protobuf:"varint,10,opt,name=usingPriceCod,proto3" json:"usingPriceCod,omitempty"` PriceCodPayment float32 `protobuf:"fixed32,11,opt,name=priceCodPayment,proto3" json:"priceCodPayment,omitempty"` Weight int64 `protobuf:"varint,12,opt,name=weight,proto3" json:"weight,omitempty"` Length int64 `protobuf:"varint,13,opt,name=length,proto3" json:"length,omitempty"` Width int64 `protobuf:"varint,14,opt,name=width,proto3" json:"width,omitempty"` Height int64 `protobuf:"varint,15,opt,name=height,proto3" json:"height,omitempty"` PartnerDeliveryId int64 `protobuf:"varint,16,opt,name=partnerDeliveryId,proto3" json:"partnerDeliveryId,omitempty"` PartnerDelivery *Invoice_InvoiceDelivery_PartnerDelivery `protobuf:"bytes,17,opt,name=partnerDelivery,proto3" json:"partnerDelivery,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Invoice_InvoiceDelivery) Descriptor ¶
func (*Invoice_InvoiceDelivery) Descriptor() ([]byte, []int)
func (*Invoice_InvoiceDelivery) GetAddress ¶
func (m *Invoice_InvoiceDelivery) GetAddress() string
func (*Invoice_InvoiceDelivery) GetContactNumber ¶
func (m *Invoice_InvoiceDelivery) GetContactNumber() string
func (*Invoice_InvoiceDelivery) GetDeliveryCode ¶
func (m *Invoice_InvoiceDelivery) GetDeliveryCode() string
func (*Invoice_InvoiceDelivery) GetHeight ¶
func (m *Invoice_InvoiceDelivery) GetHeight() int64
func (*Invoice_InvoiceDelivery) GetLength ¶
func (m *Invoice_InvoiceDelivery) GetLength() int64
func (*Invoice_InvoiceDelivery) GetLocationId ¶
func (m *Invoice_InvoiceDelivery) GetLocationId() int64
func (*Invoice_InvoiceDelivery) GetLocationName ¶
func (m *Invoice_InvoiceDelivery) GetLocationName() string
func (*Invoice_InvoiceDelivery) GetPartnerDelivery ¶
func (m *Invoice_InvoiceDelivery) GetPartnerDelivery() *Invoice_InvoiceDelivery_PartnerDelivery
func (*Invoice_InvoiceDelivery) GetPartnerDeliveryId ¶
func (m *Invoice_InvoiceDelivery) GetPartnerDeliveryId() int64
func (*Invoice_InvoiceDelivery) GetPrice ¶
func (m *Invoice_InvoiceDelivery) GetPrice() float32
func (*Invoice_InvoiceDelivery) GetPriceCodPayment ¶
func (m *Invoice_InvoiceDelivery) GetPriceCodPayment() float32
func (*Invoice_InvoiceDelivery) GetReceiver ¶
func (m *Invoice_InvoiceDelivery) GetReceiver() string
func (*Invoice_InvoiceDelivery) GetType ¶
func (m *Invoice_InvoiceDelivery) GetType() []byte
func (*Invoice_InvoiceDelivery) GetUsingPriceCod ¶
func (m *Invoice_InvoiceDelivery) GetUsingPriceCod() bool
func (*Invoice_InvoiceDelivery) GetWeight ¶
func (m *Invoice_InvoiceDelivery) GetWeight() int64
func (*Invoice_InvoiceDelivery) GetWidth ¶
func (m *Invoice_InvoiceDelivery) GetWidth() int64
func (*Invoice_InvoiceDelivery) ProtoMessage ¶
func (*Invoice_InvoiceDelivery) ProtoMessage()
func (*Invoice_InvoiceDelivery) Reset ¶
func (m *Invoice_InvoiceDelivery) Reset()
func (*Invoice_InvoiceDelivery) String ¶
func (m *Invoice_InvoiceDelivery) String() string
func (*Invoice_InvoiceDelivery) XXX_DiscardUnknown ¶
func (m *Invoice_InvoiceDelivery) XXX_DiscardUnknown()
func (*Invoice_InvoiceDelivery) XXX_Marshal ¶
func (m *Invoice_InvoiceDelivery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Invoice_InvoiceDelivery) XXX_Merge ¶
func (m *Invoice_InvoiceDelivery) XXX_Merge(src proto.Message)
func (*Invoice_InvoiceDelivery) XXX_Size ¶
func (m *Invoice_InvoiceDelivery) XXX_Size() int
func (*Invoice_InvoiceDelivery) XXX_Unmarshal ¶
func (m *Invoice_InvoiceDelivery) XXX_Unmarshal(b []byte) error
type Invoice_InvoiceDelivery_PartnerDelivery ¶
type Invoice_InvoiceDelivery_PartnerDelivery struct { Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Address string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"` ContactNumber string `protobuf:"bytes,5,opt,name=contactNumber,proto3" json:"contactNumber,omitempty"` Email string `protobuf:"bytes,6,opt,name=email,proto3" json:"email,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Invoice_InvoiceDelivery_PartnerDelivery) Descriptor ¶
func (*Invoice_InvoiceDelivery_PartnerDelivery) Descriptor() ([]byte, []int)
func (*Invoice_InvoiceDelivery_PartnerDelivery) GetAddress ¶
func (m *Invoice_InvoiceDelivery_PartnerDelivery) GetAddress() string
func (*Invoice_InvoiceDelivery_PartnerDelivery) GetCode ¶
func (m *Invoice_InvoiceDelivery_PartnerDelivery) GetCode() string
func (*Invoice_InvoiceDelivery_PartnerDelivery) GetContactNumber ¶
func (m *Invoice_InvoiceDelivery_PartnerDelivery) GetContactNumber() string
func (*Invoice_InvoiceDelivery_PartnerDelivery) GetEmail ¶
func (m *Invoice_InvoiceDelivery_PartnerDelivery) GetEmail() string
func (*Invoice_InvoiceDelivery_PartnerDelivery) GetName ¶
func (m *Invoice_InvoiceDelivery_PartnerDelivery) GetName() string
func (*Invoice_InvoiceDelivery_PartnerDelivery) ProtoMessage ¶
func (*Invoice_InvoiceDelivery_PartnerDelivery) ProtoMessage()
func (*Invoice_InvoiceDelivery_PartnerDelivery) Reset ¶
func (m *Invoice_InvoiceDelivery_PartnerDelivery) Reset()
func (*Invoice_InvoiceDelivery_PartnerDelivery) String ¶
func (m *Invoice_InvoiceDelivery_PartnerDelivery) String() string
func (*Invoice_InvoiceDelivery_PartnerDelivery) XXX_DiscardUnknown ¶
func (m *Invoice_InvoiceDelivery_PartnerDelivery) XXX_DiscardUnknown()
func (*Invoice_InvoiceDelivery_PartnerDelivery) XXX_Marshal ¶
func (m *Invoice_InvoiceDelivery_PartnerDelivery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Invoice_InvoiceDelivery_PartnerDelivery) XXX_Merge ¶
func (m *Invoice_InvoiceDelivery_PartnerDelivery) XXX_Merge(src proto.Message)
func (*Invoice_InvoiceDelivery_PartnerDelivery) XXX_Size ¶
func (m *Invoice_InvoiceDelivery_PartnerDelivery) XXX_Size() int
func (*Invoice_InvoiceDelivery_PartnerDelivery) XXX_Unmarshal ¶
func (m *Invoice_InvoiceDelivery_PartnerDelivery) XXX_Unmarshal(b []byte) error
type Invoice_InvoiceDetail ¶
type Invoice_InvoiceDetail struct { ProductId int64 `protobuf:"varint,2,opt,name=productId,proto3" json:"productId,omitempty"` ProductCode string `protobuf:"bytes,3,opt,name=productCode,proto3" json:"productCode,omitempty"` ProductName string `protobuf:"bytes,4,opt,name=productName,proto3" json:"productName,omitempty"` Quantity int64 `protobuf:"varint,5,opt,name=quantity,proto3" json:"quantity,omitempty"` Price float32 `protobuf:"fixed32,6,opt,name=price,proto3" json:"price,omitempty"` Discount float32 `protobuf:"fixed32,7,opt,name=discount,proto3" json:"discount,omitempty"` SubTotal float32 `protobuf:"fixed32,8,opt,name=subTotal,proto3" json:"subTotal,omitempty"` ReturnQuantity int64 `protobuf:"varint,9,opt,name=returnQuantity,proto3" json:"returnQuantity,omitempty"` DiscountRatio int64 `protobuf:"varint,10,opt,name=discountRatio,proto3" json:"discountRatio,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Invoice_InvoiceDetail) Descriptor ¶
func (*Invoice_InvoiceDetail) Descriptor() ([]byte, []int)
func (*Invoice_InvoiceDetail) GetDiscount ¶
func (m *Invoice_InvoiceDetail) GetDiscount() float32
func (*Invoice_InvoiceDetail) GetDiscountRatio ¶
func (m *Invoice_InvoiceDetail) GetDiscountRatio() int64
func (*Invoice_InvoiceDetail) GetPrice ¶
func (m *Invoice_InvoiceDetail) GetPrice() float32
func (*Invoice_InvoiceDetail) GetProductCode ¶
func (m *Invoice_InvoiceDetail) GetProductCode() string
func (*Invoice_InvoiceDetail) GetProductId ¶
func (m *Invoice_InvoiceDetail) GetProductId() int64
func (*Invoice_InvoiceDetail) GetProductName ¶
func (m *Invoice_InvoiceDetail) GetProductName() string
func (*Invoice_InvoiceDetail) GetQuantity ¶
func (m *Invoice_InvoiceDetail) GetQuantity() int64
func (*Invoice_InvoiceDetail) GetReturnQuantity ¶
func (m *Invoice_InvoiceDetail) GetReturnQuantity() int64
func (*Invoice_InvoiceDetail) GetSubTotal ¶
func (m *Invoice_InvoiceDetail) GetSubTotal() float32
func (*Invoice_InvoiceDetail) ProtoMessage ¶
func (*Invoice_InvoiceDetail) ProtoMessage()
func (*Invoice_InvoiceDetail) Reset ¶
func (m *Invoice_InvoiceDetail) Reset()
func (*Invoice_InvoiceDetail) String ¶
func (m *Invoice_InvoiceDetail) String() string
func (*Invoice_InvoiceDetail) XXX_DiscardUnknown ¶
func (m *Invoice_InvoiceDetail) XXX_DiscardUnknown()
func (*Invoice_InvoiceDetail) XXX_Marshal ¶
func (m *Invoice_InvoiceDetail) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Invoice_InvoiceDetail) XXX_Merge ¶
func (m *Invoice_InvoiceDetail) XXX_Merge(src proto.Message)
func (*Invoice_InvoiceDetail) XXX_Size ¶
func (m *Invoice_InvoiceDetail) XXX_Size() int
func (*Invoice_InvoiceDetail) XXX_Unmarshal ¶
func (m *Invoice_InvoiceDetail) XXX_Unmarshal(b []byte) error
type Invoice_InvoiceOrderSurcharge ¶
type Invoice_InvoiceOrderSurcharge struct { Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` InvoiceId int64 `protobuf:"varint,3,opt,name=invoiceId,proto3" json:"invoiceId,omitempty"` SurchargeId int64 `protobuf:"varint,4,opt,name=surchargeId,proto3" json:"surchargeId,omitempty"` SurchargeName string `protobuf:"bytes,5,opt,name=surchargeName,proto3" json:"surchargeName,omitempty"` SurValue float32 `protobuf:"fixed32,6,opt,name=surValue,proto3" json:"surValue,omitempty"` Price float32 `protobuf:"fixed32,7,opt,name=price,proto3" json:"price,omitempty"` CreatedDate string `protobuf:"bytes,8,opt,name=createdDate,proto3" json:"createdDate,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Invoice_InvoiceOrderSurcharge) Descriptor ¶
func (*Invoice_InvoiceOrderSurcharge) Descriptor() ([]byte, []int)
func (*Invoice_InvoiceOrderSurcharge) GetCreatedDate ¶
func (m *Invoice_InvoiceOrderSurcharge) GetCreatedDate() string
func (*Invoice_InvoiceOrderSurcharge) GetId ¶
func (m *Invoice_InvoiceOrderSurcharge) GetId() int64
func (*Invoice_InvoiceOrderSurcharge) GetInvoiceId ¶
func (m *Invoice_InvoiceOrderSurcharge) GetInvoiceId() int64
func (*Invoice_InvoiceOrderSurcharge) GetPrice ¶
func (m *Invoice_InvoiceOrderSurcharge) GetPrice() float32
func (*Invoice_InvoiceOrderSurcharge) GetSurValue ¶
func (m *Invoice_InvoiceOrderSurcharge) GetSurValue() float32
func (*Invoice_InvoiceOrderSurcharge) GetSurchargeId ¶
func (m *Invoice_InvoiceOrderSurcharge) GetSurchargeId() int64
func (*Invoice_InvoiceOrderSurcharge) GetSurchargeName ¶
func (m *Invoice_InvoiceOrderSurcharge) GetSurchargeName() string
func (*Invoice_InvoiceOrderSurcharge) ProtoMessage ¶
func (*Invoice_InvoiceOrderSurcharge) ProtoMessage()
func (*Invoice_InvoiceOrderSurcharge) Reset ¶
func (m *Invoice_InvoiceOrderSurcharge) Reset()
func (*Invoice_InvoiceOrderSurcharge) String ¶
func (m *Invoice_InvoiceOrderSurcharge) String() string
func (*Invoice_InvoiceOrderSurcharge) XXX_DiscardUnknown ¶
func (m *Invoice_InvoiceOrderSurcharge) XXX_DiscardUnknown()
func (*Invoice_InvoiceOrderSurcharge) XXX_Marshal ¶
func (m *Invoice_InvoiceOrderSurcharge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Invoice_InvoiceOrderSurcharge) XXX_Merge ¶
func (m *Invoice_InvoiceOrderSurcharge) XXX_Merge(src proto.Message)
func (*Invoice_InvoiceOrderSurcharge) XXX_Size ¶
func (m *Invoice_InvoiceOrderSurcharge) XXX_Size() int
func (*Invoice_InvoiceOrderSurcharge) XXX_Unmarshal ¶
func (m *Invoice_InvoiceOrderSurcharge) XXX_Unmarshal(b []byte) error
type Invoice_Payment ¶
type Invoice_Payment struct { Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` Code string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"` Amount float32 `protobuf:"fixed32,4,opt,name=amount,proto3" json:"amount,omitempty"` Method string `protobuf:"bytes,5,opt,name=method,proto3" json:"method,omitempty"` Status []byte `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"` StatusValue string `protobuf:"bytes,7,opt,name=statusValue,proto3" json:"statusValue,omitempty"` TransDate string `protobuf:"bytes,8,opt,name=transDate,proto3" json:"transDate,omitempty"` BankAccount string `protobuf:"bytes,9,opt,name=bankAccount,proto3" json:"bankAccount,omitempty"` AccountId int64 `protobuf:"varint,10,opt,name=accountId,proto3" json:"accountId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Invoice_Payment) Descriptor ¶
func (*Invoice_Payment) Descriptor() ([]byte, []int)
func (*Invoice_Payment) GetAccountId ¶
func (m *Invoice_Payment) GetAccountId() int64
func (*Invoice_Payment) GetAmount ¶
func (m *Invoice_Payment) GetAmount() float32
func (*Invoice_Payment) GetBankAccount ¶
func (m *Invoice_Payment) GetBankAccount() string
func (*Invoice_Payment) GetCode ¶
func (m *Invoice_Payment) GetCode() string
func (*Invoice_Payment) GetId ¶
func (m *Invoice_Payment) GetId() int64
func (*Invoice_Payment) GetMethod ¶
func (m *Invoice_Payment) GetMethod() string
func (*Invoice_Payment) GetStatus ¶
func (m *Invoice_Payment) GetStatus() []byte
func (*Invoice_Payment) GetStatusValue ¶
func (m *Invoice_Payment) GetStatusValue() string
func (*Invoice_Payment) GetTransDate ¶
func (m *Invoice_Payment) GetTransDate() string
func (*Invoice_Payment) ProtoMessage ¶
func (*Invoice_Payment) ProtoMessage()
func (*Invoice_Payment) Reset ¶
func (m *Invoice_Payment) Reset()
func (*Invoice_Payment) String ¶
func (m *Invoice_Payment) String() string
func (*Invoice_Payment) XXX_DiscardUnknown ¶
func (m *Invoice_Payment) XXX_DiscardUnknown()
func (*Invoice_Payment) XXX_Marshal ¶
func (m *Invoice_Payment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Invoice_Payment) XXX_Merge ¶
func (m *Invoice_Payment) XXX_Merge(src proto.Message)
func (*Invoice_Payment) XXX_Size ¶
func (m *Invoice_Payment) XXX_Size() int
func (*Invoice_Payment) XXX_Unmarshal ¶
func (m *Invoice_Payment) XXX_Unmarshal(b []byte) error
type Product ¶
type Product struct { CreatedDate string `protobuf:"bytes,2,opt,name=createdDate,proto3" json:"createdDate,omitempty"` Id int64 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"` RetailerId int64 `protobuf:"varint,4,opt,name=retailerId,proto3" json:"retailerId,omitempty"` Code string `protobuf:"bytes,5,opt,name=code,proto3" json:"code,omitempty"` Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` FullName string `protobuf:"bytes,7,opt,name=fullName,proto3" json:"fullName,omitempty"` CategoryId int64 `protobuf:"varint,8,opt,name=categoryId,proto3" json:"categoryId,omitempty"` CategoryName string `protobuf:"bytes,9,opt,name=categoryName,proto3" json:"categoryName,omitempty"` AllowsSale bool `protobuf:"varint,10,opt,name=allowsSale,proto3" json:"allowsSale,omitempty"` Type int64 `protobuf:"varint,11,opt,name=type,proto3" json:"type,omitempty"` HasVariants bool `protobuf:"varint,12,opt,name=hasVariants,proto3" json:"hasVariants,omitempty"` BasePrice float32 `protobuf:"fixed32,13,opt,name=basePrice,proto3" json:"basePrice,omitempty"` Weight int64 `protobuf:"varint,14,opt,name=weight,proto3" json:"weight,omitempty"` ConversionValue int64 `protobuf:"varint,15,opt,name=conversionValue,proto3" json:"conversionValue,omitempty"` ModifiedDate string `protobuf:"bytes,16,opt,name=modifiedDate,proto3" json:"modifiedDate,omitempty"` IsActive bool `protobuf:"varint,17,opt,name=isActive,proto3" json:"isActive,omitempty"` Images []string `protobuf:"bytes,18,rep,name=images,proto3" json:"images,omitempty"` Description string `protobuf:"bytes,19,opt,name=description,proto3" json:"description,omitempty"` Attributes []*Product_Attribute `protobuf:"bytes,20,rep,name=attributes,proto3" json:"attributes,omitempty"` Unit string `protobuf:"bytes,21,opt,name=unit,proto3" json:"unit,omitempty"` MasterUnitId int64 `protobuf:"varint,22,opt,name=masterUnitId,proto3" json:"masterUnitId,omitempty"` MasterProductId int64 `protobuf:"varint,23,opt,name=masterProductId,proto3" json:"masterProductId,omitempty"` Units []*Product_Unit `protobuf:"bytes,24,rep,name=units,proto3" json:"units,omitempty"` Inventories []*Product_Inventory `protobuf:"bytes,25,rep,name=inventories,proto3" json:"inventories,omitempty"` PriceBooks []*Product_PriceBook `protobuf:"bytes,26,rep,name=priceBooks,proto3" json:"priceBooks,omitempty"` MinQuantity int64 `protobuf:"varint,27,opt,name=minQuantity,proto3" json:"minQuantity,omitempty"` MaxQuantity int64 `protobuf:"varint,28,opt,name=maxQuantity,proto3" json:"maxQuantity,omitempty"` OrderTemplate string `protobuf:"bytes,29,opt,name=orderTemplate,proto3" json:"orderTemplate,omitempty"` ProductFormulas []*Product_ProductFormula `protobuf:"bytes,30,rep,name=productFormulas,proto3" json:"productFormulas,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Product) Descriptor ¶
func (*Product) GetAllowsSale ¶
func (*Product) GetAttributes ¶
func (m *Product) GetAttributes() []*Product_Attribute
func (*Product) GetBasePrice ¶
func (*Product) GetCategoryId ¶
func (*Product) GetCategoryName ¶
func (*Product) GetConversionValue ¶
func (*Product) GetCreatedDate ¶
func (*Product) GetDescription ¶
func (*Product) GetFullName ¶
func (*Product) GetHasVariants ¶
func (*Product) GetInventories ¶
func (m *Product) GetInventories() []*Product_Inventory
func (*Product) GetIsActive ¶
func (*Product) GetMasterProductId ¶
func (*Product) GetMasterUnitId ¶
func (*Product) GetMaxQuantity ¶
func (*Product) GetMinQuantity ¶
func (*Product) GetModifiedDate ¶
func (*Product) GetOrderTemplate ¶
func (*Product) GetPriceBooks ¶
func (m *Product) GetPriceBooks() []*Product_PriceBook
func (*Product) GetProductFormulas ¶
func (m *Product) GetProductFormulas() []*Product_ProductFormula
func (*Product) GetRetailerId ¶
func (*Product) GetUnits ¶
func (m *Product) GetUnits() []*Product_Unit
func (*Product) ProtoMessage ¶
func (*Product) ProtoMessage()
func (*Product) XXX_DiscardUnknown ¶
func (m *Product) XXX_DiscardUnknown()
func (*Product) XXX_Marshal ¶
func (*Product) XXX_Unmarshal ¶
type Product_Attribute ¶
type Product_Attribute struct { ProductId int64 `protobuf:"varint,2,opt,name=productId,proto3" json:"productId,omitempty"` AttributeName string `protobuf:"bytes,3,opt,name=attributeName,proto3" json:"attributeName,omitempty"` AttributeValue string `protobuf:"bytes,4,opt,name=attributeValue,proto3" json:"attributeValue,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Product_Attribute) Descriptor ¶
func (*Product_Attribute) Descriptor() ([]byte, []int)
func (*Product_Attribute) GetAttributeName ¶
func (m *Product_Attribute) GetAttributeName() string
func (*Product_Attribute) GetAttributeValue ¶
func (m *Product_Attribute) GetAttributeValue() string
func (*Product_Attribute) GetProductId ¶
func (m *Product_Attribute) GetProductId() int64
func (*Product_Attribute) ProtoMessage ¶
func (*Product_Attribute) ProtoMessage()
func (*Product_Attribute) Reset ¶
func (m *Product_Attribute) Reset()
func (*Product_Attribute) String ¶
func (m *Product_Attribute) String() string
func (*Product_Attribute) XXX_DiscardUnknown ¶
func (m *Product_Attribute) XXX_DiscardUnknown()
func (*Product_Attribute) XXX_Marshal ¶
func (m *Product_Attribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Product_Attribute) XXX_Merge ¶
func (m *Product_Attribute) XXX_Merge(src proto.Message)
func (*Product_Attribute) XXX_Size ¶
func (m *Product_Attribute) XXX_Size() int
func (*Product_Attribute) XXX_Unmarshal ¶
func (m *Product_Attribute) XXX_Unmarshal(b []byte) error
type Product_Inventory ¶
type Product_Inventory struct { ProductId int64 `protobuf:"varint,2,opt,name=productId,proto3" json:"productId,omitempty"` ProductCode string `protobuf:"bytes,3,opt,name=productCode,proto3" json:"productCode,omitempty"` ProductName string `protobuf:"bytes,4,opt,name=productName,proto3" json:"productName,omitempty"` BranchId int64 `protobuf:"varint,5,opt,name=branchId,proto3" json:"branchId,omitempty"` BranchName string `protobuf:"bytes,6,opt,name=branchName,proto3" json:"branchName,omitempty"` OnHand int64 `protobuf:"varint,7,opt,name=onHand,proto3" json:"onHand,omitempty"` Cost float32 `protobuf:"fixed32,8,opt,name=cost,proto3" json:"cost,omitempty"` Reserved int64 `protobuf:"varint,9,opt,name=reserved,proto3" json:"reserved,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
availabel = onhand - reserved
func (*Product_Inventory) Descriptor ¶
func (*Product_Inventory) Descriptor() ([]byte, []int)
func (*Product_Inventory) GetBranchId ¶
func (m *Product_Inventory) GetBranchId() int64
func (*Product_Inventory) GetBranchName ¶
func (m *Product_Inventory) GetBranchName() string
func (*Product_Inventory) GetCost ¶
func (m *Product_Inventory) GetCost() float32
func (*Product_Inventory) GetOnHand ¶
func (m *Product_Inventory) GetOnHand() int64
func (*Product_Inventory) GetProductCode ¶
func (m *Product_Inventory) GetProductCode() string
func (*Product_Inventory) GetProductId ¶
func (m *Product_Inventory) GetProductId() int64
func (*Product_Inventory) GetProductName ¶
func (m *Product_Inventory) GetProductName() string
func (*Product_Inventory) GetReserved ¶
func (m *Product_Inventory) GetReserved() int64
func (*Product_Inventory) ProtoMessage ¶
func (*Product_Inventory) ProtoMessage()
func (*Product_Inventory) Reset ¶
func (m *Product_Inventory) Reset()
func (*Product_Inventory) String ¶
func (m *Product_Inventory) String() string
func (*Product_Inventory) XXX_DiscardUnknown ¶
func (m *Product_Inventory) XXX_DiscardUnknown()
func (*Product_Inventory) XXX_Marshal ¶
func (m *Product_Inventory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Product_Inventory) XXX_Merge ¶
func (m *Product_Inventory) XXX_Merge(src proto.Message)
func (*Product_Inventory) XXX_Size ¶
func (m *Product_Inventory) XXX_Size() int
func (*Product_Inventory) XXX_Unmarshal ¶
func (m *Product_Inventory) XXX_Unmarshal(b []byte) error
type Product_PriceBook ¶
type Product_PriceBook struct { PriceBookId int64 `protobuf:"varint,2,opt,name=priceBookId,proto3" json:"priceBookId,omitempty"` PriceBookName string `protobuf:"bytes,3,opt,name=priceBookName,proto3" json:"priceBookName,omitempty"` ProductId int64 `protobuf:"varint,4,opt,name=productId,proto3" json:"productId,omitempty"` IsActive bool `protobuf:"varint,5,opt,name=isActive,proto3" json:"isActive,omitempty"` StartDate string `protobuf:"bytes,6,opt,name=startDate,proto3" json:"startDate,omitempty"` EndDate string `protobuf:"bytes,7,opt,name=endDate,proto3" json:"endDate,omitempty"` Price float32 `protobuf:"fixed32,8,opt,name=price,proto3" json:"price,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Product_PriceBook) Descriptor ¶
func (*Product_PriceBook) Descriptor() ([]byte, []int)
func (*Product_PriceBook) GetEndDate ¶
func (m *Product_PriceBook) GetEndDate() string
func (*Product_PriceBook) GetIsActive ¶
func (m *Product_PriceBook) GetIsActive() bool
func (*Product_PriceBook) GetPrice ¶
func (m *Product_PriceBook) GetPrice() float32
func (*Product_PriceBook) GetPriceBookId ¶
func (m *Product_PriceBook) GetPriceBookId() int64
func (*Product_PriceBook) GetPriceBookName ¶
func (m *Product_PriceBook) GetPriceBookName() string
func (*Product_PriceBook) GetProductId ¶
func (m *Product_PriceBook) GetProductId() int64
func (*Product_PriceBook) GetStartDate ¶
func (m *Product_PriceBook) GetStartDate() string
func (*Product_PriceBook) ProtoMessage ¶
func (*Product_PriceBook) ProtoMessage()
func (*Product_PriceBook) Reset ¶
func (m *Product_PriceBook) Reset()
func (*Product_PriceBook) String ¶
func (m *Product_PriceBook) String() string
func (*Product_PriceBook) XXX_DiscardUnknown ¶
func (m *Product_PriceBook) XXX_DiscardUnknown()
func (*Product_PriceBook) XXX_Marshal ¶
func (m *Product_PriceBook) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Product_PriceBook) XXX_Merge ¶
func (m *Product_PriceBook) XXX_Merge(src proto.Message)
func (*Product_PriceBook) XXX_Size ¶
func (m *Product_PriceBook) XXX_Size() int
func (*Product_PriceBook) XXX_Unmarshal ¶
func (m *Product_PriceBook) XXX_Unmarshal(b []byte) error
type Product_ProductFormula ¶
type Product_ProductFormula struct { MaterialId int64 `protobuf:"varint,2,opt,name=materialId,proto3" json:"materialId,omitempty"` MaterialCode string `protobuf:"bytes,3,opt,name=materialCode,proto3" json:"materialCode,omitempty"` MaterialFullName string `protobuf:"bytes,4,opt,name=materialFullName,proto3" json:"materialFullName,omitempty"` MaterialName string `protobuf:"bytes,5,opt,name=materialName,proto3" json:"materialName,omitempty"` Quantity int64 `protobuf:"varint,6,opt,name=quantity,proto3" json:"quantity,omitempty"` BasePrice float64 `protobuf:"fixed64,7,opt,name=basePrice,proto3" json:"basePrice,omitempty"` ProductId int64 `protobuf:"varint,8,opt,name=productId,proto3" json:"productId,omitempty"` Product *Product_ProductFormula_Product `protobuf:"bytes,9,opt,name=product,proto3" json:"product,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Product_ProductFormula) Descriptor ¶
func (*Product_ProductFormula) Descriptor() ([]byte, []int)
func (*Product_ProductFormula) GetBasePrice ¶
func (m *Product_ProductFormula) GetBasePrice() float64
func (*Product_ProductFormula) GetMaterialCode ¶
func (m *Product_ProductFormula) GetMaterialCode() string
func (*Product_ProductFormula) GetMaterialFullName ¶
func (m *Product_ProductFormula) GetMaterialFullName() string
func (*Product_ProductFormula) GetMaterialId ¶
func (m *Product_ProductFormula) GetMaterialId() int64
func (*Product_ProductFormula) GetMaterialName ¶
func (m *Product_ProductFormula) GetMaterialName() string
func (*Product_ProductFormula) GetProduct ¶
func (m *Product_ProductFormula) GetProduct() *Product_ProductFormula_Product
func (*Product_ProductFormula) GetProductId ¶
func (m *Product_ProductFormula) GetProductId() int64
func (*Product_ProductFormula) GetQuantity ¶
func (m *Product_ProductFormula) GetQuantity() int64
func (*Product_ProductFormula) ProtoMessage ¶
func (*Product_ProductFormula) ProtoMessage()
func (*Product_ProductFormula) Reset ¶
func (m *Product_ProductFormula) Reset()
func (*Product_ProductFormula) String ¶
func (m *Product_ProductFormula) String() string
func (*Product_ProductFormula) XXX_DiscardUnknown ¶
func (m *Product_ProductFormula) XXX_DiscardUnknown()
func (*Product_ProductFormula) XXX_Marshal ¶
func (m *Product_ProductFormula) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Product_ProductFormula) XXX_Merge ¶
func (m *Product_ProductFormula) XXX_Merge(src proto.Message)
func (*Product_ProductFormula) XXX_Size ¶
func (m *Product_ProductFormula) XXX_Size() int
func (*Product_ProductFormula) XXX_Unmarshal ¶
func (m *Product_ProductFormula) XXX_Unmarshal(b []byte) error
type Product_ProductFormula_Product ¶
type Product_ProductFormula_Product struct { CreatedDate string `protobuf:"bytes,2,opt,name=createdDate,proto3" json:"createdDate,omitempty"` Id int64 `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"` RetailerId int64 `protobuf:"varint,4,opt,name=retailerId,proto3" json:"retailerId,omitempty"` Code string `protobuf:"bytes,5,opt,name=code,proto3" json:"code,omitempty"` Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` FullName string `protobuf:"bytes,7,opt,name=fullName,proto3" json:"fullName,omitempty"` CategoryId int64 `protobuf:"varint,8,opt,name=categoryId,proto3" json:"categoryId,omitempty"` AllowsSale bool `protobuf:"varint,9,opt,name=allowsSale,proto3" json:"allowsSale,omitempty"` HasVariants bool `protobuf:"varint,10,opt,name=hasVariants,proto3" json:"hasVariants,omitempty"` BasePrice float64 `protobuf:"fixed64,11,opt,name=basePrice,proto3" json:"basePrice,omitempty"` Unit string `protobuf:"bytes,12,opt,name=unit,proto3" json:"unit,omitempty"` ConversionValue float64 `protobuf:"fixed64,13,opt,name=conversionValue,proto3" json:"conversionValue,omitempty"` ModifiedDate string `protobuf:"bytes,14,opt,name=modifiedDate,proto3" json:"modifiedDate,omitempty"` IsActive bool `protobuf:"varint,15,opt,name=isActive,proto3" json:"isActive,omitempty"` IsRewardPoint bool `protobuf:"varint,16,opt,name=isRewardPoint,proto3" json:"isRewardPoint,omitempty"` OrderTemplate string `protobuf:"bytes,17,opt,name=orderTemplate,proto3" json:"orderTemplate,omitempty"` IsLotSerialControl bool `protobuf:"varint,18,opt,name=isLotSerialControl,proto3" json:"isLotSerialControl,omitempty"` IsBatchExpireControl bool `protobuf:"varint,19,opt,name=isBatchExpireControl,proto3" json:"isBatchExpireControl,omitempty"` ProductSerials []*Product_ProductFormula_Product_ProductSerial `protobuf:"bytes,20,rep,name=productSerials,proto3" json:"productSerials,omitempty"` ProductBatchExpires []*Product_ProductFormula_Product_ProductBatchExpire `protobuf:"bytes,21,rep,name=productBatchExpires,proto3" json:"productBatchExpires,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Product_ProductFormula_Product) Descriptor ¶
func (*Product_ProductFormula_Product) Descriptor() ([]byte, []int)
func (*Product_ProductFormula_Product) GetAllowsSale ¶
func (m *Product_ProductFormula_Product) GetAllowsSale() bool
func (*Product_ProductFormula_Product) GetBasePrice ¶
func (m *Product_ProductFormula_Product) GetBasePrice() float64
func (*Product_ProductFormula_Product) GetCategoryId ¶
func (m *Product_ProductFormula_Product) GetCategoryId() int64
func (*Product_ProductFormula_Product) GetCode ¶
func (m *Product_ProductFormula_Product) GetCode() string
func (*Product_ProductFormula_Product) GetConversionValue ¶
func (m *Product_ProductFormula_Product) GetConversionValue() float64
func (*Product_ProductFormula_Product) GetCreatedDate ¶
func (m *Product_ProductFormula_Product) GetCreatedDate() string
func (*Product_ProductFormula_Product) GetFullName ¶
func (m *Product_ProductFormula_Product) GetFullName() string
func (*Product_ProductFormula_Product) GetHasVariants ¶
func (m *Product_ProductFormula_Product) GetHasVariants() bool
func (*Product_ProductFormula_Product) GetId ¶
func (m *Product_ProductFormula_Product) GetId() int64
func (*Product_ProductFormula_Product) GetIsActive ¶
func (m *Product_ProductFormula_Product) GetIsActive() bool
func (*Product_ProductFormula_Product) GetIsBatchExpireControl ¶
func (m *Product_ProductFormula_Product) GetIsBatchExpireControl() bool
func (*Product_ProductFormula_Product) GetIsLotSerialControl ¶
func (m *Product_ProductFormula_Product) GetIsLotSerialControl() bool
func (*Product_ProductFormula_Product) GetIsRewardPoint ¶
func (m *Product_ProductFormula_Product) GetIsRewardPoint() bool
func (*Product_ProductFormula_Product) GetModifiedDate ¶
func (m *Product_ProductFormula_Product) GetModifiedDate() string
func (*Product_ProductFormula_Product) GetName ¶
func (m *Product_ProductFormula_Product) GetName() string
func (*Product_ProductFormula_Product) GetOrderTemplate ¶
func (m *Product_ProductFormula_Product) GetOrderTemplate() string
func (*Product_ProductFormula_Product) GetProductBatchExpires ¶
func (m *Product_ProductFormula_Product) GetProductBatchExpires() []*Product_ProductFormula_Product_ProductBatchExpire
func (*Product_ProductFormula_Product) GetProductSerials ¶
func (m *Product_ProductFormula_Product) GetProductSerials() []*Product_ProductFormula_Product_ProductSerial
func (*Product_ProductFormula_Product) GetRetailerId ¶
func (m *Product_ProductFormula_Product) GetRetailerId() int64
func (*Product_ProductFormula_Product) GetUnit ¶
func (m *Product_ProductFormula_Product) GetUnit() string
func (*Product_ProductFormula_Product) ProtoMessage ¶
func (*Product_ProductFormula_Product) ProtoMessage()
func (*Product_ProductFormula_Product) Reset ¶
func (m *Product_ProductFormula_Product) Reset()
func (*Product_ProductFormula_Product) String ¶
func (m *Product_ProductFormula_Product) String() string
func (*Product_ProductFormula_Product) XXX_DiscardUnknown ¶
func (m *Product_ProductFormula_Product) XXX_DiscardUnknown()
func (*Product_ProductFormula_Product) XXX_Marshal ¶
func (m *Product_ProductFormula_Product) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Product_ProductFormula_Product) XXX_Merge ¶
func (m *Product_ProductFormula_Product) XXX_Merge(src proto.Message)
func (*Product_ProductFormula_Product) XXX_Size ¶
func (m *Product_ProductFormula_Product) XXX_Size() int
func (*Product_ProductFormula_Product) XXX_Unmarshal ¶
func (m *Product_ProductFormula_Product) XXX_Unmarshal(b []byte) error
type Product_ProductFormula_Product_ProductBatchExpire ¶
type Product_ProductFormula_Product_ProductBatchExpire struct { ProductId int64 `protobuf:"varint,2,opt,name=productId,proto3" json:"productId,omitempty"` OnHand int64 `protobuf:"varint,3,opt,name=onHand,proto3" json:"onHand,omitempty"` BatchName string `protobuf:"bytes,4,opt,name=batchName,proto3" json:"batchName,omitempty"` ExpireDate string `protobuf:"bytes,5,opt,name=expireDate,proto3" json:"expireDate,omitempty"` FullNameVirgule string `protobuf:"bytes,6,opt,name=fullNameVirgule,proto3" json:"fullNameVirgule,omitempty"` Status int64 `protobuf:"varint,7,opt,name=status,proto3" json:"status,omitempty"` BranchId int64 `protobuf:"varint,8,opt,name=branchId,proto3" json:"branchId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Product_ProductFormula_Product_ProductBatchExpire) Descriptor ¶
func (*Product_ProductFormula_Product_ProductBatchExpire) Descriptor() ([]byte, []int)
func (*Product_ProductFormula_Product_ProductBatchExpire) GetBatchName ¶
func (m *Product_ProductFormula_Product_ProductBatchExpire) GetBatchName() string
func (*Product_ProductFormula_Product_ProductBatchExpire) GetBranchId ¶
func (m *Product_ProductFormula_Product_ProductBatchExpire) GetBranchId() int64
func (*Product_ProductFormula_Product_ProductBatchExpire) GetExpireDate ¶
func (m *Product_ProductFormula_Product_ProductBatchExpire) GetExpireDate() string
func (*Product_ProductFormula_Product_ProductBatchExpire) GetFullNameVirgule ¶
func (m *Product_ProductFormula_Product_ProductBatchExpire) GetFullNameVirgule() string
func (*Product_ProductFormula_Product_ProductBatchExpire) GetOnHand ¶
func (m *Product_ProductFormula_Product_ProductBatchExpire) GetOnHand() int64
func (*Product_ProductFormula_Product_ProductBatchExpire) GetProductId ¶
func (m *Product_ProductFormula_Product_ProductBatchExpire) GetProductId() int64
func (*Product_ProductFormula_Product_ProductBatchExpire) GetStatus ¶
func (m *Product_ProductFormula_Product_ProductBatchExpire) GetStatus() int64
func (*Product_ProductFormula_Product_ProductBatchExpire) ProtoMessage ¶
func (*Product_ProductFormula_Product_ProductBatchExpire) ProtoMessage()
func (*Product_ProductFormula_Product_ProductBatchExpire) Reset ¶
func (m *Product_ProductFormula_Product_ProductBatchExpire) Reset()
func (*Product_ProductFormula_Product_ProductBatchExpire) String ¶
func (m *Product_ProductFormula_Product_ProductBatchExpire) String() string
func (*Product_ProductFormula_Product_ProductBatchExpire) XXX_DiscardUnknown ¶
func (m *Product_ProductFormula_Product_ProductBatchExpire) XXX_DiscardUnknown()
func (*Product_ProductFormula_Product_ProductBatchExpire) XXX_Marshal ¶
func (m *Product_ProductFormula_Product_ProductBatchExpire) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Product_ProductFormula_Product_ProductBatchExpire) XXX_Merge ¶
func (m *Product_ProductFormula_Product_ProductBatchExpire) XXX_Merge(src proto.Message)
func (*Product_ProductFormula_Product_ProductBatchExpire) XXX_Size ¶
func (m *Product_ProductFormula_Product_ProductBatchExpire) XXX_Size() int
func (*Product_ProductFormula_Product_ProductBatchExpire) XXX_Unmarshal ¶
func (m *Product_ProductFormula_Product_ProductBatchExpire) XXX_Unmarshal(b []byte) error
type Product_ProductFormula_Product_ProductSerial ¶
type Product_ProductFormula_Product_ProductSerial struct { ProductId int64 `protobuf:"varint,2,opt,name=productId,proto3" json:"productId,omitempty"` SerialNumber string `protobuf:"bytes,3,opt,name=serialNumber,proto3" json:"serialNumber,omitempty"` Status int64 `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"` BranchId int64 `protobuf:"varint,5,opt,name=branchId,proto3" json:"branchId,omitempty"` Quantity int64 `protobuf:"varint,6,opt,name=quantity,proto3" json:"quantity,omitempty"` CreatedDate string `protobuf:"bytes,7,opt,name=createdDate,proto3" json:"createdDate,omitempty"` ModifiedDate string `protobuf:"bytes,8,opt,name=modifiedDate,proto3" json:"modifiedDate,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Product_ProductFormula_Product_ProductSerial) Descriptor ¶
func (*Product_ProductFormula_Product_ProductSerial) Descriptor() ([]byte, []int)
func (*Product_ProductFormula_Product_ProductSerial) GetBranchId ¶
func (m *Product_ProductFormula_Product_ProductSerial) GetBranchId() int64
func (*Product_ProductFormula_Product_ProductSerial) GetCreatedDate ¶
func (m *Product_ProductFormula_Product_ProductSerial) GetCreatedDate() string
func (*Product_ProductFormula_Product_ProductSerial) GetModifiedDate ¶
func (m *Product_ProductFormula_Product_ProductSerial) GetModifiedDate() string
func (*Product_ProductFormula_Product_ProductSerial) GetProductId ¶
func (m *Product_ProductFormula_Product_ProductSerial) GetProductId() int64
func (*Product_ProductFormula_Product_ProductSerial) GetQuantity ¶
func (m *Product_ProductFormula_Product_ProductSerial) GetQuantity() int64
func (*Product_ProductFormula_Product_ProductSerial) GetSerialNumber ¶
func (m *Product_ProductFormula_Product_ProductSerial) GetSerialNumber() string
func (*Product_ProductFormula_Product_ProductSerial) GetStatus ¶
func (m *Product_ProductFormula_Product_ProductSerial) GetStatus() int64
func (*Product_ProductFormula_Product_ProductSerial) ProtoMessage ¶
func (*Product_ProductFormula_Product_ProductSerial) ProtoMessage()
func (*Product_ProductFormula_Product_ProductSerial) Reset ¶
func (m *Product_ProductFormula_Product_ProductSerial) Reset()
func (*Product_ProductFormula_Product_ProductSerial) String ¶
func (m *Product_ProductFormula_Product_ProductSerial) String() string
func (*Product_ProductFormula_Product_ProductSerial) XXX_DiscardUnknown ¶
func (m *Product_ProductFormula_Product_ProductSerial) XXX_DiscardUnknown()
func (*Product_ProductFormula_Product_ProductSerial) XXX_Marshal ¶
func (m *Product_ProductFormula_Product_ProductSerial) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Product_ProductFormula_Product_ProductSerial) XXX_Merge ¶
func (m *Product_ProductFormula_Product_ProductSerial) XXX_Merge(src proto.Message)
func (*Product_ProductFormula_Product_ProductSerial) XXX_Size ¶
func (m *Product_ProductFormula_Product_ProductSerial) XXX_Size() int
func (*Product_ProductFormula_Product_ProductSerial) XXX_Unmarshal ¶
func (m *Product_ProductFormula_Product_ProductSerial) XXX_Unmarshal(b []byte) error
type Product_Unit ¶
type Product_Unit struct { Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` Code string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"` Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"` FullName string `protobuf:"bytes,5,opt,name=fullName,proto3" json:"fullName,omitempty"` Unit string `protobuf:"bytes,6,opt,name=unit,proto3" json:"unit,omitempty"` ConversionValue int64 `protobuf:"varint,7,opt,name=conversionValue,proto3" json:"conversionValue,omitempty"` BasePrice float32 `protobuf:"fixed32,8,opt,name=basePrice,proto3" json:"basePrice,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Product_Unit) Descriptor ¶
func (*Product_Unit) Descriptor() ([]byte, []int)
func (*Product_Unit) GetBasePrice ¶
func (m *Product_Unit) GetBasePrice() float32
func (*Product_Unit) GetCode ¶
func (m *Product_Unit) GetCode() string
func (*Product_Unit) GetConversionValue ¶
func (m *Product_Unit) GetConversionValue() int64
func (*Product_Unit) GetFullName ¶
func (m *Product_Unit) GetFullName() string
func (*Product_Unit) GetId ¶
func (m *Product_Unit) GetId() int64
func (*Product_Unit) GetName ¶
func (m *Product_Unit) GetName() string
func (*Product_Unit) GetUnit ¶
func (m *Product_Unit) GetUnit() string
func (*Product_Unit) ProtoMessage ¶
func (*Product_Unit) ProtoMessage()
func (*Product_Unit) Reset ¶
func (m *Product_Unit) Reset()
func (*Product_Unit) String ¶
func (m *Product_Unit) String() string
func (*Product_Unit) XXX_DiscardUnknown ¶
func (m *Product_Unit) XXX_DiscardUnknown()
func (*Product_Unit) XXX_Marshal ¶
func (m *Product_Unit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Product_Unit) XXX_Merge ¶
func (m *Product_Unit) XXX_Merge(src proto.Message)
func (*Product_Unit) XXX_Size ¶
func (m *Product_Unit) XXX_Size() int
func (*Product_Unit) XXX_Unmarshal ¶
func (m *Product_Unit) XXX_Unmarshal(b []byte) error
type RegisterWebhookRequest ¶
type RegisterWebhookRequest struct { Webhook *RegisterWebhookRequest_Webhook2 `protobuf:"bytes,2,opt,name=Webhook,proto3" json:"Webhook,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RegisterWebhookRequest) Descriptor ¶
func (*RegisterWebhookRequest) Descriptor() ([]byte, []int)
func (*RegisterWebhookRequest) GetWebhook ¶
func (m *RegisterWebhookRequest) GetWebhook() *RegisterWebhookRequest_Webhook2
func (*RegisterWebhookRequest) ProtoMessage ¶
func (*RegisterWebhookRequest) ProtoMessage()
func (*RegisterWebhookRequest) Reset ¶
func (m *RegisterWebhookRequest) Reset()
func (*RegisterWebhookRequest) String ¶
func (m *RegisterWebhookRequest) String() string
func (*RegisterWebhookRequest) XXX_DiscardUnknown ¶
func (m *RegisterWebhookRequest) XXX_DiscardUnknown()
func (*RegisterWebhookRequest) XXX_Marshal ¶
func (m *RegisterWebhookRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegisterWebhookRequest) XXX_Merge ¶
func (m *RegisterWebhookRequest) XXX_Merge(src proto.Message)
func (*RegisterWebhookRequest) XXX_Size ¶
func (m *RegisterWebhookRequest) XXX_Size() int
func (*RegisterWebhookRequest) XXX_Unmarshal ¶
func (m *RegisterWebhookRequest) XXX_Unmarshal(b []byte) error
type RegisterWebhookRequest_Webhook2 ¶
type RegisterWebhookRequest_Webhook2 struct { Type string `protobuf:"bytes,2,opt,name=Type,proto3" json:"Type,omitempty"` Url string `protobuf:"bytes,3,opt,name=Url,proto3" json:"Url,omitempty"` IsActive bool `protobuf:"varint,4,opt,name=IsActive,proto3" json:"IsActive,omitempty"` Description string `protobuf:"bytes,5,opt,name=Description,proto3" json:"Description,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RegisterWebhookRequest_Webhook2) Descriptor ¶
func (*RegisterWebhookRequest_Webhook2) Descriptor() ([]byte, []int)
func (*RegisterWebhookRequest_Webhook2) GetDescription ¶
func (m *RegisterWebhookRequest_Webhook2) GetDescription() string
func (*RegisterWebhookRequest_Webhook2) GetIsActive ¶
func (m *RegisterWebhookRequest_Webhook2) GetIsActive() bool
func (*RegisterWebhookRequest_Webhook2) GetType ¶
func (m *RegisterWebhookRequest_Webhook2) GetType() string
func (*RegisterWebhookRequest_Webhook2) GetUrl ¶
func (m *RegisterWebhookRequest_Webhook2) GetUrl() string
func (*RegisterWebhookRequest_Webhook2) ProtoMessage ¶
func (*RegisterWebhookRequest_Webhook2) ProtoMessage()
func (*RegisterWebhookRequest_Webhook2) Reset ¶
func (m *RegisterWebhookRequest_Webhook2) Reset()
func (*RegisterWebhookRequest_Webhook2) String ¶
func (m *RegisterWebhookRequest_Webhook2) String() string
func (*RegisterWebhookRequest_Webhook2) XXX_DiscardUnknown ¶
func (m *RegisterWebhookRequest_Webhook2) XXX_DiscardUnknown()
func (*RegisterWebhookRequest_Webhook2) XXX_Marshal ¶
func (m *RegisterWebhookRequest_Webhook2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegisterWebhookRequest_Webhook2) XXX_Merge ¶
func (m *RegisterWebhookRequest_Webhook2) XXX_Merge(src proto.Message)
func (*RegisterWebhookRequest_Webhook2) XXX_Size ¶
func (m *RegisterWebhookRequest_Webhook2) XXX_Size() int
func (*RegisterWebhookRequest_Webhook2) XXX_Unmarshal ¶
func (m *RegisterWebhookRequest_Webhook2) XXX_Unmarshal(b []byte) error
type RegisterWebhookResponse ¶
type RegisterWebhookResponse struct { Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` IsActive bool `protobuf:"varint,5,opt,name=isActive,proto3" json:"isActive,omitempty"` Description string `protobuf:"bytes,6,opt,name=description,proto3" json:"description,omitempty"` RetailerId int64 `protobuf:"varint,7,opt,name=retailerId,proto3" json:"retailerId,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RegisterWebhookResponse) Descriptor ¶
func (*RegisterWebhookResponse) Descriptor() ([]byte, []int)
func (*RegisterWebhookResponse) GetDescription ¶
func (m *RegisterWebhookResponse) GetDescription() string
func (*RegisterWebhookResponse) GetId ¶
func (m *RegisterWebhookResponse) GetId() int64
func (*RegisterWebhookResponse) GetIsActive ¶
func (m *RegisterWebhookResponse) GetIsActive() bool
func (*RegisterWebhookResponse) GetRetailerId ¶
func (m *RegisterWebhookResponse) GetRetailerId() int64
func (*RegisterWebhookResponse) GetType ¶
func (m *RegisterWebhookResponse) GetType() string
func (*RegisterWebhookResponse) GetUrl ¶
func (m *RegisterWebhookResponse) GetUrl() string
func (*RegisterWebhookResponse) ProtoMessage ¶
func (*RegisterWebhookResponse) ProtoMessage()
func (*RegisterWebhookResponse) Reset ¶
func (m *RegisterWebhookResponse) Reset()
func (*RegisterWebhookResponse) String ¶
func (m *RegisterWebhookResponse) String() string
func (*RegisterWebhookResponse) XXX_DiscardUnknown ¶
func (m *RegisterWebhookResponse) XXX_DiscardUnknown()
func (*RegisterWebhookResponse) XXX_Marshal ¶
func (m *RegisterWebhookResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RegisterWebhookResponse) XXX_Merge ¶
func (m *RegisterWebhookResponse) XXX_Merge(src proto.Message)
func (*RegisterWebhookResponse) XXX_Size ¶
func (m *RegisterWebhookResponse) XXX_Size() int
func (*RegisterWebhookResponse) XXX_Unmarshal ¶
func (m *RegisterWebhookResponse) XXX_Unmarshal(b []byte) error
type StockUpdatedWebhookRequest ¶
type StockUpdatedWebhookRequest struct { Id string `protobuf:"bytes,2,opt,name=Id,proto3" json:"Id,omitempty"` Attempt int64 `protobuf:"varint,3,opt,name=Attempt,proto3" json:"Attempt,omitempty"` Notifications []*StockUpdatedWebhookRequest_Notification `protobuf:"bytes,4,rep,name=Notifications,proto3" json:"Notifications,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StockUpdatedWebhookRequest) Descriptor ¶
func (*StockUpdatedWebhookRequest) Descriptor() ([]byte, []int)
func (*StockUpdatedWebhookRequest) GetAttempt ¶
func (m *StockUpdatedWebhookRequest) GetAttempt() int64
func (*StockUpdatedWebhookRequest) GetId ¶
func (m *StockUpdatedWebhookRequest) GetId() string
func (*StockUpdatedWebhookRequest) GetNotifications ¶
func (m *StockUpdatedWebhookRequest) GetNotifications() []*StockUpdatedWebhookRequest_Notification
func (*StockUpdatedWebhookRequest) ProtoMessage ¶
func (*StockUpdatedWebhookRequest) ProtoMessage()
func (*StockUpdatedWebhookRequest) Reset ¶
func (m *StockUpdatedWebhookRequest) Reset()
func (*StockUpdatedWebhookRequest) String ¶
func (m *StockUpdatedWebhookRequest) String() string
func (*StockUpdatedWebhookRequest) XXX_DiscardUnknown ¶
func (m *StockUpdatedWebhookRequest) XXX_DiscardUnknown()
func (*StockUpdatedWebhookRequest) XXX_Marshal ¶
func (m *StockUpdatedWebhookRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StockUpdatedWebhookRequest) XXX_Merge ¶
func (m *StockUpdatedWebhookRequest) XXX_Merge(src proto.Message)
func (*StockUpdatedWebhookRequest) XXX_Size ¶
func (m *StockUpdatedWebhookRequest) XXX_Size() int
func (*StockUpdatedWebhookRequest) XXX_Unmarshal ¶
func (m *StockUpdatedWebhookRequest) XXX_Unmarshal(b []byte) error
type StockUpdatedWebhookRequest_Notification ¶
type StockUpdatedWebhookRequest_Notification struct { Action string `protobuf:"bytes,2,opt,name=Action,proto3" json:"Action,omitempty"` Data []*StockUpdatedWebhookRequest_Notification_Data2 `protobuf:"bytes,3,rep,name=Data,proto3" json:"Data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StockUpdatedWebhookRequest_Notification) Descriptor ¶
func (*StockUpdatedWebhookRequest_Notification) Descriptor() ([]byte, []int)
func (*StockUpdatedWebhookRequest_Notification) GetAction ¶
func (m *StockUpdatedWebhookRequest_Notification) GetAction() string
func (*StockUpdatedWebhookRequest_Notification) GetData ¶
func (m *StockUpdatedWebhookRequest_Notification) GetData() []*StockUpdatedWebhookRequest_Notification_Data2
func (*StockUpdatedWebhookRequest_Notification) ProtoMessage ¶
func (*StockUpdatedWebhookRequest_Notification) ProtoMessage()
func (*StockUpdatedWebhookRequest_Notification) Reset ¶
func (m *StockUpdatedWebhookRequest_Notification) Reset()
func (*StockUpdatedWebhookRequest_Notification) String ¶
func (m *StockUpdatedWebhookRequest_Notification) String() string
func (*StockUpdatedWebhookRequest_Notification) XXX_DiscardUnknown ¶
func (m *StockUpdatedWebhookRequest_Notification) XXX_DiscardUnknown()
func (*StockUpdatedWebhookRequest_Notification) XXX_Marshal ¶
func (m *StockUpdatedWebhookRequest_Notification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StockUpdatedWebhookRequest_Notification) XXX_Merge ¶
func (m *StockUpdatedWebhookRequest_Notification) XXX_Merge(src proto.Message)
func (*StockUpdatedWebhookRequest_Notification) XXX_Size ¶
func (m *StockUpdatedWebhookRequest_Notification) XXX_Size() int
func (*StockUpdatedWebhookRequest_Notification) XXX_Unmarshal ¶
func (m *StockUpdatedWebhookRequest_Notification) XXX_Unmarshal(b []byte) error
type StockUpdatedWebhookRequest_Notification_Data2 ¶
type StockUpdatedWebhookRequest_Notification_Data2 struct { ProductId int64 `protobuf:"varint,2,opt,name=ProductId,proto3" json:"ProductId,omitempty"` ProductCode string `protobuf:"bytes,3,opt,name=ProductCode,proto3" json:"ProductCode,omitempty"` ProductName string `protobuf:"bytes,4,opt,name=ProductName,proto3" json:"ProductName,omitempty"` BranchId int64 `protobuf:"varint,5,opt,name=BranchId,proto3" json:"BranchId,omitempty"` BranchName string `protobuf:"bytes,6,opt,name=BranchName,proto3" json:"BranchName,omitempty"` Cost float64 `protobuf:"fixed64,7,opt,name=Cost,proto3" json:"Cost,omitempty"` OnHand int64 `protobuf:"varint,8,opt,name=OnHand,proto3" json:"OnHand,omitempty"` Reserved int64 `protobuf:"varint,9,opt,name=Reserved,proto3" json:"Reserved,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StockUpdatedWebhookRequest_Notification_Data2) Descriptor ¶
func (*StockUpdatedWebhookRequest_Notification_Data2) Descriptor() ([]byte, []int)
func (*StockUpdatedWebhookRequest_Notification_Data2) GetBranchId ¶
func (m *StockUpdatedWebhookRequest_Notification_Data2) GetBranchId() int64
func (*StockUpdatedWebhookRequest_Notification_Data2) GetBranchName ¶
func (m *StockUpdatedWebhookRequest_Notification_Data2) GetBranchName() string
func (*StockUpdatedWebhookRequest_Notification_Data2) GetCost ¶
func (m *StockUpdatedWebhookRequest_Notification_Data2) GetCost() float64
func (*StockUpdatedWebhookRequest_Notification_Data2) GetOnHand ¶
func (m *StockUpdatedWebhookRequest_Notification_Data2) GetOnHand() int64
func (*StockUpdatedWebhookRequest_Notification_Data2) GetProductCode ¶
func (m *StockUpdatedWebhookRequest_Notification_Data2) GetProductCode() string
func (*StockUpdatedWebhookRequest_Notification_Data2) GetProductId ¶
func (m *StockUpdatedWebhookRequest_Notification_Data2) GetProductId() int64
func (*StockUpdatedWebhookRequest_Notification_Data2) GetProductName ¶
func (m *StockUpdatedWebhookRequest_Notification_Data2) GetProductName() string
func (*StockUpdatedWebhookRequest_Notification_Data2) GetReserved ¶
func (m *StockUpdatedWebhookRequest_Notification_Data2) GetReserved() int64
func (*StockUpdatedWebhookRequest_Notification_Data2) ProtoMessage ¶
func (*StockUpdatedWebhookRequest_Notification_Data2) ProtoMessage()
func (*StockUpdatedWebhookRequest_Notification_Data2) Reset ¶
func (m *StockUpdatedWebhookRequest_Notification_Data2) Reset()
func (*StockUpdatedWebhookRequest_Notification_Data2) String ¶
func (m *StockUpdatedWebhookRequest_Notification_Data2) String() string
func (*StockUpdatedWebhookRequest_Notification_Data2) XXX_DiscardUnknown ¶
func (m *StockUpdatedWebhookRequest_Notification_Data2) XXX_DiscardUnknown()
func (*StockUpdatedWebhookRequest_Notification_Data2) XXX_Marshal ¶
func (m *StockUpdatedWebhookRequest_Notification_Data2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StockUpdatedWebhookRequest_Notification_Data2) XXX_Merge ¶
func (m *StockUpdatedWebhookRequest_Notification_Data2) XXX_Merge(src proto.Message)
func (*StockUpdatedWebhookRequest_Notification_Data2) XXX_Size ¶
func (m *StockUpdatedWebhookRequest_Notification_Data2) XXX_Size() int
func (*StockUpdatedWebhookRequest_Notification_Data2) XXX_Unmarshal ¶
func (m *StockUpdatedWebhookRequest_Notification_Data2) XXX_Unmarshal(b []byte) error
type Token ¶
type Token struct { AccessToken string `protobuf:"bytes,2,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` ExpiresIn int64 `protobuf:"varint,3,opt,name=expires_in,json=expiresIn,proto3" json:"expires_in,omitempty"` TokenType string `protobuf:"bytes,4,opt,name=token_type,json=tokenType,proto3" json:"token_type,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Token) Descriptor ¶
func (*Token) GetAccessToken ¶
func (*Token) GetExpiresIn ¶
func (*Token) GetTokenType ¶
func (*Token) ProtoMessage ¶
func (*Token) ProtoMessage()
func (*Token) XXX_DiscardUnknown ¶
func (m *Token) XXX_DiscardUnknown()
func (*Token) XXX_Marshal ¶
func (*Token) XXX_Unmarshal ¶
type UpdateProductRequest ¶
type UpdateProductRequest struct { Name *string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"` Code *string `protobuf:"bytes,3,opt,name=code" json:"code,omitempty"` CategoryId *int64 `protobuf:"varint,4,opt,name=categoryId" json:"categoryId,omitempty"` AllowsSale *bool `protobuf:"varint,5,opt,name=allowsSale" json:"allowsSale,omitempty"` Description *string `protobuf:"bytes,6,opt,name=description" json:"description,omitempty"` HasVariants *bool `protobuf:"varint,7,opt,name=hasVariants" json:"hasVariants,omitempty"` Attributes []*UpdateProductRequest_Attribute `protobuf:"bytes,8,rep,name=attributes" json:"attributes,omitempty"` Unit *string `protobuf:"bytes,9,opt,name=unit" json:"unit,omitempty"` MasterUnitId *int64 `protobuf:"varint,10,opt,name=masterUnitId" json:"masterUnitId,omitempty"` ConversionValue *int64 `protobuf:"varint,11,opt,name=conversionValue" json:"conversionValue,omitempty"` Inventories []*UpdateProductRequest_Inventory `protobuf:"bytes,12,rep,name=inventories" json:"inventories,omitempty"` BasePrice *float64 `protobuf:"fixed64,13,opt,name=basePrice" json:"basePrice,omitempty"` Weight *int64 `protobuf:"varint,14,opt,name=weight" json:"weight,omitempty"` IsActive *bool `protobuf:"varint,15,opt,name=isActive" json:"isActive,omitempty"` IsRewardPoint *bool `protobuf:"varint,16,opt,name=isRewardPoint" json:"isRewardPoint,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateProductRequest) Descriptor ¶
func (*UpdateProductRequest) Descriptor() ([]byte, []int)
func (*UpdateProductRequest) GetAllowsSale ¶
func (m *UpdateProductRequest) GetAllowsSale() bool
func (*UpdateProductRequest) GetAttributes ¶
func (m *UpdateProductRequest) GetAttributes() []*UpdateProductRequest_Attribute
func (*UpdateProductRequest) GetBasePrice ¶
func (m *UpdateProductRequest) GetBasePrice() float64
func (*UpdateProductRequest) GetCategoryId ¶
func (m *UpdateProductRequest) GetCategoryId() int64
func (*UpdateProductRequest) GetCode ¶
func (m *UpdateProductRequest) GetCode() string
func (*UpdateProductRequest) GetConversionValue ¶
func (m *UpdateProductRequest) GetConversionValue() int64
func (*UpdateProductRequest) GetDescription ¶
func (m *UpdateProductRequest) GetDescription() string
func (*UpdateProductRequest) GetHasVariants ¶
func (m *UpdateProductRequest) GetHasVariants() bool
func (*UpdateProductRequest) GetInventories ¶
func (m *UpdateProductRequest) GetInventories() []*UpdateProductRequest_Inventory
func (*UpdateProductRequest) GetIsActive ¶
func (m *UpdateProductRequest) GetIsActive() bool
func (*UpdateProductRequest) GetIsRewardPoint ¶
func (m *UpdateProductRequest) GetIsRewardPoint() bool
func (*UpdateProductRequest) GetMasterUnitId ¶
func (m *UpdateProductRequest) GetMasterUnitId() int64
func (*UpdateProductRequest) GetName ¶
func (m *UpdateProductRequest) GetName() string
func (*UpdateProductRequest) GetUnit ¶
func (m *UpdateProductRequest) GetUnit() string
func (*UpdateProductRequest) GetWeight ¶
func (m *UpdateProductRequest) GetWeight() int64
func (*UpdateProductRequest) ProtoMessage ¶
func (*UpdateProductRequest) ProtoMessage()
func (*UpdateProductRequest) Reset ¶
func (m *UpdateProductRequest) Reset()
func (*UpdateProductRequest) String ¶
func (m *UpdateProductRequest) String() string
func (*UpdateProductRequest) XXX_DiscardUnknown ¶
func (m *UpdateProductRequest) XXX_DiscardUnknown()
func (*UpdateProductRequest) XXX_Marshal ¶
func (m *UpdateProductRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateProductRequest) XXX_Merge ¶
func (m *UpdateProductRequest) XXX_Merge(src proto.Message)
func (*UpdateProductRequest) XXX_Size ¶
func (m *UpdateProductRequest) XXX_Size() int
func (*UpdateProductRequest) XXX_Unmarshal ¶
func (m *UpdateProductRequest) XXX_Unmarshal(b []byte) error
type UpdateProductRequest_Attribute ¶
type UpdateProductRequest_Attribute struct { AttributeName *string `protobuf:"bytes,2,opt,name=attributeName" json:"attributeName,omitempty"` AttributeValue *string `protobuf:"bytes,3,opt,name=attributeValue" json:"attributeValue,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateProductRequest_Attribute) Descriptor ¶
func (*UpdateProductRequest_Attribute) Descriptor() ([]byte, []int)
func (*UpdateProductRequest_Attribute) GetAttributeName ¶
func (m *UpdateProductRequest_Attribute) GetAttributeName() string
func (*UpdateProductRequest_Attribute) GetAttributeValue ¶
func (m *UpdateProductRequest_Attribute) GetAttributeValue() string
func (*UpdateProductRequest_Attribute) ProtoMessage ¶
func (*UpdateProductRequest_Attribute) ProtoMessage()
func (*UpdateProductRequest_Attribute) Reset ¶
func (m *UpdateProductRequest_Attribute) Reset()
func (*UpdateProductRequest_Attribute) String ¶
func (m *UpdateProductRequest_Attribute) String() string
func (*UpdateProductRequest_Attribute) XXX_DiscardUnknown ¶
func (m *UpdateProductRequest_Attribute) XXX_DiscardUnknown()
func (*UpdateProductRequest_Attribute) XXX_Marshal ¶
func (m *UpdateProductRequest_Attribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateProductRequest_Attribute) XXX_Merge ¶
func (m *UpdateProductRequest_Attribute) XXX_Merge(src proto.Message)
func (*UpdateProductRequest_Attribute) XXX_Size ¶
func (m *UpdateProductRequest_Attribute) XXX_Size() int
func (*UpdateProductRequest_Attribute) XXX_Unmarshal ¶
func (m *UpdateProductRequest_Attribute) XXX_Unmarshal(b []byte) error
type UpdateProductRequest_Inventory ¶
type UpdateProductRequest_Inventory struct { BranchId *int64 `protobuf:"varint,2,opt,name=branchId" json:"branchId,omitempty"` BranchName *string `protobuf:"bytes,3,opt,name=branchName" json:"branchName,omitempty"` OnHand *int64 `protobuf:"varint,4,opt,name=onHand" json:"onHand,omitempty"` Cost *float64 `protobuf:"fixed64,5,opt,name=cost" json:"cost,omitempty"` Reserved *int64 `protobuf:"varint,6,opt,name=reserved" json:"reserved,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateProductRequest_Inventory) Descriptor ¶
func (*UpdateProductRequest_Inventory) Descriptor() ([]byte, []int)
func (*UpdateProductRequest_Inventory) GetBranchId ¶
func (m *UpdateProductRequest_Inventory) GetBranchId() int64
func (*UpdateProductRequest_Inventory) GetBranchName ¶
func (m *UpdateProductRequest_Inventory) GetBranchName() string
func (*UpdateProductRequest_Inventory) GetCost ¶
func (m *UpdateProductRequest_Inventory) GetCost() float64
func (*UpdateProductRequest_Inventory) GetOnHand ¶
func (m *UpdateProductRequest_Inventory) GetOnHand() int64
func (*UpdateProductRequest_Inventory) GetReserved ¶
func (m *UpdateProductRequest_Inventory) GetReserved() int64
func (*UpdateProductRequest_Inventory) ProtoMessage ¶
func (*UpdateProductRequest_Inventory) ProtoMessage()
func (*UpdateProductRequest_Inventory) Reset ¶
func (m *UpdateProductRequest_Inventory) Reset()
func (*UpdateProductRequest_Inventory) String ¶
func (m *UpdateProductRequest_Inventory) String() string
func (*UpdateProductRequest_Inventory) XXX_DiscardUnknown ¶
func (m *UpdateProductRequest_Inventory) XXX_DiscardUnknown()
func (*UpdateProductRequest_Inventory) XXX_Marshal ¶
func (m *UpdateProductRequest_Inventory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateProductRequest_Inventory) XXX_Merge ¶
func (m *UpdateProductRequest_Inventory) XXX_Merge(src proto.Message)
func (*UpdateProductRequest_Inventory) XXX_Size ¶
func (m *UpdateProductRequest_Inventory) XXX_Size() int
func (*UpdateProductRequest_Inventory) XXX_Unmarshal ¶
func (m *UpdateProductRequest_Inventory) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.