Posting
in package
implements
DirectiveInterface
FinalYes
Table of Contents
Interfaces
Properties
- $account : string
- $amount : string
- $cost : string|null
- $costCurrency : string|null
- $currency : string
- $metadata : array<string, mixed>
- $price : string|null
- $priceCurrency : string|null
- $priceType : string|null
Methods
- __construct() : mixed
- getAccount() : string
- getAmount() : string
- getCost() : string|null
- getCostCurrency() : string|null
- getCurrency() : string
- getDirectiveType() : string
- getMetadata() : array<string, mixed>
- getPrice() : string|null
- getPriceCurrency() : string|null
- getPriceType() : string|null
- toArray() : array<string, mixed>
Properties
$account
private
string
$account
$amount
private
string
$amount
$cost
private
string|null
$cost
= null
$costCurrency
private
string|null
$costCurrency
= null
$currency
private
string
$currency
$metadata
private
array<string, mixed>
$metadata
= []
$price
private
string|null
$price
= null
$priceCurrency
private
string|null
$priceCurrency
= null
$priceType
private
string|null
$priceType
= null
Methods
__construct()
public
__construct(string $account, string $amount, string $currency[, string|null $cost = null ][, string|null $costCurrency = null ][, string|null $price = null ][, string|null $priceCurrency = null ][, string|null $priceType = null ][, array<string, mixed> $metadata = [] ]) : mixed
Parameters
- $account : string
- $amount : string
- $currency : string
- $cost : string|null = null
- $costCurrency : string|null = null
- $price : string|null = null
- $priceCurrency : string|null = null
- $priceType : string|null = null
- $metadata : array<string, mixed> = []
getAccount()
public
getAccount() : string
Return values
stringgetAmount()
public
getAmount() : string
Return values
stringgetCost()
public
getCost() : string|null
Return values
string|nullgetCostCurrency()
public
getCostCurrency() : string|null
Return values
string|nullgetCurrency()
public
getCurrency() : string
Return values
stringgetDirectiveType()
public
getDirectiveType() : string
Return values
stringgetMetadata()
public
getMetadata() : array<string, mixed>
Return values
array<string, mixed>getPrice()
public
getPrice() : string|null
Return values
string|nullgetPriceCurrency()
public
getPriceCurrency() : string|null
Return values
string|nullgetPriceType()
public
getPriceType() : string|null
Return values
string|nulltoArray()
public
toArray() : array<string, mixed>