nhanh

package module
v0.0.0-...-f4016f8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2020 License: MIT Imports: 10 Imported by: 0

README

nhanh-go GoDoc

Nhanh library in go

Import
import "github.com/4vn/nhanh-go"
Usage
nc := nhanh.NewClient("CLIENT ID", "CLIENT SECRET")

// get products
req := &nhanh.SearchProductsRequest{
	Page: 1,
	Icpp: 50,
	Sort: map[string]string{"id": "asc"},
}
res, err := nc.SearchProducts(req)
License

MIT

Documentation

Index

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) Descriptor() ([]byte, []int)

func (*Attribute) ProtoMessage

func (*Attribute) ProtoMessage()

func (*Attribute) Reset

func (m *Attribute) Reset()

func (*Attribute) String

func (m *Attribute) String() string

func (*Attribute) XXX_DiscardUnknown

func (m *Attribute) XXX_DiscardUnknown()

func (*Attribute) XXX_Marshal

func (m *Attribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Attribute) XXX_Merge

func (m *Attribute) XXX_Merge(src proto.Message)

func (*Attribute) XXX_Size

func (m *Attribute) XXX_Size() int

func (*Attribute) XXX_Unmarshal

func (m *Attribute) XXX_Unmarshal(b []byte) error

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(username, secret string) *Client

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

func (me *Client) UpdateWebhooks(req *Webhooks) error

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) Descriptor() ([]byte, []int)

func (*Inventory) GetAvailable

func (m *Inventory) GetAvailable() int64

func (*Inventory) GetCodeNhanh

func (m *Inventory) GetCodeNhanh() string

func (*Inventory) GetDamage

func (m *Inventory) GetDamage() int64

func (*Inventory) GetHolding

func (m *Inventory) GetHolding() int64

func (*Inventory) GetId

func (m *Inventory) GetId() string

func (*Inventory) GetIdNhanh

func (m *Inventory) GetIdNhanh() string

func (*Inventory) GetRemain

func (m *Inventory) GetRemain() int64

func (*Inventory) GetShipping

func (m *Inventory) GetShipping() int64

func (*Inventory) GetWarranty

func (m *Inventory) GetWarranty() int64

func (*Inventory) GetWarrantyHolding

func (m *Inventory) GetWarrantyHolding() int64

func (*Inventory) ProtoMessage

func (*Inventory) ProtoMessage()

func (*Inventory) Reset

func (m *Inventory) Reset()

func (*Inventory) String

func (m *Inventory) String() string

func (*Inventory) XXX_DiscardUnknown

func (m *Inventory) XXX_DiscardUnknown()

func (*Inventory) XXX_Marshal

func (m *Inventory) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Inventory) XXX_Merge

func (m *Inventory) XXX_Merge(src proto.Message)

func (*Inventory) XXX_Size

func (m *Inventory) XXX_Size() int

func (*Inventory) XXX_Unmarshal

func (m *Inventory) XXX_Unmarshal(b []byte) error

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) Descriptor() ([]byte, []int)

func (*Product) GetAvgCost

func (m *Product) GetAvgCost() string

func (*Product) GetBarcode

func (m *Product) GetBarcode() string

func (*Product) GetCategoryId

func (m *Product) GetCategoryId() string

func (*Product) GetCode

func (m *Product) GetCode() string

func (*Product) GetContent

func (m *Product) GetContent() string

func (*Product) GetCreatedDateTime

func (m *Product) GetCreatedDateTime() string

func (*Product) GetDescription

func (m *Product) GetDescription() string

func (*Product) GetHeight

func (m *Product) GetHeight() int64

func (*Product) GetIdNhanh

func (m *Product) GetIdNhanh() string

func (*Product) GetImage

func (m *Product) GetImage() string

func (*Product) GetImages

func (m *Product) GetImages() []string

func (*Product) GetImportPrice

func (m *Product) GetImportPrice() string

func (*Product) GetInventory

func (m *Product) GetInventory() *Inventory

func (*Product) GetLength

func (m *Product) GetLength() int64

func (*Product) GetMerchantCategoryId

func (m *Product) GetMerchantCategoryId() int64

func (*Product) GetMerchantProductId

func (m *Product) GetMerchantProductId() int64

func (*Product) GetName

func (m *Product) GetName() string

func (*Product) GetOldPrice

func (m *Product) GetOldPrice() string

func (*Product) GetOtherName

func (m *Product) GetOtherName() string

func (*Product) GetParentId

func (m *Product) GetParentId() string
func (m *Product) GetPreviewLink() string

func (*Product) GetPrice

func (m *Product) GetPrice() string

func (*Product) GetShippingWeight

func (m *Product) GetShippingWeight() string

func (*Product) GetShowHome

func (m *Product) GetShowHome() int64

func (*Product) GetShowHot

func (m *Product) GetShowHot() int64

func (*Product) GetShowNew

func (m *Product) GetShowNew() int64

func (*Product) GetStatus

func (m *Product) GetStatus() string

func (*Product) GetVat

func (m *Product) GetVat() string

func (*Product) GetWarranty

func (m *Product) GetWarranty() int64

func (*Product) GetWarrantyAddress

func (m *Product) GetWarrantyAddress() string

func (*Product) GetWarrantyContent

func (m *Product) GetWarrantyContent() string

func (*Product) GetWarrantyPhone

func (m *Product) GetWarrantyPhone() string

func (*Product) GetWholesalePrice

func (m *Product) GetWholesalePrice() string

func (*Product) GetWidth

func (m *Product) GetWidth() int64

func (*Product) ProtoMessage

func (*Product) ProtoMessage()

func (*Product) Reset

func (m *Product) Reset()

func (*Product) String

func (m *Product) String() string

func (*Product) XXX_DiscardUnknown

func (m *Product) XXX_DiscardUnknown()

func (*Product) XXX_Marshal

func (m *Product) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Product) XXX_Merge

func (m *Product) XXX_Merge(src proto.Message)

func (*Product) XXX_Size

func (m *Product) XXX_Size() int

func (*Product) XXX_Unmarshal

func (m *Product) XXX_Unmarshal(b []byte) error

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 (*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) Descriptor() ([]byte, []int)

func (*Webhooks) GetUriListenInventory

func (m *Webhooks) GetUriListenInventory() string

func (*Webhooks) GetUriListenNewNotification

func (m *Webhooks) GetUriListenNewNotification() string

func (*Webhooks) GetUriListenOrderStatus

func (m *Webhooks) GetUriListenOrderStatus() string

func (*Webhooks) GetUriListenProductAdd

func (m *Webhooks) GetUriListenProductAdd() string

func (*Webhooks) ProtoMessage

func (*Webhooks) ProtoMessage()

func (*Webhooks) Reset

func (m *Webhooks) Reset()

func (*Webhooks) String

func (m *Webhooks) String() string

func (*Webhooks) XXX_DiscardUnknown

func (m *Webhooks) XXX_DiscardUnknown()

func (*Webhooks) XXX_Marshal

func (m *Webhooks) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Webhooks) XXX_Merge

func (m *Webhooks) XXX_Merge(src proto.Message)

func (*Webhooks) XXX_Size

func (m *Webhooks) XXX_Size() int

func (*Webhooks) XXX_Unmarshal

func (m *Webhooks) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL