Skip to content

Commit

Permalink
Merge pull request #17 from uranetz/add_delivery_cost
Browse files Browse the repository at this point in the history
add delivery sum and total sum
  • Loading branch information
AntistressStore authored Aug 15, 2024
2 parents 60b6b58 + 9cf4e9f commit 662408e
Showing 1 changed file with 25 additions and 1 deletion.
26 changes: 25 additions & 1 deletion src/Entity/Responses/DeliveryDetailResponse.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,11 @@ class DeliveryDetailResponse extends Source
protected $payment_sum;
/** @var array - Тип оплаты наложенного платежа получателем */
protected $payment_info;

/** @var float - Стоимость доставки */
protected $delivery_sum;
/** @var float - Стоимость доставки с учетом дополнительных услуг.*/
protected $total_sum;

/**
* Получает параметр - date.
*/
Expand Down Expand Up @@ -51,4 +55,24 @@ public function getPaymentInfo()
{
return $this->payment_info;
}

/**
* Get стоимость доставки.
*
* @return float
*/
public function getDeliverySum()
{
return $this->delivery_sum;
}

/**
* Get стоимость доставки с учетом дополнительных услуг.
*
* @return float
*/
public function getTotalSum()
{
return $this->total_sum;
}
}

0 comments on commit 662408e

Please # to comment.