lib/onepay/Item.php
public function setAdditionalData($additionalData) {
        if (is_null($additionalData)) {
            $additionalData = "";
        }
        if (!is_string($additionalData)) {
            throw new \Exception ("Additional Data must be a String");
        }
        $this->additionalData = $additionalData;
    }
public function setAdditionalData($additionalData) {
        if (is_null($additionalData)) {
            $additionalData = "";
        }
        if (!is_string($additionalData)) {
            throw new \Exception ("Additional Data must be a String");
        }
        $this->additionalData = $additionalData;
    }
public function setAdditionalData ( $ additionalData ) { if ( is_null ( $ additionalData ) ) { $ additionalData = "" ; } if ( ! is_string ( $ additionalData ) ) { throw new \ Exception ( "Additional Data must be a String" ) ; } $ this -> additionalData = $ additionalData ; }
Set the additional data for an instance of Item
Set the additional data for an instance of Item