| 1 | <?php |
||
| 8 | class Moip |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * Class Moip sdk. |
||
| 12 | * |
||
| 13 | * @var \Moip\Moip |
||
| 14 | **/ |
||
| 15 | private $moip; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * Moip constructor. |
||
| 19 | */ |
||
| 20 | function __construct() |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Start Moip sdk. |
||
| 27 | */ |
||
| 28 | public function start() |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Create a new Customer instance. |
||
| 35 | * |
||
| 36 | * @return \Moip\Resource\Customer |
||
| 37 | */ |
||
| 38 | public function customers() |
||
| 42 | |||
| 43 | /** |
||
| 44 | * Create a new Entry instance. |
||
| 45 | * |
||
| 46 | * @return \Moip\Resource\Entry |
||
| 47 | */ |
||
| 48 | public function entries() |
||
| 52 | |||
| 53 | /** |
||
| 54 | * Create a new Order instance. |
||
| 55 | * |
||
| 56 | * @return \Moip\Resource\Orders |
||
| 57 | */ |
||
| 58 | public function orders() |
||
| 62 | |||
| 63 | /** |
||
| 64 | * Create a new Payment instance. |
||
| 65 | * |
||
| 66 | * @return \Moip\Resource\Payment |
||
| 67 | */ |
||
| 68 | public function payments() |
||
| 72 | |||
| 73 | /** |
||
| 74 | * Create a new Multiorders instance. |
||
| 75 | * |
||
| 76 | * @return \Moip\Resource\Multiorders |
||
| 77 | */ |
||
| 78 | public function multiorders() |
||
| 82 | |||
| 83 | /** |
||
| 84 | * Get endpoint of request. |
||
| 85 | * |
||
| 86 | * @return string |
||
| 87 | */ |
||
| 88 | private function getHomologated() |
||
| 92 | } |
||
| 93 |
Adding explicit visibility (
private,protected, orpublic) is generally recommend to communicate to other developers how, and from where this method is intended to be used.