/** * Returns asiapay client post * * @param *string * @param *boolean * @return Eden_Asiapay_Client */ public function clientPost($merchantId, $test = true) { //argument test Eden_Asiapay_Error::i()->argument(1, 'string')->argument(2, 'bool'); //Argument 2 must be a boolean return Eden_Asiapay_Client::i($merchantId, $test); }
/** * Returns asiapay client post * * @param *string * @param *boolean * @return Eden_Asiapay_Client */ public function clientPost($merchantId, $test = true, $hash = NULL) { //argument test Eden_Asiapay_Error::i()->argument(1, 'string')->argument(2, 'bool')->argument(3, 'string', 'null'); //Argument 3 must be a string or null return Eden_Asiapay_Client::i($merchantId, $test, $hash); }
public function clientPost($merchantId, $test = true) { Eden_Asiapay_Error::i()->argument(1, 'string')->argument(2, 'bool'); return Eden_Asiapay_Client::i($merchantId, $test); }