Temporary_VAT_Rates implements Service, Registerable

Temporary VAT rate adjustments.

Tags
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

Interfaces, Classes and Traits

Service
Registerable

Table of Contents

adjust_rates()  : array<string|int, mixed>
Adjusts the EU VAT rates based on temporary vat rates set in 'get_temporary_rates'.
register()  : mixed
{@inheritdoc}
get_temporary_rates()  : array<string|int, mixed>
Retrieves the temporary VAT rates

Methods

adjust_rates()

Adjusts the EU VAT rates based on temporary vat rates set in 'get_temporary_rates'.

public adjust_rates(array<string|int, mixed> $vat_rates) : array<string|int, mixed>
Parameters
$vat_rates : array<string|int, mixed>
Return values
array<string|int, mixed>

$vat_rates

get_temporary_rates()

Retrieves the temporary VAT rates

private static get_temporary_rates() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results