phpDocumentor

HubPayPalInstallmentsBannerSettings extends HubPayPalSettings
in package

Table of Contents

CACHE_FILE  = 'paypal2hub.json.cache'
CACHE_TTL  = 3600
$cache  : mixed
$config  : mixed
__construct()  : mixed
getInstallmentsBannerSettings()  : array<string|int, mixed>
Returns an array representing a PayPal Installments Banner configuration.
userConsentGiven()  : mixed
getJavascriptSource()  : mixed
getJavascriptSourceFromCache()  : mixed
getJavascriptSourceFromHub()  : mixed
setJavascriptSourceInCache()  : mixed

Constants

Properties

Methods

getInstallmentsBannerSettings()

Returns an array representing a PayPal Installments Banner configuration.

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

getJavascriptSource()

protected getJavascriptSource([mixed $position = 'cart' ]) : mixed
Parameters
$position : mixed = 'cart'
Return values
mixed

getJavascriptSourceFromCache()

protected getJavascriptSourceFromCache(mixed $cacheKey) : mixed
Parameters
$cacheKey : mixed
Return values
mixed

getJavascriptSourceFromHub()

protected getJavascriptSourceFromHub([mixed $position = 'cart' ]) : mixed
Parameters
$position : mixed = 'cart'
Return values
mixed

setJavascriptSourceInCache()

protected setJavascriptSourceInCache(mixed $cacheKey, mixed $jssrc) : mixed
Parameters
$cacheKey : mixed
$jssrc : mixed
Return values
mixed

Search results