function __construct($merchantId, $token, $amount, $baseUrl = KushkiEnvironment::PRODUCTION) { parent::__construct($merchantId); $this->url = $baseUrl . KushkiConstant::CHARGE_URL; $this->token = $token; $this->amount = $amount; }
function __construct($merchantId, $ticket, $amount, $baseUrl = KushkiEnvironment::PRODUCTION) { parent::__construct($merchantId); $this->url = $baseUrl . KushkiConstant::VOID_URL; $this->amount = $amount; $this->ticket = $ticket; }
function __construct($merchantId, $token, $amount, $months, $baseUrl = KushkiEnvironment::PRODUCTION) { parent::__construct($merchantId); $this->url = $baseUrl . KushkiConstant::DEFERRED_URL; $this->token = $token; $this->amount = $amount; $this->months = $months; }