1 | <?php namespace Arcanedev\Stripe\Resources; |
||
32 | class Payout extends StripeResource implements PayoutContract |
||
33 | { |
||
34 | /* ----------------------------------------------------------------- |
||
35 | | Main Methods |
||
36 | | ----------------------------------------------------------------- |
||
37 | */ |
||
38 | |||
39 | /** |
||
40 | * Retrieve a payout. |
||
41 | * |
||
42 | * @param string $id |
||
43 | * @param array|string|null $options |
||
44 | * |
||
45 | * @return self |
||
46 | */ |
||
47 | 6 | public static function retrieve($id, $options = null) |
|
51 | |||
52 | /** |
||
53 | * List all the payouts. |
||
54 | * |
||
55 | * @param array|null $params |
||
56 | * @param array|string|null $options |
||
57 | * |
||
58 | * @return \Arcanedev\Stripe\Collection|array |
||
59 | */ |
||
60 | public static function all($params = null, $options = null) |
||
64 | |||
65 | /** |
||
66 | * Create the payout. |
||
67 | * |
||
68 | * @param array|null $params |
||
69 | * @param array|string|null $options |
||
70 | * |
||
71 | * @return self |
||
72 | */ |
||
73 | 8 | public static function create($params = null, $options = null) |
|
77 | |||
78 | /** |
||
79 | * Update the payout. |
||
80 | * |
||
81 | * @param string $id |
||
82 | * @param array|null $params |
||
83 | * @param array|string|null $options |
||
84 | * |
||
85 | * @return self |
||
86 | */ |
||
87 | public static function update($id, $params = null, $options = null) |
||
91 | |||
92 | /** |
||
93 | * Cancel the payout. |
||
94 | * |
||
95 | * @return self |
||
96 | */ |
||
97 | public function cancel() |
||
104 | |||
105 | /** |
||
106 | * Save the payout. |
||
107 | * |
||
108 | * @param array|string|null $options |
||
109 | * |
||
110 | * @return self |
||
111 | */ |
||
112 | 4 | public function save($options = null) |
|
116 | } |
||
117 |