1 | <?php |
||
24 | trait Relationships |
||
25 | { |
||
26 | use Fractal; |
||
27 | |||
28 | /** |
||
29 | * @param $address|null |
||
30 | * |
||
31 | * @return array|null |
||
32 | */ |
||
33 | 13 | public function address($address = null) |
|
39 | |||
40 | /** |
||
41 | * @param Discount|null $discount |
||
42 | * |
||
43 | * @return array|null |
||
44 | */ |
||
45 | 3 | public function discount($discount = null) |
|
51 | |||
52 | /** |
||
53 | * @param CreditPoint|null $creditPoint |
||
54 | * |
||
55 | * @return array |
||
56 | */ |
||
57 | 3 | public function creditPoint($creditPoint = null) |
|
63 | |||
64 | /** |
||
65 | * @param PaymentMethods|null $collection |
||
66 | * |
||
67 | * @return array |
||
68 | */ |
||
69 | 11 | public function paymentMethods($collection = null) |
|
75 | |||
76 | /** |
||
77 | * @param Items|null $items |
||
78 | * |
||
79 | * @return array |
||
80 | */ |
||
81 | 6 | public function items($items) |
|
87 | |||
88 | /** |
||
89 | * @param Promotions|null $promotions |
||
90 | * |
||
91 | * @return array|null |
||
92 | */ |
||
93 | 6 | public function promotions($promotions = null) |
|
99 | } |
||
100 |