1 | <?php |
||
25 | trait Relationships |
||
26 | { |
||
27 | use Fractal; |
||
28 | |||
29 | /** |
||
30 | * @param Address|null $address |
||
31 | * |
||
32 | * @return array|null |
||
33 | */ |
||
34 | 13 | public function address($address = null) |
|
40 | |||
41 | /** |
||
42 | * @param Discount|null $discount |
||
43 | * |
||
44 | * @return array|null |
||
45 | */ |
||
46 | 3 | public function discount($discount = null) |
|
52 | |||
53 | /** |
||
54 | * @param CreditPoint|null $creditPoint |
||
55 | * |
||
56 | * @return array |
||
57 | */ |
||
58 | 3 | public function creditPoint($creditPoint = null) |
|
64 | |||
65 | /** |
||
66 | * @param PaymentMethods|null $collection |
||
67 | * |
||
68 | * @return array |
||
69 | */ |
||
70 | 11 | public function paymentMethods($collection = null) |
|
76 | |||
77 | /** |
||
78 | * @param PaymentMethod|null $item |
||
79 | * |
||
80 | * @return array |
||
81 | */ |
||
82 | 4 | public function paymentMethod($item = null) |
|
88 | |||
89 | /** |
||
90 | * @param Items|null $items |
||
91 | * |
||
92 | * @return array |
||
93 | */ |
||
94 | 6 | public function items($items) |
|
100 | |||
101 | /** |
||
102 | * @param Promotions|null $promotions |
||
103 | * |
||
104 | * @return array|null |
||
105 | */ |
||
106 | 6 | public function promotions($promotions = null) |
|
112 | } |
||
113 |