address |
The name and address of your company. You may specify
• name • street • zipCode • city
All those parameters are optional. Left out fields will be rendered blank. If you specify businessData but do not customize the address object, it will be missing from the contact view. |
{ name: "Deutsche Software Engineering & Research GmbH", street: "Elisabethstr. 42 / 43", zipCode: "02826", city: "Görlitz" } |
businessTimes |
An Array of time periods representing your company's business times. If you specify businessData but do not customize the businessTimes object,the default setup will be used instead. If you decide to define your own businessTimes object, make sure to include all required properties:
• dayOfWeek (0 to 6) • intervals: each with a name and a times array containing integers for from and to
Example
businessTimes : [{ dayOfWeek: 0, //sunday intervals: [{ name: 'Morning', times: [ {from: 8, to: 9}, {from: 9, to: 10}, {from: 10, to: 11} ] }, { name: 'Noon', times: [ {from: 11, to: 12}, {from: 12, to: 13} ] }] }]
With theses lines of code, you specify that you are open for customer requests each sunday morning and noon from 8 AM to 1 PM. |
[{ dayOfWeek: 0, //sunday intervals: [ ] }, { dayOfWeek: 1, //monday intervals: [{ name: 'Vormittags', times: [ {from: 8, to: 9}, {from: 9, to: 10}, {from: 10, to: 11} ]}, { name: 'Mittags', times: [ {from: 11, to: 12}, {from: 12, to: 13} ] }, { name: 'Nachmittags', times: [ {from: 13, to: 14}, {from: 14, to: 15}, {from: 15, to: 16}, {from: 16, to: 17} ] }]
}, { dayOfWeek: 2, //tuesday intervals: [ see previous day ] }, { dayOfWeek: 3, //wednesday intervals: [ see previous day ] }, { dayOfWeek: 4, //thursday intervals: [ see previous day ] }, { dayOfWeek: 5, //friday intervals: [ see previous day ] }, { dayOfWeek: 6, //saturday intervals: [ ] }]; |
Social Media