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 +}