@@ 37-45 (lines=9) @@ | ||
34 | /** |
|
35 | * Initialize a new instance. |
|
36 | */ |
|
37 | protected function initialize() |
|
38 | { |
|
39 | $this->data = new stdClass(); |
|
40 | $this->data->method = self::METHOD_CREDIT_CARD; |
|
41 | $this->data->creditCard = new stdClass(); |
|
42 | $this->data->creditCard->holder = new stdClass(); |
|
43 | $this->data->creditCard->holder->taxDocument = new stdClass(); |
|
44 | $this->data->creditCard->holder->phone = new stdClass(); |
|
45 | } |
|
46 | ||
47 | /** |
|
48 | * Mount information of a determined object. |
@@ 38-45 (lines=8) @@ | ||
35 | /** |
|
36 | * Initializes new instances. |
|
37 | */ |
|
38 | protected function initialize() |
|
39 | { |
|
40 | $this->data = new stdClass(); |
|
41 | $this->data->transferInstrument = new stdClass(); |
|
42 | $this->data->transferInstrument->bankAccount = new stdClass(); |
|
43 | $this->data->transferInstrument->bankAccount->holder = new stdClass(); |
|
44 | $this->data->transferInstrument->bankAccount->holder->taxDocument = new stdClass(); |
|
45 | } |
|
46 | ||
47 | /** |
|
48 | * @param stdClass $response |