src/Resource/Customer.php 1 location
|
@@ 401-409 (lines=9) @@
|
| 398 |
|
* |
| 399 |
|
* @return $this |
| 400 |
|
*/ |
| 401 |
|
public function setPhone($areaCode, $number, $countryCode = 55) |
| 402 |
|
{ |
| 403 |
|
$this->data->phone = new stdClass(); |
| 404 |
|
$this->data->phone->countryCode = $countryCode; |
| 405 |
|
$this->data->phone->areaCode = $areaCode; |
| 406 |
|
$this->data->phone->number = $number; |
| 407 |
|
|
| 408 |
|
return $this; |
| 409 |
|
} |
| 410 |
|
} |
| 411 |
|
|
src/Resource/Holder.php 1 location
|
@@ 239-247 (lines=9) @@
|
| 236 |
|
* |
| 237 |
|
* @return $this |
| 238 |
|
*/ |
| 239 |
|
public function setPhone($areaCode, $number, $countryCode = 55) |
| 240 |
|
{ |
| 241 |
|
$this->data->phone = new stdClass(); |
| 242 |
|
$this->data->phone->countryCode = $countryCode; |
| 243 |
|
$this->data->phone->areaCode = $areaCode; |
| 244 |
|
$this->data->phone->number = $number; |
| 245 |
|
|
| 246 |
|
return $this; |
| 247 |
|
} |
| 248 |
|
} |
| 249 |
|
|