diff --git a/docs/Ptsv2paymentsTravelInformationTransitAirline.md b/docs/Ptsv2paymentsTravelInformationTransitAirline.md index f4bec281..eb44cf89 100644 --- a/docs/Ptsv2paymentsTravelInformationTransitAirline.md +++ b/docs/Ptsv2paymentsTravelInformationTransitAirline.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes **ticketNumber** | **String** | Ticket number. 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. | [optional] **checkDigit** | **String** | Check digit for the ticket number. CyberSource recommends that you validate the check digit. With Discover and Diners Club, a valid ticket number has these characteristics: - The value is numeric. - The first three digits are a valid IATA2 license plate carrier code. - The last digit is a check digit or zero (0). - All remaining digits are nonzero. | [optional] **restrictedTicketIndicator** | **Integer** | Flag that indicates whether or not the ticket is restricted (nonrefundable). Possible values: - 0: No restriction (refundable) - 1: Restricted (nonrefundable) 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. | [optional] -**transactionType** | **Integer** | Type of charge. Possible values: - 01: Charge is for an airline ticket - 02: Charge is for an item that is not an airline ticket | [optional] +**transactionType** | **String** | Type of charge. Possible values: - 01: Charge is for an airline ticket - 02: Charge is for an item that is not an airline ticket | [optional] **extendedPaymentCode** | **String** | The field is not currently supported. | [optional] **passengerName** | **String** | Name of the passenger to whom the ticket was issued. This will always be a single passenger's name. If there are more than one passengers, provide only the primary passenger's name. Do not include special characters such as commas, hyphens, or apostrophes. Only ASCII characters are supported. Format: English characters only. Optional request field. | [optional] **customerCode** | **String** | Reference number or code that identifies the cardholder. 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. | [optional] diff --git a/docs/Ptsv2paymentsTravelInformationTransitAirlineLegs.md b/docs/Ptsv2paymentsTravelInformationTransitAirlineLegs.md index 64355e11..d6a1a493 100644 --- a/docs/Ptsv2paymentsTravelInformationTransitAirlineLegs.md +++ b/docs/Ptsv2paymentsTravelInformationTransitAirlineLegs.md @@ -8,17 +8,17 @@ Name | Type | Description | Notes **flightNumber** | **String** | Flight number for this leg of the trip. Restrictions are limitations for the ticket based on the type of fare, such as a nonrefundable ticket or a 3-day minimum stay. Format: English characters only. Optional request field for travel legs. | [optional] **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] **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] -**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] -**departureDate** | **Integer** | Departure date for the first leg of the trip. Format: `YYYYMMDD`. Format: English characters only. Optional request field for travel legs. | [optional] +**stopoverIndicator** | **String** | 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] +**departureDate** | **String** | Departure date for the first leg of the trip. Format: `MMDDYY`. Format: English characters only. Optional request field for travel legs. | [optional] **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] **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] **departTaxAmount** | **String** | Amount of departure tax for this leg of the trip. | [optional] **conjunctionTicket** | **String** | Ticket that contains additional coupons for this leg of the trip on an itinerary that has more than four segments. 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] **exchangeTicketNumber** | **String** | New ticket number that is issued when the ticket is exchanged for this leg of the trip. Restrictions are limitations for the ticket based on the type of fare, such as a nonrefundable ticket or a 3-day minimum stay. Format: English characters only. Optional request field for travel legs. | [optional] **couponNumber** | **String** | Coupon number. Each leg on the ticket requires a separate coupon, and each coupon is identified by the coupon number. 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] -**departureTime** | **Integer** | Time of departure for this leg of the trip. The format is military time and HHMM: If not all zeros, then the hours must be `00-23` and the minutes must be `00-59`. Format: English characters only. Optional request field for travel legs. | [optional] +**departureTime** | **String** | Time of departure for this leg of the trip. The format is military time and HHMM: If not all zeros, then the hours must be `00-23` and the minutes must be `00-59`. Format: English characters only. Optional request field for travel legs. | [optional] **departureTimeMeridian** | **String** | AM or PM for the departure time. Possible values: - A: 12:00 midnight to 11:59 a.m. - P: 12:00 noon to 11:59 p.m 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] -**arrivalTime** | **Integer** | Time of arrival for this leg of the trip. The format is military time and HHMM: If not all zeros, then the hours must be `00-23` and the minutes must be `00-59` Format: English characters only. Optional request field for travel legs. | [optional] +**arrivalTime** | **String** | Time of arrival for this leg of the trip. The format is military time and HHMM: If not all zeros, then the hours must be `00-23` and the minutes must be `00-59` Format: English characters only. Optional request field for travel legs. | [optional] **arrivalTimeMeridian** | **String** | AM or PM for the arrival time for this leg of the trip. Possible values: - `A`: 12:00 midnight to 11:59 a.m. - `P`: 12:00 noon to 11:59 p.m. 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] **endorsementsRestrictions** | **String** | Notes or notations about endorsements and restrictions for this leg of the trip. Endorsements can be notations added by the travel agency, including mandatory government-required notations such as value added tax. Restrictions are limitations for the ticket based on the type of fare, such as a nonrefundable ticket or a 3-day minimum stay. Format: English characters only. Optional request field for travel legs. | [optional] **totalFareAmount** | **String** | Total fare for this leg of the trip. Format: English characters only. Optional request field for travel legs. | [optional] diff --git a/generator/cybersource-rest-spec-java.json b/generator/cybersource-rest-spec-java.json index 4b7023a8..b60adb79 100644 --- a/generator/cybersource-rest-spec-java.json +++ b/generator/cybersource-rest-spec-java.json @@ -4472,7 +4472,7 @@ "description": "Flag that indicates whether or not the ticket is restricted (nonrefundable).\nPossible values:\n- 0: No restriction (refundable)\n- 1: Restricted (nonrefundable)\nFormat: English characters only.\nRestricted string data type that indicates a sequence of letters, numbers, and spaces;\nspecial characters are not included.\nOptional request field.\n" }, "transactionType": { - "type": "integer", + "type": "string", "maxLength": 2, "description": "Type of charge.\nPossible values:\n- 01: Charge is for an airline ticket\n- 02: Charge is for an item that is not an airline ticket\n" }, @@ -4646,14 +4646,14 @@ "description": "IATA code for the class of service for this leg of the trip.\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" }, "stopoverIndicator": { - "type": "integer", + "type": "string", "maxLength": 1, "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" }, "departureDate": { - "type": "integer", + "type": "string", "maxLength": 8, - "description": "Departure date for the first leg of the trip.\nFormat: `YYYYMMDD`.\nFormat: English characters only.\nOptional request field for travel legs.\n" + "description": "Departure date for the first leg of the trip.\nFormat: `MMDDYY`.\nFormat: English characters only.\nOptional request field for travel legs.\n" }, "destinationAirportCode": { "type": "string", @@ -4686,7 +4686,7 @@ "description": "Coupon number. Each leg on the ticket requires a separate coupon, and each coupon is identified by the coupon number.\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" }, "departureTime": { - "type": "integer", + "type": "string", "maxLength": 4, "description": "Time of departure for this leg of the trip. The format is military time and HHMM:\nIf not all zeros, then the hours must be `00-23` and the minutes must be `00-59`.\nFormat: English characters only.\nOptional request field for travel legs.\n" }, @@ -4696,7 +4696,7 @@ "description": "AM or PM for the departure time.\nPossible values:\n- A: 12:00 midnight to 11:59 a.m.\n- P: 12:00 noon to 11:59 p.m\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" }, "arrivalTime": { - "type": "integer", + "type": "string", "maxLength": 4, "description": "Time of arrival for this leg of the trip.\nThe format is military time and HHMM:\nIf not all zeros, then the hours must be `00-23` and the minutes must be `00-59`\nFormat: English characters only.\nOptional request field for travel legs.\n" }, @@ -24312,7 +24312,7 @@ "description": "Flag that indicates whether or not the ticket is restricted (nonrefundable).\nPossible values:\n- 0: No restriction (refundable)\n- 1: Restricted (nonrefundable)\nFormat: English characters only.\nRestricted string data type that indicates a sequence of letters, numbers, and spaces;\nspecial characters are not included.\nOptional request field.\n" }, "transactionType": { - "type": "integer", + "type": "string", "maxLength": 2, "description": "Type of charge.\nPossible values:\n- 01: Charge is for an airline ticket\n- 02: Charge is for an item that is not an airline ticket\n" }, @@ -24486,14 +24486,14 @@ "description": "IATA code for the class of service for this leg of the trip.\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" }, "stopoverIndicator": { - "type": "integer", + "type": "string", "maxLength": 1, "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" }, "departureDate": { - "type": "integer", + "type": "string", "maxLength": 8, - "description": "Departure date for the first leg of the trip.\nFormat: `YYYYMMDD`.\nFormat: English characters only.\nOptional request field for travel legs.\n" + "description": "Departure date for the first leg of the trip.\nFormat: `MMDDYY`.\nFormat: English characters only.\nOptional request field for travel legs.\n" }, "destinationAirportCode": { "type": "string", @@ -24526,7 +24526,7 @@ "description": "Coupon number. Each leg on the ticket requires a separate coupon, and each coupon is identified by the coupon number.\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" }, "departureTime": { - "type": "integer", + "type": "string", "maxLength": 4, "description": "Time of departure for this leg of the trip. The format is military time and HHMM:\nIf not all zeros, then the hours must be `00-23` and the minutes must be `00-59`.\nFormat: English characters only.\nOptional request field for travel legs.\n" }, @@ -24536,7 +24536,7 @@ "description": "AM or PM for the departure time.\nPossible values:\n- A: 12:00 midnight to 11:59 a.m.\n- P: 12:00 noon to 11:59 p.m\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" }, "arrivalTime": { - "type": "integer", + "type": "string", "maxLength": 4, "description": "Time of arrival for this leg of the trip.\nThe format is military time and HHMM:\nIf not all zeros, then the hours must be `00-23` and the minutes must be `00-59`\nFormat: English characters only.\nOptional request field for travel legs.\n" }, @@ -27132,7 +27132,7 @@ "description": "Flag that indicates whether or not the ticket is restricted (nonrefundable).\nPossible values:\n- 0: No restriction (refundable)\n- 1: Restricted (nonrefundable)\nFormat: English characters only.\nRestricted string data type that indicates a sequence of letters, numbers, and spaces;\nspecial characters are not included.\nOptional request field.\n" }, "transactionType": { - "type": "integer", + "type": "string", "maxLength": 2, "description": "Type of charge.\nPossible values:\n- 01: Charge is for an airline ticket\n- 02: Charge is for an item that is not an airline ticket\n" }, @@ -27306,14 +27306,14 @@ "description": "IATA code for the class of service for this leg of the trip.\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" }, "stopoverIndicator": { - "type": "integer", + "type": "string", "maxLength": 1, "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" }, "departureDate": { - "type": "integer", + "type": "string", "maxLength": 8, - "description": "Departure date for the first leg of the trip.\nFormat: `YYYYMMDD`.\nFormat: English characters only.\nOptional request field for travel legs.\n" + "description": "Departure date for the first leg of the trip.\nFormat: `MMDDYY`.\nFormat: English characters only.\nOptional request field for travel legs.\n" }, "destinationAirportCode": { "type": "string", @@ -27346,7 +27346,7 @@ "description": "Coupon number. Each leg on the ticket requires a separate coupon, and each coupon is identified by the coupon number.\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" }, "departureTime": { - "type": "integer", + "type": "string", "maxLength": 4, "description": "Time of departure for this leg of the trip. The format is military time and HHMM:\nIf not all zeros, then the hours must be `00-23` and the minutes must be `00-59`.\nFormat: English characters only.\nOptional request field for travel legs.\n" }, @@ -27356,7 +27356,7 @@ "description": "AM or PM for the departure time.\nPossible values:\n- A: 12:00 midnight to 11:59 a.m.\n- P: 12:00 noon to 11:59 p.m\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" }, "arrivalTime": { - "type": "integer", + "type": "string", "maxLength": 4, "description": "Time of arrival for this leg of the trip.\nThe format is military time and HHMM:\nIf not all zeros, then the hours must be `00-23` and the minutes must be `00-59`\nFormat: English characters only.\nOptional request field for travel legs.\n" }, @@ -29820,7 +29820,7 @@ "description": "Flag that indicates whether or not the ticket is restricted (nonrefundable).\nPossible values:\n- 0: No restriction (refundable)\n- 1: Restricted (nonrefundable)\nFormat: English characters only.\nRestricted string data type that indicates a sequence of letters, numbers, and spaces;\nspecial characters are not included.\nOptional request field.\n" }, "transactionType": { - "type": "integer", + "type": "string", "maxLength": 2, "description": "Type of charge.\nPossible values:\n- 01: Charge is for an airline ticket\n- 02: Charge is for an item that is not an airline ticket\n" }, @@ -29994,14 +29994,14 @@ "description": "IATA code for the class of service for this leg of the trip.\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" }, "stopoverIndicator": { - "type": "integer", + "type": "string", "maxLength": 1, "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" }, "departureDate": { - "type": "integer", + "type": "string", "maxLength": 8, - "description": "Departure date for the first leg of the trip.\nFormat: `YYYYMMDD`.\nFormat: English characters only.\nOptional request field for travel legs.\n" + "description": "Departure date for the first leg of the trip.\nFormat: `MMDDYY`.\nFormat: English characters only.\nOptional request field for travel legs.\n" }, "destinationAirportCode": { "type": "string", @@ -30034,7 +30034,7 @@ "description": "Coupon number. Each leg on the ticket requires a separate coupon, and each coupon is identified by the coupon number.\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" }, "departureTime": { - "type": "integer", + "type": "string", "maxLength": 4, "description": "Time of departure for this leg of the trip. The format is military time and HHMM:\nIf not all zeros, then the hours must be `00-23` and the minutes must be `00-59`.\nFormat: English characters only.\nOptional request field for travel legs.\n" }, @@ -30044,7 +30044,7 @@ "description": "AM or PM for the departure time.\nPossible values:\n- A: 12:00 midnight to 11:59 a.m.\n- P: 12:00 noon to 11:59 p.m\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" }, "arrivalTime": { - "type": "integer", + "type": "string", "maxLength": 4, "description": "Time of arrival for this leg of the trip.\nThe format is military time and HHMM:\nIf not all zeros, then the hours must be `00-23` and the minutes must be `00-59`\nFormat: English characters only.\nOptional request field for travel legs.\n" }, @@ -32780,7 +32780,7 @@ "description": "Flag that indicates whether or not the ticket is restricted (nonrefundable).\nPossible values:\n- 0: No restriction (refundable)\n- 1: Restricted (nonrefundable)\nFormat: English characters only.\nRestricted string data type that indicates a sequence of letters, numbers, and spaces;\nspecial characters are not included.\nOptional request field.\n" }, "transactionType": { - "type": "integer", + "type": "string", "maxLength": 2, "description": "Type of charge.\nPossible values:\n- 01: Charge is for an airline ticket\n- 02: Charge is for an item that is not an airline ticket\n" }, @@ -32954,14 +32954,14 @@ "description": "IATA code for the class of service for this leg of the trip.\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" }, "stopoverIndicator": { - "type": "integer", + "type": "string", "maxLength": 1, "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" }, "departureDate": { - "type": "integer", + "type": "string", "maxLength": 8, - "description": "Departure date for the first leg of the trip.\nFormat: `YYYYMMDD`.\nFormat: English characters only.\nOptional request field for travel legs.\n" + "description": "Departure date for the first leg of the trip.\nFormat: `MMDDYY`.\nFormat: English characters only.\nOptional request field for travel legs.\n" }, "destinationAirportCode": { "type": "string", @@ -32994,7 +32994,7 @@ "description": "Coupon number. Each leg on the ticket requires a separate coupon, and each coupon is identified by the coupon number.\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" }, "departureTime": { - "type": "integer", + "type": "string", "maxLength": 4, "description": "Time of departure for this leg of the trip. The format is military time and HHMM:\nIf not all zeros, then the hours must be `00-23` and the minutes must be `00-59`.\nFormat: English characters only.\nOptional request field for travel legs.\n" }, @@ -33004,7 +33004,7 @@ "description": "AM or PM for the departure time.\nPossible values:\n- A: 12:00 midnight to 11:59 a.m.\n- P: 12:00 noon to 11:59 p.m\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" }, "arrivalTime": { - "type": "integer", + "type": "string", "maxLength": 4, "description": "Time of arrival for this leg of the trip.\nThe format is military time and HHMM:\nIf not all zeros, then the hours must be `00-23` and the minutes must be `00-59`\nFormat: English characters only.\nOptional request field for travel legs.\n" }, @@ -88632,13 +88632,13 @@ "legs": [ { "carrierCode": "UA", - "departureDate": "2023-01-01", + "departureDate": "010123", "destination": "DEFGH", "origin": "LAX" }, { "carrierCode": "AS", - "departureDate": "2023-02-21", + "departureDate": "022123", "destination": "RESD", "origin": "ECF" } diff --git a/generator/cybersource-rest-spec.json b/generator/cybersource-rest-spec.json index dada7de6..bfce517f 100644 --- a/generator/cybersource-rest-spec.json +++ b/generator/cybersource-rest-spec.json @@ -4472,7 +4472,7 @@ "description": "Flag that indicates whether or not the ticket is restricted (nonrefundable).\nPossible values:\n- 0: No restriction (refundable)\n- 1: Restricted (nonrefundable)\nFormat: English characters only.\nRestricted string data type that indicates a sequence of letters, numbers, and spaces;\nspecial characters are not included.\nOptional request field.\n" }, "transactionType": { - "type": "integer", + "type": "string", "maxLength": 2, "description": "Type of charge.\nPossible values:\n- 01: Charge is for an airline ticket\n- 02: Charge is for an item that is not an airline ticket\n" }, @@ -4646,14 +4646,14 @@ "description": "IATA code for the class of service for this leg of the trip.\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" }, "stopoverIndicator": { - "type": "integer", + "type": "string", "maxLength": 1, "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" }, "departureDate": { - "type": "integer", + "type": "string", "maxLength": 8, - "description": "Departure date for the first leg of the trip.\nFormat: `YYYYMMDD`.\nFormat: English characters only.\nOptional request field for travel legs.\n" + "description": "Departure date for the first leg of the trip.\nFormat: `MMDDYY`.\nFormat: English characters only.\nOptional request field for travel legs.\n" }, "destinationAirportCode": { "type": "string", @@ -4686,7 +4686,7 @@ "description": "Coupon number. Each leg on the ticket requires a separate coupon, and each coupon is identified by the coupon number.\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" }, "departureTime": { - "type": "integer", + "type": "string", "maxLength": 4, "description": "Time of departure for this leg of the trip. The format is military time and HHMM:\nIf not all zeros, then the hours must be `00-23` and the minutes must be `00-59`.\nFormat: English characters only.\nOptional request field for travel legs.\n" }, @@ -4696,7 +4696,7 @@ "description": "AM or PM for the departure time.\nPossible values:\n- A: 12:00 midnight to 11:59 a.m.\n- P: 12:00 noon to 11:59 p.m\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" }, "arrivalTime": { - "type": "integer", + "type": "string", "maxLength": 4, "description": "Time of arrival for this leg of the trip.\nThe format is military time and HHMM:\nIf not all zeros, then the hours must be `00-23` and the minutes must be `00-59`\nFormat: English characters only.\nOptional request field for travel legs.\n" }, @@ -24312,7 +24312,7 @@ "description": "Flag that indicates whether or not the ticket is restricted (nonrefundable).\nPossible values:\n- 0: No restriction (refundable)\n- 1: Restricted (nonrefundable)\nFormat: English characters only.\nRestricted string data type that indicates a sequence of letters, numbers, and spaces;\nspecial characters are not included.\nOptional request field.\n" }, "transactionType": { - "type": "integer", + "type": "string", "maxLength": 2, "description": "Type of charge.\nPossible values:\n- 01: Charge is for an airline ticket\n- 02: Charge is for an item that is not an airline ticket\n" }, @@ -24486,14 +24486,14 @@ "description": "IATA code for the class of service for this leg of the trip.\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" }, "stopoverIndicator": { - "type": "integer", + "type": "string", "maxLength": 1, "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" }, "departureDate": { - "type": "integer", + "type": "string", "maxLength": 8, - "description": "Departure date for the first leg of the trip.\nFormat: `YYYYMMDD`.\nFormat: English characters only.\nOptional request field for travel legs.\n" + "description": "Departure date for the first leg of the trip.\nFormat: `MMDDYY`.\nFormat: English characters only.\nOptional request field for travel legs.\n" }, "destinationAirportCode": { "type": "string", @@ -24526,7 +24526,7 @@ "description": "Coupon number. Each leg on the ticket requires a separate coupon, and each coupon is identified by the coupon number.\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" }, "departureTime": { - "type": "integer", + "type": "string", "maxLength": 4, "description": "Time of departure for this leg of the trip. The format is military time and HHMM:\nIf not all zeros, then the hours must be `00-23` and the minutes must be `00-59`.\nFormat: English characters only.\nOptional request field for travel legs.\n" }, @@ -24536,7 +24536,7 @@ "description": "AM or PM for the departure time.\nPossible values:\n- A: 12:00 midnight to 11:59 a.m.\n- P: 12:00 noon to 11:59 p.m\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" }, "arrivalTime": { - "type": "integer", + "type": "string", "maxLength": 4, "description": "Time of arrival for this leg of the trip.\nThe format is military time and HHMM:\nIf not all zeros, then the hours must be `00-23` and the minutes must be `00-59`\nFormat: English characters only.\nOptional request field for travel legs.\n" }, @@ -27132,7 +27132,7 @@ "description": "Flag that indicates whether or not the ticket is restricted (nonrefundable).\nPossible values:\n- 0: No restriction (refundable)\n- 1: Restricted (nonrefundable)\nFormat: English characters only.\nRestricted string data type that indicates a sequence of letters, numbers, and spaces;\nspecial characters are not included.\nOptional request field.\n" }, "transactionType": { - "type": "integer", + "type": "string", "maxLength": 2, "description": "Type of charge.\nPossible values:\n- 01: Charge is for an airline ticket\n- 02: Charge is for an item that is not an airline ticket\n" }, @@ -27306,14 +27306,14 @@ "description": "IATA code for the class of service for this leg of the trip.\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" }, "stopoverIndicator": { - "type": "integer", + "type": "string", "maxLength": 1, "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" }, "departureDate": { - "type": "integer", + "type": "string", "maxLength": 8, - "description": "Departure date for the first leg of the trip.\nFormat: `YYYYMMDD`.\nFormat: English characters only.\nOptional request field for travel legs.\n" + "description": "Departure date for the first leg of the trip.\nFormat: `MMDDYY`.\nFormat: English characters only.\nOptional request field for travel legs.\n" }, "destinationAirportCode": { "type": "string", @@ -27346,7 +27346,7 @@ "description": "Coupon number. Each leg on the ticket requires a separate coupon, and each coupon is identified by the coupon number.\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" }, "departureTime": { - "type": "integer", + "type": "string", "maxLength": 4, "description": "Time of departure for this leg of the trip. The format is military time and HHMM:\nIf not all zeros, then the hours must be `00-23` and the minutes must be `00-59`.\nFormat: English characters only.\nOptional request field for travel legs.\n" }, @@ -27356,7 +27356,7 @@ "description": "AM or PM for the departure time.\nPossible values:\n- A: 12:00 midnight to 11:59 a.m.\n- P: 12:00 noon to 11:59 p.m\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" }, "arrivalTime": { - "type": "integer", + "type": "string", "maxLength": 4, "description": "Time of arrival for this leg of the trip.\nThe format is military time and HHMM:\nIf not all zeros, then the hours must be `00-23` and the minutes must be `00-59`\nFormat: English characters only.\nOptional request field for travel legs.\n" }, @@ -29820,7 +29820,7 @@ "description": "Flag that indicates whether or not the ticket is restricted (nonrefundable).\nPossible values:\n- 0: No restriction (refundable)\n- 1: Restricted (nonrefundable)\nFormat: English characters only.\nRestricted string data type that indicates a sequence of letters, numbers, and spaces;\nspecial characters are not included.\nOptional request field.\n" }, "transactionType": { - "type": "integer", + "type": "string", "maxLength": 2, "description": "Type of charge.\nPossible values:\n- 01: Charge is for an airline ticket\n- 02: Charge is for an item that is not an airline ticket\n" }, @@ -29994,14 +29994,14 @@ "description": "IATA code for the class of service for this leg of the trip.\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" }, "stopoverIndicator": { - "type": "integer", + "type": "string", "maxLength": 1, "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" }, "departureDate": { - "type": "integer", + "type": "string", "maxLength": 8, - "description": "Departure date for the first leg of the trip.\nFormat: `YYYYMMDD`.\nFormat: English characters only.\nOptional request field for travel legs.\n" + "description": "Departure date for the first leg of the trip.\nFormat: `MMDDYY`.\nFormat: English characters only.\nOptional request field for travel legs.\n" }, "destinationAirportCode": { "type": "string", @@ -30034,7 +30034,7 @@ "description": "Coupon number. Each leg on the ticket requires a separate coupon, and each coupon is identified by the coupon number.\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" }, "departureTime": { - "type": "integer", + "type": "string", "maxLength": 4, "description": "Time of departure for this leg of the trip. The format is military time and HHMM:\nIf not all zeros, then the hours must be `00-23` and the minutes must be `00-59`.\nFormat: English characters only.\nOptional request field for travel legs.\n" }, @@ -30044,7 +30044,7 @@ "description": "AM or PM for the departure time.\nPossible values:\n- A: 12:00 midnight to 11:59 a.m.\n- P: 12:00 noon to 11:59 p.m\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" }, "arrivalTime": { - "type": "integer", + "type": "string", "maxLength": 4, "description": "Time of arrival for this leg of the trip.\nThe format is military time and HHMM:\nIf not all zeros, then the hours must be `00-23` and the minutes must be `00-59`\nFormat: English characters only.\nOptional request field for travel legs.\n" }, @@ -32780,7 +32780,7 @@ "description": "Flag that indicates whether or not the ticket is restricted (nonrefundable).\nPossible values:\n- 0: No restriction (refundable)\n- 1: Restricted (nonrefundable)\nFormat: English characters only.\nRestricted string data type that indicates a sequence of letters, numbers, and spaces;\nspecial characters are not included.\nOptional request field.\n" }, "transactionType": { - "type": "integer", + "type": "string", "maxLength": 2, "description": "Type of charge.\nPossible values:\n- 01: Charge is for an airline ticket\n- 02: Charge is for an item that is not an airline ticket\n" }, @@ -32954,14 +32954,14 @@ "description": "IATA code for the class of service for this leg of the trip.\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" }, "stopoverIndicator": { - "type": "integer", + "type": "string", "maxLength": 1, "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" }, "departureDate": { - "type": "integer", + "type": "string", "maxLength": 8, - "description": "Departure date for the first leg of the trip.\nFormat: `YYYYMMDD`.\nFormat: English characters only.\nOptional request field for travel legs.\n" + "description": "Departure date for the first leg of the trip.\nFormat: `MMDDYY`.\nFormat: English characters only.\nOptional request field for travel legs.\n" }, "destinationAirportCode": { "type": "string", @@ -32994,7 +32994,7 @@ "description": "Coupon number. Each leg on the ticket requires a separate coupon, and each coupon is identified by the coupon number.\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" }, "departureTime": { - "type": "integer", + "type": "string", "maxLength": 4, "description": "Time of departure for this leg of the trip. The format is military time and HHMM:\nIf not all zeros, then the hours must be `00-23` and the minutes must be `00-59`.\nFormat: English characters only.\nOptional request field for travel legs.\n" }, @@ -33004,7 +33004,7 @@ "description": "AM or PM for the departure time.\nPossible values:\n- A: 12:00 midnight to 11:59 a.m.\n- P: 12:00 noon to 11:59 p.m\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" }, "arrivalTime": { - "type": "integer", + "type": "string", "maxLength": 4, "description": "Time of arrival for this leg of the trip.\nThe format is military time and HHMM:\nIf not all zeros, then the hours must be `00-23` and the minutes must be `00-59`\nFormat: English characters only.\nOptional request field for travel legs.\n" }, @@ -88632,13 +88632,13 @@ "legs": [ { "carrierCode": "UA", - "departureDate": "2023-01-01", + "departureDate": "010123", "destination": "DEFGH", "origin": "LAX" }, { "carrierCode": "AS", - "departureDate": "2023-02-21", + "departureDate": "022123", "destination": "RESD", "origin": "ECF" } diff --git a/generator/replaceFieldLogs.log b/generator/replaceFieldLogs.log new file mode 100644 index 00000000..e69de29b diff --git a/src/main/java/Model/Ptsv2paymentsTravelInformationTransitAirline.java b/src/main/java/Model/Ptsv2paymentsTravelInformationTransitAirline.java index 1088f083..7099a604 100644 --- a/src/main/java/Model/Ptsv2paymentsTravelInformationTransitAirline.java +++ b/src/main/java/Model/Ptsv2paymentsTravelInformationTransitAirline.java @@ -56,7 +56,7 @@ public class Ptsv2paymentsTravelInformationTransitAirline { private Integer restrictedTicketIndicator = null; @SerializedName("transactionType") - private Integer transactionType = null; + private String transactionType = null; @SerializedName("extendedPaymentCode") private String extendedPaymentCode = null; @@ -295,7 +295,7 @@ public void setRestrictedTicketIndicator(Integer restrictedTicketIndicator) { this.restrictedTicketIndicator = restrictedTicketIndicator; } - public Ptsv2paymentsTravelInformationTransitAirline transactionType(Integer transactionType) { + public Ptsv2paymentsTravelInformationTransitAirline transactionType(String transactionType) { this.transactionType = transactionType; return this; } @@ -305,11 +305,11 @@ public Ptsv2paymentsTravelInformationTransitAirline transactionType(Integer tran * @return transactionType **/ @ApiModelProperty(value = "Type of charge. Possible values: - 01: Charge is for an airline ticket - 02: Charge is for an item that is not an airline ticket ") - public Integer getTransactionType() { + public String getTransactionType() { return transactionType; } - public void setTransactionType(Integer transactionType) { + public void setTransactionType(String transactionType) { this.transactionType = transactionType; } diff --git a/src/main/java/Model/Ptsv2paymentsTravelInformationTransitAirlineLegs.java b/src/main/java/Model/Ptsv2paymentsTravelInformationTransitAirlineLegs.java index 6dfcda8b..324bfb53 100644 --- a/src/main/java/Model/Ptsv2paymentsTravelInformationTransitAirlineLegs.java +++ b/src/main/java/Model/Ptsv2paymentsTravelInformationTransitAirlineLegs.java @@ -42,10 +42,10 @@ public class Ptsv2paymentsTravelInformationTransitAirlineLegs { private String propertyClass = null; @SerializedName("stopoverIndicator") - private Integer stopoverIndicator = null; + private String stopoverIndicator = null; @SerializedName("departureDate") - private Integer departureDate = null; + private String departureDate = null; @SerializedName("destinationAirportCode") private String destinationAirportCode = null; @@ -66,13 +66,13 @@ public class Ptsv2paymentsTravelInformationTransitAirlineLegs { private String couponNumber = null; @SerializedName("departureTime") - private Integer departureTime = null; + private String departureTime = null; @SerializedName("departureTimeMeridian") private String departureTimeMeridian = null; @SerializedName("arrivalTime") - private Integer arrivalTime = null; + private String arrivalTime = null; @SerializedName("arrivalTimeMeridian") private String arrivalTimeMeridian = null; @@ -161,7 +161,7 @@ public void setPropertyClass(String propertyClass) { this.propertyClass = propertyClass; } - public Ptsv2paymentsTravelInformationTransitAirlineLegs stopoverIndicator(Integer stopoverIndicator) { + public Ptsv2paymentsTravelInformationTransitAirlineLegs stopoverIndicator(String stopoverIndicator) { this.stopoverIndicator = stopoverIndicator; return this; } @@ -171,29 +171,29 @@ public Ptsv2paymentsTravelInformationTransitAirlineLegs stopoverIndicator(Intege * @return stopoverIndicator **/ @ApiModelProperty(value = "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. ") - public Integer getStopoverIndicator() { + public String getStopoverIndicator() { return stopoverIndicator; } - public void setStopoverIndicator(Integer stopoverIndicator) { + public void setStopoverIndicator(String stopoverIndicator) { this.stopoverIndicator = stopoverIndicator; } - public Ptsv2paymentsTravelInformationTransitAirlineLegs departureDate(Integer departureDate) { + public Ptsv2paymentsTravelInformationTransitAirlineLegs departureDate(String departureDate) { this.departureDate = departureDate; return this; } /** - * Departure date for the first leg of the trip. Format: `YYYYMMDD`. Format: English characters only. Optional request field for travel legs. + * Departure date for the first leg of the trip. Format: `MMDDYY`. Format: English characters only. Optional request field for travel legs. * @return departureDate **/ - @ApiModelProperty(value = "Departure date for the first leg of the trip. Format: `YYYYMMDD`. Format: English characters only. Optional request field for travel legs. ") - public Integer getDepartureDate() { + @ApiModelProperty(value = "Departure date for the first leg of the trip. Format: `MMDDYY`. Format: English characters only. Optional request field for travel legs. ") + public String getDepartureDate() { return departureDate; } - public void setDepartureDate(Integer departureDate) { + public void setDepartureDate(String departureDate) { this.departureDate = departureDate; } @@ -305,7 +305,7 @@ public void setCouponNumber(String couponNumber) { this.couponNumber = couponNumber; } - public Ptsv2paymentsTravelInformationTransitAirlineLegs departureTime(Integer departureTime) { + public Ptsv2paymentsTravelInformationTransitAirlineLegs departureTime(String departureTime) { this.departureTime = departureTime; return this; } @@ -315,11 +315,11 @@ public Ptsv2paymentsTravelInformationTransitAirlineLegs departureTime(Integer de * @return departureTime **/ @ApiModelProperty(value = "Time of departure for this leg of the trip. The format is military time and HHMM: If not all zeros, then the hours must be `00-23` and the minutes must be `00-59`. Format: English characters only. Optional request field for travel legs. ") - public Integer getDepartureTime() { + public String getDepartureTime() { return departureTime; } - public void setDepartureTime(Integer departureTime) { + public void setDepartureTime(String departureTime) { this.departureTime = departureTime; } @@ -341,7 +341,7 @@ public void setDepartureTimeMeridian(String departureTimeMeridian) { this.departureTimeMeridian = departureTimeMeridian; } - public Ptsv2paymentsTravelInformationTransitAirlineLegs arrivalTime(Integer arrivalTime) { + public Ptsv2paymentsTravelInformationTransitAirlineLegs arrivalTime(String arrivalTime) { this.arrivalTime = arrivalTime; return this; } @@ -351,11 +351,11 @@ public Ptsv2paymentsTravelInformationTransitAirlineLegs arrivalTime(Integer arri * @return arrivalTime **/ @ApiModelProperty(value = "Time of arrival for this leg of the trip. The format is military time and HHMM: If not all zeros, then the hours must be `00-23` and the minutes must be `00-59` Format: English characters only. Optional request field for travel legs. ") - public Integer getArrivalTime() { + public String getArrivalTime() { return arrivalTime; } - public void setArrivalTime(Integer arrivalTime) { + public void setArrivalTime(String arrivalTime) { this.arrivalTime = arrivalTime; }