src/icepay_api_base.php
public function setPinCode($pinCode)
    {
        if (!Icepay_Parameter_Validation::pinCode($pinCode))
            throw new Exception('Pincode not valid');

        $this->_pinCode = (string) $pinCode;

        return $this;
    }
public function setPinCode($pinCode)
    {
        if (!Icepay_Parameter_Validation::pinCode($pinCode))
            throw new Exception('Pincode not valid');

        $this->_pinCode = (string) $pinCode;

        return $this;
    }
public function setPinCode ( $ pinCode ) { if ( ! Icepay_Parameter_Validation :: pinCode ( $ pinCode ) ) throw new Exception ( 'Pincode not valid' ) ; $ this -> _pinCode = ( string ) $ pinCode ; return $ this ; }
Set the Pin Code field
@since 1.0.1
@access public
@param (int) $pinCode
Set the Pin Code field