com.pdd.pop.sdk.http.api.ark.response.PddFlightRefundableResponse Maven / Gradle / Ivy
package com.pdd.pop.sdk.http.api.ark.response;
import com.pdd.pop.ext.fasterxml.jackson.annotation.JsonProperty;
import com.pdd.pop.sdk.http.PopBaseHttpResponse;
import java.util.List;
public class PddFlightRefundableResponse extends PopBaseHttpResponse {
/**
*
*/
@JsonProperty("flight_refundable_response")
private FlightRefundableResponse flightRefundableResponse;
public FlightRefundableResponse getFlightRefundableResponse() {
return flightRefundableResponse;
}
public static class FlightRefundableResponse {
/**
* 日志追踪id (用于日志关联)
*/
@JsonProperty("trace_id")
private String traceId;
/**
* 唯一关联当前请求日志追踪id
*/
@JsonProperty("sub_trace_id")
private String subTraceId;
/**
* 外部主订单号
*/
@JsonProperty("out_order_no")
private String outOrderNo;
/**
* 乘客信息列表
*/
@JsonProperty("passenger_info_list")
private List passengerInfoList;
/**
* 签名
*/
@JsonProperty("sign")
private String sign;
public String getTraceId() {
return traceId;
}
public String getSubTraceId() {
return subTraceId;
}
public String getOutOrderNo() {
return outOrderNo;
}
public List getPassengerInfoList() {
return passengerInfoList;
}
public String getSign() {
return sign;
}
}
public static class FlightRefundableResponsePassengerInfoListItem {
/**
* 平台机票子订单号
*/
@JsonProperty("travel_sn")
private String travelSn;
/**
* 票号
*/
@JsonProperty("ticket_no")
private String ticketNo;
/**
* 退票状态
*/
@JsonProperty("refund_apply_status")
private Integer refundApplyStatus;
/**
* 是否可退
*/
@JsonProperty("refundable")
private Boolean refundable;
/**
* 不可退原因
*/
@JsonProperty("message")
private String message;
/**
* 单乘客可退结算价 精确到分,如果可退,必传
*/
@JsonProperty("refund_settle_price")
private Long refundSettlePrice;
/**
* 单乘客可退机建费,价 精确到分,如果可退,必传
*/
@JsonProperty("refund_airport_tax")
private Long refundAirportTax;
/**
* 单乘客可退燃油费,价 精确到分,如果可退,必传
*/
@JsonProperty("refund_fuel_tax")
private Long refundFuelTax;
/**
* 单乘客退票手续费, 精确到分
*/
@JsonProperty("refund_fee")
private Long refundFee;
/**
* 单乘客退款总金额, 精确到分
*/
@JsonProperty("refund_amount")
private Long refundAmount;
public String getTravelSn() {
return travelSn;
}
public String getTicketNo() {
return ticketNo;
}
public Integer getRefundApplyStatus() {
return refundApplyStatus;
}
public Boolean getRefundable() {
return refundable;
}
public String getMessage() {
return message;
}
public Long getRefundSettlePrice() {
return refundSettlePrice;
}
public Long getRefundAirportTax() {
return refundAirportTax;
}
public Long getRefundFuelTax() {
return refundFuelTax;
}
public Long getRefundFee() {
return refundFee;
}
public Long getRefundAmount() {
return refundAmount;
}
}
}