Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
20 | public function allowed(): array |
||
21 | { |
||
22 | return [ |
||
23 | 'gift_voucher_id' => 'int', // Id for the gift voucher object. |
||
24 | 'gift_email' => 'string', // Gift email for the purchase |
||
25 | 'gift_message' => 'string', // Gift message for the purchase |
||
26 | 'total_quantity' => 'int', // The total quantity of the purchase. |
||
27 | 'fee_exempt' => 'bool', // True if this basket purchase is fee exempt. |
||
28 | 'tax_exempt' => 'string', // True if this basket purchase is tax exempt. |
||
29 | ]; |
||
33 |