@@ -165,7 +165,7 @@ |
||
165 | 165 | * @return \Moip\Resource\Transfers |
166 | 166 | */ |
167 | 167 | |
168 | - public function transfers() |
|
168 | + public function transfers() |
|
169 | 169 | { |
170 | 170 | return new transfers($this); |
171 | 171 | } |
@@ -339,7 +339,7 @@ |
||
339 | 339 | * @return $this |
340 | 340 | */ |
341 | 341 | |
342 | - public function setDelayCapture(){ |
|
342 | + public function setDelayCapture() { |
|
343 | 343 | |
344 | 344 | |
345 | 345 | $this->data->delayCapture = true; |
@@ -26,7 +26,7 @@ discard block |
||
26 | 26 | $this->data = new stdClass(); |
27 | 27 | } |
28 | 28 | |
29 | - protected function populate(stdClass $response) |
|
29 | + protected function populate(stdClass $response) |
|
30 | 30 | { |
31 | 31 | $transfers = clone $this; |
32 | 32 | |
@@ -69,11 +69,11 @@ discard block |
||
69 | 69 | return $this->populate($response); |
70 | 70 | } |
71 | 71 | |
72 | - /** |
|
73 | - * Get MoIP Transfers id. |
|
74 | - * |
|
75 | - * @return strign |
|
76 | - */ |
|
72 | + /** |
|
73 | + * Get MoIP Transfers id. |
|
74 | + * |
|
75 | + * @return strign |
|
76 | + */ |
|
77 | 77 | public function getId() |
78 | 78 | { |
79 | 79 | return $this->getIfSet('id'); |
@@ -36,8 +36,8 @@ discard block |
||
36 | 36 | public function setTransfers($amount, $bankNumber, $agencyNumber, $agencyCheckNumber, $accountNumber, $accountCheckNumber) { |
37 | 37 | $this->data->amount = $amount; |
38 | 38 | $this->data->transferInstrument = new stdClass(); |
39 | - $this->data->transferInstrument->method = self::METHOD; |
|
40 | - $this->data->transferInstrument->bankAccount = new stdClass(); |
|
39 | + $this->data->transferInstrument->method = self::METHOD; |
|
40 | + $this->data->transferInstrument->bankAccount = new stdClass(); |
|
41 | 41 | #$this->data->initialize(); |
42 | 42 | $this->data->transferInstrument->bankAccount->type = self::TYPE; |
43 | 43 | $this->data->transferInstrument->bankAccount->bankNumber = $bankNumber; |
@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | return $this; |
49 | 49 | } |
50 | 50 | |
51 | - public function setHolder($fullname, $taxDocument){ |
|
51 | + public function setHolder($fullname, $taxDocument) { |
|
52 | 52 | |
53 | 53 | $this->data->transferInstrument->bankAccount->holder = new stdClass(); |
54 | 54 | $this->data->transferInstrument->bankAccount->holder->fullname = $fullname; |