UserVatRepository
extends Injectable
Table of Contents
Methods
-
addNewUserVat()
: mixed
-
getAllUserVatExcludeByCountryId()
: Simple|null
-
getOneUserVatByCountryId()
: Simple|null
-
getUserVatList()
: Simple|null
-
userHasVatInCountry()
: mixed
addNewUserVat()
public
addNewUserVat(string $startDate, int $countryId[, string $vatid = "" ]) : mixed
Parameters
-
$startDate
: string
-
-
$countryId
: int
-
-
$vatid
: string
= ""
-
getAllUserVatExcludeByCountryId()
public
getAllUserVatExcludeByCountryId(int $userId[, array<string|int, mixed> $exclude = [] ]) : Simple|null
Parameters
-
$userId
: int
-
-
$exclude
: array<string|int, mixed>
= []
-
Return values
Simple|null
getOneUserVatByCountryId()
public
getOneUserVatByCountryId(int $userId, int $countryId) : Simple|null
Parameters
-
$userId
: int
-
-
$countryId
: int
-
Return values
Simple|null
getUserVatList()
public
getUserVatList(int $userId) : Simple|null
Parameters
-
$userId
: int
-
Return values
Simple|null
userHasVatInCountry()
public
userHasVatInCountry(mixed $userId, mixed $countryId) : mixed
Parameters
-
$userId
: mixed
-
-
$countryId
: mixed
-