Payment implements PaymentInterface
Table of Contents
$config | Config | |
---|---|---|
$apiContext | ApiContext | |
$transaction | Transaction | |
__construct() | mixed | |
getApiContext() | ApiContext | |
setOrder() | mixed | |
getLink() | string |
Properties
$config
protected
Config
$config
$apiContext
protected
ApiContext
$apiContext
$transaction
protected
Transaction
$transaction
Methods
__construct()
public
__construct(
$config :
Config
)
: mixed
Parameters
- $config : Config
Return values
mixedgetApiContext()
protected
getApiContext(
$clientId :
string
, $clientSecret :
string
[, $sandbox :
bool
= false ]
)
: ApiContext
Parameters
- $clientId : string
- $clientSecret : string
- $sandbox : bool = false
Return values
ApiContextsetOrder()
public
setOrder(
$products :
array|\Framework\Shop\Product[]
[, $invoice_number :
string|null
= null ]
, $shipping :
float
)
: mixed
Parameters
- $products : array|\Framework\Shop\Product[]
- $invoice_number : string|null = null
- $shipping : float
Return values
mixedgetLink()
public
getLink(
)
: string