src/Resource/Account.php
public function addAlternativePhone($areaCode, $number, $countryCode = 55)
    {
        $alternativePhone = new stdClass();
        $alternativePhone->countryCode = $countryCode;
        $alternativePhone->areaCode = $areaCode;
        $alternativePhone->number = $number;

        $this->data->person->alternativePhones[] = $alternativePhone;

        return $this;
    }
public function addAlternativePhone($areaCode, $number, $countryCode = 55)
    {
        $alternativePhone = new stdClass();
        $alternativePhone->countryCode = $countryCode;
        $alternativePhone->areaCode = $areaCode;
        $alternativePhone->number = $number;

        $this->data->person->alternativePhones[] = $alternativePhone;

        return $this;
    }
public function addAlternativePhone ( $ areaCode , $ number , $ countryCode = 55 ) { $ alternativePhone = new stdClass ( ) ; $ alternativePhone -> countryCode = $ countryCode ; $ alternativePhone -> areaCode = $ areaCode ; $ alternativePhone -> number = $ number ; $ this -> data -> person -> alternativePhones [ ] = $ alternativePhone ; return $ this ; }
Add alternative phone to an account.

@param int $areaCode    DDD telephone.
@param int $number      Telephone number.
@param int $countryCode Country code.

@return \Moip\Resource\Account
Add alternative phone to an account .