Skip to content
This repository has been archived by the owner on Apr 20, 2018. It is now read-only.

Commit

Permalink
Added Cssurl param
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian Bennecker committed Nov 18, 2015
1 parent 0f513f2 commit 6522ecf
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/Payment/Saferpay/Data/PayInitParameter.php
Expand Up @@ -44,6 +44,25 @@ public function getAmount()
return $this->get('AMOUNT');
}

/**
* @param string $cssurl
* @return $this
*/
public function setCssurl($cssurl)
{
$this->set('CSSURL', $cssurl);

return $this;
}

/**
* @return string
*/
public function getCssurl()
{
return $this->get('CSSURL');
}

/**
* @param string $currency
* @return $this
Expand Down Expand Up @@ -649,6 +668,7 @@ public function getFieldNames()
return array(
'ACCOUNTID',
'AMOUNT',
'CSSURL',
'CURRENCY',
'DESCRIPTION',
'ORDERID',
Expand Down
16 changes: 16 additions & 0 deletions src/Payment/Saferpay/Data/PayInitParameterInterface.php
Expand Up @@ -23,6 +23,11 @@ interface PayInitParameterInterface
*/
const AMOUNT = 'n[..8]';

/**
* URL to custom url file
*/
const CSSURL = 'ans[..50]';

/**
* Three-digit ISO 4217 currency code.
* For example, "CHF" or "EUR"
Expand Down Expand Up @@ -353,6 +358,17 @@ public function setAutoclose($autoclose);
*/
public function getAutoclose();

/**
* @param string $cssurl
* @return $this
*/
public function setCssurl($cssurl);

/**
* @return string
*/
public function getCssurl();

/**
* @param string $ccname
* @return $this
Expand Down

0 comments on commit 6522ecf

Please sign in to comment.