Price
in package
implements
DirectiveInterface
FinalYes
Table of Contents
Interfaces
Properties
- $amount : string
- $currency : string
- $date : string
- $priceCurrency : string
Methods
- __construct() : mixed
- getAmount() : string
- getCurrency() : string
- getDate() : string
- getDirectiveType() : string
- getPriceCurrency() : string
- toArray() : array<string, mixed>
Properties
$amount
private
string
$amount
$currency
private
string
$currency
$date
private
string
$date
$priceCurrency
private
string
$priceCurrency
Methods
__construct()
public
__construct(string $date, string $currency, string $amount, string $priceCurrency) : mixed
Parameters
- $date : string
- $currency : string
- $amount : string
- $priceCurrency : string
getAmount()
public
getAmount() : string
Return values
stringgetCurrency()
public
getCurrency() : string
Return values
stringgetDate()
public
getDate() : string
Return values
stringgetDirectiveType()
public
getDirectiveType() : string
Return values
stringgetPriceCurrency()
public
getPriceCurrency() : string
Return values
stringtoArray()
public
toArray() : array<string, mixed>