@@ -214,7 +214,7 @@ discard block |
||
| 214 | 214 | */ |
| 215 | 215 | public function getType() |
| 216 | 216 | { |
| 217 | - return $this->getIfSet('type', $this->data); |
|
| 217 | + return $this->getIfSet('type', $this->data); |
|
| 218 | 218 | } |
| 219 | 219 | |
| 220 | 220 | //Account's company getters |
@@ -427,9 +427,9 @@ discard block |
||
| 427 | 427 | */ |
| 428 | 428 | public function setName($name) |
| 429 | 429 | { |
| 430 | - $this->data->person->name = $name; |
|
| 430 | + $this->data->person->name = $name; |
|
| 431 | 431 | |
| 432 | - return $this; |
|
| 432 | + return $this; |
|
| 433 | 433 | } |
| 434 | 434 | |
| 435 | 435 | /** |
@@ -441,9 +441,9 @@ discard block |
||
| 441 | 441 | */ |
| 442 | 442 | public function setLastName($lastname) |
| 443 | 443 | { |
| 444 | - $this->data->person->lastName = $lastname; |
|
| 444 | + $this->data->person->lastName = $lastname; |
|
| 445 | 445 | |
| 446 | - return $this; |
|
| 446 | + return $this; |
|
| 447 | 447 | } |
| 448 | 448 | |
| 449 | 449 | /** |
@@ -512,13 +512,13 @@ discard block |
||
| 512 | 512 | */ |
| 513 | 513 | public function setIdentityDocument($number, $issuer, $issueDate, $type = 'RG') |
| 514 | 514 | { |
| 515 | - $this->data->person->identityDocument = new stdClass(); |
|
| 516 | - $this->data->person->identityDocument->type = $type; |
|
| 517 | - $this->data->person->identityDocument->number = $number; |
|
| 518 | - $this->data->person->identityDocument->issuer = $issuer; |
|
| 519 | - $this->data->person->identityDocument->issueDate = $issueDate; |
|
| 515 | + $this->data->person->identityDocument = new stdClass(); |
|
| 516 | + $this->data->person->identityDocument->type = $type; |
|
| 517 | + $this->data->person->identityDocument->number = $number; |
|
| 518 | + $this->data->person->identityDocument->issuer = $issuer; |
|
| 519 | + $this->data->person->identityDocument->issueDate = $issueDate; |
|
| 520 | 520 | |
| 521 | - return $this; |
|
| 521 | + return $this; |
|
| 522 | 522 | } |
| 523 | 523 | |
| 524 | 524 | /** |
@@ -530,9 +530,9 @@ discard block |
||
| 530 | 530 | */ |
| 531 | 531 | public function setType($type) |
| 532 | 532 | { |
| 533 | - $this->data->type = $type; |
|
| 533 | + $this->data->type = $type; |
|
| 534 | 534 | |
| 535 | - return $this; |
|
| 535 | + return $this; |
|
| 536 | 536 | } |
| 537 | 537 | |
| 538 | 538 | //Account's company setters |