Documentation
¶
Index ¶
- type ProductService
- func (s *ProductService) GetListSkus(ctx context.Context, startAfterSku, count int64) (response *models.ListSkusResponse, err error)
- func (s *ProductService) GetProduct(ctx context.Context, sku int64) (response *models.GetProductResponse, err error)
- func (s *ProductService) GetProducts(ctx context.Context, skus []int64) (responses []models.GetProductResponse, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProductService ¶
type ProductService struct {
// contains filtered or unexported fields
}
func New ¶
func New(client *httpclient.HttpClient, address string, accessToken string, getProductRPSLimit int) *ProductService
func (*ProductService) GetListSkus ¶
func (s *ProductService) GetListSkus(ctx context.Context, startAfterSku, count int64) (response *models.ListSkusResponse, err error)
func (*ProductService) GetProduct ¶
func (s *ProductService) GetProduct(ctx context.Context, sku int64) (response *models.GetProductResponse, err error)
func (*ProductService) GetProducts ¶
func (s *ProductService) GetProducts(ctx context.Context, skus []int64) (responses []models.GetProductResponse, err error)
Click to show internal directories.
Click to hide internal directories.