block.json
44 lines
| 1 | { |
| 2 | "name": "surecart/tax-id-input", |
| 3 | "title": "VAT or Tax ID Input", |
| 4 | "apiVersion": 3, |
| 5 | "description": "Display a VAT/GST field for VAT collection.", |
| 6 | "category": "surecart", |
| 7 | "keywords": ["totals", "summary"], |
| 8 | "textdomain": "surecart", |
| 9 | "ancestor": ["surecart/form"], |
| 10 | "supports": { |
| 11 | "reusable": false, |
| 12 | "html": false |
| 13 | }, |
| 14 | "attributes": { |
| 15 | "other_label": { |
| 16 | "type": "string" |
| 17 | }, |
| 18 | "ca_gst_label": { |
| 19 | "type": "string" |
| 20 | }, |
| 21 | "au_abn_label": { |
| 22 | "type": "string" |
| 23 | }, |
| 24 | "gb_vat_label": { |
| 25 | "type": "string" |
| 26 | }, |
| 27 | "eu_vat_label": { |
| 28 | "type": "string" |
| 29 | }, |
| 30 | "help_text": { |
| 31 | "type": "string", |
| 32 | "default": "" |
| 33 | }, |
| 34 | "tax_id_types": { |
| 35 | "type": "array", |
| 36 | "default": [] |
| 37 | }, |
| 38 | "required": { |
| 39 | "type": "boolean", |
| 40 | "default": false |
| 41 | } |
| 42 | } |
| 43 | } |
| 44 |