VatCalculationMapper
extends Mapper
Table of Contents
Properties
-
$userOptOuts
: mixed
-
$userPaymentReferenceNumbers
: mixed
-
$userThresholdExceeded
: mixed
Methods
-
findOptOutByCountryId()
: mixed
-
getDisabledFields()
: mixed
-
getIsManaged()
: mixed
-
getOptOutDisabled()
: mixed
-
getOptOutsByCountry()
: mixed
-
getSuggestedStartDate()
: mixed
-
getThresholdExceedDetailsMapper()
: mixed
-
getThresholdExceeded()
: mixed
-
getVatidTaxIdFieldIsDisabled()
: mixed
-
mapper()
: mixed
-
mapUserVatDetected()
: array<string|int, mixed>
-
mapVatCalculation()
: array<string|int, mixed>
-
mapVatCalculations()
: array<string|int, mixed>
-
OptOutStartDateMapper()
: mixed
-
checkTaxIdDisabledByVatCalculation()
: mixed
-
checkVatidDisabledByVatCalculation()
: mixed
-
fillUserOptOuts()
: mixed
-
fillUserPaymentReferenceNumbers()
: void
-
fillUserThresholdExceeded()
: mixed
-
getIsSuggested()
: mixed
-
getPaymentReferenceNumber()
: string|null
$userOptOuts
private
mixed
$userOptOuts
= []
$userPaymentReferenceNumbers
private
mixed
$userPaymentReferenceNumbers
= []
$userThresholdExceeded
private
mixed
$userThresholdExceeded
= []
findOptOutByCountryId()
public
findOptOutByCountryId(mixed $optOuts, mixed $countryId) : mixed
Parameters
-
$optOuts
: mixed
-
-
$countryId
: mixed
-
getDisabledFields()
public
getDisabledFields(mixed $acl, mixed $vatCalculation, mixed $userChargeBeeSubscriptions) : mixed
Parameters
-
$acl
: mixed
-
-
$vatCalculation
: mixed
-
-
$userChargeBeeSubscriptions
: mixed
-
getIsManaged()
public
getIsManaged(int $countryId, mixed $userChargeBeeSubscriptions) : mixed
Parameters
-
$countryId
: int
-
-
$userChargeBeeSubscriptions
: mixed
-
getOptOutDisabled()
public
getOptOutDisabled(mixed $thresholdExceeded, mixed $acl) : mixed
Parameters
-
$thresholdExceeded
: mixed
-
-
$acl
: mixed
-
getOptOutsByCountry()
public
getOptOutsByCountry(mixed $countries, mixed $vatCalculation, mixed $acl) : mixed
Parameters
-
$countries
: mixed
-
-
$vatCalculation
: mixed
-
-
$acl
: mixed
-
getSuggestedStartDate()
public
getSuggestedStartDate(mixed $userId, mixed $countryId) : mixed
Parameters
-
$userId
: mixed
-
-
$countryId
: mixed
-
getThresholdExceedDetailsMapper()
public
getThresholdExceedDetailsMapper(mixed $thresholdExceeded) : mixed
Parameters
-
$thresholdExceeded
: mixed
-
getThresholdExceeded()
public
getThresholdExceeded(mixed $userId, mixed $countryId) : mixed
Parameters
-
$userId
: mixed
-
-
$countryId
: mixed
-
getVatidTaxIdFieldIsDisabled()
public
getVatidTaxIdFieldIsDisabled(mixed $acl, mixed $vatCalculation, mixed $userChargeBeeSubscriptions) : mixed
Parameters
-
$acl
: mixed
-
-
$vatCalculation
: mixed
-
-
$userChargeBeeSubscriptions
: mixed
-
mapper()
public
static mapper(array<string|int, mixed> $map, array<string|int, mixed> $original[, bool $reverse = true ]) : mixed
Parameters
-
$map
: array<string|int, mixed>
-
-
$original
: array<string|int, mixed>
-
-
$reverse
: bool
= true
-
mapUserVatDetected()
public
mapUserVatDetected(type $userVatDetected) : array<string|int, mixed>
Parameters
-
$userVatDetected
: type
-
Return values
array<string|int, mixed>
mapVatCalculation()
public
mapVatCalculation(mixed $countries, mapVatCalculation $vatCalculation, mixed $userChargeBeeSubscriptions, mixed $acl) : array<string|int, mixed>
Parameters
-
$countries
: mixed
-
-
$vatCalculation
: mapVatCalculation
-
-
$userChargeBeeSubscriptions
: mixed
-
-
$acl
: mixed
-
Return values
array<string|int, mixed>
mapVatCalculations()
public
mapVatCalculations(mapVatCalculation $vatCalculations, mixed $userChargeBeeSubscriptions, mixed $acl[, mixed $userVatsDetected = null ][, array<string|int, mixed> $ids = [] ]) : array<string|int, mixed>
Parameters
-
$vatCalculations
: mapVatCalculation
-
-
$userChargeBeeSubscriptions
: mixed
-
-
$acl
: mixed
-
-
$userVatsDetected
: mixed
= null
-
-
$ids
: array<string|int, mixed>
= []
-
Return values
array<string|int, mixed>
OptOutStartDateMapper()
public
OptOutStartDateMapper(mixed $optOut) : mixed
Parameters
-
$optOut
: mixed
-
checkTaxIdDisabledByVatCalculation()
private
checkTaxIdDisabledByVatCalculation(mixed $vatCalculation) : mixed
Parameters
-
$vatCalculation
: mixed
-
checkVatidDisabledByVatCalculation()
private
checkVatidDisabledByVatCalculation(mixed $vatCalculation) : mixed
Parameters
-
$vatCalculation
: mixed
-
fillUserOptOuts()
private
fillUserOptOuts(mixed $userId) : mixed
Parameters
-
$userId
: mixed
-
fillUserPaymentReferenceNumbers()
private
fillUserPaymentReferenceNumbers(int $userId) : void
Parameters
-
$userId
: int
-
fillUserThresholdExceeded()
private
fillUserThresholdExceeded(mixed $userId) : mixed
Parameters
-
$userId
: mixed
-
getIsSuggested()
private
getIsSuggested(mixed $vatCalculation) : mixed
Parameters
-
$vatCalculation
: mixed
-
getPaymentReferenceNumber()
private
getPaymentReferenceNumber(mixed $vatCalculation) : string|null
Parameters
-
$vatCalculation
: mixed
-
Return values
string|null