Documentation ¶
Index ¶
- type Attribute
- func (*Attribute) Descriptor() ([]byte, []int)
- func (*Attribute) ProtoMessage()
- func (m *Attribute) Reset()
- func (m *Attribute) String() string
- func (m *Attribute) XXX_DiscardUnknown()
- func (m *Attribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Attribute) XXX_Merge(src proto.Message)
- func (m *Attribute) XXX_Size() int
- func (m *Attribute) XXX_Unmarshal(b []byte) error
- type Client
- type GetProductRequest
- func (*GetProductRequest) Descriptor() ([]byte, []int)
- func (m *GetProductRequest) GetApiUsername() string
- func (m *GetProductRequest) GetChecksum() string
- func (m *GetProductRequest) GetData() string
- func (m *GetProductRequest) GetStoreId() string
- func (m *GetProductRequest) GetVersion() string
- func (*GetProductRequest) ProtoMessage()
- func (m *GetProductRequest) Reset()
- func (m *GetProductRequest) String() string
- func (m *GetProductRequest) XXX_DiscardUnknown()
- func (m *GetProductRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetProductRequest) XXX_Merge(src proto.Message)
- func (m *GetProductRequest) XXX_Size() int
- func (m *GetProductRequest) XXX_Unmarshal(b []byte) error
- type GetProductResponse
- func (*GetProductResponse) Descriptor() ([]byte, []int)
- func (m *GetProductResponse) GetCode() int64
- func (m *GetProductResponse) GetData() map[string]*Product
- func (m *GetProductResponse) GetMessages() []string
- func (*GetProductResponse) ProtoMessage()
- func (m *GetProductResponse) Reset()
- func (m *GetProductResponse) String() string
- func (m *GetProductResponse) XXX_DiscardUnknown()
- func (m *GetProductResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetProductResponse) XXX_Merge(src proto.Message)
- func (m *GetProductResponse) XXX_Size() int
- func (m *GetProductResponse) XXX_Unmarshal(b []byte) error
- type Inventory
- func (*Inventory) Descriptor() ([]byte, []int)
- func (m *Inventory) GetAvailable() int64
- func (m *Inventory) GetCodeNhanh() string
- func (m *Inventory) GetDamage() int64
- func (m *Inventory) GetHolding() int64
- func (m *Inventory) GetId() string
- func (m *Inventory) GetIdNhanh() string
- func (m *Inventory) GetRemain() int64
- func (m *Inventory) GetShipping() int64
- func (m *Inventory) GetWarranty() int64
- func (m *Inventory) GetWarrantyHolding() int64
- func (*Inventory) ProtoMessage()
- func (m *Inventory) Reset()
- func (m *Inventory) String() string
- func (m *Inventory) XXX_DiscardUnknown()
- func (m *Inventory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Inventory) XXX_Merge(src proto.Message)
- func (m *Inventory) XXX_Size() int
- func (m *Inventory) XXX_Unmarshal(b []byte) error
- type Product
- func (*Product) Descriptor() ([]byte, []int)
- func (m *Product) GetAvgCost() string
- func (m *Product) GetBarcode() string
- func (m *Product) GetCategoryId() string
- func (m *Product) GetCode() string
- func (m *Product) GetContent() string
- func (m *Product) GetCreatedDateTime() string
- func (m *Product) GetDescription() string
- func (m *Product) GetHeight() int64
- func (m *Product) GetIdNhanh() string
- func (m *Product) GetImage() string
- func (m *Product) GetImages() []string
- func (m *Product) GetImportPrice() string
- func (m *Product) GetInventory() *Inventory
- func (m *Product) GetLength() int64
- func (m *Product) GetMerchantCategoryId() int64
- func (m *Product) GetMerchantProductId() int64
- func (m *Product) GetName() string
- func (m *Product) GetOldPrice() string
- func (m *Product) GetOtherName() string
- func (m *Product) GetParentId() string
- func (m *Product) GetPreviewLink() string
- func (m *Product) GetPrice() string
- func (m *Product) GetShippingWeight() string
- func (m *Product) GetShowHome() int64
- func (m *Product) GetShowHot() int64
- func (m *Product) GetShowNew() int64
- func (m *Product) GetStatus() string
- func (m *Product) GetVat() string
- func (m *Product) GetWarranty() int64
- func (m *Product) GetWarrantyAddress() string
- func (m *Product) GetWarrantyContent() string
- func (m *Product) GetWarrantyPhone() string
- func (m *Product) GetWholesalePrice() string
- func (m *Product) GetWidth() 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 SearchProductsRequest
- func (*SearchProductsRequest) Descriptor() ([]byte, []int)
- func (m *SearchProductsRequest) GetBrandId() int64
- func (m *SearchProductsRequest) GetCategoryId() int64
- func (m *SearchProductsRequest) GetIcpp() int64
- func (m *SearchProductsRequest) GetImei() string
- func (m *SearchProductsRequest) GetName() string
- func (m *SearchProductsRequest) GetPage() int64
- func (m *SearchProductsRequest) GetParentId() int64
- func (m *SearchProductsRequest) GetPriceFrom() float32
- func (m *SearchProductsRequest) GetPriceTo() float32
- func (m *SearchProductsRequest) GetSort() map[string]string
- func (m *SearchProductsRequest) GetStatus() string
- func (*SearchProductsRequest) ProtoMessage()
- func (m *SearchProductsRequest) Reset()
- func (m *SearchProductsRequest) String() string
- func (m *SearchProductsRequest) XXX_DiscardUnknown()
- func (m *SearchProductsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SearchProductsRequest) XXX_Merge(src proto.Message)
- func (m *SearchProductsRequest) XXX_Size() int
- func (m *SearchProductsRequest) XXX_Unmarshal(b []byte) error
- type SearchProductsResponse
- func (*SearchProductsResponse) Descriptor() ([]byte, []int)
- func (m *SearchProductsResponse) GetCode() int64
- func (m *SearchProductsResponse) GetData() *SearchProductsResponse_Data
- func (*SearchProductsResponse) ProtoMessage()
- func (m *SearchProductsResponse) Reset()
- func (m *SearchProductsResponse) String() string
- func (m *SearchProductsResponse) XXX_DiscardUnknown()
- func (m *SearchProductsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SearchProductsResponse) XXX_Merge(src proto.Message)
- func (m *SearchProductsResponse) XXX_Size() int
- func (m *SearchProductsResponse) XXX_Unmarshal(b []byte) error
- type SearchProductsResponse_Data
- func (*SearchProductsResponse_Data) Descriptor() ([]byte, []int)
- func (m *SearchProductsResponse_Data) GetCurrentPage() int64
- func (m *SearchProductsResponse_Data) GetProducts() map[string]*Product
- func (m *SearchProductsResponse_Data) GetTotalPages() int64
- func (*SearchProductsResponse_Data) ProtoMessage()
- func (m *SearchProductsResponse_Data) Reset()
- func (m *SearchProductsResponse_Data) String() string
- func (m *SearchProductsResponse_Data) XXX_DiscardUnknown()
- func (m *SearchProductsResponse_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SearchProductsResponse_Data) XXX_Merge(src proto.Message)
- func (m *SearchProductsResponse_Data) XXX_Size() int
- func (m *SearchProductsResponse_Data) XXX_Unmarshal(b []byte) error
- type Webhooks
- func (*Webhooks) Descriptor() ([]byte, []int)
- func (m *Webhooks) GetUriListenInventory() string
- func (m *Webhooks) GetUriListenNewNotification() string
- func (m *Webhooks) GetUriListenOrderStatus() string
- func (m *Webhooks) GetUriListenProductAdd() string
- func (*Webhooks) ProtoMessage()
- func (m *Webhooks) Reset()
- func (m *Webhooks) String() string
- func (m *Webhooks) XXX_DiscardUnknown()
- func (m *Webhooks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Webhooks) XXX_Merge(src proto.Message)
- func (m *Webhooks) XXX_Size() int
- func (m *Webhooks) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Attribute ¶
type Attribute struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Attribute) Descriptor ¶
func (*Attribute) ProtoMessage ¶
func (*Attribute) ProtoMessage()
func (*Attribute) XXX_DiscardUnknown ¶
func (m *Attribute) XXX_DiscardUnknown()
func (*Attribute) XXX_Marshal ¶
func (*Attribute) XXX_Unmarshal ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) GetProduct ¶
func (me *Client) GetProduct(id int64) (*GetProductResponse, error)
func (*Client) SearchProducts ¶
func (me *Client) SearchProducts(req *SearchProductsRequest) (*SearchProductsResponse, error)
func (*Client) UpdateWebhooks ¶
type GetProductRequest ¶
type GetProductRequest struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` StoreId string `protobuf:"bytes,2,opt,name=storeId,proto3" json:"storeId,omitempty"` ApiUsername string `protobuf:"bytes,3,opt,name=apiUsername,proto3" json:"apiUsername,omitempty"` Data string `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` Checksum string `protobuf:"bytes,5,opt,name=checksum,proto3" json:"checksum,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetProductRequest) Descriptor ¶
func (*GetProductRequest) Descriptor() ([]byte, []int)
func (*GetProductRequest) GetApiUsername ¶
func (m *GetProductRequest) GetApiUsername() string
func (*GetProductRequest) GetChecksum ¶
func (m *GetProductRequest) GetChecksum() string
func (*GetProductRequest) GetData ¶
func (m *GetProductRequest) GetData() string
func (*GetProductRequest) GetStoreId ¶
func (m *GetProductRequest) GetStoreId() string
func (*GetProductRequest) GetVersion ¶
func (m *GetProductRequest) GetVersion() string
func (*GetProductRequest) ProtoMessage ¶
func (*GetProductRequest) ProtoMessage()
func (*GetProductRequest) Reset ¶
func (m *GetProductRequest) Reset()
func (*GetProductRequest) String ¶
func (m *GetProductRequest) String() string
func (*GetProductRequest) XXX_DiscardUnknown ¶
func (m *GetProductRequest) XXX_DiscardUnknown()
func (*GetProductRequest) XXX_Marshal ¶
func (m *GetProductRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetProductRequest) XXX_Merge ¶
func (m *GetProductRequest) XXX_Merge(src proto.Message)
func (*GetProductRequest) XXX_Size ¶
func (m *GetProductRequest) XXX_Size() int
func (*GetProductRequest) XXX_Unmarshal ¶
func (m *GetProductRequest) XXX_Unmarshal(b []byte) error
type GetProductResponse ¶
type GetProductResponse struct { Code int64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Messages []string `protobuf:"bytes,2,rep,name=messages,proto3" json:"messages,omitempty"` Data map[string]*Product `` /* 149-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetProductResponse) Descriptor ¶
func (*GetProductResponse) Descriptor() ([]byte, []int)
func (*GetProductResponse) GetCode ¶
func (m *GetProductResponse) GetCode() int64
func (*GetProductResponse) GetData ¶
func (m *GetProductResponse) GetData() map[string]*Product
func (*GetProductResponse) GetMessages ¶
func (m *GetProductResponse) GetMessages() []string
func (*GetProductResponse) ProtoMessage ¶
func (*GetProductResponse) ProtoMessage()
func (*GetProductResponse) Reset ¶
func (m *GetProductResponse) Reset()
func (*GetProductResponse) String ¶
func (m *GetProductResponse) String() string
func (*GetProductResponse) XXX_DiscardUnknown ¶
func (m *GetProductResponse) XXX_DiscardUnknown()
func (*GetProductResponse) XXX_Marshal ¶
func (m *GetProductResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetProductResponse) XXX_Merge ¶
func (m *GetProductResponse) XXX_Merge(src proto.Message)
func (*GetProductResponse) XXX_Size ¶
func (m *GetProductResponse) XXX_Size() int
func (*GetProductResponse) XXX_Unmarshal ¶
func (m *GetProductResponse) XXX_Unmarshal(b []byte) error
type Inventory ¶
type Inventory struct { Remain int64 `protobuf:"varint,1,opt,name=remain,proto3" json:"remain,omitempty"` Shipping int64 `protobuf:"varint,2,opt,name=shipping,proto3" json:"shipping,omitempty"` Holding int64 `protobuf:"varint,3,opt,name=holding,proto3" json:"holding,omitempty"` Damage int64 `protobuf:"varint,4,opt,name=damage,proto3" json:"damage,omitempty"` Available int64 `protobuf:"varint,5,opt,name=available,proto3" json:"available,omitempty"` Warranty int64 `protobuf:"varint,6,opt,name=warranty,proto3" json:"warranty,omitempty"` WarrantyHolding int64 `protobuf:"varint,7,opt,name=warrantyHolding,proto3" json:"warrantyHolding,omitempty"` Id string `protobuf:"bytes,8,opt,name=id,proto3" json:"id,omitempty"` IdNhanh string `protobuf:"bytes,9,opt,name=idNhanh,proto3" json:"idNhanh,omitempty"` CodeNhanh string `protobuf:"bytes,10,opt,name=codeNhanh,proto3" json:"codeNhanh,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Inventory) Descriptor ¶
func (*Inventory) GetAvailable ¶
func (*Inventory) GetCodeNhanh ¶
func (*Inventory) GetHolding ¶
func (*Inventory) GetIdNhanh ¶
func (*Inventory) GetShipping ¶
func (*Inventory) GetWarranty ¶
func (*Inventory) GetWarrantyHolding ¶
func (*Inventory) ProtoMessage ¶
func (*Inventory) ProtoMessage()
func (*Inventory) XXX_DiscardUnknown ¶
func (m *Inventory) XXX_DiscardUnknown()
func (*Inventory) XXX_Marshal ¶
func (*Inventory) XXX_Unmarshal ¶
type Product ¶
type Product struct { IdNhanh string `protobuf:"bytes,1,opt,name=idNhanh,proto3" json:"idNhanh,omitempty"` MerchantCategoryId int64 `protobuf:"varint,2,opt,name=merchantCategoryId,proto3" json:"merchantCategoryId,omitempty"` MerchantProductId int64 `protobuf:"varint,3,opt,name=merchantProductId,proto3" json:"merchantProductId,omitempty"` CategoryId string `protobuf:"bytes,4,opt,name=categoryId,proto3" json:"categoryId,omitempty"` ParentId string `protobuf:"bytes,5,opt,name=parentId,proto3" json:"parentId,omitempty"` Code string `protobuf:"bytes,6,opt,name=code,proto3" json:"code,omitempty"` Barcode string `protobuf:"bytes,7,opt,name=barcode,proto3" json:"barcode,omitempty"` Name string `protobuf:"bytes,8,opt,name=name,proto3" json:"name,omitempty"` OtherName string `protobuf:"bytes,9,opt,name=otherName,proto3" json:"otherName,omitempty"` ImportPrice string `protobuf:"bytes,10,opt,name=importPrice,proto3" json:"importPrice,omitempty"` OldPrice string `protobuf:"bytes,11,opt,name=oldPrice,proto3" json:"oldPrice,omitempty"` Price string `protobuf:"bytes,12,opt,name=price,proto3" json:"price,omitempty"` WholesalePrice string `protobuf:"bytes,13,opt,name=wholesalePrice,proto3" json:"wholesalePrice,omitempty"` Vat string `protobuf:"bytes,14,opt,name=vat,proto3" json:"vat,omitempty"` Image string `protobuf:"bytes,15,opt,name=image,proto3" json:"image,omitempty"` Images []string `protobuf:"bytes,16,rep,name=images,proto3" json:"images,omitempty"` Status string `protobuf:"bytes,17,opt,name=status,proto3" json:"status,omitempty"` PreviewLink string `protobuf:"bytes,18,opt,name=previewLink,proto3" json:"previewLink,omitempty"` Description string `protobuf:"bytes,19,opt,name=description,proto3" json:"description,omitempty"` // repeated string highlight = 20; // string? Content string `protobuf:"bytes,21,opt,name=content,proto3" json:"content,omitempty"` ShowHot int64 `protobuf:"varint,22,opt,name=showHot,proto3" json:"showHot,omitempty"` ShowNew int64 `protobuf:"varint,23,opt,name=showNew,proto3" json:"showNew,omitempty"` ShowHome int64 `protobuf:"varint,24,opt,name=showHome,proto3" json:"showHome,omitempty"` Width int64 `protobuf:"varint,25,opt,name=width,proto3" json:"width,omitempty"` Height int64 `protobuf:"varint,26,opt,name=height,proto3" json:"height,omitempty"` WarrantyAddress string `protobuf:"bytes,27,opt,name=warrantyAddress,proto3" json:"warrantyAddress,omitempty"` WarrantyPhone string `protobuf:"bytes,28,opt,name=warrantyPhone,proto3" json:"warrantyPhone,omitempty"` Warranty int64 `protobuf:"varint,29,opt,name=warranty,proto3" json:"warranty,omitempty"` WarrantyContent string `protobuf:"bytes,30,opt,name=warrantyContent,proto3" json:"warrantyContent,omitempty"` Length int64 `protobuf:"varint,31,opt,name=length,proto3" json:"length,omitempty"` ShippingWeight string `protobuf:"bytes,32,opt,name=shippingWeight,proto3" json:"shippingWeight,omitempty"` CreatedDateTime string `protobuf:"bytes,33,opt,name=createdDateTime,proto3" json:"createdDateTime,omitempty"` Inventory *Inventory `protobuf:"bytes,34,opt,name=inventory,proto3" json:"inventory,omitempty"` // Attribute attributes = 35; AvgCost string `protobuf:"bytes,36,opt,name=avgCost,proto3" json:"avgCost,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Product) Descriptor ¶
func (*Product) GetAvgCost ¶
func (*Product) GetBarcode ¶
func (*Product) GetCategoryId ¶
func (*Product) GetContent ¶
func (*Product) GetCreatedDateTime ¶
func (*Product) GetDescription ¶
func (*Product) GetIdNhanh ¶
func (*Product) GetImportPrice ¶
func (*Product) GetInventory ¶
func (*Product) GetMerchantCategoryId ¶
func (*Product) GetMerchantProductId ¶
func (*Product) GetOldPrice ¶
func (*Product) GetOtherName ¶
func (*Product) GetParentId ¶
func (*Product) GetPreviewLink ¶
func (*Product) GetShippingWeight ¶
func (*Product) GetShowHome ¶
func (*Product) GetShowHot ¶
func (*Product) GetShowNew ¶
func (*Product) GetWarranty ¶
func (*Product) GetWarrantyAddress ¶
func (*Product) GetWarrantyContent ¶
func (*Product) GetWarrantyPhone ¶
func (*Product) GetWholesalePrice ¶
func (*Product) ProtoMessage ¶
func (*Product) ProtoMessage()
func (*Product) XXX_DiscardUnknown ¶
func (m *Product) XXX_DiscardUnknown()
func (*Product) XXX_Marshal ¶
func (*Product) XXX_Unmarshal ¶
type SearchProductsRequest ¶
type SearchProductsRequest struct { Page int64 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` Icpp int64 `protobuf:"varint,3,opt,name=icpp,proto3" json:"icpp,omitempty"` Sort map[string]string `` /* 149-byte string literal not displayed */ Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` ParentId int64 `protobuf:"varint,6,opt,name=parentId,proto3" json:"parentId,omitempty"` CategoryId int64 `protobuf:"varint,7,opt,name=categoryId,proto3" json:"categoryId,omitempty"` Status string `protobuf:"bytes,8,opt,name=status,proto3" json:"status,omitempty"` PriceFrom float32 `protobuf:"fixed32,9,opt,name=priceFrom,proto3" json:"priceFrom,omitempty"` PriceTo float32 `protobuf:"fixed32,10,opt,name=priceTo,proto3" json:"priceTo,omitempty"` BrandId int64 `protobuf:"varint,11,opt,name=brandId,proto3" json:"brandId,omitempty"` Imei string `protobuf:"bytes,12,opt,name=imei,proto3" json:"imei,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SearchProductsRequest) Descriptor ¶
func (*SearchProductsRequest) Descriptor() ([]byte, []int)
func (*SearchProductsRequest) GetBrandId ¶
func (m *SearchProductsRequest) GetBrandId() int64
func (*SearchProductsRequest) GetCategoryId ¶
func (m *SearchProductsRequest) GetCategoryId() int64
func (*SearchProductsRequest) GetIcpp ¶
func (m *SearchProductsRequest) GetIcpp() int64
func (*SearchProductsRequest) GetImei ¶
func (m *SearchProductsRequest) GetImei() string
func (*SearchProductsRequest) GetName ¶
func (m *SearchProductsRequest) GetName() string
func (*SearchProductsRequest) GetPage ¶
func (m *SearchProductsRequest) GetPage() int64
func (*SearchProductsRequest) GetParentId ¶
func (m *SearchProductsRequest) GetParentId() int64
func (*SearchProductsRequest) GetPriceFrom ¶
func (m *SearchProductsRequest) GetPriceFrom() float32
func (*SearchProductsRequest) GetPriceTo ¶
func (m *SearchProductsRequest) GetPriceTo() float32
func (*SearchProductsRequest) GetSort ¶
func (m *SearchProductsRequest) GetSort() map[string]string
func (*SearchProductsRequest) GetStatus ¶
func (m *SearchProductsRequest) GetStatus() string
func (*SearchProductsRequest) ProtoMessage ¶
func (*SearchProductsRequest) ProtoMessage()
func (*SearchProductsRequest) Reset ¶
func (m *SearchProductsRequest) Reset()
func (*SearchProductsRequest) String ¶
func (m *SearchProductsRequest) String() string
func (*SearchProductsRequest) XXX_DiscardUnknown ¶
func (m *SearchProductsRequest) XXX_DiscardUnknown()
func (*SearchProductsRequest) XXX_Marshal ¶
func (m *SearchProductsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SearchProductsRequest) XXX_Merge ¶
func (m *SearchProductsRequest) XXX_Merge(src proto.Message)
func (*SearchProductsRequest) XXX_Size ¶
func (m *SearchProductsRequest) XXX_Size() int
func (*SearchProductsRequest) XXX_Unmarshal ¶
func (m *SearchProductsRequest) XXX_Unmarshal(b []byte) error
type SearchProductsResponse ¶
type SearchProductsResponse struct { Code int64 `protobuf:"varint,2,opt,name=code,proto3" json:"code,omitempty"` Data *SearchProductsResponse_Data `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SearchProductsResponse) Descriptor ¶
func (*SearchProductsResponse) Descriptor() ([]byte, []int)
func (*SearchProductsResponse) GetCode ¶
func (m *SearchProductsResponse) GetCode() int64
func (*SearchProductsResponse) GetData ¶
func (m *SearchProductsResponse) GetData() *SearchProductsResponse_Data
func (*SearchProductsResponse) ProtoMessage ¶
func (*SearchProductsResponse) ProtoMessage()
func (*SearchProductsResponse) Reset ¶
func (m *SearchProductsResponse) Reset()
func (*SearchProductsResponse) String ¶
func (m *SearchProductsResponse) String() string
func (*SearchProductsResponse) XXX_DiscardUnknown ¶
func (m *SearchProductsResponse) XXX_DiscardUnknown()
func (*SearchProductsResponse) XXX_Marshal ¶
func (m *SearchProductsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SearchProductsResponse) XXX_Merge ¶
func (m *SearchProductsResponse) XXX_Merge(src proto.Message)
func (*SearchProductsResponse) XXX_Size ¶
func (m *SearchProductsResponse) XXX_Size() int
func (*SearchProductsResponse) XXX_Unmarshal ¶
func (m *SearchProductsResponse) XXX_Unmarshal(b []byte) error
type SearchProductsResponse_Data ¶
type SearchProductsResponse_Data struct { CurrentPage int64 `protobuf:"varint,1,opt,name=currentPage,proto3" json:"currentPage,omitempty"` TotalPages int64 `protobuf:"varint,2,opt,name=totalPages,proto3" json:"totalPages,omitempty"` Products map[string]*Product `` /* 157-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SearchProductsResponse_Data) Descriptor ¶
func (*SearchProductsResponse_Data) Descriptor() ([]byte, []int)
func (*SearchProductsResponse_Data) GetCurrentPage ¶
func (m *SearchProductsResponse_Data) GetCurrentPage() int64
func (*SearchProductsResponse_Data) GetProducts ¶
func (m *SearchProductsResponse_Data) GetProducts() map[string]*Product
func (*SearchProductsResponse_Data) GetTotalPages ¶
func (m *SearchProductsResponse_Data) GetTotalPages() int64
func (*SearchProductsResponse_Data) ProtoMessage ¶
func (*SearchProductsResponse_Data) ProtoMessage()
func (*SearchProductsResponse_Data) Reset ¶
func (m *SearchProductsResponse_Data) Reset()
func (*SearchProductsResponse_Data) String ¶
func (m *SearchProductsResponse_Data) String() string
func (*SearchProductsResponse_Data) XXX_DiscardUnknown ¶
func (m *SearchProductsResponse_Data) XXX_DiscardUnknown()
func (*SearchProductsResponse_Data) XXX_Marshal ¶
func (m *SearchProductsResponse_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SearchProductsResponse_Data) XXX_Merge ¶
func (m *SearchProductsResponse_Data) XXX_Merge(src proto.Message)
func (*SearchProductsResponse_Data) XXX_Size ¶
func (m *SearchProductsResponse_Data) XXX_Size() int
func (*SearchProductsResponse_Data) XXX_Unmarshal ¶
func (m *SearchProductsResponse_Data) XXX_Unmarshal(b []byte) error
type Webhooks ¶
type Webhooks struct { UriListenProductAdd string `protobuf:"bytes,2,opt,name=uriListenProductAdd,proto3" json:"uriListenProductAdd,omitempty"` UriListenInventory string `protobuf:"bytes,3,opt,name=uriListenInventory,proto3" json:"uriListenInventory,omitempty"` UriListenNewNotification string `protobuf:"bytes,4,opt,name=uriListenNewNotification,proto3" json:"uriListenNewNotification,omitempty"` UriListenOrderStatus string `protobuf:"bytes,5,opt,name=uriListenOrderStatus,proto3" json:"uriListenOrderStatus,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Webhooks) Descriptor ¶
func (*Webhooks) GetUriListenInventory ¶
func (*Webhooks) GetUriListenNewNotification ¶
func (*Webhooks) GetUriListenOrderStatus ¶
func (*Webhooks) GetUriListenProductAdd ¶
func (*Webhooks) ProtoMessage ¶
func (*Webhooks) ProtoMessage()
func (*Webhooks) XXX_DiscardUnknown ¶
func (m *Webhooks) XXX_DiscardUnknown()
func (*Webhooks) XXX_Marshal ¶
func (*Webhooks) XXX_Unmarshal ¶
Click to show internal directories.
Click to hide internal directories.