Documentation

AbstractAmazonCredential extends Credential
in package

AbstractYes

Table of Contents

Constants

DEBUG_AUTH_TOKEN  = "amz-dev-token"
DEBUG_SELLER_ID  = "amz-dev-id"

Properties

$marketplaceIdList  : mixed
$opt  : array<string|int, mixed>
$sellerId  : mixed

Methods

__construct()  : mixed
checkUserModule()  : mixed
getAuthToken()  : mixed
Get the value of authToken
getMarketplaceIdList()  : array<string|int, mixed>
getOpt()  : array<string|int, mixed>
getOptUser()  : mixed
getOptUserId()  : mixed
getOptVal()  : mixed
getOptValOr()  : mixed
getRawCredential()  : User|null
getRefreshToken()  : mixed
getSellerId()  : mixed
Get the value of sellerId
getUser()  : User|null
getUserModule()  : UserModule
hasOptKey()  : mixed
isAuth()  : mixed
isFine()  : mixed
setMarketplaceIdList()  : static
setOpt()  : static
setSellerId()  : self
setUserModule()  : self
toJson()  : mixed
toJsonAssoc()  : mixed

Constants

Properties

$opt

private array<string|int, mixed> $opt

Methods

__construct()

public __construct([UserModule|null $userModule = null ][, array<string|int, mixed> $opt = [] ]) : mixed
Parameters
$userModule : UserModule|null = null
$opt : array<string|int, mixed> = []

getMarketplaceIdList()

public getMarketplaceIdList() : array<string|int, mixed>
Return values
array<string|int, mixed>

getOpt()

public getOpt([array<string|int, mixed> $opt = null ]) : array<string|int, mixed>
Parameters
$opt : array<string|int, mixed> = null
Return values
array<string|int, mixed>

getOptUser()

public getOptUser() : mixed

getOptUserId()

public getOptUserId() : mixed

getOptVal()

public getOptVal(string $key) : mixed
Parameters
$key : string

getOptValOr()

public getOptValOr(string $key[, mixed $or = null ]) : mixed
Parameters
$key : string
$or : mixed = null

getRawCredential()

public getRawCredential() : User|null
Return values
User|null

getUser()

public getUser() : User|null
Return values
User|null

hasOptKey()

public hasOptKey(string $key) : mixed
Parameters
$key : string

setMarketplaceIdList()

public setMarketplaceIdList(array<string|int, mixed> $marketplaceIdList) : static
Parameters
$marketplaceIdList : array<string|int, mixed>
Return values
static

setOpt()

public setOpt(array<string|int, mixed> $opt) : static
Parameters
$opt : array<string|int, mixed>
Return values
static

setSellerId()

public setSellerId(mixed $sellerId) : self
Parameters
$sellerId : mixed
Return values
self

toJsonAssoc()

public abstract toJsonAssoc() : mixed

        
On this page

Search results