vendors

package
v0.0.0-...-6bc0093 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2023 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewScrapProviderVendor

func NewScrapProviderVendor(provider model.ScrapProvider, providerDao *dao.ScrapProviderDao) (model.ScrapProviderVendor, error)

Types

type ScrapProviderAmazonVendor

type ScrapProviderAmazonVendor interface {
	model.ScrapProviderVendor
	ItemLookupByAsin(asin string) (*api.GetItemsResponse, error)
	GetAbsoluteParentAsin(item *api.Item) string
	GetVariations(asin string) ([]api.GetVariationsResponse, error)
	GetPrice(offers api.Offers) decimal.NullDecimal
	GetImage(images api.Images) string
	GetHeight(itemInfo api.ItemInfo) decimal.NullDecimal
	GetLength(itemInfo api.ItemInfo) decimal.NullDecimal
	GetWeight(itemInfo api.ItemInfo) decimal.NullDecimal
	GetWidth(itemInfo api.ItemInfo) decimal.NullDecimal
}

func NewScrapProviderAmazonVendor

func NewScrapProviderAmazonVendor(providerDao *dao.ScrapProviderDao) (ScrapProviderAmazonVendor, error)

Jump to

Keyboard shortcuts

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