Skip to content

Commit 0653886

Browse files
author
Moody
committed
fix: use String for Ptsv2paymentsTravelInformationTransitAirlineLegs.departureDate instead of integer
1 parent 7b5de7b commit 0653886

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/java/Model/Ptsv2paymentsTravelInformationTransitAirlineLegs.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public class Ptsv2paymentsTravelInformationTransitAirlineLegs {
4545
private Integer stopoverIndicator = null;
4646

4747
@SerializedName("departureDate")
48-
private Integer departureDate = null;
48+
private String departureDate = null;
4949

5050
@SerializedName("destinationAirportCode")
5151
private String destinationAirportCode = null;
@@ -179,7 +179,7 @@ public void setStopoverIndicator(Integer stopoverIndicator) {
179179
this.stopoverIndicator = stopoverIndicator;
180180
}
181181

182-
public Ptsv2paymentsTravelInformationTransitAirlineLegs departureDate(Integer departureDate) {
182+
public Ptsv2paymentsTravelInformationTransitAirlineLegs departureDate(String departureDate) {
183183
this.departureDate = departureDate;
184184
return this;
185185
}
@@ -189,11 +189,11 @@ public Ptsv2paymentsTravelInformationTransitAirlineLegs departureDate(Integer de
189189
* @return departureDate
190190
**/
191191
@ApiModelProperty(value = "Departure date for the first leg of the trip. Format: `YYYYMMDD`. Format: English characters only. Optional request field for travel legs. ")
192-
public Integer getDepartureDate() {
192+
public String getDepartureDate() {
193193
return departureDate;
194194
}
195195

196-
public void setDepartureDate(Integer departureDate) {
196+
public void setDepartureDate(String departureDate) {
197197
this.departureDate = departureDate;
198198
}
199199

0 commit comments

Comments
 (0)