Example Terms Of Sale
字段 | 说明 | 设置内容 | 内容含义 | 场景举例 |
---|---|---|---|---|
close | Open/Close stay restrictions | 2021-10-01 to 2021-10-10 set to true | 2021-10-01 to 2021-10-10, including 10-01 and 10-10 two days, set to close the room every day | 1. book 2021-09-30 to stay 2021-10-02 and leave, not to book; 2. reservation 2021-10-01, 2021-10-02, no reservation; 3. |
close | Open/Close stay restrictions | 2021-10-01 to 2021-10-10 set to false | 2021-10-01 to 2021-10-10, including 10-01 and 10-10 two days, set to open sales every day | booking 2021-10-01 to 2021-10-10 date period check-in and check-out can be booked |
minStayArrival | Minimum Length of Stay on Arrival stay restrictions | 2021-10-01 to 2021-10-10 set to 3 | 2021-10-01 to 2021-10-10, including 10-01 and 10-10 two days, set the minimum continuous stay days x days per day, the total number of stay days must meet the x days set on the first day of stay | 1. book 2021-09-30 stay 2021-10-02 departure, unlimited, bookable; 2. book 2021-10-01 stay 2021-10-02 departure, the total number of stay days is 1 day, check the minimum number of stay days of 10-01 for 3 days, 1<3 cannot be booked; 3. book 2021-10-10 stay 2021-10-11 departure, the total number of stay days is 1 day, check the minimum number of stay days of 10-10 for 3 days, 1<3 cannot be booked; 4. reservation 2021-10-11 stay 2021-10-12 departure, unlimited, bookable; |
maxStayArrival | Maximum Length of Stay on Arrival stay restrictions | 2021-10-01 to 2021-10-10 is set to 10 | 2021-10-01 to 2021-10-10, including 10-01 and 10-10 two days, set the maximum number of days x days per day, the total number of days must be less than or equal to the x days set on the first day of stay | 1. Book 2021-09-30 stay 2021-10-02 departure, unlimited, bookable; 2. book 2021-10-01 to stay and leave 2021-10-12, with a total stay of 11 days, check the maximum stay of 10-01 for 10 days, and 11>10 cannot be booked; 3. book 2021-10-10 to stay and leave 2021-10-21 for 11 days, check the maximum stay of 10-10 for 10 days, and 11>10 cannot be booked; 4. reservation 2021-10-11 stay 2021-10-12 departure, unlimited, bookable; |
minStayThrough | Minimum Length of Stay Through stay restrictions | 2021-10-01 to 2021-10-10 set to 3 | 2021-10-01 to 2021-10-10, including 10-01 and 10-10 two days, set the minimum continuous stay days x days per day, check independently every day, the total number of stay days must meet the x days greater than or equal to the x days set per day | 1. book 2021-09-30 to stay 2021-10-02 to leave, check the minimum number of consecutive days for each day from 10-01 to 10-10 for 3 days, and 2<3 cannot be booked. 2. book 2021-10-01 to check in 2021-10-02 and leave the store for 1 day. check the minimum number of consecutive days for each day from 10-01 to 10-10 for 3 days and 1<3 cannot be booked. 3. book 2021-10-10-10-10 check out 2021, the total number of stay days is 1 day, check the minimum number of consecutive stay days for each day from 10-01 to 10-10 for 3 days, and 1<3 cannot be booked; 4. book 2021-10-11 check-in 2021-10-12 check-out, no restriction, can be booked; 5. book 2021-10-06 check-in 2021-10-11 check-out, the total number of check-in days is 4 days, 4, 4, 4, can be booked; |
maxStayThrough | Maximum Length of Stay Through stay restrictions | 2021-10-01 to 2021-10-10 set to 10 | 2021-10-01 to 2021-10-10, including 10-01 and 10-10 two days, set the maximum number of days x days per day, check independently every day, the total number of days must meet the x days less than or equal to the x days set per day | 1. book 2021-09-30 to stay 2021-10-02 to leave, unlimited, bookable; 2. book 2021-10-01 to check in 2021-10-12 and leave the store for a total of 11 days. check the maximum number of days to stay in Dalian for each day from 10-01 to 10-10, and 11>10 cannot be booked. 3. book 2021-10-10 to check in 2021-10-21 and leave the store for a total of 11 days. check in 10-01-10 days, 11>10 is not available; 4. reservation 2021-10-11 check-in 2021-10-12 check-out, no restriction, can be booked; |
minAdvanceDay | Minimum number of Advance booking days on Arrival stay restrictions | 2021-10-01 to 2021-10-10 are set to 3 | 2021-10-01 to 2021-10-10, including 10-01 and 10-10 days. Set a minimum advance reservation of x days per day, and limit reservation to at least x days from the first day of stay. | 1.2021-09-30 reservation 2021-09-30 check-out 2021-10-02, unlimited reservation; 2.2021-09-02 check -02, check the minimum reservation days of 10-01 for 3 days in advance, and 1<3 days in advance cannot be reserved; 3.2021-09-30 book 2021-10-02 check-in 2021-10-03 check-out, check the minimum reservation days of 10-02 for 3 days in advance, 2<3 in advance, no reservation; 4, reservable; |
maxAdvanceDay | Maximum number of Advance booking days on Arrival stay restrictions | 2021-10-01 to 2021-10-10 is set to 10 | 2021-10-01 to 2021-10-10, including 10-01 and 10-10 days. The maximum number of days in advance booking is set to X days per day. The limit must be up to X days from the first day of stay. No reservation is allowed for more than X days; 2. 2021-09-22 reservation 2021-10-01 check-in 2021-10-02 departure, check the maximum reservation days of 10-01 10 days in advance, 10=10 in advance, can be reserved; 3.2021-09-22 reservation 2021-10-02 check-in 2021-10-03 departure, check the maximum reservation days of 10-02, 11>10 in advance, no reservation; 4. 2021-09-04, 2021-03 reservation, check the maximum reservation days of 10-03 10 days in advance, 12>10 days in advance, no reservation; | |
cta | Close to Arrival on arrival day, true: Active, false: Inactive | 2021-10-01 to 2021-10-10 set to true | 2021-10-01 to 2021-10-10, including 10-01 and 10-10 two days, set arrival close to on every day | 1. book 2021-09-30 check-in 2021-10-02 check-out, no restriction, no reservation; 2. book 2021-10-01 check -02 check -02 check-out, no; 3. reservation 2021-10-10 stay 2021-10-11 departure, not reservation; 4. reservation 2021-10-11 stay 2021-10-12 departure, unlimited reservation; |
cta | Close to Arrival on arrival day, true: Active, false: Inactive | 2021-10-01 to 2021-10-10 set to false | 2021-10-01 to 2021-10-10, including 10-01 and 10-10 two days, set arrival close to closed every day | 1. book 2021-09-30 to stay 2021-10-02 to leave without restriction; 2. book 2021-10-01 to stay 2021-10-02 departure, can be booked; 3. reservation 2021-10-10 check-in 2021-10-11 check-out, can be booked; 4. reservation 2021-10-11 check-in 2021-10-12 check-out, unlimited, bookable; |
ctd | Close to Departure on departure day, true: Active, false: Inactive | 2021-10-01 to 2021-10-10 set to true | 2021-10-01 to 2021-10-10, including 10-01 and 10-10 two days, set check-out close to on every day | 1. book 2021-09-29 check-in 2021-09-30 check-out, unlimited, bookable; ; 3. reservation 2021-09-29 check-in 2021-10-10 check-out, check-out, not bookable; 4. reservation 2021-09-29 check-in 2021-10-11 check-out, unlimited, bookable; |
ctd | Close to Departure on departure day, true: Active, false: Inactive | 2021-10-01 to 2021-10-10 set to false | 2021-10-01 to 2021-10-10, including 10-01 and 10-10 two days, set check-out closing to closed every day | 1. book 2021-09-29 check-in 2021-09-30 check-out, unlimited, bookable; 2. book 2021-09-29 check -10-01 check-in; 3. reservation 2021-09-29 check-in 2021-10-10 check-out, check-in, bookable; 4. reservation 2021-09-29 check-in 2021-10-11 check-out, unlimited, bookable; |
fplos | Full pattern length of stay, the restrictions are stored up to 31 bits per day, null or empty string indicates no limit | 2021-10-01 to 2021-10-10 is set to 0000000 | 2021-10-01 to 2021-10-10, including 10-01 and 10-10 two days, set to 0000000 | 1. book 2021-09-30 check-in 2021-10-02 departure, unlimited, check -01 check-out; <2021-02, stay for 1 day, check, not book; 3. book 2021-10-01 stay 2021-10-03 departure, stay for 2 days, check, not book; 4. book 2021-10-01 stay 2021-10-04 departure, stay for 3 days, check, not book; 5. book 2021-10-01 stay 2021-10-05 departure, stay for 4 days, check, not book; 6. book 2021-10-01 stay 2021-10-06 departure, stay for 5 days, check, not book; 7. book 2021-10-01 stay 2021-10-07 departure, stay for 6 days, check, not book; 8. book 2021-10-01 stay 2021-10-08 departure, stay for 7 days, check, not book; 9. reservation 2021-10-11 stay 2021-10-12 departure, unlimited, bookable; |
fplos | Full pattern length of stay, the restrictions are stored up to 31 bits per day, null or empty string indicates no limit | 2021-10-01 to 2021-10-10 is set to 1111111 | 2021-10-01 to 2021-10-10, including 10-01 and 10-10 two days, set to 1111111 | 1. book 2021-09-30 check-in 2021-10-02 departure, unlimited, check -01 check-out; <2021-02, stay for 1 day, check and book; 3. book 2021-10-01 stay 2021-10-03 departure, stay for 2 days, check and book; 4. book 2021-10-01 stay 2021-10-04 departure, stay for 3 days, check and book; 5. book 2021-10-01 stay 2021-10-05 departure, stay for 4 days, check and book; 6. book 2021-10-01 stay 2021-10-06 departure, stay for 5 days, check and book; 7. book 2021-10-01 stay 2021-10-07 departure, stay for 6 days, check and book; 8. book 2021-10-01 stay 2021-10-08 departure, stay for 7 days, check and book. 9. reservation 2021-10-09, check -01, stay for 8 days, check, can be booked; 10. book 2021-10-11 stay 2021-10-12 departure, unlimited, can be booked; |