Skip to content

Commit

Permalink
Removed url fields
Browse files Browse the repository at this point in the history
  • Loading branch information
aleksandrzhiliaev committed Feb 25, 2017
1 parent f726ff7 commit cea7b81
Showing 1 changed file with 3 additions and 33 deletions.
36 changes: 3 additions & 33 deletions src/Message/PurchaseRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,36 +44,6 @@ public function setDescriptionNoChange($value)
return $this->setParameter('descriptionNoChange', $value);
}

public function getServiceUrl()
{
return $this->getParameter('serviceUrl');
}

public function setServiceUrl($value)
{
return $this->setParameter('serviceUrl', $value);
}

public function getPaymentUrl()
{
return $this->getParameter('paymentUrl');
}

public function setPaymentUrl($value)
{
return $this->setParameter('paymentUrl', $value);
}

public function getNoPaymentUrl()
{
return $this->getParameter('noPaymentUrl');
}

public function setNoPaymentUrl($value)
{
return $this->setParameter('noPaymentUrl', $value);
}

public function getEndpoint()
{
return $this->getTestMode() ? $this->testEndpoint : $this->liveEndpoint;
Expand Down Expand Up @@ -108,9 +78,9 @@ public function getData()
$data['PAYMENT_UNITS'] = $this->getCurrency(); // USD, EUR or OAU
$data['PAYMENT_ID'] = $this->getTransactionId();
$data['PAYMENT_AMOUNT'] = $this->getAmount();
$data['STATUS_URL'] = $this->getServiceUrl();
$data['PAYMENT_URL'] = $this->getPaymentUrl();
$data['NOPAYMENT_URL'] = $this->getNoPaymentUrl();
$data['STATUS_URL'] = $this->getNotifyUrl();
$data['PAYMENT_URL'] = $this->getReturnUrl();
$data['NOPAYMENT_URL'] = $this->getCancelUrl();
$data['INTERFACE_LANGUAGE'] = $this->getLanguage();
$data['SUGGESTED_MEMO'] = $this->getDescription();
$data['SUGGESTED_MEMO_NOCHANGE'] = $this->getDescriptionNoChange(); // 0 or 1
Expand Down

0 comments on commit cea7b81

Please sign in to comment.