Documentation

AmazonCredential extends AbstractAmazonCredential
in package
implements JsonSerializable

Table of Contents

Interfaces

JsonSerializable

Constants

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

Properties

$cancelationPending  : mixed
$integrationAlias  : mixed
$isActive  : mixed
$pullStartDate  : mixed
$sellerId  : mixed
$user  : mixed
$authToken  : mixed
$credentialId  : mixed
$opt  : array<string|int, mixed>
$refreshToken  : mixed

Methods

__construct()  : mixed
checkUserModule()  : mixed
createFor()  : AmazonCredential|null
createForSpApi()  : AmazonCredential|null
getAuthToken()  : mixed
Get the value of authToken
getCancelationPending()  : mixed
getCredentialId()  : mixed
getIntegrationAlias()  : mixed
getIsActive()  : mixed
getMarketplaceIdList()  : array<string|int, mixed>
getOpt()  : array<string|int, mixed>
getOptUser()  : mixed
getOptUserId()  : mixed
getOptVal()  : mixed
getOptValOr()  : mixed
getPullStartDate()  : mixed
Get the value of pullStartDate
getRawCredential()  : User|null
getRefreshToken()  : mixed
getSellerId()  : mixed
Get the value of sellerId
getUser()  : User|null
getUserModule()  : UserModule
hasOptKey()  : mixed
isAuth()  : bool
isDebug()  : bool
isFine()  : mixed
jsonSerialize()  : array<string|int, mixed>
setAuthToken()  : AmazonCredential
setCancelationPending()  : AmazonCredential
setCredentialId()  : static
setIntegrationAlias()  : AmazonCredential
setIsActive()  : AmazonCredential
setMarketplaceIdList()  : static
setOpt()  : static
setPullStartDate()  : self
Set the value of pullStartDate
setRefreshToken()  : AmazonCredential
setSellerId()  : self
setUser()  : AmazonCredential
setUserModule()  : self
toJson()  : mixed
toJsonAssoc()  : array<string|int, 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> = []

getAuthToken()

Get the value of authToken

public getAuthToken() : 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

getPullStartDate()

Get the value of pullStartDate

public getPullStartDate() : mixed

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

jsonSerialize()

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

setCredentialId()

public setCredentialId(mixed $credentialId) : static
Parameters
$credentialId : mixed
Return values
static

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

setPullStartDate()

Set the value of pullStartDate

public setPullStartDate(mixed $pullStartDate) : self
Parameters
$pullStartDate : mixed
Return values
self

setSellerId()

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

toJsonAssoc()

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

        
On this page

Search results