/** * this method checks, whether all mandatory properties are set. * @return true if all fields are valid, otherwise returns false */ function checkMandatory() { if (IdealRequest::checkMandatory()) { return true; } else { return false; } }
/** * this method checks, wheather all mandatory properties were set. * If done so, true is returned, otherwise false. * @return If done so, true is returned, otherwise false. */ function checkMandatory() { if (IdealRequest::checkMandatory() && strlen($this->transactionID) > 0) { return true; } else { return false; } }
/** * this method checks, whether all mandatory properties were set. * If done so, true is returned, otherwise false. * @return If done so, true is returned, otherwise false. */ function checkMandatory() { if (IdealRequest::checkMandatory() == true && strlen($this->issuerID) > 0 && strlen($this->merchantReturnURL) > 0 && strlen($this->purchaseID) > 0 && strlen($this->amount) > 0 && strlen($this->currency) > 0 && strlen($this->expirationPeriod) > 0 && strlen($this->language) > 0 && strlen($this->entranceCode) > 0 && strlen($this->description) > 0) { return true; } else { return false; } }