Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1559 Adding lodgingCheckout to Lodging Reservation Field Group #1562

Merged
merged 5 commits into from
Jun 15, 2022
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,32 @@
"xdm:roomAccessibilityType": "n/a",
"xdm:roomCapacity": 6,
"xdm:roomType": "king",
"xdm:smoking": false
"xdm:smoking": false,
"xdm:lodgingCheckout": {
"xdm:receiptURL": "https://adobe.com",
"xdm:dailyCharges": [
{
"xdm:chargeDescription": "Room charge",
"xdm:chargeReferenceCode": "XYZ",
"xdm:chargeDate": "2020-01-01",
"xdm:dailyCharge": {
"xdm:amount": 1203.01,
"xdm:currencyCode": "USD",
"xdm:conversionDate": "2018-01-12T15:52:25+00:00"
}
},
{
"xdm:chargeDescription": "State Tax",
"xdm:chargeReferenceCode": "ST-TAX",
"xdm:chargeDate": "2020-01-01",
"xdm:dailyCharge": {
"xdm:amount": 12.01,
"xdm:currencyCode": "USD",
"xdm:conversionDate": "2018-01-12T15:52:25+00:00"
}
}
]
}
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,9 @@
"https://ns.adobe.com/xdm/mixins/industry-verticals/experienceevent-reservation-details"
],
"meta:tags": {
"industry": [
"travel_and_hospitality"
]
"industry": ["travel_and_hospitality"]
},
"meta:intendedToExtend": [
"https://ns.adobe.com/xdm/context/experienceevent"
],
"meta:intendedToExtend": ["https://ns.adobe.com/xdm/context/experienceevent"],
"description": "Collects all details specific to a lodging reservation.",
"definitions": {
"reservations": {
Expand Down Expand Up @@ -361,6 +357,51 @@
}
},
"meta:descriptionId": "experienceevent-lodging-reservation##xdm:lodgingCheckIn##description##53961"
},
"xdm:lodgingCheckout": {
"type": "object",
"title": "lodgingCheckout",
"description": "Lodging check out information, such as receipt URL, and a list of daily charges to populate a guest receipt.",
"properties": {
"xdm:receiptURL": {
"format": "uri-reference",
"type": "string",
"description": "URL for receipt sent to guest upon checkout.",
"title": "receiptURL"
},
"xdm:dailyCharges": {
"type": "array",
"description": "List of daily charges.",
"title": "dailyCharges",
"items": {
"type": "object",
"properties": {
"xdm:dailyCharge": {
"$ref": "https://ns.adobe.com/xdm/datatypes/currency",
"type": "object",
"description": "",
derek-selby marked this conversation as resolved.
Show resolved Hide resolved
"title": "Daily Charge"
},
"xdm:chargeDescription": {
"type": "string",
"title": "chargeDescription",
"description": "Description of the charge line item."
},
"xdm:chargeReferenceCode": {
"type": "string",
"title": "chargeReferenceCode",
"description": "Reference code of the charge line item."
},
"xdm:chargeDate": {
"format": "date",
mjasrotia marked this conversation as resolved.
Show resolved Hide resolved
"type": "string",
"title": "chargeDate",
"description": "Date of the charge line item."
}
}
}
}
}
}
}
}
Expand All @@ -383,4 +424,4 @@
"meta:createdDate": "2021-02-10",
"meta:titleId": "experienceevent-lodging-reservation##title##34511",
"meta:descriptionId": "experienceevent-lodging-reservation##description##14951"
}
}