1 | <?php |
||
8 | class Order extends BaseModel |
||
9 | { |
||
10 | use QueryBuilderTrait; |
||
11 | |||
12 | protected $endpoint = 'orders'; |
||
13 | |||
14 | /* |
||
15 | * Note |
||
16 | */ |
||
17 | |||
18 | protected function notes($order_id, $options = []) |
||
22 | |||
23 | protected function note($order_id, $note_id) |
||
27 | |||
28 | protected function createNote($order_id, $data = []) |
||
32 | |||
33 | protected function deleteNote($order_id, $note_id, $options = []) |
||
37 | |||
38 | /* |
||
39 | * Refund |
||
40 | */ |
||
41 | |||
42 | protected function refunds($order_id, $options = []) |
||
46 | |||
47 | protected function refund($order_id, $refund_id) |
||
51 | |||
52 | protected function createRefund($order_id, $data = []) |
||
56 | |||
57 | protected function deleteRefund($order_id, $refund_id, $options = []) |
||
61 | } |
||
62 |