src/Model/Bubble.php line 11

Open in your IDE?
  1. <?php
  2. namespace App\Model;
  3. use App\Model\User;
  4. use Doctrine\Common\Collections\Collection;
  5. use Doctrine\Common\Collections\ArrayCollection;
  6. use Symfony\Component\Serializer\Annotation\Groups;
  7. class Bubble
  8. {
  9.     /**
  10.      * bUuid
  11.      *
  12.      * @var mixed
  13.      * 
  14.      * @Groups({"getuser:login"})
  15.      */
  16.     private $bUuid;
  17.     /**
  18.      * bId
  19.      *
  20.      * @var mixed
  21.      * 
  22.      * @Groups({"getuser:login"})
  23.      */
  24.     private $bId;
  25.     /**
  26.      * bName
  27.      *
  28.      * @var mixed
  29.      * 
  30.      * @Groups({"getuser:login"})
  31.      */
  32.     private $bName;
  33.     /**
  34.      * bUsersCounter
  35.      *
  36.      * @var mixed
  37.      */
  38.     private $bUsersCounter;
  39.     /**
  40.      * bWalletAddress
  41.      *
  42.      * @var mixed
  43.      */
  44.     private $bWalletAddress;
  45.     /**
  46.      * bWalletPassword
  47.      *
  48.      * @var mixed
  49.      */
  50.     private $bWalletPassword;
  51.     /**
  52.      * bScAddress
  53.      *
  54.      * @var mixed
  55.      */
  56.     private $bScAddress;
  57.     /**
  58.      * bCreationDate
  59.      *
  60.      * @var mixed
  61.      */
  62.     private $bCreationDate;
  63.     /**
  64.      * bUpdateDate
  65.      *
  66.      * @var mixed
  67.      */
  68.     private $bUpdateDate;
  69.     /**
  70.      * bIsActive
  71.      *
  72.      * @var mixed
  73.      * 
  74.      * @Groups({"getuser:login"})
  75.      */
  76.     private $bIsActive;
  77.     /**
  78.      * users
  79.      *
  80.      * @var mixed
  81.      */
  82.     private $users;
  83.     /**
  84.      * plans
  85.      *
  86.      * @var mixed
  87.      */
  88.     private $plans;
  89.     /**
  90.      * printers
  91.      *
  92.      * @var mixed
  93.      */
  94.     private $printers;
  95.     /**
  96.      * jobOrders
  97.      *
  98.      * @var mixed
  99.      */
  100.     private $jobOrders;
  101.     /**
  102.      * industrials
  103.      *
  104.      * @var mixed
  105.      */
  106.     private $industrials;
  107.     /**
  108.      * bShareProdPath
  109.      *
  110.      * @var mixed
  111.      */
  112.     private $bShareProdPath;
  113.     /**
  114.      * bShareProdUser
  115.      *
  116.      * @var mixed
  117.      */
  118.     private $bShareProdUser;
  119.     /**
  120.      * bShareProdPwd
  121.      *
  122.      * @var mixed
  123.      */
  124.     private $bShareProdPwd;
  125.     /**
  126.      * bShareTempPath
  127.      *
  128.      * @var mixed
  129.      */
  130.     private $bShareTempPath;
  131.     /**
  132.      * bShareTempUser
  133.      *
  134.      * @var mixed
  135.      */
  136.     private $bShareTempUser;
  137.  
  138.     /**
  139.      * bShareTempPwd
  140.      *
  141.      * @var mixed
  142.      */
  143.     private $bShareTempPwd;
  144.     /**
  145.      * bShareAddedAt
  146.      *
  147.      * @var mixed
  148.      */
  149.     private $bShareAddedAt;
  150.     /**
  151.      * bShareUpdateAt
  152.      *
  153.      * @var mixed
  154.      */
  155.     private $bShareUpdateAt;
  156.      /**
  157.      * 
  158.      */
  159.     private $bAddress;
  160.      /**
  161.      * 
  162.      */
  163.     private $bPostalCode;
  164.      /**
  165.      * 
  166.      */
  167.     private $bCityName;
  168.     /**
  169.      * 
  170.      */
  171.     private $bCountry;
  172.     /**
  173.      * 
  174.      */
  175.     private $bStripeCusId;
  176.     /**
  177.      * 
  178.      */
  179.     private $bPrintCounter;
  180.     /**
  181.      * 
  182.      */
  183.     private $bAbiPath;
  184.     /**
  185.      * 
  186.      */
  187.     private $isAdValorem;
  188.     /**
  189.      * 
  190.      */
  191.     private $isFlatFee;
  192.     private $isQcUpdatable;
  193.     /**
  194.      * @Groups({"deserialize"})
  195.      */
  196.     private $numberCredit;
  197.     /**
  198.      * @Groups({"deserialize"})
  199.      */
  200.     private $creditValue;
  201.     /**
  202.      * @Groups({"deserialize"})
  203.      */
  204.     private $adValorem;
  205.     
  206.     /**
  207.      * __construct
  208.      *
  209.      * @return void
  210.      */
  211.     public function __construct()
  212.     {
  213.         $this->plans = new ArrayCollection();
  214.         $this->users = new ArrayCollection();
  215.         $this->printers = new ArrayCollection();
  216.         $this->jobOrders = new ArrayCollection();
  217.         $this->industrials = new ArrayCollection();
  218.     }
  219.     
  220.     /**
  221.      * getUsers
  222.      *
  223.      * @return Collection|User[]
  224.      */
  225.     public function getUsers(): Collection
  226.     {
  227.         return $this->users;
  228.     }
  229.     
  230.     /**
  231.      * addUser
  232.      *
  233.      * @param  mixed $user
  234.      * @return self
  235.      */
  236.     public function addUser(User $user): self
  237.     {
  238.         if (!$this->users->contains($user)) {
  239.             $this->users[] = $user;
  240.             $user->addBubble($this);
  241.         }
  242.         return $this;
  243.     }
  244.    
  245.     /**
  246.      * getPlans
  247.      *
  248.      * @return Collection|Plan[]
  249.      */
  250.     public function getPlans(): Collection
  251.     {
  252.         return $this->plans;
  253.     }
  254.     
  255.     /**
  256.      * addPlan
  257.      *
  258.      * @param  mixed $plan
  259.      * @return self
  260.      */
  261.     public function addPlan(Plan $plan): self
  262.     {
  263.         $control '1';
  264.         if(!empty($this -> plans)){
  265.             foreach($this -> plans as $pl){
  266.                 if($pl -> getPlanId() == $plan -> getPlanId()){
  267.                     $control '0';
  268.                 }
  269.             }
  270.         }
  271.         
  272.         if($control !== '0'){
  273.             $this->plans[] = $plan;
  274.             $plan->setBubble($this);
  275.         }
  276.         return $this;
  277.     }
  278.     
  279.     /**
  280.      * removePlan
  281.      *
  282.      * @param  mixed $plan
  283.      * @return self
  284.      */
  285.     public function removePlan(Plan $plan): self
  286.     {
  287.         if ($this->plans->contains($plan)) {
  288.             $this->plans->removeElement($plan);
  289.             // set the owning side to null (unless already changed)
  290.             if ($plan->getBubble() === $this) {
  291.                 $plan->setBubble(null);
  292.             }
  293.         }
  294.         return $this;
  295.     }
  296.  
  297.     /**
  298.      * getPrinters
  299.      *
  300.      * @return Collection|Printer[]
  301.      */
  302.     public function getPrinters(): Collection
  303.     {
  304.         return $this->printers;
  305.     }
  306.     
  307.     /**
  308.      * addPrinters
  309.      *
  310.      * @param  mixed $printer
  311.      * @return self
  312.      */
  313.     public function addPrinters(Printer $printer): self
  314.     {
  315.         $control '1';
  316.         if(!empty($this -> printers)){
  317.             foreach($this -> printers as $pr){
  318.                 if($pr -> getPrinterId() == $printer -> getPrinterId()){
  319.                     $control '0';
  320.                 }
  321.             }
  322.         }
  323.         
  324.         if($control !== '0'){
  325.             $this->printers[] = $printer;
  326.             $printer->setBubble($this);
  327.         }
  328.         return $this;
  329.     }
  330.     
  331.     /**
  332.      * removePrinter
  333.      *
  334.      * @param  mixed $printer
  335.      * @return self
  336.      */
  337.     public function removePrinter(Printer $printer): self
  338.     {
  339.         if ($this->printer->contains($printer)) {
  340.             $this->printer->removeElement($printer);
  341.             // set the owning side to null (unless already changed)
  342.             if ($printer->getBubble() === $this) {
  343.                 $printer->setBubble(null);
  344.             }
  345.         }
  346.         return $this;
  347.     }
  348.     /**
  349.      * getjobOrders
  350.      *
  351.      * @return Collection|JobOrder[]
  352.      */
  353.     public function getJobOrders(): Collection
  354.     {
  355.         return $this->jobOrders;
  356.     }
  357.     
  358.     /**
  359.      * addJobOrders
  360.      *
  361.      * @param  mixed $jobOrder
  362.      * @return self
  363.      */
  364.     public function addJobOrders(JobOrder $jobOrder): self
  365.     {
  366.         $control '1';
  367.         if(!empty($this -> jobOrders)){
  368.             foreach($this -> jobOrders as $jo){
  369.                 if($jo -> getJobOrderId() == $jobOrder -> getJobOrderId()){
  370.                     $control '0';
  371.                 }
  372.             }
  373.         }
  374.         
  375.         if($control !== '0'){
  376.             $this->jobOrders[] = $jobOrder;
  377.             $jobOrder->setBubble($this);
  378.         }
  379.         return $this;
  380.     }
  381.     
  382.     /**
  383.      * removeJobOrder
  384.      *
  385.      * @param  mixed $jobOrder
  386.      * @return self
  387.      */
  388.     public function removeJobOrder(JobOrder $jobOrder): self
  389.     {
  390.         if ($this->jobOrder->contains($jobOrder)) {
  391.             $this->jobOrder->removeElement($jobOrder);
  392.             // set the owning side to null (unless already changed)
  393.             if ($jobOrder->getBubble() === $this) {
  394.                 $jobOrder->setBubble(null);
  395.             }
  396.         }
  397.         return $this;
  398.     }
  399.     /**
  400.      * getIndustrials
  401.      *
  402.      * @return Collection|Industrial[]
  403.      */
  404.     public function getIndustrials(): Collection
  405.     {
  406.         return $this->industrials;
  407.     }
  408.     
  409.     /**
  410.      * addIndustrial
  411.      *
  412.      * @param  mixed $industrial
  413.      * @return self
  414.      */
  415.     public function addIndustrial(Industrial $industrial) : self
  416.     {
  417.         $control '1';
  418.         if(!empty($this -> industrials)){
  419.             foreach($this -> industrials as $ind){
  420.                 if($ind -> getIndId() == $industrial -> getIndId()){
  421.                     $control '0';
  422.                 }
  423.             }
  424.         }
  425.         
  426.         if($control !== '0'){
  427.             $this->industrials[] = $industrial;
  428.         }
  429.         return $this;
  430.     }
  431.     
  432.     /**
  433.      * removeIndustrial
  434.      *
  435.      * @param  mixed $industrial
  436.      * @return self
  437.      */
  438.     public function removeIndustrial(Industrial $industrial): self
  439.     {
  440.         if ($this->industrials->contains($industrial)) {
  441.             $this->industrials->removeElement($industrial);
  442.             // set the owning side to null (unless already changed)
  443.             if ($industrial->getBubble() === $this) {
  444.                 $industrial->setBubble(null);
  445.             }
  446.         }
  447.         return $this;
  448.     }
  449.     /**
  450.      * getbUuid
  451.      *
  452.      * @return void
  453.      */
  454.     public function getBuuid()
  455.     {
  456.         return $this->bUuid;
  457.     }
  458.     /**
  459.      * setbUuid
  460.      * 
  461.      * @param  mixed $bUuid
  462.      * @return void
  463.      */
  464.     public function setBuuid($bUuid)
  465.     {
  466.         $this->bUuid $bUuid;
  467.         return $this;
  468.     }
  469.     /**
  470.      * getBId
  471.      *
  472.      * @return void
  473.      */
  474.     public function getBId()
  475.     {
  476.         return $this->bId;
  477.     }
  478.     /**
  479.      * setBId
  480.      *
  481.      * @param  mixed $bId
  482.      * @return void
  483.      */
  484.     public function setBId($bId)
  485.     {
  486.         $this->bId $bId;
  487.         return $this;
  488.     }
  489.     /**
  490.      * getBName
  491.      *
  492.      * @return void
  493.      */
  494.     public function getBName()
  495.     {
  496.         return $this->bName;
  497.     }
  498.     public function getBubbleName()
  499.     {
  500.         return $this->bName;
  501.     }
  502.     /**
  503.      * setBName
  504.      *
  505.      * @param  mixed $bName
  506.      * @return void
  507.      */
  508.     /**
  509.      * @param $bName
  510.      * @return $this
  511.      */
  512.     public function setBName($bName)
  513.     {
  514.         $this->bName $bName;
  515.         return $this;
  516.     }
  517.        
  518.     /**
  519.      * getBUsersCounter
  520.      *
  521.      * @return void
  522.      */
  523.     public function getBUsersCounter()
  524.     {
  525.         return $this->bUsersCounter;
  526.     }
  527.     /**
  528.      * Set the value of bUsersCounter
  529.      *
  530.      * @return  self
  531.      */ 
  532.     public function setBUsersCounter($bUsersCounter)
  533.     {
  534.         $this->bUsersCounter $bUsersCounter;
  535.         return $this;
  536.     }
  537.     /**
  538.      * Get the value of bWalletAddress
  539.      */ 
  540.     public function getBWalletAddress()
  541.     {
  542.         return $this->bWalletAddress;
  543.     }
  544.     /**
  545.      * Set the value of bWalletAddress
  546.      *
  547.      * @return  self
  548.      */ 
  549.     public function setBWalletAddress($bWalletAddress)
  550.     {
  551.         $this->bWalletAddress $bWalletAddress;
  552.         return $this;
  553.     }
  554.     /**
  555.      * Get the value of bWalletPassword
  556.      */ 
  557.     public function getBWalletPassword()
  558.     {
  559.         return $this->bWalletPassword;
  560.     }
  561.     /**
  562.      * Set the value of bWalletPassword
  563.      *
  564.      * @return  self
  565.      */ 
  566.     public function setBWalletPassword($bWalletPassword)
  567.     {
  568.         $this->bWalletPassword $bWalletPassword;
  569.         return $this;
  570.     }
  571.     /**
  572.      * Get the value of bScAddress
  573.      */ 
  574.     public function getBScAddress()
  575.     {
  576.         return $this->bScAddress;
  577.     }
  578.     /**
  579.      * Set the value of bScAddress
  580.      *
  581.      * @return  self
  582.      */ 
  583.     public function setBScAddress($bScAddress)
  584.     {
  585.         $this->bScAddress $bScAddress;
  586.         return $this;
  587.     }
  588.     /**
  589.      * Get the value of bCreationDate
  590.      */ 
  591.     public function getBCreationDate()
  592.     {
  593.         return $this->bCreationDate;
  594.     }
  595.     /**
  596.      * Set the value of bCreationDate
  597.      *
  598.      * @return  self
  599.      */ 
  600.     public function setBCreationDate($bCreationDate)
  601.     {
  602.         $this->bCreationDate $bCreationDate;
  603.         return $this;
  604.     }
  605.     /**
  606.      * Get the value of bIsActive
  607.      */ 
  608.     public function getBIsActive()
  609.     {
  610.         return $this->bIsActive;
  611.     }
  612.     /**
  613.      * Set the value of bIsActive
  614.      *
  615.      * @return  self
  616.      */ 
  617.     public function setBIsActive($bIsActive)
  618.     {
  619.         $this->bIsActive $bIsActive;
  620.         return $this;
  621.     }
  622.     /**
  623.      * Get the value of bShareProdPath
  624.      */ 
  625.     public function getBShareProdPath()
  626.     {
  627.         return $this->bShareProdPath;
  628.     }
  629.     /**
  630.      * Set the value of bShareProdPath
  631.      *
  632.      * @return  self
  633.      */ 
  634.     public function setBShareProdPath($bShareProdPath)
  635.     {
  636.         $this->bShareProdPath $bShareProdPath;
  637.         return $this;
  638.     }
  639.     /**
  640.      * Get the value of bShareProdPwd
  641.      */ 
  642.     public function getBShareProdPwd()
  643.     {
  644.         return $this->bShareProdPwd;
  645.     }
  646.     /**
  647.      * Set the value of bShareProdPwd
  648.      *
  649.      * @return  self
  650.      */ 
  651.     public function setBShareProdPwd($bShareProdPwd)
  652.     {
  653.         $this->bShareProdPwd $bShareProdPwd;
  654.         return $this;
  655.     }
  656.     /**
  657.      * Get the value of bShareProdUser
  658.      */ 
  659.     public function getBShareProdUser()
  660.     {
  661.         return $this->bShareProdUser;
  662.     }
  663.     /**
  664.      * Set the value of bShareProdUser
  665.      *
  666.      * @return  self
  667.      */ 
  668.     public function setBShareProdUser($bShareProdUser)
  669.     {
  670.         $this->bShareProdUser $bShareProdUser;
  671.         return $this;
  672.     }
  673.     /**
  674.      * Get the value of bShareTempPath
  675.      */ 
  676.     public function getBShareTempPath()
  677.     {
  678.         return $this->bShareTempPath;
  679.     }
  680.     /**
  681.      * Set the value of bShareTempPath
  682.      *
  683.      * @return  self
  684.      */ 
  685.     public function setBShareTempPath($bShareTempPath)
  686.     {
  687.         $this->bShareTempPath $bShareTempPath;
  688.         return $this;
  689.     }
  690.     /**
  691.      * Get the value of bShareTempUser
  692.      */ 
  693.     public function getBShareTempUser()
  694.     {
  695.         return $this->bShareTempUser;
  696.     }
  697.     /**
  698.      * Set the value of bShareTempUser
  699.      *
  700.      * @return  self
  701.      */ 
  702.     public function setBShareTempUser($bShareTempUser)
  703.     {
  704.         $this->bShareTempUser $bShareTempUser;
  705.         return $this;
  706.     }
  707.     /**
  708.      * Get the value of bShareTempPwd
  709.      */ 
  710.     public function getBShareTempPwd()
  711.     {
  712.         return $this->bShareTempPwd;
  713.     }
  714.     /**
  715.      * Set the value of bShareTempPwd
  716.      *
  717.      * @return  self
  718.      */ 
  719.     public function setBShareTempPwd($bShareTempPwd)
  720.     {
  721.         $this->bShareTempPwd $bShareTempPwd;
  722.         return $this;
  723.     }
  724.     /**
  725.      * Get the value of bAddress
  726.      */ 
  727.     public function getBAddress()
  728.     {
  729.         return $this->bAddress;
  730.     }
  731.     /**
  732.      * Set the value of bAddress
  733.      *
  734.      * @return  self
  735.      */ 
  736.     public function setBAddress($bAddress)
  737.     {
  738.         $this->bAddress $bAddress;
  739.         return $this;
  740.     }
  741.     /**
  742.      * Get the value of bPostalCode
  743.      */ 
  744.     public function getBPostalCode()
  745.     {
  746.         return $this->bPostalCode;
  747.     }
  748.     /**
  749.      * Set the value of bPostalCode
  750.      *
  751.      * @return  self
  752.      */ 
  753.     public function setBPostalCode($bPostalCode)
  754.     {
  755.         $this->bPostalCode $bPostalCode;
  756.         return $this;
  757.     }
  758.     /**
  759.      * Get the value of bCityName
  760.      */ 
  761.     public function getBCityName()
  762.     {
  763.         return $this->bCityName;
  764.     }
  765.     /**
  766.      * Set the value of bCityName
  767.      *
  768.      * @return  self
  769.      */ 
  770.     public function setBCityName($bCityName)
  771.     {
  772.         $this->bCityName $bCityName;
  773.         return $this;
  774.     }
  775.     /**
  776.      * Get the value of bCountry
  777.      */ 
  778.     public function getBCountry()
  779.     {
  780.         return $this->bCountry;
  781.     }
  782.     /**
  783.      * Set the value of bCountry
  784.      *
  785.      * @return  self
  786.      */ 
  787.     public function setBCountry($bCountry)
  788.     {
  789.         $this->bCountry $bCountry;
  790.         return $this;
  791.     }
  792.     /**
  793.      * Get bUpdateDate
  794.      *
  795.      * @return  mixed
  796.      */ 
  797.     public function getBUpdateDate()
  798.     {
  799.         return $this->bUpdateDate;
  800.     }
  801.     /**
  802.      * Set bUpdateDate
  803.      *
  804.      * @param  mixed  $bUpdateDate  bUpdateDate
  805.      *
  806.      * @return  self
  807.      */ 
  808.     public function setBUpdateDate($bUpdateDate)
  809.     {
  810.         $this->bUpdateDate $bUpdateDate;
  811.         return $this;
  812.     }
  813.     /**
  814.      * Get bShareAddedAt
  815.      *
  816.      * @return  mixed
  817.      */ 
  818.     public function getBShareAddedAt()
  819.     {
  820.         return $this->bShareAddedAt;
  821.     }
  822.     /**
  823.      * Set bShareAddedAt
  824.      *
  825.      * @param  mixed  $bShareAddedAt  bShareAddedAt
  826.      *
  827.      * @return  self
  828.      */ 
  829.     public function setBShareAddedAt($bShareAddedAt)
  830.     {
  831.         $this->bShareAddedAt $bShareAddedAt;
  832.         return $this;
  833.     }
  834.     /**
  835.      * Get bShareUpdateAt
  836.      *
  837.      * @return  mixed
  838.      */ 
  839.     public function getBShareUpdateAt()
  840.     {
  841.         return $this->bShareUpdateAt;
  842.     }
  843.     /**
  844.      * Set bShareUpdateAt
  845.      *
  846.      * @param  mixed  $bShareUpdateAt  bShareUpdateAt
  847.      *
  848.      * @return  self
  849.      */ 
  850.     public function setBShareUpdateAt($bShareUpdateAt)
  851.     {
  852.         $this->bShareUpdateAt $bShareUpdateAt;
  853.         return $this;
  854.     }
  855.     /**
  856.      * Get the value of bStripeCusId
  857.      */ 
  858.     public function getBStripeCusId()
  859.     {
  860.         return $this->bStripeCusId;
  861.     }
  862.     /**
  863.      * Set the value of bStripeCusId
  864.      *
  865.      * @return  self
  866.      */ 
  867.     public function setBStripeCusId($bStripeCusId)
  868.     {
  869.         $this->bStripeCusId $bStripeCusId;
  870.         return $this;
  871.     }
  872.     /**
  873.      * Get the value of bPrintCounter
  874.      */ 
  875.     public function getBPrintCounter()
  876.     {
  877.         return $this->bPrintCounter;
  878.     }
  879.     /**
  880.      * Set the value of bPrintCounter
  881.      *
  882.      * @return  self
  883.      */ 
  884.     public function setBPrintCounter($bPrintCounter)
  885.     {
  886.         $this->bPrintCounter $bPrintCounter;
  887.         return $this;
  888.     }
  889.     /**
  890.      * Get the value of isAdValorem
  891.      */ 
  892.     public function getIsAdValorem()
  893.     {
  894.         return $this->isAdValorem;
  895.     }
  896.     /**
  897.      * Set the value of isAdValorem
  898.      *
  899.      * @return  self
  900.      */ 
  901.     public function setIsAdValorem($isAdValorem)
  902.     {
  903.         $this->isAdValorem $isAdValorem;
  904.         return $this;
  905.     }
  906.     /**
  907.      * Get the value of isFlatFee
  908.      */ 
  909.     public function getIsFlatFee()
  910.     {
  911.         return $this->isFlatFee;
  912.     }
  913.     /**
  914.      * Set the value of isFlatFee
  915.      *
  916.      * @return  self
  917.      */ 
  918.     public function setIsFlatFee($isFlatFee)
  919.     {
  920.         $this->isFlatFee $isFlatFee;
  921.         return $this;
  922.     }
  923.     /**
  924.      * Get the value of bAbiPath
  925.      */ 
  926.     public function getBAbiPath()
  927.     {
  928.         return $this->bAbiPath;
  929.     }
  930.     /**
  931.      * Set the value of bAbiPath
  932.      *
  933.      * @return  self
  934.      */ 
  935.     public function setBAbiPath($bAbiPath)
  936.     {
  937.         $this->bAbiPath $bAbiPath;
  938.         return $this;
  939.     }
  940.     public function getIsQcUpdatable()
  941.     {
  942.         return $this->isQcUpdatable;
  943.     }
  944.     public function setIsQcUpdatable($isQcUpdatable)
  945.     {
  946.         $this->isQcUpdatable $isQcUpdatable;
  947.         return $this;
  948.     }
  949.     public function getNumberCredit()
  950.     {
  951.         return $this->numberCredit;
  952.     }
  953.     /**
  954.      * @param $numberCredit
  955.      * @return $this
  956.      */
  957.     public function setNumberCredit($numberCredit): Bubble
  958.     {
  959.         $this->numberCredit $numberCredit;
  960.         return $this;
  961.     }
  962.     public function getCreditValue()
  963.     {
  964.         return $this->creditValue;
  965.     }
  966.     /**
  967.      * @param $creditValue
  968.      * @return $this
  969.      */
  970.     public function setCreditValue($creditValue): Bubble
  971.     {
  972.         $this->creditValue $creditValue;
  973.         return $this;
  974.     }
  975.     public function getAdValorem()
  976.     {
  977.         return $this->adValorem;
  978.     }
  979.     /**
  980.      * @param $adValorem
  981.      * @return $this
  982.      */
  983.     public function setAdValorem($adValorem): Bubble
  984.     {
  985.         $this->adValorem $adValorem;
  986.         return $this;
  987.     }
  988. }