Files
aeroresolve_backend/database/action-builder/refunds.json
T

312 lines
8.2 KiB
JSON
Raw Normal View History

[
{
"actionTypeCode": "FULL_TICKET_REFUND",
"fields": [
{
"fieldCode": "refund_basis",
"fieldName": "Refund Basis",
"fieldType": "dropdown",
"lookupSource": "refund-basis",
"isRequired": true,
"width": "half",
"section": "Finance / Payment Gateway",
"displayOrder": 1
},
{
"fieldCode": "amount_type",
"fieldName": "Amount Type",
"fieldType": "dropdown",
"lookupSource": "amount-type",
"isRequired": true,
"width": "half",
"section": "Finance / Payment Gateway",
"displayOrder": 2
},
{
"fieldCode": "refund_amount",
"fieldName": "Refund Amount",
"fieldType": "currency",
"isRequired": true,
"width": "half",
"section": "Finance / Payment Gateway",
"displayOrder": 3,
"lookupSource": "currency"
},
{
"fieldCode": "maximum_refund_limit",
"fieldName": "Maximum Refund Limit",
"fieldType": "currency",
"isRequired": false,
"width": "half",
"section": "Finance / Payment Gateway",
"displayOrder": 4,
"lookupSource": "currency"
},
{
"fieldCode": "refund_method",
"fieldName": "Refund Method",
"fieldType": "dropdown",
"lookupSource": "refund-method",
"isRequired": true,
"width": "half",
"section": "Finance / Payment Gateway",
"displayOrder": 5
},
{
"fieldCode": "approval_required",
"fieldName": "Approval Required",
"fieldType": "switch",
"isRequired": false,
"width": "full",
"section": "Finance / Payment Gateway",
"displayOrder": 6
}
]
},
{
"actionTypeCode": "PARTIAL_TICKET_REFUND",
"fields": [
{
"fieldCode": "refund_component",
"fieldName": "Refund Component",
"fieldType": "multi_select",
"lookupSource": "refund-component",
"isRequired": true,
"width": "full",
"section": "Finance",
"displayOrder": 1
},
{
"fieldCode": "amount_type",
"fieldName": "Amount Type",
"fieldType": "dropdown",
"lookupSource": "amount-type",
"isRequired": true,
"width": "half",
"section": "Finance",
"displayOrder": 2
},
{
"fieldCode": "refund_percentage",
"fieldName": "Refund Percentage",
"fieldType": "number",
"isRequired": false,
"width": "half",
"section": "Finance",
"displayOrder": 3
},
{
"fieldCode": "refund_amount",
"fieldName": "Refund Amount",
"fieldType": "currency",
"isRequired": false,
"width": "half",
"section": "Finance",
"displayOrder": 4,
"lookupSource": "currency"
},
{
"fieldCode": "maximum_refund_limit",
"fieldName": "Maximum Refund Limit",
"fieldType": "currency",
"isRequired": false,
"width": "half",
"section": "Finance",
"displayOrder": 5,
"lookupSource": "currency"
},
{
"fieldCode": "refund_method",
"fieldName": "Refund Method",
"fieldType": "dropdown",
"lookupSource": "refund-method",
"isRequired": true,
"width": "half",
"section": "Finance",
"displayOrder": 6
},
{
"fieldCode": "approval_required",
"fieldName": "Approval Required",
"fieldType": "switch",
"isRequired": false,
"width": "full",
"section": "Finance",
"displayOrder": 7
}
]
},
{
"actionTypeCode": "TAX_REFUND",
"fields": [
{
"fieldCode": "tax_type",
"fieldName": "Tax Type",
"fieldType": "multi_select",
"lookupSource": "tax-type",
"isRequired": true,
"width": "full",
"section": "Amount Type",
"displayOrder": 1
},
{
"fieldCode": "amount_type",
"fieldName": "Amount Type",
"fieldType": "dropdown",
"lookupSource": "amount-type",
"isRequired": true,
"width": "half",
"section": "Refund Amount",
"displayOrder": 2
},
{
"fieldCode": "refund_amount",
"fieldName": "Refund Amount",
"fieldType": "currency",
"isRequired": true,
"width": "half",
"section": "Refund Amount",
"displayOrder": 3,
"lookupSource": "currency"
},
{
"fieldCode": "refund_method",
"fieldName": "Refund Method",
"fieldType": "dropdown",
"lookupSource": "refund-method",
"isRequired": true,
"width": "half",
"section": "Refund Method",
"displayOrder": 4
},
{
"fieldCode": "approval_required",
"fieldName": "Approval Required",
"fieldType": "switch",
"isRequired": false,
"width": "full",
"section": "Approval Required",
"displayOrder": 5
}
]
},
{
"actionTypeCode": "ANCILLARY_REFUND",
"fields": [
{
"fieldCode": "ancillary_type",
"fieldName": "Ancillary Type",
"fieldType": "multi_select",
"lookupSource": "ancillary-purchase",
"isRequired": true,
"width": "full",
"section": "Amount Type",
"displayOrder": 1
},
{
"fieldCode": "amount_type",
"fieldName": "Amount Type",
"fieldType": "dropdown",
"lookupSource": "amount-type",
"isRequired": true,
"width": "half",
"section": "Refund Amount",
"displayOrder": 2
},
{
"fieldCode": "refund_amount",
"fieldName": "Refund Amount",
"fieldType": "currency",
"isRequired": true,
"width": "half",
"section": "Refund Amount",
"displayOrder": 3,
"lookupSource": "currency"
},
{
"fieldCode": "refund_method",
"fieldName": "Refund Method",
"fieldType": "dropdown",
"lookupSource": "refund-method",
"isRequired": true,
"width": "half",
"section": "Refund Method",
"displayOrder": 4
},
{
"fieldCode": "approval_required",
"fieldName": "Approval Required",
"fieldType": "switch",
"isRequired": false,
"width": "full",
"section": "Approval Required",
"displayOrder": 5
}
]
},
{
"actionTypeCode": "BAGGAGE_FEE_REFUND",
"fields": [
{
"fieldCode": "baggage_type",
"fieldName": "Baggage Type",
"fieldType": "dropdown",
"lookupSource": "baggage-type",
"isRequired": true,
"width": "half",
"section": "Refund Basis",
"displayOrder": 1
},
{
"fieldCode": "refund_basis",
"fieldName": "Refund Basis",
"fieldType": "dropdown",
"lookupSource": "refund-basis",
"isRequired": true,
"width": "half",
"section": "Refund Basis",
"displayOrder": 2
},
{
"fieldCode": "amount_type",
"fieldName": "Amount Type",
"fieldType": "dropdown",
"lookupSource": "amount-type",
"isRequired": true,
"width": "half",
"section": "Refund Amount",
"displayOrder": 3
},
{
"fieldCode": "refund_amount",
"fieldName": "Refund Amount",
"fieldType": "currency",
"isRequired": true,
"width": "half",
"section": "Refund Amount",
"displayOrder": 4,
"lookupSource": "currency"
},
{
"fieldCode": "refund_method",
"fieldName": "Refund Method",
"fieldType": "dropdown",
"lookupSource": "refund-method",
"isRequired": true,
"width": "half",
"section": "Refund Method",
"displayOrder": 5
},
{
"fieldCode": "approval_required",
"fieldName": "Approval Required",
"fieldType": "switch",
"isRequired": false,
"width": "full",
"section": "Approval Required",
"displayOrder": 6
}
]
}
]