static public function isPaymentMode($paymentMode) {
    return ((string) $paymentMode == Connect2PayClient::PAYMENT_MODE_SINGLE ||
        (string) $paymentMode == Connect2PayClient::PAYMENT_MODE_ONSHIPPING ||
        (string) $paymentMode == Connect2PayClient::PAYMENT_MODE_RECURRENT ||
        (string) $paymentMode == Connect2PayClient::PAYMENT_MODE_INSTALMENTS);
  }
static public function isPaymentMode($paymentMode) {
    return ((string) $paymentMode == Connect2PayClient::PAYMENT_MODE_SINGLE ||
        (string) $paymentMode == Connect2PayClient::PAYMENT_MODE_ONSHIPPING ||
        (string) $paymentMode == Connect2PayClient::PAYMENT_MODE_RECURRENT ||
        (string) $paymentMode == Connect2PayClient::PAYMENT_MODE_INSTALMENTS);
  }
static public function isPaymentMode ( $ paymentMode ) { return ( ( string ) $ paymentMode == Connect2PayClient :: PAYMENT_MODE_SINGLE || ( string ) $ paymentMode == Connect2PayClient :: PAYMENT_MODE_ONSHIPPING || ( string ) $ paymentMode == Connect2PayClient :: PAYMENT_MODE_RECURRENT || ( string ) $ paymentMode == Connect2PayClient :: PAYMENT_MODE_INSTALMENTS ) ; }
Payment Type validity

@param string $paymentMode
Payment Mode to validate
@return boolean Validity is ok or not
Payment Type validity