/** * @param bool $email Send email to vendor provided address after successful payment. * @return Response */ public function setEmail($email) { if (!is_null($email)) { Preconditions::checkBool($email, 'email'); } $this->email = $email; return $this; }
/** * @param bool $enabled Whether test mode is enabled. All other test related settings are ignored if test mode is false. * @return Test */ public function setEnabled($enabled) { Preconditions::checkBool($enabled, 'enabled'); $this->enabled = $enabled; return $this; }