| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090 |
- <?php
- namespace AppBundle\Entity\Billing;
- use AppBundle\Entity\AccessAndFunction\Access;
- use AppBundle\Entity\Organization\Organization;
- use Doctrine\Common\Collections\ArrayCollection;
- use Doctrine\ORM\Mapping as ORM;
- use Dunglas\ApiBundle\Annotation\Iri;
- use Symfony\Component\Serializer\Annotation\Groups;
- use Symfony\Component\Validator\Constraints as Assert;
- use AppBundle\Entity\Traits\TimestampableEntity;
- use AppBundle\Entity\Traits\CreatorUpdaterEntity;
- use AppBundle\Annotation\DefaultField;
- /**
- * Paramètres globaux d'une Organization concernant la facturation
- *
- * @Iri("http://schema.org/BillingSettings")
- */
- #[ORM\Entity]
- class BillingSetting
- {
- use TimestampableEntity;
- use CreatorUpdaterEntity;
- /**
- * @var int
- */
- #[ORM\Column(type: 'integer')]
- #[ORM\Id]
- #[ORM\GeneratedValue(strategy: 'AUTO')]
- #[Groups(['billingsetting'])]
- private $id;
- /**
- * @var Organization
- *
- * @DefaultField
- */
- #[ORM\OneToOne(targetEntity: 'AppBundle\Entity\Organization\Organization', inversedBy: 'billingSetting', fetch: 'EAGER')]
- #[ORM\JoinColumn(nullable: false)]
- #[Assert\NotNull]
- #[Groups(['billingsetting', 'parameters'])]
- private $organization;
- /**
- * @var string
- */
- #[ORM\Column(type: 'string', nullable: true)]
- #[Assert\Type(type: 'string')]
- #[Assert\Choice(callback: ['\AppBundle\Enum\Billing\PeriodicityEnum', 'toArray'])]
- #[Groups(['billingsetting'])]
- private $periodicity;
- /**
- * @var bool
- */
- #[ORM\Column(type: 'boolean', options: ['default' => false])]
- #[Assert\Type(type: 'boolean')]
- #[Assert\NotNull]
- #[Groups(['billingsetting'])]
- private $applyAdhesion = false;
- /**
- * @var array
- */
- #[ORM\Column(type: 'json_array', nullable: true)]
- #[Groups(['billingsetting'])]
- private $adhesion;
- /**
- * @var string
- */
- #[ORM\Column(type: 'string', nullable: true)]
- #[Assert\Type(type: 'string')]
- #[Assert\Choice(callback: ['\AppBundle\Enum\Billing\PeriodicityEnum', 'toArray'])]
- #[Groups(['billingsetting'])]
- private $adhesionPeriodicity;
- /**
- * @var int
- */
- #[ORM\Column(type: 'integer', nullable: true)]
- #[Assert\Type(type: 'integer', message: 'invalid-integer')]
- #[Groups(['billingsetting'])]
- private $paymentNumber;
- /**
- * @var ArrayCollection<ResidenceArea>
- */
- #[Assert\Valid]
- #[ORM\OneToMany(targetEntity: 'ResidenceArea', mappedBy: 'billingSetting', cascade: ['persist'], orphanRemoval: true)]
- #[Groups(['billingsetting_residencearea', 'parameters'])]
- private $residenceAreas;
- /**
- * @var bool
- */
- #[ORM\Column(type: 'boolean', options: ['default' => false])]
- #[Assert\Type(type: 'boolean')]
- #[Assert\NotNull]
- #[Groups(['billingsetting'])]
- private $applyVat = false;
- /**
- * @var float
- */
- #[ORM\Column(type: 'float', nullable: true)]
- #[Assert\Type(type: 'float')]
- #[Groups(['billingsetting'])]
- private $amountVat;
- /**
- * @var string
- *
- *
- */
- #[ORM\Column(type: 'text', nullable: true)]
- #[Assert\Type(type: 'string')]
- #[Groups(['billingsetting'])]
- private $headerMessage;
- /**
- * @var string
- *
- *
- */
- #[ORM\Column(type: 'text', nullable: true)]
- #[Assert\Type(type: 'string')]
- #[Groups(['billingsetting'])]
- private $footerMessage;
- /**
- * @var int
- */
- #[ORM\Column(type: 'integer', nullable: true)]
- #[Assert\Type(type: 'integer', message: 'invalid-integer')]
- #[Groups(['billingsetting'])]
- private $adultAgeLimit;
- /**
- * @var ArrayCollection<FamilyQuotient>
- */
- #[Assert\Valid]
- #[ORM\OneToMany(targetEntity: 'FamilyQuotient', mappedBy: 'billingSetting', cascade: ['persist'], orphanRemoval: true)]
- #[Groups(['billingsetting_familyquotient'])]
- private $familyQuotients;
- /**
- * @var array
- */
- #[ORM\Column(type: 'json_array', nullable: true)]
- #[Groups(['billingsetting'])]
- private $reductionTotalAmount;
- /**
- * @var array
- */
- #[ORM\Column(type: 'json_array', nullable: true)]
- #[Groups(['billingsetting'])]
- private $billLine;
- /**
- * @var string
- */
- #[ORM\Column(type: 'string', length: 10, nullable: true, options: ['default' => 'F'])]
- #[Assert\Type(type: 'string')]
- #[Assert\Length(max: 10, maxMessage: 'invalid-max-length')]
- #[Groups(['billingsetting'])]
- private $prefixBillNumber = "F";
- /**
- * @var int
- */
- #[ORM\Column(type: 'integer', nullable: true, options: ['default' => 6])]
- #[Groups(['billingsetting'])]
- private $digitsToDisplayBillNumber = 6;
- /**
- * @var int
- */
- #[ORM\Column(type: 'integer', nullable: true, options: ['default' => 1])]
- #[Groups(['billingsetting'])]
- private $initialBillNumber = 1;
- /**
- * @var string
- */
- #[ORM\Column(type: 'string', length: 10, nullable: true, options: ['default' => 'A'])]
- #[Assert\Type(type: 'string')]
- #[Assert\Length(max: 10, maxMessage: 'invalid-max-length')]
- #[Groups(['billingsetting'])]
- private $prefixBillCredit = "A";
- /**
- * @var int
- */
- #[ORM\Column(type: 'integer', nullable: true, options: ['default' => 6])]
- #[Groups(['billingsetting'])]
- private $digitsToDisplayBillCredit = 6;
- /**
- * @var int
- */
- #[ORM\Column(type: 'integer', nullable: true, options: ['default' => 1])]
- #[Groups(['billingsetting'])]
- private $initialCreditNumber = 1;
- /**
- * @var BillingSettingRent
- */
- #[Assert\Valid]
- #[ORM\OneToOne(targetEntity: 'AppBundle\Entity\Billing\BillingSettingRent', mappedBy: 'billingSetting', cascade: ['persist'], orphanRemoval: true, fetch: 'EAGER')]
- #[Groups(['billingsetting'])]
- private $billingSettingRent;
- /**
- * @var bool
- */
- #[ORM\Column(type: 'boolean', options: ['default' => false])]
- #[Assert\Type(type: 'boolean')]
- #[Assert\NotNull]
- #[Groups(['billingsetting'])]
- private $automaticFFECLicensing = false;
- /**
- * @var string
- */
- #[ORM\Column(type: 'string', nullable: true)]
- #[Assert\Type(type: 'string')]
- #[Assert\Choice(callback: ['\AppBundle\Enum\Billing\FamilyReductionTypeEnum', 'toArray'])]
- #[Groups(['billingsetting'])]
- private $familyReductionType;
- /**
- * @var bool
- */
- #[ORM\Column(type: 'boolean', options: ['default' => false])]
- #[Assert\Type(type: 'boolean')]
- #[Assert\NotNull]
- #[Groups(['billingsetting'])]
- private $lockBilling = false;
- /**
- * @var string
- */
- #[ORM\Column(type: 'string', options: ['default' => 'WITHOUT_ORDER'])]
- #[Assert\Type(type: 'string')]
- #[Assert\NotNull]
- #[Assert\Choice(callback: ['\AppBundle\Enum\Billing\OrderAdultTypeEnum', 'toArray'])]
- #[Groups(['billingsetting'])]
- private $orderAdultType = "WITHOUT_ORDER";
- /**
- * @var string
- */
- #[ORM\Column(type: 'string', options: ['default' => 'ONLY_AGE'])]
- #[Assert\Type(type: 'string')]
- #[Assert\NotNull]
- #[Assert\Choice(callback: ['\AppBundle\Enum\Billing\AdultConditionTypeEnum', 'toArray'])]
- #[Groups(['billingsetting'])]
- private $adultConditionType = "ONLY_AGE";
- /**
- * @var bool
- */
- #[ORM\Column(type: 'boolean', options: ['default' => true])]
- #[Assert\Type(type: 'boolean')]
- #[Assert\NotNull]
- #[Groups(['billingsetting'])]
- private $includeRentalInBilling = true;
- /**
- * @var string
- */
- #[ORM\Column(type: 'string', length: 7, nullable: true)]
- #[Assert\Length(max: 7, maxMessage: 'invalid-max-length')]
- #[Assert\Type(type: 'string')]
- #[Groups(['billingsetting'])]
- private $reductionTotalAccountingCode;
- /**
- * @var int
- */
- #[ORM\Column(type: 'integer', nullable: true)]
- #[Assert\Type(type: 'integer', message: 'invalid-integer')]
- #[Groups(['billingsetting'])]
- private $reductionTotalNature;
- /**
- * @var string
- */
- #[ORM\Column(type: 'string', length: 200, nullable: true)]
- #[Assert\Type(type: 'string')]
- #[Groups(['billingsetting'])]
- private $reductionTotalAccountingCodelabel;
- /**
- * @var float
- */
- #[ORM\Column(type: 'float', nullable: true, options: ['default' => '0.2'])]
- #[Assert\Type(type: 'float')]
- #[Groups(['billingsetting'])]
- private $amountMinorDifference = 0.2;
- /**
- * @var bool
- */
- #[ORM\Column(type: 'boolean', options: ['default' => false])]
- #[Assert\Type(type: 'boolean')]
- #[Assert\NotNull]
- #[Groups(['billingsetting'])]
- private $ignoreZeroTotalAmountExport = false;
- /**
- * @var int
- */
- #[ORM\Column(type: 'integer', nullable: false, options: ['default' => 1])]
- #[Assert\Type(type: 'integer', message: 'invalid-integer')]
- #[Assert\NotNull]
- #[Assert\Range(min: 1, max: 31, minMessage: 'valeur minimum: {{ limit }}', maxMessage: 'valeur maximale: {{ limit }}')]
- #[Groups(['billingsetting'])]
- private $dayOfMonthBillPayments = 1;
- /**
- * Constructor
- */
- public function __construct()
- {
- $this->residenceAreas = new ArrayCollection();
- $this->familyQuotients = new ArrayCollection();
- }
- /**
- * Sets id.
- *
- * @param int $id
- *
- * @return $this
- */
- public function setId($id)
- {
- $this->id = $id;
- return $this;
- }
- /**
- * Gets id.
- *
- * @return int
- */
- public function getId()
- {
- return $this->id;
- }
- /**
- * Set periodicity
- *
- * @param string $periodicity
- *
- * @return BillingSetting
- */
- public function setPeriodicity($periodicity)
- {
- $this->periodicity = $periodicity;
- return $this;
- }
- /**
- * Get periodicity
- *
- * @return string
- */
- public function getPeriodicity()
- {
- return $this->periodicity;
- }
- /**
- * Set adhesion
- *
- * @param array $adhesion
- *
- * @return BillingSetting
- */
- public function setAdhesion($adhesion)
- {
- $this->adhesion = $adhesion;
- return $this;
- }
- /**
- * Get adhesion
- *
- * @return array
- */
- public function getAdhesion()
- {
- return $this->adhesion;
- }
- /**
- * Set paymentNumber
- *
- * @param integer $paymentNumber
- *
- * @return BillingSetting
- */
- public function setPaymentNumber($paymentNumber)
- {
- $this->paymentNumber = $paymentNumber;
- return $this;
- }
- /**
- * Get paymentNumber
- *
- * @return integer
- */
- public function getPaymentNumber()
- {
- return $this->paymentNumber;
- }
- /**
- * Set applyVat
- *
- * @param boolean $applyVat
- *
- * @return BillingSetting
- */
- public function setApplyVat($applyVat)
- {
- $this->applyVat = $applyVat;
- return $this;
- }
- /**
- * Get applyVat
- *
- * @return boolean
- */
- public function getApplyVat()
- {
- return $this->applyVat;
- }
- /**
- * Set amountVat
- *
- * @param float $amountVat
- *
- * @return BillingSetting
- */
- public function setAmountVat($amountVat)
- {
- $this->amountVat = floatval($amountVat);
- return $this;
- }
- /**
- * Get amountVat
- *
- * @return float
- */
- public function getAmountVat()
- {
- return $this->amountVat;
- }
- /**
- * Set headerMessage
- *
- * @param string $headerMessage
- *
- * @return BillingSetting
- */
- public function setHeaderMessage($headerMessage)
- {
- $this->headerMessage = str_replace(' ', ' ', $headerMessage);
- return $this;
- }
- /**
- * Get headerMessage
- *
- * @return string
- */
- public function getHeaderMessage()
- {
- return $this->headerMessage;
- }
- /**
- * Set footerMessage
- *
- * @param string $footerMessage
- *
- * @return BillingSetting
- */
- public function setFooterMessage($footerMessage)
- {
- $this->footerMessage = str_replace(' ', ' ', $footerMessage);
- return $this;
- }
- /**
- * Get footerMessage
- *
- * @return string
- */
- public function getFooterMessage()
- {
- return $this->footerMessage;
- }
- /**
- * Add residenceArea
- *
- * @param \AppBundle\Entity\Billing\ResidenceArea $residenceArea
- *
- * @return BillingSetting
- */
- public function addResidenceArea(\AppBundle\Entity\Billing\ResidenceArea $residenceArea)
- {
- $residenceArea->setBillingSetting($this);
- $this->residenceAreas[] = $residenceArea;
- return $this;
- }
- /**
- * Remove residenceArea
- *
- * @param \AppBundle\Entity\Billing\ResidenceArea $residenceArea
- */
- public function removeResidenceArea(\AppBundle\Entity\Billing\ResidenceArea $residenceArea)
- {
- $this->residenceAreas->removeElement($residenceArea);
- }
- /**
- * Get residenceAreas
- *
- * @return \Doctrine\Common\Collections\Collection
- */
- public function getResidenceAreas()
- {
- return $this->residenceAreas;
- }
- /**
- * Set organization
- *
- * @param \AppBundle\Entity\Organization\Organization $organization
- *
- * @return BillingSetting
- */
- public function setOrganization(\AppBundle\Entity\Organization\Organization $organization)
- {
- $this->organization = $organization;
- return $this;
- }
- /**
- * Get organization
- *
- * @return \AppBundle\Entity\Organization\Organization
- */
- public function getOrganization()
- {
- return $this->organization;
- }
- /**
- * Add familyQuotient
- *
- * @param \AppBundle\Entity\Billing\FamilyQuotient $familyQuotient
- *
- * @return BillingSetting
- */
- public function addFamilyQuotient(\AppBundle\Entity\Billing\FamilyQuotient $familyQuotient)
- {
- $familyQuotient->setBillingSetting($this);
- $this->familyQuotients[] = $familyQuotient;
- return $this;
- }
- /**
- * Remove familyQuotient
- *
- * @param \AppBundle\Entity\Billing\FamilyQuotient $familyQuotient
- */
- public function removeFamilyQuotient(\AppBundle\Entity\Billing\FamilyQuotient $familyQuotient)
- {
- $this->familyQuotients->removeElement($familyQuotient);
- }
- /**
- * Get familyQuotients
- *
- * @return \Doctrine\Common\Collections\Collection
- */
- public function getFamilyQuotients()
- {
- return $this->familyQuotients;
- }
- /**
- * Set reductionTotalAmount
- *
- * @param array $reductionTotalAmount
- *
- * @return BillingSetting
- */
- public function setReductionTotalAmount($reductionTotalAmount)
- {
- $this->reductionTotalAmount = $reductionTotalAmount;
- return $this;
- }
- /**
- * Get reductionTotalAmount
- *
- * @return array
- */
- public function getReductionTotalAmount()
- {
- return $this->reductionTotalAmount;
- }
- /**
- * Set billLine
- *
- * @param array $billLine
- *
- * @return BillingSetting
- */
- public function setBillLine($billLine)
- {
- $this->billLine = $billLine;
- return $this;
- }
- /**
- * Get billLine
- *
- * @return array
- */
- public function getBillLine()
- {
- return $this->billLine;
- }
- /**
- * Set initialBillNumber
- *
- * @param integer $initialBillNumber
- *
- * @return BillingSetting
- */
- public function setInitialBillNumber($initialBillNumber)
- {
- $this->initialBillNumber = $initialBillNumber;
- return $this;
- }
- /**
- * Get initialBillNumber
- *
- * @return integer
- */
- public function getInitialBillNumber()
- {
- return $this->initialBillNumber;
- }
- /**
- * Set initialCreditNumber
- *
- * @param integer $initialCreditNumber
- *
- * @return BillingSetting
- */
- public function setInitialCreditNumber($initialCreditNumber)
- {
- $this->initialCreditNumber = $initialCreditNumber;
- return $this;
- }
- /**
- * Get initialCreditNumber
- *
- * @return integer
- */
- public function getInitialCreditNumber()
- {
- return $this->initialCreditNumber;
- }
- /**
- * Set billingSettingRent
- *
- * @param \AppBundle\Entity\Billing\BillingSettingRent $billingSettingRent
- *
- * @return BillingSetting
- */
- public function setBillingSettingRent(\AppBundle\Entity\Billing\BillingSettingRent $billingSettingRent = null)
- {
- if (null !== $billingSettingRent) {
- $billingSettingRent->setBillingSetting($this);
- $this->billingSettingRent = $billingSettingRent;
- }
- return $this;
- }
- /**
- * Get billingSettingRent
- *
- * @return \AppBundle\Entity\Billing\BillingSettingRent
- */
- public function getBillingSettingRent()
- {
- return $this->billingSettingRent;
- }
- /**
- * Set adultAgeLimit
- *
- * @param integer $adultAgeLimit
- *
- * @return BillingSetting
- */
- public function setAdultAgeLimit($adultAgeLimit)
- {
- $this->adultAgeLimit = intval($adultAgeLimit);
- return $this;
- }
- /**
- * Get adultAgeLimit
- *
- * @return integer
- */
- public function getAdultAgeLimit()
- {
- return $this->adultAgeLimit;
- }
- /**
- * Set adhesionPeriodicity
- *
- * @param string $adhesionPeriodicity
- *
- * @return BillingSetting
- */
- public function setAdhesionPeriodicity($adhesionPeriodicity)
- {
- $this->adhesionPeriodicity = $adhesionPeriodicity;
- return $this;
- }
- /**
- * Get adhesionPeriodicity
- *
- * @return string
- */
- public function getAdhesionPeriodicity()
- {
- return $this->adhesionPeriodicity;
- }
- /**
- * Set automaticFFECLicensing
- *
- * @param boolean $automaticFFECLicensing
- *
- * @return BillingSetting
- */
- public function setAutomaticFFECLicensing($automaticFFECLicensing)
- {
- $this->automaticFFECLicensing = $automaticFFECLicensing;
- return $this;
- }
- /**
- * Get automaticFFECLicensing
- *
- * @return boolean
- */
- public function getAutomaticFFECLicensing()
- {
- return $this->automaticFFECLicensing;
- }
- /**
- * Set familyReductionType
- *
- * @param string $familyReductionType
- *
- * @return BillingSetting
- */
- public function setFamilyReductionType($familyReductionType)
- {
- $this->familyReductionType = $familyReductionType;
- return $this;
- }
- /**
- * Get familyReductionType
- *
- * @return string
- */
- public function getFamilyReductionType()
- {
- return $this->familyReductionType;
- }
- /**
- * Set prefixBillNumber
- *
- * @param string $prefixBillNumber
- *
- * @return BillingSetting
- */
- public function setPrefixBillNumber($prefixBillNumber)
- {
- $this->prefixBillNumber = $prefixBillNumber;
- return $this;
- }
- /**
- * Get prefixBillNumber
- *
- * @return string
- */
- public function getPrefixBillNumber()
- {
- return $this->prefixBillNumber;
- }
- /**
- * Set digitsToDisplayBillNumber
- *
- * @param integer $digitsToDisplayBillNumber
- *
- * @return BillingSetting
- */
- public function setDigitsToDisplayBillNumber($digitsToDisplayBillNumber)
- {
- $this->digitsToDisplayBillNumber = intval($digitsToDisplayBillNumber);
- return $this;
- }
- /**
- * Get digitsToDisplayBillNumber
- *
- * @return integer
- */
- public function getDigitsToDisplayBillNumber()
- {
- return $this->digitsToDisplayBillNumber;
- }
- /**
- * Set prefixBillCredit
- *
- * @param string $prefixBillCredit
- *
- * @return BillingSetting
- */
- public function setPrefixBillCredit($prefixBillCredit)
- {
- $this->prefixBillCredit = $prefixBillCredit;
- return $this;
- }
- /**
- * Get prefixBillCredit
- *
- * @return string
- */
- public function getPrefixBillCredit()
- {
- return $this->prefixBillCredit;
- }
- /**
- * Set digitsToDisplayBillCredit
- *
- * @param integer $digitsToDisplayBillCredit
- *
- * @return BillingSetting
- */
- public function setDigitsToDisplayBillCredit($digitsToDisplayBillCredit)
- {
- $this->digitsToDisplayBillCredit = intval($digitsToDisplayBillCredit);
- return $this;
- }
- /**
- * Get digitsToDisplayBillCredit
- *
- * @return integer
- */
- public function getDigitsToDisplayBillCredit()
- {
- return $this->digitsToDisplayBillCredit;
- }
- /**
- * Set lockBilling
- *
- * @param boolean $lockBilling
- *
- * @return BillingSetting
- */
- public function setLockBilling($lockBilling)
- {
- $this->lockBilling = $lockBilling;
- return $this;
- }
- /**
- * Get lockBilling
- *
- * @return boolean
- */
- public function getLockBilling()
- {
- return $this->lockBilling;
- }
- /**
- * Set orderAdultType
- *
- * @param string $orderAdultType
- *
- * @return BillingSetting
- */
- public function setOrderAdultType($orderAdultType)
- {
- $this->orderAdultType = $orderAdultType;
- return $this;
- }
- /**
- * Get orderAdultType
- *
- * @return string
- */
- public function getOrderAdultType()
- {
- return $this->orderAdultType;
- }
- /**
- * Set adultConditionType
- *
- * @param string $adultConditionType
- *
- * @return BillingSetting
- */
- public function setAdultConditionType($adultConditionType)
- {
- $this->adultConditionType = $adultConditionType;
- return $this;
- }
- /**
- * Get adultConditionType
- *
- * @return string
- */
- public function getAdultConditionType()
- {
- return $this->adultConditionType;
- }
- /**
- * Set applyAdhesion
- *
- * @param boolean $applyAdhesion
- *
- * @return BillingSetting
- */
- public function setApplyAdhesion($applyAdhesion)
- {
- $this->applyAdhesion = $applyAdhesion;
- return $this;
- }
- /**
- * Get applyAdhesion
- *
- * @return boolean
- */
- public function getApplyAdhesion()
- {
- return $this->applyAdhesion;
- }
- /**
- * Set includeRentalInBilling
- *
- * @param boolean $includeRentalInBilling
- *
- * @return BillingSetting
- */
- public function setIncludeRentalInBilling($includeRentalInBilling)
- {
- $this->includeRentalInBilling = $includeRentalInBilling;
- return $this;
- }
- /**
- * Get includeRentalInBilling
- *
- * @return boolean
- */
- public function getIncludeRentalInBilling()
- {
- return $this->includeRentalInBilling;
- }
- /**
- * Set reductionTotalAccountingCode
- *
- * @param string $reductionTotalAccountingCode
- *
- * @return BillingSetting
- */
- public function setReductionTotalAccountingCode($reductionTotalAccountingCode)
- {
- $this->reductionTotalAccountingCode = $reductionTotalAccountingCode;
- return $this;
- }
- /**
- * Get reductionTotalAccountingCode
- *
- * @return string
- */
- public function getReductionTotalAccountingCode()
- {
- return $this->reductionTotalAccountingCode;
- }
- /**
- * Set reductionTotalNature
- *
- * @param integer $reductionTotalNature
- *
- * @return BillingSetting
- */
- public function setReductionTotalNature($reductionTotalNature)
- {
- $this->reductionTotalNature = $reductionTotalNature;
- return $this;
- }
- /**
- * Get reductionTotalNature
- *
- * @return integer
- */
- public function getReductionTotalNature()
- {
- return $this->reductionTotalNature;
- }
- /**
- * Set reductionTotalAccountingCodelabel
- *
- * @param string $reductionTotalAccountingCodelabel
- *
- * @return BillingSetting
- */
- public function setReductionTotalAccountingCodelabel($reductionTotalAccountingCodelabel)
- {
- $this->reductionTotalAccountingCodelabel = $reductionTotalAccountingCodelabel;
- return $this;
- }
- /**
- * Get reductionTotalAccountingCodelabel
- *
- * @return string
- */
- public function getReductionTotalAccountingCodelabel()
- {
- return $this->reductionTotalAccountingCodelabel;
- }
- /**
- * Set amountMinorDifference
- *
- * @param float $amountMinorDifference
- *
- * @return BillingSetting
- */
- public function setAmountMinorDifference($amountMinorDifference)
- {
- $this->amountMinorDifference = floatval($amountMinorDifference);
- return $this;
- }
- /**
- * Get amountMinorDifference
- *
- * @return float
- */
- public function getAmountMinorDifference()
- {
- return $this->amountMinorDifference;
- }
- /**
- * Set ignoreZeroTotalAmountExport
- *
- * @param boolean $ignoreZeroTotalAmountExport
- *
- * @return BillingSetting
- */
- public function setIgnoreZeroTotalAmountExport($ignoreZeroTotalAmountExport)
- {
- $this->ignoreZeroTotalAmountExport = $ignoreZeroTotalAmountExport;
- return $this;
- }
- /**
- * Get ignoreZeroTotalAmountExport
- *
- * @return boolean
- */
- public function getIgnoreZeroTotalAmountExport()
- {
- return $this->ignoreZeroTotalAmountExport;
- }
- /**
- * Set dayOfMonthBillPayments
- *
- * @param integer $dayOfMonthBillPayments
- *
- * @return BillingSetting
- */
- public function setDayOfMonthBillPayments($dayOfMonthBillPayments)
- {
- $this->dayOfMonthBillPayments = $dayOfMonthBillPayments;
- return $this;
- }
- /**
- * Get dayOfMonthBillPayments
- *
- * @return integer
- */
- public function getDayOfMonthBillPayments()
- {
- return $this->dayOfMonthBillPayments;
- }
- }
|