diff --git a/src/Response/Model/Payment/PaymentRequest.php b/src/Response/Model/Payment/PaymentRequest.php index acaa378..3a3d56a 100644 --- a/src/Response/Model/Payment/PaymentRequest.php +++ b/src/Response/Model/Payment/PaymentRequest.php @@ -10,8 +10,15 @@ */ class PaymentRequest implements ResponseInterface { + + /** + * + */ const STATUS_UNPAID = 'Pending'; + /** + * + */ const STATUS_EXPIRED = 'Expired'; /** @@ -19,6 +26,9 @@ class PaymentRequest implements ResponseInterface */ const STATUS_UNKNOWN = 'Unknown'; + /** + * + */ const STATUS_PAID = 'Paid'; /** @@ -65,6 +75,9 @@ class PaymentRequest implements ResponseInterface * @var int */ private $confirmations = null; + + private $status_str = ''; + /** * Factory method @@ -108,7 +121,13 @@ public function getStatus() { return $this->status; } - + /** + * @return string + */ + public function getStatusTxt() + { + return $this->status_str; + } /** * @param string $status * @@ -261,4 +280,4 @@ public function setConfirmations($confirmations) return $this; } -} \ No newline at end of file +}