Trustly/Api/signed.php
public function void($orderid) {

			$data = array(
				'OrderID' => $orderid
			);

			$attributes = array(
			);

			$request = new Trustly_Data_JSONRPCRequest('Void', $data, $attributes);
			return $this->call($request);
	}
public function void($orderid) {

			$data = array(
				'OrderID' => $orderid
			);

			$attributes = array(
			);

			$request = new Trustly_Data_JSONRPCRequest('Void', $data, $attributes);
			return $this->call($request);
	}
public function void ( $ orderid ) { $ data = array ( 'OrderID' => $ orderid ) ; $ attributes = array ( ) ; $ request = new Trustly_Data_JSONRPCRequest ( 'Void' , $ data , $ attributes ) ; return $ this -> call ( $ request ) ; }
Call the Void API Method.

Voids a previously completed Deposit where Deposit.Attributes.AuthorizeOnly was set to 1.

@see https://trustly.com/en/developer/api#/void

@param integer $orderid The OrderID of the deposit to void

@return Trustly_Data_JSONRPCSignedResponse
Call the Void API Method .