lazada

package module
v0.0.0-...-25d9854 Latest Latest
Warning

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

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

README

lazada-go GoDoc

Lazada library in go

Import
import "github.com/4vn/lazada-go"
Usage
lc := lazada.NewClient("APP KEY", "APP SECRET")

// handle lazada auth callback to get access token
// save token to somewhere for later use
code := "" // get from url params
token, err := lc.GetAccessToken(code)
if err != nil {
	panic(err)
}

lc.SetAccessToken(token.GetAccessToken())
lc := lazada.NewClient("APP KEY", "APP SECRET")
lc.SetAccessToken("ACCESS TOKEN")

// get products
req := &lazada.ListProductsRequest{
	Limit:  100,
	Offset: 0,
	Filter: "all",
}

res, err := lc.ListProducts(req)
License

MIT

Documentation

Index

Constants

View Source
const XML_HEADER = `<?xml version="1.0" encoding="utf-8"?>`

Variables

View Source
var OrderStatus_name = map[int32]string{
	0: "unpaid",
	1: "pending",
	2: "canceled",
	3: "ready_to_ship",
	4: "delivered",
	5: "returned",
	6: "shipped",
	7: "failed",
}
View Source
var OrderStatus_value = map[string]int32{
	"unpaid":        0,
	"pending":       1,
	"canceled":      2,
	"ready_to_ship": 3,
	"delivered":     4,
	"returned":      5,
	"shipped":       6,
	"failed":        7,
}

Functions

This section is empty.

Types

type Client

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

func NewClient

func NewClient(appKey, appSecret string) *Client

NewClient creates Client instance

func (*Client) CreateProduct

func (me *Client) CreateProduct(req *CreateProductRequest) (*CreateProductResponse, error)

func (*Client) GetAccessToken

func (me *Client) GetAccessToken(code string) (*Token, error)

func (*Client) GetMultipleOrderItems

func (me *Client) GetMultipleOrderItems(orderIds []int64) (*GetMultipleOrderItemsResponse, error)

func (*Client) GetOrder

func (me *Client) GetOrder(req *GetOrderRequest) (*GetOrderResponse, error)

func (*Client) GetOrderItems

func (me *Client) GetOrderItems(req *GetOrderItemsRequest) (*GetOrderItemsResponse, error)

func (*Client) GetPayout

func (me *Client) GetPayout(req *GetPayoutRequest) ([]*PayoutStatus, error)

func (*Client) GetProduct

func (me *Client) GetProduct(req *GetProductItemRequest) (*Product, error)

func (*Client) GetSeller

func (me *Client) GetSeller() (*Seller, error)

func (*Client) GetSellerMetrics

func (me *Client) GetSellerMetrics() (*Metrics_Data, error)

func (*Client) ListOrders

func (me *Client) ListOrders(req *ListOrdersRequest) (*ListOrdersResponse, error)

func (*Client) ListProducts

func (me *Client) ListProducts(req *ListProductsRequest) (*ListProductsResponse, error)

ListProducts list products on Lazada

func (*Client) ListTransactions

func (me *Client) ListTransactions(req *ListTransactionsRequest) ([]*Transaction, error)

func (*Client) MakeAuthURL

func (me *Client) MakeAuthURL() string

func (*Client) RefreshToken

func (me *Client) RefreshToken(refreshToken string) (*Token, error)

func (*Client) RemoveProduct

func (me *Client) RemoveProduct(skus []string) error

max skus: 50

func (*Client) SetAccessToken

func (me *Client) SetAccessToken(token string)

func (*Client) UpdatePriceQuantity

func (me *Client) UpdatePriceQuantity(req *UpdatePriceQuantityRequest) (*UpdatePriceQuantityResponse, error)

max sku: 50, recommend: 20

func (*Client) UpdateProduct

func (me *Client) UpdateProduct(req *CreateProductRequest) (*CreateProductResponse, error)

type CreateProductRequest

type CreateProductRequest struct {
	XMLName         xml.Name            `xml:"Request" json:"-"`
	PrimaryCategory int64               `xml:"Product>PrimaryCategory"` // required, optional if AssociatedSku provided
	AssociatedSku   *string             `xml:"Product>AssociatedSku"`
	Attributes      StringMap           `xml:"Product>Attributes"` // required, optional if AssociatedSku provided
	Skus            []*CreateProductSKU `xml:"Product>Skus>Sku"`   // required
}

required keys in Attributes: name, short_description, brand

type CreateProductResponse

