CoolCMS API

TaxLine
in package

Read onlyYes
FinalYes

One line to resolve.

amount is a decimal string (3 places in DB). grossPrice = false → the amount is the base without VAT; true → it is a final price (payout of an SMS aggregator including VAT, payment for redeemed credits) and VAT is computed from the top when the treatment charges VAT.

Table of Contents

Properties

$amount  : numeric-string
$currencyId  : int|null
$grossPrice  : bool
$supplyKindId  : int

Methods

__construct()  : mixed

Properties

$amount

public numeric-string $amount

$currencyId

public int|null $currencyId = null

$grossPrice

public bool $grossPrice = false

$supplyKindId

public int $supplyKindId

Methods

__construct()

public __construct(int $supplyKindId, string $amount[, bool $grossPrice = false ][, int|null $currencyId = null ]) : mixed
Parameters
$supplyKindId : int
$amount : string
$grossPrice : bool = false
$currencyId : int|null = null
On this page

Search results