for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Pronamic\WordPress\Pay\Gateways\TargetPay;
use ArrayIterator;
use IteratorAggregate;
/**
* Title: TargetPay start parameters
* Description:
* Copyright: 2005-2021 Pronamic
* Company: Pronamic
*
* @author Remco Tolsma
* @version 2.0.0
* @since 1.0.0
*/
class StartParameters implements IteratorAggregate {
* Layoutcode
* @var string
public $rtlo;
* Description
public $description;
* Amount
public $amount;
* Country
public $country;
* Language
public $language;
* Return URL
public $return_url;
* Report URL
public $report_url;
* Constructs and initialize start parameters
public function __construct() {
}
* Get array
* @rerturn array
public function get_array() {
return array(
'rtlo' => $this->rtlo,
'description' => $this->description,
'amount' => $this->amount,
'country' => $this->country,
'lang' => $this->language,
'returnurl' => $this->return_url,
'reporturl' => $this->report_url,
);
* Get iterator
* @return ArrayIterator
public function getIterator() {
return new ArrayIterator( $this->get_array() );