PayPal\Api\Item::addSupplementaryData PHP 메소드

addSupplementaryData() 공개 메소드

Append SupplementaryData to the list.
사용 중단: Not publicly available
public addSupplementaryData ( PayPal\Api\NameValuePair $nameValuePair )
$nameValuePair PayPal\Api\NameValuePair
    public function addSupplementaryData($nameValuePair)
    {
        if (!$this->getSupplementaryData()) {
            return $this->setSupplementaryData(array($nameValuePair));
        } else {
            return $this->setSupplementaryData(array_merge($this->getSupplementaryData(), array($nameValuePair)));
        }
    }