public function __construct($brandId, $currency, $customerTypeId, $depositDays, $depositAmount, $counterOfferNo) { $this->depositDays = $depositDays; $this->brandId = $brandId; $this->currency = $currency; $this->customerType = $customerTypeId == 'individual' ? 'individual' : 'corporate'; $this->depositAmount = $depositAmount; $this->counterOfferNo = $counterOfferNo; parent::__construct($this->modifierName . $currency); }
public function __construct($customerType, $brandId) { $dict = new Logic_Dictionary(); $customerTypeId = $dict->getDictionaryEntryId('client_type', $customerType); if ($customerTypeId === null) { throw new Exception('Niepoprawny kod słownikowy typu klienta!'); } $addonTypeModel = new AddonType(); $addonTypeId = $addonTypeModel->getAddonTypeId($this->addonCode); if ($addonTypeId === null) { throw new Exception('Niepoprawny kod typu dodatku!'); } $this->addonTypeId = $addonTypeId; $this->customerTypeId = $customerTypeId; $this->brandId = $brandId; parent::__construct($this->addonName); }
public function __construct($depositDays) { $this->depositDays = $depositDays; parent::__construct($this->modifierName); }
public function __construct($riseValue, $comment) { $this->riseValue = $riseValue; $this->comment = $comment; parent::__construct($this->modifierName); }
public function __construct($depositDays, $currency) { $this->depositDays = $depositDays; $this->currency = $currency; parent::__construct($this->modifierName); }
public function __construct($customerExpectance = null) { $this->customerExpectance = $customerExpectance; parent::__construct($this->modifierName); }
public function __construct($stepNumber, $customerType) { $this->stepNumber = $stepNumber; $this->customerType = $customerType; parent::__construct($this->modifierName); }