@defra-fish/gafl-webapp-service
Version:
The websales frontend for the GAFL service
88 lines (87 loc) • 2.37 kB
JavaScript
export default {
payment: {},
permissions: [
{
isLicenceForYou: true,
licensee: {
birthDate: '1910-01-01',
firstName: 'Graham',
lastName: 'Willis',
premises: '11 HOWECROFT COURT',
town: 'BRISTOL',
postcode: 'BS9 1HJ',
countryCode: 'GB',
street: 'EASTMEAD LANE',
preferredMethodOfNewsletter: 'Email',
preferredMethodOfConfirmation: 'Text',
preferredMethodOfReminder: 'Text',
postalFulfilment: false,
mobilePhone: '07700 900 900',
email: 'angling@email.com'
},
licenceStartTime: null,
licenceLength: '12M',
licenceType: 'Salmon and sea trout',
numberOfRods: '1',
licenceToStart: 'after-payment',
licenceStartDate: '2020-05-01',
concessions: [
{
type: 'Senior',
proof: {
type: 'No Proof'
}
}
],
permit: {
id: 'dd1b34a0-0c66-e611-80dc-c4346bad0190',
description: 'Salmon 12 month 1 Rod Licence (Senior)',
permitId: 'dd1b34a0-0c66-e611-80dc-c4346bad0190',
permitType: {
id: 910400000,
label: 'Rod Fishing Licence',
description: ''
},
permitSubtype: {
id: 910400000,
label: 'Salmon and sea trout',
description: 'S'
},
duration: {
id: 910400003,
label: '12 months',
description: ''
},
durationMagnitude: 12,
durationDesignator: {
id: 910400001,
label: 'Month(s)',
description: 'M'
},
equipment: {
id: 910400003,
label: '1 rod',
description: ''
},
numberOfRods: 1,
availableFrom: '2017-03-31T23:00:00.000Z',
availableTo: '2021-03-31T22:59:00.000Z',
isForFulfilment: true,
isCounterSales: true,
cost: 54,
itemId: '42374',
concessions: [
{
id: 'd0ece997-ef65-e611-80dc-c4346bad4004',
name: 'Senior'
}
]
},
hash: '81427565a0b8c98de3c5ffff9bf8f13a4fb38f85860abdc84d1585f7ef4ea2f9',
referenceNumber: '01010520-1WS0SGW-C6R1ZP',
endDate: '2020-04-30T23:00:00.000Z'
}
],
id: '44728b47-c809-4c31-8c92-bdf961be0c80',
cost: 54
}