Skip to content

Commit

Permalink
Добавлена возможность посылать теги теги CustomerName, CustomerINN и …
Browse files Browse the repository at this point in the history
…TaxCalculationMethod
  • Loading branch information
lashnev committed May 17, 2019
1 parent b06a9f4 commit 7438705
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion src/services/ComplexRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ class ComplexRequest extends BaseServiceRequest
private $email;
/** @var Line[] */
private $lines;
/** @var string */
protected $CustomerName;
/** @var int */
protected $CustomerINN;
/** @var int */
protected $TaxCalculationMethod;

/**
* @inheritdoc
Expand Down Expand Up @@ -198,13 +204,31 @@ public function addAddress($address)
}

/**
* @param $terminal
* @param string $customerName
* @param int $customerINN
*/
public function addCustomer($customerName, $customerINN)
{
$this->CustomerName = $customerName;
$this->CustomerINN = $customerINN;
}

/**
* @param int $terminal
*/
public function addTerminal($terminal)
{
$this->Terminal = $terminal;
}

/**'
* @param int $taxCalculationMethod
*/
public function addTaxCalculationMethod($taxCalculationMethod)
{
$this->TaxCalculationMethod = $taxCalculationMethod;
}

/**
* @return array
*/
Expand Down

0 comments on commit 7438705

Please sign in to comment.