Skip to content

Commit 8f13516

Browse files
author
Moody
committed
docs: update related Ptsv2paymentsTravelInformationTransitAirlineLegs.departureDate docs from integer to string
1 parent 0653886 commit 8f13516

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

docs/Ptsv2paymentsTravelInformationTransitAirlineLegs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
99
**originatingAirportCode** | **String** | IATA code for the originating airport for this leg of the trip. Format: English characters only. Restricted string data type that indicates a sequence of letters, numbers, and spaces; special characters are not included. Optional request field for travel legs. | [optional]
1010
**propertyClass** | **String** | IATA code for the class of service for this leg of the trip. Format: English characters only. Restricted string data type that indicates a sequence of letters, numbers, and spaces; special characters are not included. Optional request field for travel legs. | [optional]
1111
**stopoverIndicator** | **Integer** | Code that indicates whether a stopover is allowed on this leg of the trip. Possible values: - `O` (capital letter \"O\") (default): Stopover allowed - `X` (capital letter \"X\"): Stopover not allowed Format: English characters only. Restricted string data type that indicates a sequence of letters, numbers, and spaces; special characters are not included. Optional request field for travel legs. | [optional]
12-
**departureDate** | **Integer** | Departure date for the first leg of the trip. Format: `YYYYMMDD`. Format: English characters only. Optional request field for travel legs. | [optional]
12+
**departureDate** | **String** | Departure date for the first leg of the trip. Format: `MMDDYY`. Format: English characters only. Optional request field for travel legs. | [optional]
1313
**destinationAirportCode** | **String** | IATA code for the destination airport for this leg of the trip. Format: English characters only. Restricted string data type that indicates a sequence of letters, numbers, and spaces; special characters are not included. Optional request field for travel legs. | [optional]
1414
**fareBasis** | **String** | Code for the fare basis for this leg of the trip. The fare basis is assigned by the carriers and indicates a particular ticket type, such as business class or discounted/nonrefundable. Restricted string data type that indicates a sequence of letters, numbers, and spaces; special characters are not included. Format: English characters only. Optional request field for travel legs.auto_rental_regular_mileage_cost | [optional]
1515
**departTaxAmount** | **String** | Amount of departure tax for this leg of the trip. | [optional]

generator/cybersource-rest-spec.json

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4583,9 +4583,9 @@
45834583
"description": "Code that indicates whether a stopover is allowed on this leg of the trip. Possible values:\n- `O` (capital letter \"O\") (default): Stopover allowed\n- `X` (capital letter \"X\"): Stopover not allowed\nFormat: English characters only.\nRestricted string data type that indicates a sequence of letters, numbers, and spaces; special characters are not included.\nOptional request field for travel legs.\n"
45844584
},
45854585
"departureDate": {
4586-
"type": "integer",
4586+
"type": "string",
45874587
"maxLength": 8,
4588-
"description": "Departure date for the first leg of the trip.\nFormat: `YYYYMMDD`.\nFormat: English characters only.\nOptional request field for travel legs.\n"
4588+
"description": "Departure date for the first leg of the trip.\nFormat: `MMDDYY`.\nFormat: English characters only.\nOptional request field for travel legs.\n"
45894589
},
45904590
"destinationAirportCode": {
45914591
"type": "string",
@@ -14842,9 +14842,9 @@
1484214842
"description": "Code that indicates whether a stopover is allowed on this leg of the trip. Possible values:\n- `O` (capital letter \"O\") (default): Stopover allowed\n- `X` (capital letter \"X\"): Stopover not allowed\nFormat: English characters only.\nRestricted string data type that indicates a sequence of letters, numbers, and spaces; special characters are not included.\nOptional request field for travel legs.\n"
1484314843
},
1484414844
"departureDate": {
14845-
"type": "integer",
14845+
"type": "string",
1484614846
"maxLength": 8,
14847-
"description": "Departure date for the first leg of the trip.\nFormat: `YYYYMMDD`.\nFormat: English characters only.\nOptional request field for travel legs.\n"
14847+
"description": "Departure date for the first leg of the trip.\nFormat: `MMDDYY`.\nFormat: English characters only.\nOptional request field for travel legs.\n"
1484814848
},
1484914849
"destinationAirportCode": {
1485014850
"type": "string",
@@ -17661,9 +17661,9 @@
1766117661
"description": "Code that indicates whether a stopover is allowed on this leg of the trip. Possible values:\n- `O` (capital letter \"O\") (default): Stopover allowed\n- `X` (capital letter \"X\"): Stopover not allowed\nFormat: English characters only.\nRestricted string data type that indicates a sequence of letters, numbers, and spaces; special characters are not included.\nOptional request field for travel legs.\n"
1766217662
},
1766317663
"departureDate": {
17664-
"type": "integer",
17664+
"type": "string",
1766517665
"maxLength": 8,
17666-
"description": "Departure date for the first leg of the trip.\nFormat: `YYYYMMDD`.\nFormat: English characters only.\nOptional request field for travel legs.\n"
17666+
"description": "Departure date for the first leg of the trip.\nFormat: `MMDDYY`.\nFormat: English characters only.\nOptional request field for travel legs.\n"
1766717667
},
1766817668
"destinationAirportCode": {
1766917669
"type": "string",
@@ -20339,9 +20339,9 @@
2033920339
"description": "Code that indicates whether a stopover is allowed on this leg of the trip. Possible values:\n- `O` (capital letter \"O\") (default): Stopover allowed\n- `X` (capital letter \"X\"): Stopover not allowed\nFormat: English characters only.\nRestricted string data type that indicates a sequence of letters, numbers, and spaces; special characters are not included.\nOptional request field for travel legs.\n"
2034020340
},
2034120341
"departureDate": {
20342-
"type": "integer",
20342+
"type": "string",
2034320343
"maxLength": 8,
20344-
"description": "Departure date for the first leg of the trip.\nFormat: `YYYYMMDD`.\nFormat: English characters only.\nOptional request field for travel legs.\n"
20344+
"description": "Departure date for the first leg of the trip.\nFormat: `MMDDYY`.\nFormat: English characters only.\nOptional request field for travel legs.\n"
2034520345
},
2034620346
"destinationAirportCode": {
2034720347
"type": "string",
@@ -23289,9 +23289,9 @@
2328923289
"description": "Code that indicates whether a stopover is allowed on this leg of the trip. Possible values:\n- `O` (capital letter \"O\") (default): Stopover allowed\n- `X` (capital letter \"X\"): Stopover not allowed\nFormat: English characters only.\nRestricted string data type that indicates a sequence of letters, numbers, and spaces; special characters are not included.\nOptional request field for travel legs.\n"
2329023290
},
2329123291
"departureDate": {
23292-
"type": "integer",
23292+
"type": "string",
2329323293
"maxLength": 8,
23294-
"description": "Departure date for the first leg of the trip.\nFormat: `YYYYMMDD`.\nFormat: English characters only.\nOptional request field for travel legs.\n"
23294+
"description": "Departure date for the first leg of the trip.\nFormat: `MMDDYY`.\nFormat: English characters only.\nOptional request field for travel legs.\n"
2329523295
},
2329623296
"destinationAirportCode": {
2329723297
"type": "string",
@@ -74226,13 +74226,13 @@
7422674226
"legs": [
7422774227
{
7422874228
"carrierCode": "UA",
74229-
"departureDate": "2023-01-01",
74229+
"departureDate": "010123",
7423074230
"destination": "DEFGH",
7423174231
"origin": "LAX"
7423274232
},
7423374233
{
7423474234
"carrierCode": "AS",
74235-
"departureDate": "2023-02-21",
74235+
"departureDate": "022123",
7423674236
"destination": "RESD",
7423774237
"origin": "ECF"
7423874238
}

0 commit comments

Comments
 (0)