selling_partner

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2023 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MarketplaceID

func MarketplaceID(m string) string

Types

type Client

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

func New

func New(conf *Config) *Client

func (*Client) ClientTransport

func (sp *Client) ClientTransport(ctx context.Context, opts ...Opt) *client.Runtime

type Config

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

func NewConfig

func NewConfig(
	accessKeyId, secretKey, roleArn, refreshToken, clientID, clientSecret, region string,
) *Config

type Marketplace

type Marketplace struct {
	Country, MarketplaceID, CountryCode string
}

func CountryCodeToMarketplace

func CountryCodeToMarketplace(m string) Marketplace

type Opt

type Opt = func(*option)

func Debug

func Debug() Opt

func Grantless

func Grantless() Opt

type Region

type Region struct {
	Name         string
	Endpoint     string
	Region       string
	Marketplaces map[string]Marketplace
}

Jump to

Keyboard shortcuts

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