Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removed ordersum field that is not part of DeliveryCosts response type #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 1 addition & 20 deletions Models/DeliveryCosts.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,7 @@ class DeliveryCosts extends AbstractModel
* @var string
*/
protected $delivery_period = null;
/**
* @var string
*/
protected $ordersum = null;

/**
* DeliveryCosts constructor.
* @param array $data
Expand All @@ -61,7 +58,6 @@ public function __construct(array $data)
$this->price_base = $data['price_base'];
$this->price_service = $data['price_service'];
$this->delivery_period = $data['delivery_period'];
$this->ordersum = $data['ordersum'];
parent::__construct();
}

Expand Down Expand Up @@ -132,19 +128,4 @@ public function setDeliveryPeriod($delivery_period)
{
$this->delivery_period = $delivery_period;
}
/**
* @return string
*/
public function getOrderSum()
{
return $this->ordersum;
}

/**
* @param string $delivery_period
*/
public function setOrderSum($ordersum)
{
$this->delivery_period = $ordersum;
}
}