Documentation

VatRegistrationCountryEntity
in package
implements JsonSerializable

Table of Contents

Interfaces

JsonSerializable

Properties

$availableEndDate  : DateTime|null
$country  : Country
$hasFiscalRepresentationRestriction  : bool
$hasSubscription  : bool
$isHomeCountry  : bool
$monthlyMandatoryAddons  : array<string|int, AddonEntity>|null
$monthlyPlans  : array<string|int, ChargeBeePlanEntity>|null
$standaloveVatRegistrationEnabled  : mixed
$subscriptionStartDate  : string|null
$suggestVatRegistration  : bool
$thresholdDate  : string|null
$vatCalculationStartDate  : string|null
$vatRegistered  : bool
$yearlyMandatoryAddons  : array<string|int, AddonEntity>|null
$yearlyPlans  : array<string|int, ChargeBeePlanEntity>|null

Methods

getAvailableEndDate()  : DateTime|null
getCountry()  : Country
Get the value of country
getEnableVatRegistration()  : bool
getForceThresholdDate()  : mixed
getHasFiscalRepresentationRestriction()  : bool
getHasSubscription()  : bool
Get the value of hasSubscription
getIsEnabledVatRegistration()  : bool
Get the value of suggestVatRegistration
getIsHomeCountry()  : bool
Get the value of isHomeCountry
getIsSuggested()  : bool
Get the value of isSuggested
getMandatoryAddonsByPeriodUnitId()  : array<string|int, AddonEntity>
getMaxDate()  : mixed
getMinDate()  : mixed
getMonthlyMandatoryAddons()  : array<string|int, AddonEntity>|null
Get the value of monthlyMandatoryAddons
getMonthlyPlans()  : array<string|int, ChargeBeePlanEntity>|null
Get the value of monthlyPlans
getPlanValues()  : mixed
getStartDate()  : string|null
Get the value of startDate
getSubscriptionStartDate()  : string|null
Get the value of subscriptionStartDate
getThresholdDate()  : string|null
getVatCalculationStartDate()  : string|null
Get the value of vatCalculationStartDate
getYearlyMandatoryAddons()  : array<string|int, AddonEntity>|null
Get the value of yearlyMandatoryAddons
getYearlyPlans()  : array<string|int, ChargeBeePlanEntity>|null
Get the value of yearlyPlans
isDisabled()  : mixed
isStandaloneVatRegistrationEnabled()  : bool
isVatRegistered()  : bool
jsonSerialize()  : array<string|int, mixed>
setAvailableEndDate()  : void
setCountry()  : self
Set the value of country
setHasFiscalRepresentationRestriction()  : void
setHasSubscription()  : self
Set the value of hasSubscription
setIsHomeCountry()  : self
Set the value of isHomeCountry
setMandatoryAddonsMonthly()  : self
Set the value of monthlyMandatoryAddons
setMandatoryAddonsYearly()  : self
Set the value of yearlyMandatoryAddon
setPlanMonthly()  : self
Set the value of monthlyPlans
setPlanYearly()  : self
Set the value of yearlyPlans
setStandaloneVatRegistrationEnabled()  : mixed
setSubscriptionStartDate()  : self
Set the value of subscriptionStartDate
setSuggestVatRegistration()  : self
Set the value of suggestVatRegistration
setThresholdDate()  : self
setVatCalculationStartDate()  : self
Set the value of vatCalculationStartDate
setVatRegistered()  : void
formatPlan()  : array<string|int, mixed>|null
getFirstDateOf()  : mixed
getLastDateOf()  : mixed

Properties

Methods

getIsEnabledVatRegistration()

Get the value of suggestVatRegistration

public getIsEnabledVatRegistration() : bool
Return values
bool

getMandatoryAddonsByPeriodUnitId()

public getMandatoryAddonsByPeriodUnitId(string $group, int $periodUnitId) : array<string|int, AddonEntity>
Parameters
$group : string
$periodUnitId : int
Return values
array<string|int, AddonEntity>

getSubscriptionStartDate()

Get the value of subscriptionStartDate

public getSubscriptionStartDate() : string|null
Return values
string|null

getVatCalculationStartDate()

Get the value of vatCalculationStartDate

public getVatCalculationStartDate() : string|null
Return values
string|null

setAvailableEndDate()

public setAvailableEndDate(DateTime|null $availableEndDate) : void
Parameters
$availableEndDate : DateTime|null

setHasFiscalRepresentationRestriction()

public setHasFiscalRepresentationRestriction(bool $hasFiscalRepresentationRestriction) : void
Parameters
$hasFiscalRepresentationRestriction : bool

setHasSubscription()

Set the value of hasSubscription

public setHasSubscription(bool $hasSubscription) : self
Parameters
$hasSubscription : bool
Return values
self

setIsHomeCountry()

Set the value of isHomeCountry

public setIsHomeCountry(bool $isHomeCountry) : self
Parameters
$isHomeCountry : bool
Return values
self

setMandatoryAddonsMonthly()

Set the value of monthlyMandatoryAddons

public setMandatoryAddonsMonthly(string|null $group, array<string|int, AddonEntity>|null $monthlyMandatoryAddons) : self
Parameters
$group : string|null
$monthlyMandatoryAddons : array<string|int, AddonEntity>|null
Return values
self

setMandatoryAddonsYearly()

Set the value of yearlyMandatoryAddon

public setMandatoryAddonsYearly(string|null $group, mixed $yearlyMandatoryAddon) : self
Parameters
$group : string|null
$yearlyMandatoryAddon : mixed
Return values
self

setStandaloneVatRegistrationEnabled()

public setStandaloneVatRegistrationEnabled(bool $enabled) : mixed
Parameters
$enabled : bool

setSubscriptionStartDate()

Set the value of subscriptionStartDate

public setSubscriptionStartDate(string|null $subscriptionStartDate) : self
Parameters
$subscriptionStartDate : string|null
Return values
self

setSuggestVatRegistration()

Set the value of suggestVatRegistration

public setSuggestVatRegistration(bool $suggestVatRegistration) : self
Parameters
$suggestVatRegistration : bool
Return values
self

setThresholdDate()

public setThresholdDate(string|null $thresholdDate) : self
Parameters
$thresholdDate : string|null
Return values
self

setVatCalculationStartDate()

Set the value of vatCalculationStartDate

public setVatCalculationStartDate(string|null $vatCalculationStartDate) : self
Parameters
$vatCalculationStartDate : string|null
Return values
self

formatPlan()

private formatPlan(mixed $plan, mixed $mandatoryAddon) : array<string|int, mixed>|null
Parameters
$plan : mixed
$mandatoryAddon : mixed
Return values
array<string|int, mixed>|null

        
On this page

Search results