FileAccess Orion

Settings extends TransactionFee

Class Settings

Table of Contents

$  : string
$  : string
$  : string
$  : string
$  : string
$  : string
$  : string|null
$  : string|null
$  : string|null
$  : string|null
$active  : bool
This is not active by default
$baseprice  : mixed
$taxes  : mixed
$dynamics  : array<string|int, mixed>
__construct()  : mixed
Contract this instance
__get()  : mixed|null
Magic getter to avoid "PHP 8.2: Dynamic Properties are deprecated"
__isset()  : bool
Magic check to avoid "PHP 8.2: Dynamic Properties are deprecated"
__set()  : void
Magic setter to avoid "PHP 8.2: Dynamic Properties are deprecated"
AppSecret()  : string|null
ClientId()  : string|null
PaypalApi()  : string|null
PrivateKey()  : string|null
Get private key depending on mode
PublicKey()  : string|null
Get public key depending on mode

Properties

$

public string $

mode production or sandbox

$

public string $

private_key_live The secret key on production

$

public string $

private_key_test The secret key on sandbox

$

public string $

public_key_live The public key on production

$

public string $

public_key_test The public key on sandbox

$

public string $

merchant_id The merchant id

$active

This is not active by default

public bool $active = false

Methods

__construct()

Contract this instance

public __construct(object $object) : mixed
Parameters
$object : object
Return values
mixed

__get()

Magic getter to avoid "PHP 8.2: Dynamic Properties are deprecated"

public __get( $name) : mixed|null
Parameters
$name :
Return values
mixed|null

__isset()

Magic check to avoid "PHP 8.2: Dynamic Properties are deprecated"

public __isset( $name) : bool
Parameters
$name :
Return values
bool

__set()

Magic setter to avoid "PHP 8.2: Dynamic Properties are deprecated"

public __set( $name,  $value) : void
Parameters
$name :
$value :
Return values
void

AppSecret()

public AppSecret() : string|null
Return values
string|null

ClientId()

public ClientId() : string|null
Return values
string|null

PaypalApi()

public PaypalApi() : string|null
Return values
string|null

PrivateKey()

Get private key depending on mode

public PrivateKey() : string|null
Return values
string|null

PublicKey()

Get public key depending on mode

public PublicKey() : string|null
Return values
string|null

Search results