Docs Goabase

Currency
in package
uses TraitData

FinalYes

Table of Contents

Properties

$currencyCode  : string
$currencySymbol  : string
$country  : string
$data  : Data
$entryCurrency  : string

Methods

__construct()  : mixed
getDataInstance()  : Data
getByCountry()  : array{'currency': string, 'currency_code': string, 'currency_symbol': string}
getByCurrencyCode()  : array{'currency': string, 'currency_code': string, 'currency_symbol': string}
getForParty()  : void

Properties

$currencyCode

public string $currencyCode = ''

$currencySymbol

public string $currencySymbol = ''

$entryCurrency

private string $entryCurrency

Methods

__construct()

public __construct(array<string|int, mixed> $saParty) : mixed
Parameters
$saParty : array<string|int, mixed>

getByCountry()

private getByCountry() : array{'currency': string, 'currency_code': string, 'currency_symbol': string}
Return values
array{'currency': string, 'currency_code': string, 'currency_symbol': string}

getByCurrencyCode()

private getByCurrencyCode() : array{'currency': string, 'currency_code': string, 'currency_symbol': string}
Return values
array{'currency': string, 'currency_code': string, 'currency_symbol': string}

getForParty()

private getForParty() : void

        
On this page

Search results