type CreateProductResponse struct {
	Code                 string                      `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	Data                 *CreateProductResponse_Data `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	RequestId            string                      `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                    `json:"-"`
	XXX_unrecognized     []byte                      `json:"-"`
	XXX_sizecache        int32                       `json:"-"`
}

func (*CreateProductResponse) Descriptor

func (*CreateProductResponse) Descriptor() ([]byte, []int)

func (*CreateProductResponse) GetCode

func (m *CreateProductResponse) GetCode() string

func (*CreateProductResponse) GetData

func (*CreateProductResponse) GetRequestId

func (m *CreateProductResponse) GetRequestId() string

func (*CreateProductResponse) ProtoMessage

func (*CreateProductResponse) ProtoMessage()

func (*CreateProductResponse) Reset

func (m *CreateProductResponse) Reset()

func (*CreateProductResponse) String

func (m *CreateProductResponse) String() string

func (*CreateProductResponse) XXX_DiscardUnknown

func (m *CreateProductResponse) XXX_DiscardUnknown()

func (*CreateProductResponse) XXX_Marshal

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

func (*CreateProductResponse) XXX_Merge

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

func (*CreateProductResponse) XXX_Size

func (m *CreateProductResponse) XXX_Size() int

func (*CreateProductResponse) XXX_Unmarshal

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

type CreateProductResponse_Data

type CreateProductResponse_Data struct {
	ItemId               int64                        `protobuf:"varint,1,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
	SkuList              []*CreateProductResponse_SKU `protobuf:"bytes,2,rep,name=sku_list,json=skuList,proto3" json:"sku_list,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                     `json:"-"`
	XXX_unrecognized     []byte                       `json:"-"`
	XXX_sizecache        int32                        `json:"-"`
}

func (*CreateProductResponse_Data) Descriptor

func (*CreateProductResponse_Data) Descriptor() ([]byte, []int)

func (*CreateProductResponse_Data) GetItemId

func (m *CreateProductResponse_Data) GetItemId() int64

func (*CreateProductResponse_Data) GetSkuList

func (*CreateProductResponse_Data) ProtoMessage

func (*CreateProductResponse_Data) ProtoMessage()

func (*CreateProductResponse_Data) Reset

func (m *CreateProductResponse_Data) Reset()

func (*CreateProductResponse_Data) String

func (m *CreateProductResponse_Data) String() string

func (*CreateProductResponse_Data) XXX_DiscardUnknown

func (m *CreateProductResponse_Data) XXX_DiscardUnknown()

func (*CreateProductResponse_Data) XXX_Marshal

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

func (*CreateProductResponse_Data) XXX_Merge

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

func (*CreateProductResponse_Data) XXX_Size

func (m *CreateProductResponse_Data) XXX_Size() int

func (*CreateProductResponse_Data) XXX_Unmarshal

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

type CreateProductResponse_SKU

type CreateProductResponse_SKU struct {
	ShopSku              string   `protobuf:"bytes,1,opt,name=shop_sku,json=shopSku,proto3" json:"shop_sku,omitempty"`
	SellerSku            string   `protobuf:"bytes,2,opt,name=seller_sku,json=sellerSku,proto3" json:"seller_sku,omitempty"`
	SkuId                int64    `protobuf:"varint,3,opt,name=sku_id,json=skuId,proto3" json:"sku_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateProductResponse_SKU) Descriptor

func (*CreateProductResponse_SKU) Descriptor() ([]byte, []int)

func (*CreateProductResponse_SKU) GetSellerSku

func (m *CreateProductResponse_SKU) GetSellerSku() string

func (*CreateProductResponse_SKU) GetShopSku

func (m *CreateProductResponse_SKU) GetShopSku() string

func (*CreateProductResponse_SKU) GetSkuId

func (m *CreateProductResponse_SKU) GetSkuId() int64

func (*CreateProductResponse_SKU) ProtoMessage

func (*CreateProductResponse_SKU) ProtoMessage()

func (*CreateProductResponse_SKU) Reset

func (m *CreateProductResponse_SKU) Reset()

func (*CreateProductResponse_SKU) String

func (m *CreateProductResponse_SKU) String() string

func (*CreateProductResponse_SKU) XXX_DiscardUnknown

func (m *CreateProductResponse_SKU) XXX_DiscardUnknown()

func (*CreateProductResponse_SKU) XXX_Marshal

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

func (*CreateProductResponse_SKU) XXX_Merge

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

func (*CreateProductResponse_SKU) XXX_Size

func (m *CreateProductResponse_SKU) XXX_Size() int

func (*CreateProductResponse_SKU) XXX_Unmarshal

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

type CreateProductSKU

type CreateProductSKU struct {
	SellerSKU       string   `xml:"SellerSku"` // required
	Price           float64  `xml:"price"`     // required
	Quantity        *int64   `xml:"quantity"`
	SpecialPrice    *float64 `xml:"special_price"` // required if special_to_date or special_from_date provided
	SpecialFromDate *string  `xml:"special_from_date"`
	SpecialToDate   *string  `xml:"special_to_date"`
	ColorFamily     *string  `xml:"color_family"`
	Size            *string  `xml:"size"`
	PackageHeight   float64  `xml:"package_height"` // required
	PackageLength   float64  `xml:"package_length"` // required
	PackageWidth    float64  `xml:"package_width"`  // required
	PackageWeight   float64  `xml:"package_weight"` // required
	PackageContent  *string  `xml:"package_content"`
	Images          []string `xml:"Images>Image"` // max: 8 images url
}

type CreateTokenRequest

type CreateTokenRequest struct {
	Code                 string   `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	Uuid                 string   `protobuf:"bytes,3,opt,name=uuid,proto3" json:"uuid,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateTokenRequest) Descriptor

func (*CreateTokenRequest) Descriptor() ([]byte, []int)

func (*CreateTokenRequest) GetCode

func (m *CreateTokenRequest) GetCode() string

func (*CreateTokenRequest) GetUuid

func (m *CreateTokenRequest) GetUuid() string

func (*CreateTokenRequest) ProtoMessage

func (*CreateTokenRequest) ProtoMessage()

func (*CreateTokenRequest) Reset

func (m *CreateTokenRequest) Reset()

func (*CreateTokenRequest) String

func (m *CreateTokenRequest) String() string

func (*CreateTokenRequest) XXX_DiscardUnknown

func (m *CreateTokenRequest) XXX_DiscardUnknown()

func (*CreateTokenRequest) XXX_Marshal

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

func (*CreateTokenRequest) XXX_Merge

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

func (*CreateTokenRequest) XXX_Size

func (m *CreateTokenRequest) XXX_Size() int

func (*CreateTokenRequest) XXX_Unmarshal

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

type Error

type Error struct {
	Code                 string   `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	Type                 string   `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	Message              string   `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
	RequestId            string   `protobuf:"bytes,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Error) Descriptor

func (*Error) Descriptor() ([]byte, []int)

func (*Error) GetCode

func (m *Error) GetCode() string

func (*Error) GetMessage

func (m *Error) GetMessage() string

func (*Error) GetRequestId

func (m *Error) GetRequestId() string

func (*Error) GetType

func (m *Error) GetType() string

func (*Error) ProtoMessage

func (*Error) ProtoMessage()

func (*Error) Reset

func (m *Error) Reset()

func (*Error) String

func (m *Error) String() string

func (*Error) XXX_DiscardUnknown

func (m *Error) XXX_DiscardUnknown()

func (*Error) XXX_Marshal

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

func (*Error) XXX_Merge

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

func (*Error) XXX_Size

func (m *Error) XXX_Size() int

func (*Error) XXX_Unmarshal

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

type GetMultipleOrderItemsResponse

type GetMultipleOrderItemsResponse struct {
	Code                 string                              `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	Data                 *GetMultipleOrderItemsResponse_Data `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	RequestId            string                              `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                            `json:"-"`
	XXX_unrecognized     []byte                              `json:"-"`
	XXX_sizecache        int32                               `json:"-"`
}

func (*GetMultipleOrderItemsResponse) Descriptor

func (*GetMultipleOrderItemsResponse) Descriptor() ([]byte, []int)

func (*GetMultipleOrderItemsResponse) GetCode

func (*GetMultipleOrderItemsResponse) GetData

func (*GetMultipleOrderItemsResponse) GetRequestId

func (m *GetMultipleOrderItemsResponse) GetRequestId() string

func (*GetMultipleOrderItemsResponse) ProtoMessage

func (*GetMultipleOrderItemsResponse) ProtoMessage()

func (*GetMultipleOrderItemsResponse) Reset

func (m *GetMultipleOrderItemsResponse) Reset()

func (*GetMultipleOrderItemsResponse) String

func (*GetMultipleOrderItemsResponse) XXX_DiscardUnknown

func (m *GetMultipleOrderItemsResponse) XXX_DiscardUnknown()

func (*GetMultipleOrderItemsResponse) XXX_Marshal

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

func (*GetMultipleOrderItemsResponse) XXX_Merge

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

func (*GetMultipleOrderItemsResponse) XXX_Size

func (m *GetMultipleOrderItemsResponse) XXX_Size() int

func (*GetMultipleOrderItemsResponse) XXX_Unmarshal

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

type GetMultipleOrderItemsResponse_Data

type GetMultipleOrderItemsResponse_Data struct {
	OrderItems           []*OrderItem `protobuf:"bytes,1,rep,name=order_items,json=orderItems,proto3" json:"order_items,omitempty"`
	OrderNumber          string       `protobuf:"bytes,2,opt,name=order_number,json=orderNumber,proto3" json:"order_number,omitempty"`
	OrderId              string       `protobuf:"bytes,3,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*GetMultipleOrderItemsResponse_Data) Descriptor

func (*GetMultipleOrderItemsResponse_Data) Descriptor() ([]byte, []int)

func (*GetMultipleOrderItemsResponse_Data) GetOrderId

func (*GetMultipleOrderItemsResponse_Data) GetOrderItems

func (m *GetMultipleOrderItemsResponse_Data) GetOrderItems() []*OrderItem

func (*GetMultipleOrderItemsResponse_Data) GetOrderNumber

func (m *GetMultipleOrderItemsResponse_Data) GetOrderNumber() string

func (*GetMultipleOrderItemsResponse_Data) ProtoMessage

func (*GetMultipleOrderItemsResponse_Data) ProtoMessage()

func (*GetMultipleOrderItemsResponse_Data) Reset

func (*GetMultipleOrderItemsResponse_Data) String

func (*GetMultipleOrderItemsResponse_Data) XXX_DiscardUnknown

func (m *GetMultipleOrderItemsResponse_Data) XXX_DiscardUnknown()

func (*GetMultipleOrderItemsResponse_Data) XXX_Marshal

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

func (*GetMultipleOrderItemsResponse_Data) XXX_Merge

func (*GetMultipleOrderItemsResponse_Data) XXX_Size

func (*GetMultipleOrderItemsResponse_Data) XXX_Unmarshal

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

type GetOrderItemsRequest

type GetOrderItemsRequest struct {
	OrderId              int64    `protobuf:"varint,2,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetOrderItemsRequest) Descriptor

func (*GetOrderItemsRequest) Descriptor() ([]byte, []int)

func (*GetOrderItemsRequest) GetOrderId

func (m *GetOrderItemsRequest) GetOrderId() int64

func (*GetOrderItemsRequest) ProtoMessage

func (*GetOrderItemsRequest) ProtoMessage()

func (*GetOrderItemsRequest) Reset

func (m *GetOrderItemsRequest) Reset()

func (*GetOrderItemsRequest) String

func (m *GetOrderItemsRequest) String() string

func (*GetOrderItemsRequest) XXX_DiscardUnknown

func (m *GetOrderItemsRequest) XXX_DiscardUnknown()

func (*GetOrderItemsRequest) XXX_Marshal

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

func (*GetOrderItemsRequest) XXX_Merge

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

func (*GetOrderItemsRequest) XXX_Size

func (m *GetOrderItemsRequest) XXX_Size() int

func (*GetOrderItemsRequest) XXX_Unmarshal

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

type GetOrderItemsResponse

type GetOrderItemsResponse struct {
	Code                 string       `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	Data                 []*OrderItem `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"`
	RequestId            string       `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}     `json:"-"`
	XXX_unrecognized     []byte       `json:"-"`
	XXX_sizecache        int32        `json:"-"`
}

func (*GetOrderItemsResponse) Descriptor

func (*GetOrderItemsResponse) Descriptor() ([]byte, []int)

func (*GetOrderItemsResponse) GetCode

func (m *GetOrderItemsResponse) GetCode() string

func (*GetOrderItemsResponse) GetData

func (m *GetOrderItemsResponse) GetData() []*OrderItem

func (*GetOrderItemsResponse) GetRequestId

func (m *GetOrderItemsResponse) GetRequestId() string

func (*GetOrderItemsResponse) ProtoMessage

func (*GetOrderItemsResponse) ProtoMessage()

func (*GetOrderItemsResponse) Reset

func (m *GetOrderItemsResponse) Reset()

func (*GetOrderItemsResponse) String

func (m *GetOrderItemsResponse) String() string

func (*GetOrderItemsResponse) XXX_DiscardUnknown

func (m *GetOrderItemsResponse) XXX_DiscardUnknown()

func (*GetOrderItemsResponse) XXX_Marshal

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

func (*GetOrderItemsResponse) XXX_Merge

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

func (*GetOrderItemsResponse) XXX_Size

func (m *GetOrderItemsResponse) XXX_Size() int

func (*GetOrderItemsResponse) XXX_Unmarshal

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

type GetOrderRequest

type GetOrderRequest struct {
	OrderId              string   `protobuf:"bytes,2,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetOrderRequest) Descriptor

func (*GetOrderRequest) Descriptor() ([]byte, []int)

func (*GetOrderRequest) GetOrderId

func (m *GetOrderRequest) GetOrderId() string

func (*GetOrderRequest) ProtoMessage

func (*GetOrderRequest) ProtoMessage()

func (*GetOrderRequest) Reset

func (m *GetOrderRequest) Reset()

func (*GetOrderRequest) String

func (m *GetOrderRequest) String() string

func (*GetOrderRequest) XXX_DiscardUnknown

func (m *GetOrderRequest) XXX_DiscardUnknown()

func (*GetOrderRequest) XXX_Marshal

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

func (*GetOrderRequest) XXX_Merge

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

func (*GetOrderRequest) XXX_Size

func (m *GetOrderRequest) XXX_Size() int

func (*GetOrderRequest) XXX_Unmarshal

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

type GetOrderResponse

type GetOrderResponse struct {
	Code                 string   `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	Data                 *Order   `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	RequestId            string   `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetOrderResponse) Descriptor

func (*GetOrderResponse) Descriptor() ([]byte, []int)

func (*GetOrderResponse) GetCode

func (m *GetOrderResponse) GetCode() string

func (*GetOrderResponse) GetData

func (m *GetOrderResponse) GetData() *Order

func (*GetOrderResponse) GetRequestId

func (m *GetOrderResponse) GetRequestId() string

func (*GetOrderResponse) ProtoMessage

func (*GetOrderResponse) ProtoMessage()

func (*GetOrderResponse) Reset

func (m *GetOrderResponse) Reset()

func (*GetOrderResponse) String

func (m *GetOrderResponse) String() string

func (*GetOrderResponse) XXX_DiscardUnknown

func (m *GetOrderResponse) XXX_DiscardUnknown()

func (*GetOrderResponse) XXX_Marshal

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

func (*GetOrderResponse) XXX_Merge

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

func (*GetOrderResponse) XXX_Size

func (m *GetOrderResponse) XXX_Size() int

func (*GetOrderResponse) XXX_Unmarshal

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

type GetPayoutRequest

type GetPayoutRequest struct {
	CreatedAfter         string   `protobuf:"bytes,2,opt,name=created_after,json=createdAfter,proto3" json:"created_after,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetPayoutRequest) Descriptor

func (*GetPayoutRequest) Descriptor() ([]byte, []int)

func (*GetPayoutRequest) GetCreatedAfter

func (m *GetPayoutRequest) GetCreatedAfter() string

func (*GetPayoutRequest) ProtoMessage

func (*GetPayoutRequest) ProtoMessage()

func (*GetPayoutRequest) Reset

func (m *GetPayoutRequest) Reset()

func (*GetPayoutRequest) String

func (m *GetPayoutRequest) String() string

func (*GetPayoutRequest) XXX_DiscardUnknown

func (m *GetPayoutRequest) XXX_DiscardUnknown()

func (*GetPayoutRequest) XXX_Marshal

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

func (*GetPayoutRequest) XXX_Merge

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

func (*GetPayoutRequest) XXX_Size

func (m *GetPayoutRequest) XXX_Size() int

func (*GetPayoutRequest) XXX_Unmarshal

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

type GetPayoutResponse

type GetPayoutResponse struct {
	Code                 string          `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	Data                 []*PayoutStatus `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"`
	RequestId            string          `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func (*GetPayoutResponse) Descriptor

func (*GetPayoutResponse) Descriptor() ([]byte, []int)

func (*GetPayoutResponse) GetCode

func (m *GetPayoutResponse) GetCode() string

func (*GetPayoutResponse) GetData

func (m *GetPayoutResponse) GetData() []*PayoutStatus

func (*GetPayoutResponse) GetRequestId

func (m *GetPayoutResponse) GetRequestId() string

func (*GetPayoutResponse) ProtoMessage

func (*GetPayoutResponse) ProtoMessage()

func (*GetPayoutResponse) Reset

func (m *GetPayoutResponse) Reset()

func (*GetPayoutResponse) String

func (m *GetPayoutResponse) String() string

func (*GetPayoutResponse) XXX_DiscardUnknown

func (m *GetPayoutResponse) XXX_DiscardUnknown()

func (*GetPayoutResponse) XXX_Marshal

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

func (*GetPayoutResponse) XXX_Merge

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

func (*GetPayoutResponse) XXX_Size

func (m *GetPayoutResponse) XXX_Size() int

func (*GetPayoutResponse) XXX_Unmarshal

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

type GetProductItemRequest

type GetProductItemRequest struct {
	ItemId               int64    `protobuf:"varint,2,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
	SellerSku            string   `protobuf:"bytes,3,opt,name=seller_sku,json=sellerSku,proto3" json:"seller_sku,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetProductItemRequest) Descriptor

func (*GetProductItemRequest) Descriptor() ([]byte, []int)

func (*GetProductItemRequest) GetItemId

func (m *GetProductItemRequest) GetItemId() int64

func (*GetProductItemRequest) GetSellerSku

func (m *GetProductItemRequest) GetSellerSku() string

func (*GetProductItemRequest) ProtoMessage

func (*GetProductItemRequest) ProtoMessage()

func (*GetProductItemRequest) Reset

func (m *GetProductItemRequest) Reset()

func (*GetProductItemRequest) String

func (m *GetProductItemRequest) String() string

func (*GetProductItemRequest) XXX_DiscardUnknown

func (m *GetProductItemRequest) XXX_DiscardUnknown()

func (*GetProductItemRequest) XXX_Marshal

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

func (*GetProductItemRequest) XXX_Merge

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

func (*GetProductItemRequest) XXX_Size

func (m *GetProductItemRequest) XXX_Size() int

func (*GetProductItemRequest) XXX_Unmarshal

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

type GetProductItemResponse

type GetProductItemResponse struct {
	Code                 string   `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	Data                 *Product `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	RequestId            string   `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetProductItemResponse) Descriptor

func (*GetProductItemResponse) Descriptor() ([]byte, []int)

func (*GetProductItemResponse) GetCode

func (m *GetProductItemResponse) GetCode() string

func (*GetProductItemResponse) GetData

func (m *GetProductItemResponse) GetData() *Product

func (*GetProductItemResponse) GetRequestId

func (m *GetProductItemResponse) GetRequestId() string

func (*GetProductItemResponse) ProtoMessage

func (*GetProductItemResponse) ProtoMessage()

func (*GetProductItemResponse) Reset

func (m *GetProductItemResponse) Reset()

func (*GetProductItemResponse) String

func (m *GetProductItemResponse) String() string

func (*GetProductItemResponse) XXX_DiscardUnknown

func (m *GetProductItemResponse) XXX_DiscardUnknown()

func (*GetProductItemResponse) XXX_Marshal

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

func (*GetProductItemResponse) XXX_Merge

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

func (*GetProductItemResponse) XXX_Size

func (m *GetProductItemResponse) XXX_Size() int

func (*GetProductItemResponse) XXX_Unmarshal

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

type GetSellerResponse

type GetSellerResponse struct {
	Code                 string   `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	Data                 *Seller  `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	RequestId            string   `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*GetSellerResponse) Descriptor

func (*GetSellerResponse) Descriptor() ([]byte, []int)

func (*GetSellerResponse) GetCode

func (m *GetSellerResponse) GetCode() string

func (*GetSellerResponse) GetData

func (m *GetSellerResponse) GetData() *Seller

func (*GetSellerResponse) GetRequestId

func (m *GetSellerResponse) GetRequestId() string

func (*GetSellerResponse) ProtoMessage

func (*GetSellerResponse) ProtoMessage()

func (*GetSellerResponse) Reset

func (m *GetSellerResponse) Reset()

func (*GetSellerResponse) String

func (m *GetSellerResponse) String() string

func (*GetSellerResponse) XXX_DiscardUnknown

func (m *GetSellerResponse) XXX_DiscardUnknown()

func (*GetSellerResponse) XXX_Marshal

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

func (*GetSellerResponse) XXX_Merge

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

func (*GetSellerResponse) XXX_Size

func (m *GetSellerResponse) XXX_Size() int

func (*GetSellerResponse) XXX_Unmarshal

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

type ListOrdersRequest

type ListOrdersRequest struct {
	CreatedBefore        string   `protobuf:"bytes,2,opt,name=created_before,json=createdBefore,proto3" json:"created_before,omitempty"`
	CreatedAfter         string   `protobuf:"bytes,3,opt,name=created_after,json=createdAfter,proto3" json:"created_after,omitempty"`
	Status               string   `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
	UpdateBefore         string   `protobuf:"bytes,5,opt,name=update_before,json=updateBefore,proto3" json:"update_before,omitempty"`
	SortDirection        string   `protobuf:"bytes,6,opt,name=sort_direction,json=sortDirection,proto3" json:"sort_direction,omitempty"`
	Offset               string   `protobuf:"bytes,7,opt,name=offset,proto3" json:"offset,omitempty"`
	Limit                string   `protobuf:"bytes,8,opt,name=limit,proto3" json:"limit,omitempty"`
	UpdateAfter          string   `protobuf:"bytes,9,opt,name=update_after,json=updateAfter,proto3" json:"update_after,omitempty"`
	SortBy               string   `protobuf:"bytes,10,opt,name=sort_by,json=sortBy,proto3" json:"sort_by,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListOrdersRequest) Descriptor

func (*ListOrdersRequest) Descriptor() ([]byte, []int)

func (*ListOrdersRequest) GetCreatedAfter

func (m *ListOrdersRequest) GetCreatedAfter() string

func (*ListOrdersRequest) GetCreatedBefore

func (m *ListOrdersRequest) GetCreatedBefore() string

func (*ListOrdersRequest) GetLimit

func (m *ListOrdersRequest) GetLimit() string

func (*ListOrdersRequest) GetOffset

func (m *ListOrdersRequest) GetOffset() string

func (*ListOrdersRequest) GetSortBy

func (m *ListOrdersRequest) GetSortBy() string

func (*ListOrdersRequest) GetSortDirection

func (m *ListOrdersRequest) GetSortDirection() string

func (*ListOrdersRequest) GetStatus

func (m *ListOrdersRequest) GetStatus() string

func (*ListOrdersRequest) GetUpdateAfter

func (m *ListOrdersRequest) GetUpdateAfter() string

func (*ListOrdersRequest) GetUpdateBefore

func (m *ListOrdersRequest) GetUpdateBefore() string

func (*ListOrdersRequest) ProtoMessage

func (*ListOrdersRequest) ProtoMessage()

func (*ListOrdersRequest) Reset

func (m *ListOrdersRequest) Reset()

func (*ListOrdersRequest) String

func (m *ListOrdersRequest) String() string

func (*ListOrdersRequest) XXX_DiscardUnknown

func (m *ListOrdersRequest) XXX_DiscardUnknown()

func (*ListOrdersRequest) XXX_Marshal

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

func (*ListOrdersRequest) XXX_Merge

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

func (*ListOrdersRequest) XXX_Size

func (m *ListOrdersRequest) XXX_Size() int

func (*ListOrdersRequest) XXX_Unmarshal

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

type ListOrdersResponse

type ListOrdersResponse struct {
	Code                 string                   `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	Data                 *ListOrdersResponse_Data `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	RequestId            string                   `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (*ListOrdersResponse) Descriptor

func (*ListOrdersResponse) Descriptor() ([]byte, []int)

func (*ListOrdersResponse) GetCode

func (m *ListOrdersResponse) GetCode() string

func (*ListOrdersResponse) GetData

func (*ListOrdersResponse) GetRequestId

func (m *ListOrdersResponse) GetRequestId() string

func (*ListOrdersResponse) ProtoMessage

func (*ListOrdersResponse) ProtoMessage()

func (*ListOrdersResponse) Reset

func (m *ListOrdersResponse) Reset()

func (*ListOrdersResponse) String

func (m *ListOrdersResponse) String() string

func (*ListOrdersResponse) XXX_DiscardUnknown

func (m *ListOrdersResponse) XXX_DiscardUnknown()

func (*ListOrdersResponse) XXX_Marshal

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

func (*ListOrdersResponse) XXX_Merge

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

func (*ListOrdersResponse) XXX_Size

func (m *ListOrdersResponse) XXX_Size() int

func (*ListOrdersResponse) XXX_Unmarshal

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

type ListOrdersResponse_Data

type ListOrdersResponse_Data struct {
	Count                int64    `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
	Orders               []*Order `protobuf:"bytes,3,rep,name=orders,proto3" json:"orders,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListOrdersResponse_Data) Descriptor

func (*ListOrdersResponse_Data) Descriptor() ([]byte, []int)

func (*ListOrdersResponse_Data) GetCount

func (m *ListOrdersResponse_Data) GetCount() int64

func (*ListOrdersResponse_Data) GetOrders

func (m *ListOrdersResponse_Data) GetOrders() []*Order

func (*ListOrdersResponse_Data) ProtoMessage

func (*ListOrdersResponse_Data) ProtoMessage()

func (*ListOrdersResponse_Data) Reset

func (m *ListOrdersResponse_Data) Reset()

func (*ListOrdersResponse_Data) String

func (m *ListOrdersResponse_Data) String() string

func (*ListOrdersResponse_Data) XXX_DiscardUnknown

func (m *ListOrdersResponse_Data) XXX_DiscardUnknown()

func (*ListOrdersResponse_Data) XXX_Marshal

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

func (*ListOrdersResponse_Data) XXX_Merge

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

func (*ListOrdersResponse_Data) XXX_Size

func (m *ListOrdersResponse_Data) XXX_Size() int

func (*ListOrdersResponse_Data) XXX_Unmarshal

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

type ListProductsRequest

type ListProductsRequest struct {
	Filter               string   `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
	UpdateBefore         string   `protobuf:"bytes,3,opt,name=update_before,json=updateBefore,proto3" json:"update_before,omitempty"`
	Search               string   `protobuf:"bytes,4,opt,name=search,proto3" json:"search,omitempty"`
	CreateBefore         string   `protobuf:"bytes,5,opt,name=create_before,json=createBefore,proto3" json:"create_before,omitempty"`
	Offset               string   `protobuf:"bytes,6,opt,name=offset,proto3" json:"offset,omitempty"`
	CreateAfter          string   `protobuf:"bytes,7,opt,name=create_after,json=createAfter,proto3" json:"create_after,omitempty"`
	UpdateAfter          string   `protobuf:"bytes,8,opt,name=update_after,json=updateAfter,proto3" json:"update_after,omitempty"`
	Limit                string   `protobuf:"bytes,9,opt,name=limit,proto3" json:"limit,omitempty"`
	Options              string   `protobuf:"bytes,10,opt,name=options,proto3" json:"options,omitempty"`
	SkuSellerList        string   `protobuf:"bytes,11,opt,name=sku_seller_list,json=skuSellerList,proto3" json:"sku_seller_list,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListProductsRequest) Descriptor

func (*ListProductsRequest) Descriptor() ([]byte, []int)

func (*ListProductsRequest) GetCreateAfter

func (m *ListProductsRequest) GetCreateAfter() string

func (*ListProductsRequest) GetCreateBefore

func (m *ListProductsRequest) GetCreateBefore() string

func (*ListProductsRequest) GetFilter

func (m *ListProductsRequest) GetFilter() string

func (*ListProductsRequest) GetLimit

func (m *ListProductsRequest) GetLimit() string

func (*ListProductsRequest) GetOffset

func (m *ListProductsRequest) GetOffset() string

func (*ListProductsRequest) GetOptions

func (m *ListProductsRequest) GetOptions() string

func (*ListProductsRequest) GetSearch

func (m *ListProductsRequest) GetSearch() string

func (*ListProductsRequest) GetSkuSellerList

func (m *ListProductsRequest) GetSkuSellerList() string

func (*ListProductsRequest) GetUpdateAfter

func (m *ListProductsRequest) GetUpdateAfter() string

func (*ListProductsRequest) GetUpdateBefore

func (m *ListProductsRequest) GetUpdateBefore() string

func (*ListProductsRequest) ProtoMessage

func (*ListProductsRequest) ProtoMessage()

func (*ListProductsRequest) Reset

func (m *ListProductsRequest) Reset()

func (*ListProductsRequest) String

func (m *ListProductsRequest) String() string

func (*ListProductsRequest) XXX_DiscardUnknown

func (m *ListProductsRequest) XXX_DiscardUnknown()

func (*ListProductsRequest) XXX_Marshal

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

func (*ListProductsRequest) XXX_Merge

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

func (*ListProductsRequest) XXX_Size

func (m *ListProductsRequest) XXX_Size() int

func (*ListProductsRequest) XXX_Unmarshal

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

type ListProductsResponse

type ListProductsResponse struct {
	Code                 string                     `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	Data                 *ListProductsResponse_Data `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	RequestId            string                     `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                   `json:"-"`
	XXX_unrecognized     []byte                     `json:"-"`
	XXX_sizecache        int32                      `json:"-"`
}

func (*ListProductsResponse) Descriptor

func (*ListProductsResponse) Descriptor() ([]byte, []int)

func (*ListProductsResponse) GetCode

func (m *ListProductsResponse) GetCode() string

func (*ListProductsResponse) GetData

func (*ListProductsResponse) GetRequestId

func (m *ListProductsResponse) GetRequestId() string

func (*ListProductsResponse) ProtoMessage

func (*ListProductsResponse) ProtoMessage()

func (*ListProductsResponse) Reset

func (m *ListProductsResponse) Reset()

func (*ListProductsResponse) String

func (m *ListProductsResponse) String() string

func (*ListProductsResponse) XXX_DiscardUnknown

func (m *ListProductsResponse) XXX_DiscardUnknown()

func (*ListProductsResponse) XXX_Marshal

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

func (*ListProductsResponse) XXX_Merge

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

func (*ListProductsResponse) XXX_Size

func (m *ListProductsResponse) XXX_Size() int

func (*ListProductsResponse) XXX_Unmarshal

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

type ListProductsResponse_Data

type ListProductsResponse_Data struct {
	TotalProducts        int64      `protobuf:"varint,2,opt,name=total_products,json=totalProducts,proto3" json:"total_products,omitempty"`
	Products             []*Product `protobuf:"bytes,3,rep,name=products,proto3" json:"products,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func (*ListProductsResponse_Data) Descriptor

func (*ListProductsResponse_Data) Descriptor() ([]byte, []int)

func (*ListProductsResponse_Data) GetProducts

func (m *ListProductsResponse_Data) GetProducts() []*Product

func (*ListProductsResponse_Data) GetTotalProducts

func (m *ListProductsResponse_Data) GetTotalProducts() int64

func (*ListProductsResponse_Data) ProtoMessage

func (*ListProductsResponse_Data) ProtoMessage()

func (*ListProductsResponse_Data) Reset

func (m *ListProductsResponse_Data) Reset()

func (*ListProductsResponse_Data) String

func (m *ListProductsResponse_Data) String() string

func (*ListProductsResponse_Data) XXX_DiscardUnknown

func (m *ListProductsResponse_Data) XXX_DiscardUnknown()

func (*ListProductsResponse_Data) XXX_Marshal

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

func (*ListProductsResponse_Data) XXX_Merge

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

func (*ListProductsResponse_Data) XXX_Size

func (m *ListProductsResponse_Data) XXX_Size() int

func (*ListProductsResponse_Data) XXX_Unmarshal

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

type ListTransactionsRequest

type ListTransactionsRequest struct {
	TransType            string   `protobuf:"bytes,2,opt,name=trans_type,json=transType,proto3" json:"trans_type,omitempty"`
	StartTime            string   `protobuf:"bytes,3,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	EndTime              string   `protobuf:"bytes,4,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	Limit                string   `protobuf:"bytes,5,opt,name=limit,proto3" json:"limit,omitempty"`
	Offset               string   `protobuf:"bytes,6,opt,name=offset,proto3" json:"offset,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListTransactionsRequest) Descriptor

func (*ListTransactionsRequest) Descriptor() ([]byte, []int)

func (*ListTransactionsRequest) GetEndTime

func (m *ListTransactionsRequest) GetEndTime() string

func (*ListTransactionsRequest) GetLimit

func (m *ListTransactionsRequest) GetLimit() string

func (*ListTransactionsRequest) GetOffset

func (m *ListTransactionsRequest) GetOffset() string

func (*ListTransactionsRequest) GetStartTime

func (m *ListTransactionsRequest) GetStartTime() string

func (*ListTransactionsRequest) GetTransType

func (m *ListTransactionsRequest) GetTransType() string

func (*ListTransactionsRequest) ProtoMessage

func (*ListTransactionsRequest) ProtoMessage()

func (*ListTransactionsRequest) Reset

func (m *ListTransactionsRequest) Reset()

func (*ListTransactionsRequest) String

func (m *ListTransactionsRequest) String() string

func (*ListTransactionsRequest) XXX_DiscardUnknown

func (m *ListTransactionsRequest) XXX_DiscardUnknown()

func (*ListTransactionsRequest) XXX_Marshal

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

func (*ListTransactionsRequest) XXX_Merge

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

func (*ListTransactionsRequest) XXX_Size

func (m *ListTransactionsRequest) XXX_Size() int

func (*ListTransactionsRequest) XXX_Unmarshal

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

type ListTransactionsResponse

type ListTransactionsResponse struct {
	Code                 string         `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	Data                 []*Transaction `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"`
	RequestId            string         `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*ListTransactionsResponse) Descriptor

func (*ListTransactionsResponse) Descriptor() ([]byte, []int)

func (*ListTransactionsResponse) GetCode

func (m *ListTransactionsResponse) GetCode() string

func (*ListTransactionsResponse) GetData

func (m *ListTransactionsResponse) GetData() []*Transaction

func (*ListTransactionsResponse) GetRequestId

func (m *ListTransactionsResponse) GetRequestId() string

func (*ListTransactionsResponse) ProtoMessage

func (*ListTransactionsResponse) ProtoMessage()

func (*ListTransactionsResponse) Reset

func (m *ListTransactionsResponse) Reset()

func (*ListTransactionsResponse) String

func (m *ListTransactionsResponse) String() string

func (*ListTransactionsResponse) XXX_DiscardUnknown

func (m *ListTransactionsResponse) XXX_DiscardUnknown()

func (*ListTransactionsResponse) XXX_Marshal

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

func (*ListTransactionsResponse) XXX_Merge

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

func (*ListTransactionsResponse) XXX_Size

func (m *ListTransactionsResponse) XXX_Size() int

func (*ListTransactionsResponse) XXX_Unmarshal

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

type Metrics

type Metrics struct {
	Code                 string        `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	Data                 *Metrics_Data `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	RequestId            string        `protobuf:"bytes,4,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func (*Metrics) Descriptor

func (*Metrics) Descriptor() ([]byte, []int)

func (*Metrics) GetCode

func (m *Metrics) GetCode() string

func (*Metrics) GetData

func (m *Metrics) GetData() *Metrics_Data

func (*Metrics) GetRequestId

func (m *Metrics) GetRequestId() string

func (*Metrics) ProtoMessage

func (*Metrics) ProtoMessage()

func (*Metrics) Reset

func (m *Metrics) Reset()

func (*Metrics) String

func (m *Metrics) String() string

func (*Metrics) XXX_DiscardUnknown

func (m *Metrics) XXX_DiscardUnknown()

func (*Metrics) XXX_Marshal

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

func (*Metrics) XXX_Merge

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

func (*Metrics) XXX_Size

func (m *Metrics) XXX_Size() int

func (*Metrics) XXX_Unmarshal

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

type Metrics_Data

type Metrics_Data struct {
	MainCategoryName     string   `protobuf:"bytes,2,opt,name=main_category_name,json=mainCategoryName,proto3" json:"main_category_name,omitempty"`
	SellerId             int64    `protobuf:"varint,3,opt,name=seller_id,json=sellerId,proto3" json:"seller_id,omitempty"`
	ResponseRate         string   `protobuf:"bytes,4,opt,name=response_rate,json=responseRate,proto3" json:"response_rate,omitempty"`
	ResponseTime         string   `protobuf:"bytes,5,opt,name=response_time,json=responseTime,proto3" json:"response_time,omitempty"`
	ShipOnTime           string   `protobuf:"bytes,6,opt,name=ship_on_time,json=shipOnTime,proto3" json:"ship_on_time,omitempty"`
	MainCategoryId       int64    `protobuf:"varint,7,opt,name=main_category_id,json=mainCategoryId,proto3" json:"main_category_id,omitempty"`
	PositiveSellerRating string   `protobuf:"bytes,8,opt,name=positive_seller_rating,json=positiveSellerRating,proto3" json:"positive_seller_rating,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Metrics_Data) Descriptor

func (*Metrics_Data) Descriptor() ([]byte, []int)

func (*Metrics_Data) GetMainCategoryId

func (m *Metrics_Data) GetMainCategoryId() int64

func (*Metrics_Data) GetMainCategoryName

func (m *Metrics_Data) GetMainCategoryName() string

func (*Metrics_Data) GetPositiveSellerRating

func (m *Metrics_Data) GetPositiveSellerRating() string

func (*Metrics_Data) GetResponseRate

func (m *Metrics_Data) GetResponseRate() string

func (*Metrics_Data) GetResponseTime

func (m *Metrics_Data) GetResponseTime() string

func (*Metrics_Data) GetSellerId

func (m *Metrics_Data) GetSellerId() int64

func (*Metrics_Data) GetShipOnTime

func (m *Metrics_Data) GetShipOnTime() string

func (*Metrics_Data) ProtoMessage

func (*Metrics_Data) ProtoMessage()

func (*Metrics_Data) Reset

func (m *Metrics_Data) Reset()

func (*Metrics_Data) String

func (m *Metrics_Data) String() string

func (*Metrics_Data) XXX_DiscardUnknown

func (m *Metrics_Data) XXX_DiscardUnknown()

func (*Metrics_Data) XXX_Marshal

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

func (*Metrics_Data) XXX_Merge

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

func (*Metrics_Data) XXX_Size

func (m *Metrics_Data) XXX_Size() int

func (*Metrics_Data) XXX_Unmarshal

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

type Order

type Order struct {
	VoucherPlatform            float32                `protobuf:"fixed32,2,opt,name=voucher_platform,json=voucherPlatform,proto3" json:"voucher_platform,omitempty"`
	Voucher                    float32                `protobuf:"fixed32,3,opt,name=voucher,proto3" json:"voucher,omitempty"`
	OrderNumber                int64                  `protobuf:"varint,4,opt,name=order_number,json=orderNumber,proto3" json:"order_number,omitempty"`
	VoucherSeller              float32                `protobuf:"fixed32,5,opt,name=voucher_seller,json=voucherSeller,proto3" json:"voucher_seller,omitempty"`
	CreatedAt                  string                 `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	VoucherCode                string                 `protobuf:"bytes,7,opt,name=voucher_code,json=voucherCode,proto3" json:"voucher_code,omitempty"`
	GiftOption                 bool                   `protobuf:"varint,8,opt,name=gift_option,json=giftOption,proto3" json:"gift_option,omitempty"`
	CustomerLastName           string                 `protobuf:"bytes,9,opt,name=customer_last_name,json=customerLastName,proto3" json:"customer_last_name,omitempty"`
	UpdatedAt                  string                 `protobuf:"bytes,10,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	PromisedShippingTimes      string                 `` /* 127-byte string literal not displayed */
	Price                      string                 `protobuf:"bytes,12,opt,name=price,proto3" json:"price,omitempty"`
	NationalRegistrationNumber string                 `` /* 142-byte string literal not displayed */
	PaymentMethod              string                 `protobuf:"bytes,14,opt,name=payment_method,json=paymentMethod,proto3" json:"payment_method,omitempty"`
	AddressUpdatedAt           string                 `protobuf:"bytes,15,opt,name=address_updated_at,json=addressUpdatedAt,proto3" json:"address_updated_at,omitempty"`
	CustomerFirstName          string                 `protobuf:"bytes,16,opt,name=customer_first_name,json=customerFirstName,proto3" json:"customer_first_name,omitempty"`
	ShippingFee                float32                `protobuf:"fixed32,17,opt,name=shipping_fee,json=shippingFee,proto3" json:"shipping_fee,omitempty"`
	BranchNumber               string                 `protobuf:"bytes,18,opt,name=branch_number,json=branchNumber,proto3" json:"branch_number,omitempty"`
	TaxCode                    string                 `protobuf:"bytes,19,opt,name=tax_code,json=taxCode,proto3" json:"tax_code,omitempty"`
	ItemsCount                 int64                  `protobuf:"varint,20,opt,name=items_count,json=itemsCount,proto3" json:"items_count,omitempty"`
	DeliveryInfo               string                 `protobuf:"bytes,21,opt,name=delivery_info,json=deliveryInfo,proto3" json:"delivery_info,omitempty"`
	Statuses                   []string               `protobuf:"bytes,22,rep,name=statuses,proto3" json:"statuses,omitempty"`
	AddressBilling             *Order_BillingAddress  `protobuf:"bytes,23,opt,name=address_billing,json=addressBilling,proto3" json:"address_billing,omitempty"`
	ExtraAttributes            string                 `protobuf:"bytes,24,opt,name=extra_attributes,json=extraAttributes,proto3" json:"extra_attributes,omitempty"`
	OrderId                    int64                  `protobuf:"varint,25,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	GiftMessage                string                 `protobuf:"bytes,26,opt,name=gift_message,json=giftMessage,proto3" json:"gift_message,omitempty"`
	Remarks                    string                 `protobuf:"bytes,27,opt,name=remarks,proto3" json:"remarks,omitempty"`
	AddressShipping            *Order_ShippingAddress `protobuf:"bytes,28,opt,name=address_shipping,json=addressShipping,proto3" json:"address_shipping,omitempty"`
	XXX_NoUnkeyedLiteral       struct{}               `json:"-"`
	XXX_unrecognized           []byte                 `json:"-"`
	XXX_sizecache              int32                  `json:"-"`
}

func (*Order) Descriptor

func (*Order) Descriptor() ([]byte, []int)

func (*Order) GetAddressBilling

func (m *Order) GetAddressBilling() *Order_BillingAddress

func (*Order) GetAddressShipping

func (m *Order) GetAddressShipping() *Order_ShippingAddress

func (*Order) GetAddressUpdatedAt

func (m *Order) GetAddressUpdatedAt() string

func (*Order) GetBranchNumber

func (m *Order) GetBranchNumber() string

func (*Order) GetCreatedAt

func (m *Order) GetCreatedAt() string

func (*Order) GetCustomerFirstName

func (m *Order) GetCustomerFirstName() string

func (*Order) GetCustomerLastName

func (m *Order) GetCustomerLastName() string

func (*Order) GetDeliveryInfo

func (m *Order) GetDeliveryInfo() string

func (*Order) GetExtraAttributes

func (m *Order) GetExtraAttributes() string

func (*Order) GetGiftMessage

func (m *Order) GetGiftMessage() string

func (*Order) GetGiftOption

func (m *Order) GetGiftOption() bool

func (*Order) GetItemsCount

func (m *Order) GetItemsCount() int64

func (*Order) GetNationalRegistrationNumber

func (m *Order) GetNationalRegistrationNumber() string

func (*Order) GetOrderId

func (m *Order) GetOrderId() int64

func (*Order) GetOrderNumber

func (m *Order) GetOrderNumber() int64

func (*Order) GetPaymentMethod

func (m *Order) GetPaymentMethod() string

func (*Order) GetPrice

func (m *Order) GetPrice() string

func (*Order) GetPromisedShippingTimes

func (m *Order) GetPromisedShippingTimes() string

func (*Order) GetRemarks

func (m *Order) GetRemarks() string

func (*Order) GetShippingFee

func (m *Order) GetShippingFee() float32

func (*Order) GetStatuses

func (m *Order) GetStatuses() []string

func (*Order) GetTaxCode

func (m *Order) GetTaxCode() string

func (*Order) GetUpdatedAt

func (m *Order) GetUpdatedAt() string

func (*Order) GetVoucher

func (m *Order) GetVoucher() float32

func (*Order) GetVoucherCode

func (m *Order) GetVoucherCode() string

func (*Order) GetVoucherPlatform

func (m *Order) GetVoucherPlatform() float32

func (*Order) GetVoucherSeller

func (m *Order) GetVoucherSeller() float32

func (*Order) ProtoMessage

func (*Order) ProtoMessage()

func (*Order) Reset

func (m *Order) Reset()

func (*Order) String

func (m *Order) String() string

func (*Order) XXX_DiscardUnknown

func (m *Order) XXX_DiscardUnknown()

func (*Order) XXX_Marshal

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

func (*Order) XXX_Merge

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

func (*Order) XXX_Size

func (m *Order) XXX_Size() int

func (*Order) XXX_Unmarshal

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

type OrderItem

type OrderItem struct {
	Reason                string   `protobuf:"bytes,2,opt,name=reason,proto3" json:"reason,omitempty"`
	DigitalDeliveryInfo   string   `protobuf:"bytes,3,opt,name=digital_delivery_info,json=digitalDeliveryInfo,proto3" json:"digital_delivery_info,omitempty"`
	PromisedShippingTime  string   `protobuf:"bytes,4,opt,name=promised_shipping_time,json=promisedShippingTime,proto3" json:"promised_shipping_time,omitempty"`
	OrderId               int64    `protobuf:"varint,5,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"`
	VoucherAmount         float32  `protobuf:"fixed32,6,opt,name=voucher_amount,json=voucherAmount,proto3" json:"voucher_amount,omitempty"`
	ReturnStatus          string   `protobuf:"bytes,7,opt,name=return_status,json=returnStatus,proto3" json:"return_status,omitempty"`
	ShippingType          string   `protobuf:"bytes,8,opt,name=shipping_type,json=shippingType,proto3" json:"shipping_type,omitempty"`
	ShipmentProvider      string   `protobuf:"bytes,9,opt,name=shipment_provider,json=shipmentProvider,proto3" json:"shipment_provider,omitempty"`
	Variation             string   `protobuf:"bytes,10,opt,name=variation,proto3" json:"variation,omitempty"`
	CreatedAt             string   `protobuf:"bytes,11,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	InvoiceNumber         string   `protobuf:"bytes,12,opt,name=invoice_number,json=invoiceNumber,proto3" json:"invoice_number,omitempty"`
	ShippingAmount        float32  `protobuf:"fixed32,13,opt,name=shipping_amount,json=shippingAmount,proto3" json:"shipping_amount,omitempty"`
	Currency              string   `protobuf:"bytes,14,opt,name=currency,proto3" json:"currency,omitempty"`
	OrderFlag             string   `protobuf:"bytes,15,opt,name=order_flag,json=orderFlag,proto3" json:"order_flag,omitempty"`
	ShopId                string   `protobuf:"bytes,16,opt,name=shop_id,json=shopId,proto3" json:"shop_id,omitempty"`
	SlaTimeStamp          string   `protobuf:"bytes,17,opt,name=sla_time_stamp,json=slaTimeStamp,proto3" json:"sla_time_stamp,omitempty"`
	Sku                   string   `protobuf:"bytes,18,opt,name=sku,proto3" json:"sku,omitempty"`
	VoucherCode           string   `protobuf:"bytes,19,opt,name=voucher_code,json=voucherCode,proto3" json:"voucher_code,omitempty"`
	WalletCredits         string   `protobuf:"bytes,20,opt,name=wallet_credits,json=walletCredits,proto3" json:"wallet_credits,omitempty"`
	UpdatedAt             string   `protobuf:"bytes,21,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	IsDigital             int64    `protobuf:"varint,22,opt,name=is_digital,json=isDigital,proto3" json:"is_digital,omitempty"`
	TrackingCodePre       string   `protobuf:"bytes,23,opt,name=tracking_code_pre,json=trackingCodePre,proto3" json:"tracking_code_pre,omitempty"`
	OrderItemId           int64    `protobuf:"varint,24,opt,name=order_item_id,json=orderItemId,proto3" json:"order_item_id,omitempty"`
	PackageId             string   `protobuf:"bytes,25,opt,name=package_id,json=packageId,proto3" json:"package_id,omitempty"`
	TrackingCode          string   `protobuf:"bytes,26,opt,name=tracking_code,json=trackingCode,proto3" json:"tracking_code,omitempty"`
	ShippingServiceCost   int64    `protobuf:"varint,27,opt,name=shipping_service_cost,json=shippingServiceCost,proto3" json:"shipping_service_cost,omitempty"`
	ExtraAttributes       string   `protobuf:"bytes,28,opt,name=extra_attributes,json=extraAttributes,proto3" json:"extra_attributes,omitempty"`
	PaidPrice             float32  `protobuf:"fixed32,29,opt,name=paid_price,json=paidPrice,proto3" json:"paid_price,omitempty"`
	ShippingProviderType  string   `protobuf:"bytes,30,opt,name=shipping_provider_type,json=shippingProviderType,proto3" json:"shipping_provider_type,omitempty"`
	ProductDetailUrl      string   `protobuf:"bytes,31,opt,name=product_detail_url,json=productDetailUrl,proto3" json:"product_detail_url,omitempty"`
	ShopSku               string   `protobuf:"bytes,32,opt,name=shop_sku,json=shopSku,proto3" json:"shop_sku,omitempty"`
	ReasonDetail          string   `protobuf:"bytes,33,opt,name=reason_detail,json=reasonDetail,proto3" json:"reason_detail,omitempty"`
	PurchaseOrderId       string   `protobuf:"bytes,34,opt,name=purchase_order_id,json=purchaseOrderId,proto3" json:"purchase_order_id,omitempty"`
	PurchaseOrderNumber   string   `protobuf:"bytes,35,opt,name=purchase_order_number,json=purchaseOrderNumber,proto3" json:"purchase_order_number,omitempty"`
	Name                  string   `protobuf:"bytes,36,opt,name=name,proto3" json:"name,omitempty"`
	ProductMainImage      string   `protobuf:"bytes,37,opt,name=product_main_image,json=productMainImage,proto3" json:"product_main_image,omitempty"`
	ItemPrice             float32  `protobuf:"fixed32,38,opt,name=item_price,json=itemPrice,proto3" json:"item_price,omitempty"`
	TaxAmount             float32  `protobuf:"fixed32,39,opt,name=tax_amount,json=taxAmount,proto3" json:"tax_amount,omitempty"`
	Status                string   `protobuf:"bytes,40,opt,name=status,proto3" json:"status,omitempty"`
	CancelReturnInitiator string   `` /* 127-byte string literal not displayed */
	VoucherPlatform       float32  `protobuf:"fixed32,42,opt,name=voucher_platform,json=voucherPlatform,proto3" json:"voucher_platform,omitempty"`
	VoucherSeller         float32  `protobuf:"fixed32,43,opt,name=voucher_seller,json=voucherSeller,proto3" json:"voucher_seller,omitempty"`
	OrderType             string   `protobuf:"bytes,44,opt,name=order_type,json=orderType,proto3" json:"order_type,omitempty"`
	StagePayStatus        string   `protobuf:"bytes,45,opt,name=stage_pay_status,json=stagePayStatus,proto3" json:"stage_pay_status,omitempty"`
	XXX_NoUnkeyedLiteral  struct{} `json:"-"`
	XXX_unrecognized      []byte   `json:"-"`
	XXX_sizecache         int32    `json:"-"`
}

func (*OrderItem) Descriptor

func (*OrderItem) Descriptor() ([]byte, []int)

func (*OrderItem) GetCancelReturnInitiator

func (m *OrderItem) GetCancelReturnInitiator() string

func (*OrderItem) GetCreatedAt

func (m *OrderItem) GetCreatedAt() string

func (*OrderItem) GetCurrency

func (m *OrderItem) GetCurrency() string

func (*OrderItem) GetDigitalDeliveryInfo

func (m *OrderItem) GetDigitalDeliveryInfo() string

func (*OrderItem) GetExtraAttributes

func (m *OrderItem) GetExtraAttributes() string

func (*OrderItem) GetInvoiceNumber

func (m *OrderItem) GetInvoiceNumber() string

func (*OrderItem) GetIsDigital

func (m *OrderItem) GetIsDigital() int64

func (*OrderItem) GetItemPrice

func (m *OrderItem) GetItemPrice() float32

func (*OrderItem) GetName

func (m *OrderItem) GetName() string

func (*OrderItem) GetOrderFlag

func (m *OrderItem) GetOrderFlag() string

func (*OrderItem) GetOrderId

func (m *OrderItem) GetOrderId() int64

func (*OrderItem) GetOrderItemId

func (m *OrderItem) GetOrderItemId() int64

func (*OrderItem) GetOrderType

func (m *OrderItem) GetOrderType() string

func (*OrderItem) GetPackageId

func (m *OrderItem) GetPackageId() string

func (*OrderItem) GetPaidPrice

func (m *OrderItem) GetPaidPrice() float32

func (*OrderItem) GetProductDetailUrl

func (m *OrderItem) GetProductDetailUrl() string

func (*OrderItem) GetProductMainImage

func (m *OrderItem) GetProductMainImage() string

func (*OrderItem) GetPromisedShippingTime

func (m *OrderItem) GetPromisedShippingTime() string

func (*OrderItem) GetPurchaseOrderId

func (m *OrderItem) GetPurchaseOrderId() string

func (*OrderItem) GetPurchaseOrderNumber

func (m *OrderItem) GetPurchaseOrderNumber() string

func (*OrderItem) GetReason

func (m *OrderItem) GetReason() string

func (*OrderItem) GetReasonDetail

func (m *OrderItem) GetReasonDetail() string

func (*OrderItem) GetReturnStatus

func (m *OrderItem) GetReturnStatus() string

func (*OrderItem) GetShipmentProvider

func (m *OrderItem) GetShipmentProvider() string

func (*OrderItem) GetShippingAmount

func (m *OrderItem) GetShippingAmount() float32

func (*OrderItem) GetShippingProviderType

func (m *OrderItem) GetShippingProviderType() string

func (*OrderItem) GetShippingServiceCost

func (m *OrderItem) GetShippingServiceCost() int64

func (*OrderItem) GetShippingType

func (m *OrderItem) GetShippingType() string

func (*OrderItem) GetShopId

func (m *OrderItem) GetShopId() string

func (*OrderItem) GetShopSku

func (m *OrderItem) GetShopSku() string

func (*OrderItem) GetSku

func (m *OrderItem) GetSku() string

func (*OrderItem) GetSlaTimeStamp

func (m *OrderItem) GetSlaTimeStamp() string

func (*OrderItem) GetStagePayStatus

func (m *OrderItem) GetStagePayStatus() string

func (*OrderItem) GetStatus

func (m *OrderItem) GetStatus() string

func (*OrderItem) GetTaxAmount

func (m *OrderItem) GetTaxAmount() float32

func (*OrderItem) GetTrackingCode

func (m *OrderItem) GetTrackingCode() string

func (*OrderItem) GetTrackingCodePre

func (m *OrderItem) GetTrackingCodePre() string

func (*OrderItem) GetUpdatedAt

func (m *OrderItem) GetUpdatedAt() string

func (*OrderItem) GetVariation

func (m *OrderItem) GetVariation() string

func (*OrderItem) GetVoucherAmount

func (m *OrderItem) GetVoucherAmount() float32

func (*OrderItem) GetVoucherCode

func (m *OrderItem) GetVoucherCode() string

func (*OrderItem) GetVoucherPlatform

func (m *OrderItem) GetVoucherPlatform() float32

func (*OrderItem) GetVoucherSeller

func (m *OrderItem) GetVoucherSeller() float32

func (*OrderItem) GetWalletCredits

func (m *OrderItem) GetWalletCredits() string

func (*OrderItem) ProtoMessage

func (*OrderItem) ProtoMessage()

func (*OrderItem) Reset

func (m *OrderItem) Reset()

func (*OrderItem) String

func (m *OrderItem) String() string

func (*OrderItem) XXX_DiscardUnknown

func (m *OrderItem) XXX_DiscardUnknown()

func (*OrderItem) XXX_Marshal

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

func (*OrderItem) XXX_Merge

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

func (*OrderItem) XXX_Size

func (m *OrderItem) XXX_Size() int

func (*OrderItem) XXX_Unmarshal

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

type OrderStatus

type OrderStatus int32
const (
	OrderStatus_unpaid        OrderStatus = 0
	OrderStatus_pending       OrderStatus = 1
	OrderStatus_canceled      OrderStatus = 2
	OrderStatus_ready_to_ship OrderStatus = 3
	OrderStatus_delivered     OrderStatus = 4
	OrderStatus_returned      OrderStatus = 5
	OrderStatus_shipped       OrderStatus = 6
	OrderStatus_failed        OrderStatus = 7
)

func (OrderStatus) EnumDescriptor

func (OrderStatus) EnumDescriptor() ([]byte, []int)

func (OrderStatus) String

func (x OrderStatus) String() string

type Order_BillingAddress

type Order_BillingAddress struct {
	Country              string   `protobuf:"bytes,2,opt,name=country,proto3" json:"country,omitempty"`
	Address3             string   `protobuf:"bytes,3,opt,name=address3,proto3" json:"address3,omitempty"`
	Address2             string   `protobuf:"bytes,4,opt,name=address2,proto3" json:"address2,omitempty"`
	City                 string   `protobuf:"bytes,5,opt,name=city,proto3" json:"city,omitempty"`
	Phone                string   `protobuf:"bytes,6,opt,name=phone,proto3" json:"phone,omitempty"`
	Address1             string   `protobuf:"bytes,7,opt,name=address1,proto3" json:"address1,omitempty"`
	PostCode             string   `protobuf:"bytes,8,opt,name=post_code,json=postCode,proto3" json:"post_code,omitempty"`
	Phone2               string   `protobuf:"bytes,9,opt,name=phone2,proto3" json:"phone2,omitempty"`
	LastName             string   `protobuf:"bytes,10,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
	Address5             string   `protobuf:"bytes,11,opt,name=address5,proto3" json:"address5,omitempty"`
	Address4             string   `protobuf:"bytes,12,opt,name=address4,proto3" json:"address4,omitempty"`
	FirstName            string   `protobuf:"bytes,13,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Order_BillingAddress) Descriptor

func (*Order_BillingAddress) Descriptor() ([]byte, []int)

func (*Order_BillingAddress) GetAddress1

func (m *Order_BillingAddress) GetAddress1() string

func (*Order_BillingAddress) GetAddress2

func (m *Order_BillingAddress) GetAddress2() string

func (*Order_BillingAddress) GetAddress3

func (m *Order_BillingAddress) GetAddress3() string

func (*Order_BillingAddress) GetAddress4

func (m *Order_BillingAddress) GetAddress4() string

func (*Order_BillingAddress) GetAddress5

func (m *Order_BillingAddress) GetAddress5() string

func (*Order_BillingAddress) GetCity

func (m *Order_BillingAddress) GetCity() string

func (*Order_BillingAddress) GetCountry

func (m *Order_BillingAddress) GetCountry() string

func (*Order_BillingAddress) GetFirstName

func (m *Order_BillingAddress) GetFirstName() string

func (*Order_BillingAddress) GetLastName

func (m *Order_BillingAddress) GetLastName() string

func (*Order_BillingAddress) GetPhone

func (m *Order_BillingAddress) GetPhone() string

func (*Order_BillingAddress) GetPhone2

func (m *Order_BillingAddress) GetPhone2() string

func (*Order_BillingAddress) GetPostCode

func (m *Order_BillingAddress) GetPostCode() string

func (*Order_BillingAddress) ProtoMessage

func (*Order_BillingAddress) ProtoMessage()

func (*Order_BillingAddress) Reset

func (m *Order_BillingAddress) Reset()

func (*Order_BillingAddress) String

func (m *Order_BillingAddress) String() string

func (*Order_BillingAddress) XXX_DiscardUnknown

func (m *Order_BillingAddress) XXX_DiscardUnknown()

func (*Order_BillingAddress) XXX_Marshal

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

func (*Order_BillingAddress) XXX_Merge

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

func (*Order_BillingAddress) XXX_Size

func (m *Order_BillingAddress) XXX_Size() int

func (*Order_BillingAddress) XXX_Unmarshal

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

type Order_ShippingAddress

type Order_ShippingAddress struct {
	Country              string   `protobuf:"bytes,2,opt,name=country,proto3" json:"country,omitempty"`
	Address3             string   `protobuf:"bytes,3,opt,name=address3,proto3" json:"address3,omitempty"`
	Address2             string   `protobuf:"bytes,4,opt,name=address2,proto3" json:"address2,omitempty"`
	City                 string   `protobuf:"bytes,5,opt,name=city,proto3" json:"city,omitempty"`
	Phone                string   `protobuf:"bytes,6,opt,name=phone,proto3" json:"phone,omitempty"`
	Address1             string   `protobuf:"bytes,7,opt,name=address1,proto3" json:"address1,omitempty"`
	PostCode             string   `protobuf:"bytes,8,opt,name=post_code,json=postCode,proto3" json:"post_code,omitempty"`
	Phone2               string   `protobuf:"bytes,9,opt,name=phone2,proto3" json:"phone2,omitempty"`
	LastName             string   `protobuf:"bytes,10,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
	Address5             string   `protobuf:"bytes,11,opt,name=address5,proto3" json:"address5,omitempty"`
	Address4             string   `protobuf:"bytes,12,opt,name=address4,proto3" json:"address4,omitempty"`
	FirstName            string   `protobuf:"bytes,13,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Order_ShippingAddress) Descriptor

func (*Order_ShippingAddress) Descriptor() ([]byte, []int)

func (*Order_ShippingAddress) GetAddress1

func (m *Order_ShippingAddress) GetAddress1() string

func (*Order_ShippingAddress) GetAddress2

func (m *Order_ShippingAddress) GetAddress2() string

func (*Order_ShippingAddress) GetAddress3

func (m *Order_ShippingAddress) GetAddress3() string

func (*Order_ShippingAddress) GetAddress4

func (m *Order_ShippingAddress) GetAddress4() string

func (*Order_ShippingAddress) GetAddress5

func (m *Order_ShippingAddress) GetAddress5() string

func (*Order_ShippingAddress) GetCity

func (m *Order_ShippingAddress) GetCity() string

func (*Order_ShippingAddress) GetCountry

func (m *Order_ShippingAddress) GetCountry() string

func (*Order_ShippingAddress) GetFirstName

func (m *Order_ShippingAddress) GetFirstName() string

func (*Order_ShippingAddress) GetLastName

func (m *Order_ShippingAddress) GetLastName() string

func (*Order_ShippingAddress) GetPhone

func (m *Order_ShippingAddress) GetPhone() string

func (*Order_ShippingAddress) GetPhone2

func (m *Order_ShippingAddress) GetPhone2() string

func (*Order_ShippingAddress) GetPostCode

func (m *Order_ShippingAddress) GetPostCode() string

func (*Order_ShippingAddress) ProtoMessage

func (*Order_ShippingAddress) ProtoMessage()

func (*Order_ShippingAddress) Reset

func (m *Order_ShippingAddress) Reset()

func (*Order_ShippingAddress) String

func (m *Order_ShippingAddress) String() string

func (*Order_ShippingAddress) XXX_DiscardUnknown

func (m *Order_ShippingAddress) XXX_DiscardUnknown()

func (*Order_ShippingAddress) XXX_Marshal

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

func (*Order_ShippingAddress) XXX_Merge

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

func (*Order_ShippingAddress) XXX_Size

func (m *Order_ShippingAddress) XXX_Size() int

func (*Order_ShippingAddress) XXX_Unmarshal

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

type PayoutStatus

type PayoutStatus struct {
	StatementNumber      string   `protobuf:"bytes,2,opt,name=statement_number,json=statementNumber,proto3" json:"statement_number,omitempty"`
	CreatedAt            string   `protobuf:"bytes,3,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	UpdatedAt            string   `protobuf:"bytes,4,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"`
	OpeningBalance       string   `protobuf:"bytes,5,opt,name=opening_balance,json=openingBalance,proto3" json:"opening_balance,omitempty"`
	ItemRevenue          string   `protobuf:"bytes,6,opt,name=item_revenue,json=itemRevenue,proto3" json:"item_revenue,omitempty"`
	ShipmentFee          string   `protobuf:"bytes,7,opt,name=shipment_fee,json=shipmentFee,proto3" json:"shipment_fee,omitempty"`
	ShipmentFeeCredit    string   `protobuf:"bytes,8,opt,name=shipment_fee_credit,json=shipmentFeeCredit,proto3" json:"shipment_fee_credit,omitempty"`
	OtherRevenueTotal    string   `protobuf:"bytes,9,opt,name=other_revenue_total,json=otherRevenueTotal,proto3" json:"other_revenue_total,omitempty"`
	FeesTotal            string   `protobuf:"bytes,10,opt,name=fees_total,json=feesTotal,proto3" json:"fees_total,omitempty"`
	Subtotal1            string   `protobuf:"bytes,11,opt,name=subtotal1,proto3" json:"subtotal1,omitempty"`
	Refunds              string   `protobuf:"bytes,12,opt,name=refunds,proto3" json:"refunds,omitempty"`
	FeesOnRefundsTotal   string   `protobuf:"bytes,13,opt,name=fees_on_refunds_total,json=feesOnRefundsTotal,proto3" json:"fees_on_refunds_total,omitempty"`
	Subtotal2            string   `protobuf:"bytes,14,opt,name=subtotal2,proto3" json:"subtotal2,omitempty"`
	ClosingBalance       string   `protobuf:"bytes,15,opt,name=closing_balance,json=closingBalance,proto3" json:"closing_balance,omitempty"`
	GuaranteeDeposit     string   `protobuf:"bytes,16,opt,name=guarantee_deposit,json=guaranteeDeposit,proto3" json:"guarantee_deposit,omitempty"`
	Payout               string   `protobuf:"bytes,17,opt,name=payout,proto3" json:"payout,omitempty"`
	Paid                 string   `protobuf:"bytes,18,opt,name=paid,proto3" json:"paid,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*PayoutStatus) Descriptor

func (*PayoutStatus) Descriptor() ([]byte, []int)

func (*PayoutStatus) GetClosingBalance

func (m *PayoutStatus) GetClosingBalance() string

func (*PayoutStatus) GetCreatedAt

func (m *PayoutStatus) GetCreatedAt() string

func (*PayoutStatus) GetFeesOnRefundsTotal

func (m *PayoutStatus) GetFeesOnRefundsTotal() string

func (*PayoutStatus) GetFeesTotal

func (m *PayoutStatus) GetFeesTotal() string

func (*PayoutStatus) GetGuaranteeDeposit

func (m *PayoutStatus) GetGuaranteeDeposit() string

func (*PayoutStatus) GetItemRevenue

func (m *PayoutStatus) GetItemRevenue() string

func (*PayoutStatus) GetOpeningBalance

func (m *PayoutStatus) GetOpeningBalance() string

func (*PayoutStatus) GetOtherRevenueTotal

func (m *PayoutStatus) GetOtherRevenueTotal() string

func (*PayoutStatus) GetPaid

func (m *PayoutStatus) GetPaid() string

func (*PayoutStatus) GetPayout

func (m *PayoutStatus) GetPayout() string

func (*PayoutStatus) GetRefunds

func (m *PayoutStatus) GetRefunds() string

func (*PayoutStatus) GetShipmentFee

func (m *PayoutStatus) GetShipmentFee() string

func (*PayoutStatus) GetShipmentFeeCredit

func (m *PayoutStatus) GetShipmentFeeCredit() string

func (*PayoutStatus) GetStatementNumber

func (m *PayoutStatus) GetStatementNumber() string

func (*PayoutStatus) GetSubtotal1

func (m *PayoutStatus) GetSubtotal1() string

func (*PayoutStatus) GetSubtotal2

func (m *PayoutStatus) GetSubtotal2() string

func (*PayoutStatus) GetUpdatedAt

func (m *PayoutStatus) GetUpdatedAt() string

func (*PayoutStatus) ProtoMessage

func (*PayoutStatus) ProtoMessage()

func (*PayoutStatus) Reset

func (m *PayoutStatus) Reset()

func (*PayoutStatus) String

func (m *PayoutStatus) String() string

func (*PayoutStatus) XXX_DiscardUnknown

func (m *PayoutStatus) XXX_DiscardUnknown()

func (*PayoutStatus) XXX_Marshal

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

func (*PayoutStatus) XXX_Merge

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

func (*PayoutStatus) XXX_Size

func (m *PayoutStatus) XXX_Size() int

func (*PayoutStatus) XXX_Unmarshal

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

type PriceQuantitySKU

type PriceQuantitySKU struct {
	SellerSku     string   `xml:"SellerSku" json:"seller_sku"`
	Price         *float64 `xml:"Price" json:"price,omitempty"`
	SalePrice     *float64 `xml:"SalePrice" json:"sale_price,omitempty"`
	SaleStartDate *string  `xml:"SaleStartDate" json:"sale_start_date,omitempty"` // 2017-08-08
	SaleEndDate   *string  `xml:"SaleEndDate" json:"sale_end_date,omitempty"`     // 2017-08-08
	Quantity      *int64   `xml:"Quantity" json:"quantity"`
}

type Product

type Product struct {
	PrimaryCategory int64             `protobuf:"varint,2,opt,name=primary_category,json=primaryCategory,proto3" json:"primary_category,omitempty"`
	Attributes      map[string]string `` /* 161-byte string literal not displayed */
	// ProductAttributes attributes = 3;
	Skus                 []*SKU   `protobuf:"bytes,4,rep,name=skus,proto3" json:"skus,omitempty"`
	ItemId               int64    `protobuf:"varint,5,opt,name=item_id,json=itemId,proto3" json:"item_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Product) Descriptor

func (*Product) Descriptor() ([]byte, []int)

func (*Product) GetAttributes

func (m *Product) GetAttributes() map[string]string

func (*Product) GetItemId

func (m *Product) GetItemId() int64

func (*Product) GetPrimaryCategory

func (m *Product) GetPrimaryCategory() int64

func (*Product) GetSkus

func (m *Product) GetSkus() []*SKU

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 ProductAttributes

type ProductAttributes struct {
	ShortDescription     string   `protobuf:"bytes,2,opt,name=short_description,json=shortDescription,proto3" json:"short_description,omitempty"`
	Name                 string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Description          string   `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	WarrantyType         string   `protobuf:"bytes,5,opt,name=warranty_type,json=warrantyType,proto3" json:"warranty_type,omitempty"`
	Brand                string   `protobuf:"bytes,6,opt,name=brand,proto3" json:"brand,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ProductAttributes) Descriptor

func (*ProductAttributes) Descriptor() ([]byte, []int)

func (*ProductAttributes) GetBrand

func (m *ProductAttributes) GetBrand() string

func (*ProductAttributes) GetDescription

func (m *ProductAttributes) GetDescription() string

func (*ProductAttributes) GetName

func (m *ProductAttributes) GetName() string

func (*ProductAttributes) GetShortDescription

func (m *ProductAttributes) GetShortDescription() string

func (*ProductAttributes) GetWarrantyType

func (m *ProductAttributes) GetWarrantyType() string

func (*ProductAttributes) ProtoMessage

func (*ProductAttributes) ProtoMessage()

func (*ProductAttributes) Reset

func (m *ProductAttributes) Reset()

func (*ProductAttributes) String

func (m *ProductAttributes) String() string

func (*ProductAttributes) XXX_DiscardUnknown

func (m *ProductAttributes) XXX_DiscardUnknown()

func (*ProductAttributes) XXX_Marshal

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

func (*ProductAttributes) XXX_Merge

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

func (*ProductAttributes) XXX_Size

func (m *ProductAttributes) XXX_Size() int

func (*ProductAttributes) XXX_Unmarshal

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

type RefreshTokenRequest

type RefreshTokenRequest struct {
	RefreshToken         string   `protobuf:"bytes,2,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*RefreshTokenRequest) Descriptor

func (*RefreshTokenRequest) Descriptor() ([]byte, []int)

func (*RefreshTokenRequest) GetRefreshToken

func (m *RefreshTokenRequest) GetRefreshToken() string

func (*RefreshTokenRequest) ProtoMessage

func (*RefreshTokenRequest) ProtoMessage()

func (*RefreshTokenRequest) Reset

func (m *RefreshTokenRequest) Reset()

func (*RefreshTokenRequest) String

func (m *RefreshTokenRequest) String() string

func (*RefreshTokenRequest) XXX_DiscardUnknown

func (m *RefreshTokenRequest) XXX_DiscardUnknown()

func (*RefreshTokenRequest) XXX_Marshal

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

func (*RefreshTokenRequest) XXX_Merge

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

func (*RefreshTokenRequest) XXX_Size

func (m *RefreshTokenRequest) XXX_Size() int

func (*RefreshTokenRequest) XXX_Unmarshal

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

type SKU

type SKU struct {
	Status               string   `protobuf:"bytes,2,opt,name=Status,proto3" json:"Status,omitempty"`
	Quantity             int64    `protobuf:"varint,3,opt,name=quantity,proto3" json:"quantity,omitempty"`
	ProductWeight        string   `protobuf:"bytes,4,opt,name=product_weight,json=productWeight,proto3" json:"product_weight,omitempty"`
	Images               []string `protobuf:"bytes,5,rep,name=Images,proto3" json:"Images,omitempty"`
	SellerSku            string   `protobuf:"bytes,6,opt,name=SellerSku,proto3" json:"SellerSku,omitempty"`
	ShopSku              string   `protobuf:"bytes,7,opt,name=ShopSku,proto3" json:"ShopSku,omitempty"`
	Url                  string   `protobuf:"bytes,8,opt,name=Url,proto3" json:"Url,omitempty"`
	PackageWidth         string   `protobuf:"bytes,9,opt,name=package_width,json=packageWidth,proto3" json:"package_width,omitempty"`
	SpecialToTime        string   `protobuf:"bytes,10,opt,name=special_to_time,json=specialToTime,proto3" json:"special_to_time,omitempty"`
	SpecialFromTime      string   `protobuf:"bytes,11,opt,name=special_from_time,json=specialFromTime,proto3" json:"special_from_time,omitempty"`
	PackageHeight        string   `protobuf:"bytes,12,opt,name=package_height,json=packageHeight,proto3" json:"package_height,omitempty"`
	SpecialPrice         float32  `protobuf:"fixed32,13,opt,name=special_price,json=specialPrice,proto3" json:"special_price,omitempty"`
	Price                float32  `protobuf:"fixed32,14,opt,name=price,proto3" json:"price,omitempty"`
	PackageLength        string   `protobuf:"bytes,15,opt,name=package_length,json=packageLength,proto3" json:"package_length,omitempty"`
	PackageWeight        string   `protobuf:"bytes,16,opt,name=package_weight,json=packageWeight,proto3" json:"package_weight,omitempty"`
	Available            int64    `protobuf:"varint,17,opt,name=Available,proto3" json:"Available,omitempty"`
	SkuId                int64    `protobuf:"varint,18,opt,name=SkuId,proto3" json:"SkuId,omitempty"`
	SpecialToDate        string   `protobuf:"bytes,19,opt,name=special_to_date,json=specialToDate,proto3" json:"special_to_date,omitempty"`
	SpecialTimeFormat    string   `protobuf:"bytes,20,opt,name=special_time_format,json=specialTimeFormat,proto3" json:"special_time_format,omitempty"`
	ColorFamily          string   `protobuf:"bytes,21,opt,name=color_family,json=colorFamily,proto3" json:"color_family,omitempty"`
	Size                 string   `protobuf:"bytes,22,opt,name=size,proto3" json:"size,omitempty"`
	SpecialFromDate      string   `protobuf:"bytes,23,opt,name=special_from_date,json=specialFromDate,proto3" json:"special_from_date,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*SKU) Descriptor

func (*SKU) Descriptor() ([]byte, []int)

func (*SKU) GetAvailable

func (m *SKU) GetAvailable() int64

func (*SKU) GetColorFamily

func (m *SKU) GetColorFamily() string

func (*SKU) GetImages

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

func (*SKU) GetPackageHeight

func (m *SKU) GetPackageHeight() string

func (*SKU) GetPackageLength

func (m *SKU) GetPackageLength() string

func (*SKU) GetPackageWeight

func (m *SKU) GetPackageWeight() string

func (*SKU) GetPackageWidth

func (m *SKU) GetPackageWidth() string

func (*SKU) GetPrice

func (m *SKU) GetPrice() float32

func (*SKU) GetProductWeight

func (m *SKU) GetProductWeight() string

func (*SKU) GetQuantity

func (m *SKU) GetQuantity() int64

func (*SKU) GetSellerSku

func (m *SKU) GetSellerSku() string

func (*SKU) GetShopSku

func (m *SKU) GetShopSku() string

func (*SKU) GetSize

func (m *SKU) GetSize() string

func (*SKU) GetSkuId

func (m *SKU) GetSkuId() int64

func (*SKU) GetSpecialFromDate

func (m *SKU) GetSpecialFromDate() string

func (*SKU) GetSpecialFromTime

func (m *SKU) GetSpecialFromTime() string

func (*SKU) GetSpecialPrice

func (m *SKU) GetSpecialPrice() float32

func (*SKU) GetSpecialTimeFormat

func (m *SKU) GetSpecialTimeFormat() string

func (*SKU) GetSpecialToDate

func (m *SKU) GetSpecialToDate() string

func (*SKU) GetSpecialToTime

func (m *SKU) GetSpecialToTime() string

func (*SKU) GetStatus

func (m *SKU) GetStatus() string

func (*SKU) GetUrl

func (m *SKU) GetUrl() string

func (*SKU) ProtoMessage

func (*SKU) ProtoMessage()

func (*SKU) Reset

func (m *SKU) Reset()

func (*SKU) String

func (m *SKU) String() string

func (*SKU) XXX_DiscardUnknown

func (m *SKU) XXX_DiscardUnknown()

func (*SKU) XXX_Marshal

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

func (*SKU) XXX_Merge

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

func (*SKU) XXX_Size

func (m *SKU) XXX_Size() int

func (*SKU) XXX_Unmarshal

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

type Seller

type Seller struct {
	NameCompany          string   `protobuf:"bytes,1,opt,name=name_company,json=nameCompany,proto3" json:"name_company,omitempty"`
	SellerId             int64    `protobuf:"varint,2,opt,name=seller_id,json=sellerId,proto3" json:"seller_id,omitempty"`
	Name                 string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	ShortCode            string   `protobuf:"bytes,4,opt,name=short_code,json=shortCode,proto3" json:"short_code,omitempty"`
	LogoUrl              string   `protobuf:"bytes,5,opt,name=logo_url,json=logoUrl,proto3" json:"logo_url,omitempty"`
	Email                string   `protobuf:"bytes,6,opt,name=email,proto3" json:"email,omitempty"`
	Cb                   bool     `protobuf:"varint,7,opt,name=cb,proto3" json:"cb,omitempty"`
	Location             string   `protobuf:"bytes,8,opt,name=location,proto3" json:"location,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Seller) Descriptor

func (*Seller) Descriptor() ([]byte, []int)

func (*Seller) GetCb

func (m *Seller) GetCb() bool

func (*Seller) GetEmail

func (m *Seller) GetEmail() string

func (*Seller) GetLocation

func (m *Seller) GetLocation() string

func (*Seller) GetLogoUrl

func (m *Seller) GetLogoUrl() string

func (*Seller) GetName

func (m *Seller) GetName() string

func (*Seller) GetNameCompany

func (m *Seller) GetNameCompany() string

func (*Seller) GetSellerId

func (m *Seller) GetSellerId() int64

func (*Seller) GetShortCode

func (m *Seller) GetShortCode() string

func (*Seller) ProtoMessage

func (*Seller) ProtoMessage()

func (*Seller) Reset

func (m *Seller) Reset()

func (*Seller) String

func (m *Seller) String() string

func (*Seller) XXX_DiscardUnknown

func (m *Seller) XXX_DiscardUnknown()

func (*Seller) XXX_Marshal

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

func (*Seller) XXX_Merge

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

func (*Seller) XXX_Size

func (m *Seller) XXX_Size() int

func (*Seller) XXX_Unmarshal

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

type StringMap

type StringMap map[string]string

StringMap is a map[string]string.

func (StringMap) MarshalXML

func (s StringMap) MarshalXML(e *xml.Encoder, start xml.StartElement) error

StringMap marshals into XML.

type Token

type Token struct {
	ExpiresIn            int64                    `protobuf:"varint,2,opt,name=expires_in,json=expiresIn,proto3" json:"expires_in,omitempty"`
	AccountId            string                   `protobuf:"bytes,3,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	Country              string                   `protobuf:"bytes,4,opt,name=country,proto3" json:"country,omitempty"`
	CountryUserInfo      []*Token_CountryUserInfo `protobuf:"bytes,5,rep,name=country_user_info,json=countryUserInfo,proto3" json:"country_user_info,omitempty"`
	AccountPlatform      string                   `protobuf:"bytes,6,opt,name=account_platform,json=accountPlatform,proto3" json:"account_platform,omitempty"`
	AccessToken          string                   `protobuf:"bytes,7,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	Account              string                   `protobuf:"bytes,8,opt,name=account,proto3" json:"account,omitempty"`
	RefreshExpiresIn     int64                    `protobuf:"varint,9,opt,name=refresh_expires_in,json=refreshExpiresIn,proto3" json:"refresh_expires_in,omitempty"`
	RefreshToken         string                   `protobuf:"bytes,10,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                 `json:"-"`
	XXX_unrecognized     []byte                   `json:"-"`
	XXX_sizecache        int32                    `json:"-"`
}

func (*Token) Descriptor

func (*Token) Descriptor() ([]byte, []int)

func (*Token) GetAccessToken

func (m *Token) GetAccessToken() string

func (*Token) GetAccount

func (m *Token) GetAccount() string

func (*Token) GetAccountId

func (m *Token) GetAccountId() string

func (*Token) GetAccountPlatform

func (m *Token) GetAccountPlatform() string

func (*Token) GetCountry

func (m *Token) GetCountry() string

func (*Token) GetCountryUserInfo

func (m *Token) GetCountryUserInfo() []*Token_CountryUserInfo

func (*Token) GetExpiresIn

func (m *Token) GetExpiresIn() int64

func (*Token) GetRefreshExpiresIn

func (m *Token) GetRefreshExpiresIn() int64

func (*Token) GetRefreshToken

func (m *Token) GetRefreshToken() string

func (*Token) ProtoMessage

func (*Token) ProtoMessage()

func (*Token) Reset

func (m *Token) Reset()

func (*Token) String

func (m *Token) String() string

func (*Token) XXX_DiscardUnknown

func (m *Token) XXX_DiscardUnknown()

func (*Token) XXX_Marshal

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

func (*Token) XXX_Merge

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

func (*Token) XXX_Size

func (m *Token) XXX_Size() int

func (*Token) XXX_Unmarshal

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

type Token_CountryUserInfo

type Token_CountryUserInfo struct {
	Country              string   `protobuf:"bytes,2,opt,name=country,proto3" json:"country,omitempty"`
	SellerId             string   `protobuf:"bytes,3,opt,name=seller_id,json=sellerId,proto3" json:"seller_id,omitempty"`
	UserId               string   `protobuf:"bytes,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	ShortCode            string   `protobuf:"bytes,5,opt,name=short_code,json=shortCode,proto3" json:"short_code,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Token_CountryUserInfo) Descriptor

func (*Token_CountryUserInfo) Descriptor() ([]byte, []int)

func (*Token_CountryUserInfo) GetCountry

func (m *Token_CountryUserInfo) GetCountry() string

func (*Token_CountryUserInfo) GetSellerId

func (m *Token_CountryUserInfo) GetSellerId() string

func (*Token_CountryUserInfo) GetShortCode

func (m *Token_CountryUserInfo) GetShortCode() string

func (*Token_CountryUserInfo) GetUserId

func (m *Token_CountryUserInfo) GetUserId() string

func (*Token_CountryUserInfo) ProtoMessage

func (*Token_CountryUserInfo) ProtoMessage()

func (*Token_CountryUserInfo) Reset

func (m *Token_CountryUserInfo) Reset()

func (*Token_CountryUserInfo) String

func (m *Token_CountryUserInfo) String() string

func (*Token_CountryUserInfo) XXX_DiscardUnknown

func (m *Token_CountryUserInfo) XXX_DiscardUnknown()

func (*Token_CountryUserInfo) XXX_Marshal

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

func (*Token_CountryUserInfo) XXX_Merge

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

func (*Token_CountryUserInfo) XXX_Size

func (m *Token_CountryUserInfo) XXX_Size() int

func (*Token_CountryUserInfo) XXX_Unmarshal

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

type Transaction

type Transaction struct {
	Details              string   `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"`
	SellerSku            string   `protobuf:"bytes,3,opt,name=seller_sku,json=sellerSku,proto3" json:"seller_sku,omitempty"`
	LazadaSku            string   `protobuf:"bytes,4,opt,name=lazada_sku,json=lazadaSku,proto3" json:"lazada_sku,omitempty"`
	Amount               string   `protobuf:"bytes,5,opt,name=amount,proto3" json:"amount,omitempty"`
	VATInAmount          string   `protobuf:"bytes,6,opt,name=VAT_in_amount,json=VATInAmount,proto3" json:"VAT_in_amount,omitempty"`
	WHTAmount            string   `protobuf:"bytes,7,opt,name=WHT_amount,json=WHTAmount,proto3" json:"WHT_amount,omitempty"`
	WHTIncludedInAmount  string   `protobuf:"bytes,8,opt,name=WHT_included_in_amount,json=WHTIncludedInAmount,proto3" json:"WHT_included_in_amount,omitempty"`
	Statement            string   `protobuf:"bytes,9,opt,name=statement,proto3" json:"statement,omitempty"`
	PaidStatus           string   `protobuf:"bytes,10,opt,name=paid_status,json=paidStatus,proto3" json:"paid_status,omitempty"`
	OrderNo              string   `protobuf:"bytes,11,opt,name=order_no,json=orderNo,proto3" json:"order_no,omitempty"`
	OrderItemNo          string   `protobuf:"bytes,12,opt,name=orderItem_no,json=orderItemNo,proto3" json:"orderItem_no,omitempty"`
	OrderItemStatus      string   `protobuf:"bytes,13,opt,name=orderItem_status,json=orderItemStatus,proto3" json:"orderItem_status,omitempty"`
	ShippingProvider     string   `protobuf:"bytes,14,opt,name=shipping_provider,json=shippingProvider,proto3" json:"shipping_provider,omitempty"`
	ShippingSpeed        string   `protobuf:"bytes,15,opt,name=shipping_speed,json=shippingSpeed,proto3" json:"shipping_speed,omitempty"`
	ShipmentType         string   `protobuf:"bytes,16,opt,name=shipment_type,json=shipmentType,proto3" json:"shipment_type,omitempty"`
	Reference            string   `protobuf:"bytes,17,opt,name=reference,proto3" json:"reference,omitempty"`
	Comment              string   `protobuf:"bytes,18,opt,name=comment,proto3" json:"comment,omitempty"`
	PaymentRefId         string   `protobuf:"bytes,19,opt,name=payment_ref_id,json=paymentRefId,proto3" json:"payment_ref_id,omitempty"`
	FeeName              string   `protobuf:"bytes,20,opt,name=fee_name,json=feeName,proto3" json:"fee_name,omitempty"`
	TransactionDate      string   `protobuf:"bytes,21,opt,name=transaction_date,json=transactionDate,proto3" json:"transaction_date,omitempty"`
	TransactionType      string   `protobuf:"bytes,22,opt,name=transaction_type,json=transactionType,proto3" json:"transaction_type,omitempty"`
	TransactionNumber    string   `protobuf:"bytes,23,opt,name=transaction_number,json=transactionNumber,proto3" json:"transaction_number,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Transaction) Descriptor

func (*Transaction) Descriptor() ([]byte, []int)

func (*Transaction) GetAmount

func (m *Transaction) GetAmount() string

func (*Transaction) GetComment

func (m *Transaction) GetComment() string

func (*Transaction) GetDetails

func (m *Transaction) GetDetails() string

func (*Transaction) GetFeeName

func (m *Transaction) GetFeeName() string

func (*Transaction) GetLazadaSku

func (m *Transaction) GetLazadaSku() string

func (*Transaction) GetOrderItemNo

func (m *Transaction) GetOrderItemNo() string

func (*Transaction) GetOrderItemStatus

func (m *Transaction) GetOrderItemStatus() string

func (*Transaction) GetOrderNo

func (m *Transaction) GetOrderNo() string

func (*Transaction) GetPaidStatus

func (m *Transaction) GetPaidStatus() string

func (*Transaction) GetPaymentRefId

func (m *Transaction) GetPaymentRefId() string

func (*Transaction) GetReference

func (m *Transaction) GetReference() string

func (*Transaction) GetSellerSku

func (m *Transaction) GetSellerSku() string

func (*Transaction) GetShipmentType

func (m *Transaction) GetShipmentType() string

func (*Transaction) GetShippingProvider

func (m *Transaction) GetShippingProvider() string

func (*Transaction) GetShippingSpeed

func (m *Transaction) GetShippingSpeed() string

func (*Transaction) GetStatement

func (m *Transaction) GetStatement() string

func (*Transaction) GetTransactionDate

func (m *Transaction) GetTransactionDate() string

func (*Transaction) GetTransactionNumber

func (m *Transaction) GetTransactionNumber() string

func (*Transaction) GetTransactionType

func (m *Transaction) GetTransactionType() string

func (*Transaction) GetVATInAmount

func (m *Transaction) GetVATInAmount() string

func (*Transaction) GetWHTAmount

func (m *Transaction) GetWHTAmount() string

func (*Transaction) GetWHTIncludedInAmount

func (m *Transaction) GetWHTIncludedInAmount() string

func (*Transaction) ProtoMessage

func (*Transaction) ProtoMessage()

func (*Transaction) Reset

func (m *Transaction) Reset()

func (*Transaction) String

func (m *Transaction) String() string

func (*Transaction) XXX_DiscardUnknown

func (m *Transaction) XXX_DiscardUnknown()

func (*Transaction) XXX_Marshal

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

func (*Transaction) XXX_Merge

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

func (*Transaction) XXX_Size

func (m *Transaction) XXX_Size() int

func (*Transaction) XXX_Unmarshal

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

type UpdatePriceQuantityRequest

type UpdatePriceQuantityRequest struct {
	XMLName xml.Name            `xml:"Request"`
	Skus    []*PriceQuantitySKU `xml:"Product>Skus>Sku"`
}

type UpdatePriceQuantityResponse

type UpdatePriceQuantityResponse struct {
	Code                 string                                `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	Type                 string                                `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
	Message              string                                `protobuf:"bytes,4,opt,name=message,proto3" json:"message,omitempty"`
	Detail               []*UpdatePriceQuantityResponse_Detail `protobuf:"bytes,5,rep,name=detail,proto3" json:"detail,omitempty"`
	RequestId            string                                `protobuf:"bytes,6,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	XXX_NoUnkeyedLiteral struct{}                              `json:"-"`
	XXX_unrecognized     []byte                                `json:"-"`
	XXX_sizecache        int32                                 `json:"-"`
}

func (*UpdatePriceQuantityResponse) Descriptor

func (*UpdatePriceQuantityResponse) Descriptor() ([]byte, []int)

func (*UpdatePriceQuantityResponse) GetCode

func (m *UpdatePriceQuantityResponse) GetCode() string

func (*UpdatePriceQuantityResponse) GetDetail

func (*UpdatePriceQuantityResponse) GetMessage

func (m *UpdatePriceQuantityResponse) GetMessage() string

func (*UpdatePriceQuantityResponse) GetRequestId

func (m *UpdatePriceQuantityResponse) GetRequestId() string

func (*UpdatePriceQuantityResponse) GetType

func (m *UpdatePriceQuantityResponse) GetType() string

func (*UpdatePriceQuantityResponse) ProtoMessage

func (*UpdatePriceQuantityResponse) ProtoMessage()

func (*UpdatePriceQuantityResponse) Reset

func (m *UpdatePriceQuantityResponse) Reset()

func (*UpdatePriceQuantityResponse) String

func (m *UpdatePriceQuantityResponse) String() string

func (*UpdatePriceQuantityResponse) XXX_DiscardUnknown

func (m *UpdatePriceQuantityResponse) XXX_DiscardUnknown()

func (*UpdatePriceQuantityResponse) XXX_Marshal

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

func (*UpdatePriceQuantityResponse) XXX_Merge

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

func (*UpdatePriceQuantityResponse) XXX_Size

func (m *UpdatePriceQuantityResponse) XXX_Size() int

func (*UpdatePriceQuantityResponse) XXX_Unmarshal

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

type UpdatePriceQuantityResponse_Detail

type UpdatePriceQuantityResponse_Detail struct {
	Message              string   `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	SellerSku            string   `protobuf:"bytes,3,opt,name=seller_sku,json=sellerSku,proto3" json:"seller_sku,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpdatePriceQuantityResponse_Detail) Descriptor

func (*UpdatePriceQuantityResponse_Detail) Descriptor() ([]byte, []int)

func (*UpdatePriceQuantityResponse_Detail) GetMessage

func (*UpdatePriceQuantityResponse_Detail) GetSellerSku

func (m *UpdatePriceQuantityResponse_Detail) GetSellerSku() string

func (*UpdatePriceQuantityResponse_Detail) ProtoMessage

func (*UpdatePriceQuantityResponse_Detail) ProtoMessage()

func (*UpdatePriceQuantityResponse_Detail) Reset

func (*UpdatePriceQuantityResponse_Detail) String

func (*UpdatePriceQuantityResponse_Detail) XXX_DiscardUnknown

func (m *UpdatePriceQuantityResponse_Detail) XXX_DiscardUnknown()

func (*UpdatePriceQuantityResponse_Detail) XXX_Marshal

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

func (*UpdatePriceQuantityResponse_Detail) XXX_Merge

func (*UpdatePriceQuantityResponse_Detail) XXX_Size

func (*UpdatePriceQuantityResponse_Detail) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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