From 141b516093d3ad84024a56d93da6e7e82bb070ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Talha=20Zekeriya=20Durmu=C5=9F?= Date: Mon, 29 Oct 2018 01:35:06 +0300 Subject: [PATCH] Update AbstractRequest.php --- src/Message/AbstractRequest.php | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/src/Message/AbstractRequest.php b/src/Message/AbstractRequest.php index f4675b1..488e8c4 100644 --- a/src/Message/AbstractRequest.php +++ b/src/Message/AbstractRequest.php @@ -51,7 +51,28 @@ public function setCode($value) { return $this->setParameter('code', $value); } + + /** + * Get the request description. + * + * @return string + */ + public function getPricingType() + { + return $this->getParameter('pricing_type'); + } + /** + * Sets the request description. + * + * @param string $value + * @return $this + */ + public function setPricingType($value) + { + return $this->setParameter('pricing_type', $value); + } + public function sendRequest($method, $action, $data = null) { $url = $this->getEndpoint() . $action; @@ -79,4 +100,4 @@ protected function getEndpoint() { return $this->liveEndpoint; } -} \ No newline at end of file +}