CustomerCredit
in package
Class CustomerCredit
Table of Contents
- MAXIMUM_CUSTOMER_CREDIT = 100000000.0
- $credit : float
- __construct() : mixed
- create() : CustomerCredit
- value() : float
Constants
MAXIMUM_CUSTOMER_CREDIT
public
mixed
MAXIMUM_CUSTOMER_CREDIT
= 100000000.0
Properties
$credit
private
float
$credit
Methods
__construct()
public
__construct(float $credit) : mixed
Parameters
- $credit : float
Return values
mixed —create()
public
static create([float $credit = 0.0 ]) : CustomerCredit
Parameters
- $credit : float = 0.0
Return values
CustomerCredit —value()
public
value() : float