diff --git a/src/Payment/Saferpay/Data/PayInitParameter.php b/src/Payment/Saferpay/Data/PayInitParameter.php index 65fd11a..743cb5d 100644 --- a/src/Payment/Saferpay/Data/PayInitParameter.php +++ b/src/Payment/Saferpay/Data/PayInitParameter.php @@ -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 @@ -649,6 +668,7 @@ public function getFieldNames() return array( 'ACCOUNTID', 'AMOUNT', + 'CSSURL', 'CURRENCY', 'DESCRIPTION', 'ORDERID', diff --git a/src/Payment/Saferpay/Data/PayInitParameterInterface.php b/src/Payment/Saferpay/Data/PayInitParameterInterface.php index a17548c..2f8d1f5 100644 --- a/src/Payment/Saferpay/Data/PayInitParameterInterface.php +++ b/src/Payment/Saferpay/Data/PayInitParameterInterface.php @@ -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" @@ -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