All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pdd.pop.sdk.http.api.ark.response.PddFlightOrderCheckSeatPriceResponse Maven / Gradle / Ivy

There is a newer version: 1.10.85
Show newest version
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 PddFlightOrderCheckSeatPriceResponse extends PopBaseHttpResponse {

    /**
     * 
     */
    @JsonProperty("flight_order_check_seat_price_response")
    private FlightOrderCheckSeatPriceResponse flightOrderCheckSeatPriceResponse;

    public FlightOrderCheckSeatPriceResponse getFlightOrderCheckSeatPriceResponse() {
        return flightOrderCheckSeatPriceResponse;
    }

    public static class FlightOrderCheckSeatPriceResponse {

        /**
         * 用于搜索到下单的请求日志关联
         */
        @JsonProperty("trace_id")
        private String traceId;

        /**
         * 用于一次请求的日志关联
         */
        @JsonProperty("sub_trace_id")
        private String subTraceId;

        /**
         * 当前返回时间戳
         */
        @JsonProperty("timestamp")
        private Long timestamp;

        /**
         * 舱位&价格信息列表
         */
        @JsonProperty("cabin_and_price_info_list")
        private List cabinAndPriceInfoList;

        /**
         * 客规
         */
        @JsonProperty("guest_rule_response")
        private FlightOrderCheckSeatPriceResponseGuestRuleResponse guestRuleResponse;

        /**
         * 签名
         */
        @JsonProperty("sign")
        private String sign;

        public String getTraceId() {
            return traceId;
        }

        public String getSubTraceId() {
            return subTraceId;
        }

        public Long getTimestamp() {
            return timestamp;
        }

        public List getCabinAndPriceInfoList() {
            return cabinAndPriceInfoList;
        }

        public FlightOrderCheckSeatPriceResponseGuestRuleResponse getGuestRuleResponse() {
            return guestRuleResponse;
        }

        public String getSign() {
            return sign;
        }
    }

    public static class FlightOrderCheckSeatPriceResponseCabinAndPriceInfoListItem {

        /**
         * 乘客类型
         */
        @JsonProperty("passenger_type")
        private String passengerType;

        /**
         * 舱位,不同的航司舱位定义不同
         */
        @JsonProperty("sub_class")
        private String subClass;

        /**
         * 对应舱位剩余座位数
         */
        @JsonProperty("seat_count")
        private String seatCount;

        /**
         * 票面价, 精确到分
         */
        @JsonProperty("base_price")
        private Long basePrice;

        /**
         * 机建费, 精确到分
         */
        @JsonProperty("airport_tax")
        private Long airportTax;

        /**
         * 燃油费, 精确到分
         */
        @JsonProperty("fuel_tax")
        private Long fuelTax;

        /**
         * 结算价, 精确到分
         */
        @JsonProperty("settle_price")
        private Long settlePrice;

        public String getPassengerType() {
            return passengerType;
        }

        public String getSubClass() {
            return subClass;
        }

        public String getSeatCount() {
            return seatCount;
        }

        public Long getBasePrice() {
            return basePrice;
        }

        public Long getAirportTax() {
            return airportTax;
        }

        public Long getFuelTax() {
            return fuelTax;
        }

        public Long getSettlePrice() {
            return settlePrice;
        }
    }

    public static class FlightOrderCheckSeatPriceResponseGuestRuleResponse {

        /**
         * 用于搜索到下单的请求日志关联
         */
        @JsonProperty("trace_id")
        private String traceId;

        /**
         * 用于一次请求的日志关联
         */
        @JsonProperty("sub_trace_id")
        private String subTraceId;

        /**
         * 当前返回时间戳
         */
        @JsonProperty("timestamp")
        private Long timestamp;

        /**
         * 错误码,成功传0,
         */
        @JsonProperty("error_code")
        private Integer errorCode;

        /**
         * 错误码=-1时,必传,否则非必传
         */
        @JsonProperty("error_msg")
        private String errorMsg;

        /**
         * 客规结果列表
         */
        @JsonProperty("rule_result_list")
        private List ruleResultList;

        public String getTraceId() {
            return traceId;
        }

        public String getSubTraceId() {
            return subTraceId;
        }

        public Long getTimestamp() {
            return timestamp;
        }

        public Integer getErrorCode() {
            return errorCode;
        }

        public String getErrorMsg() {
            return errorMsg;
        }

        public List getRuleResultList() {
            return ruleResultList;
        }
    }

    public static class FlightOrderCheckSeatPriceResponseGuestRuleResponseRuleResultListItem {

        /**
         * 航程编号 (从1开始编号)
         */
        @JsonProperty("segment_no")
        private Integer segmentNo;

        /**
         * 航段编号 (从1开始编号)
         */
        @JsonProperty("sequence_no")
        private Integer sequenceNo;

        /**
         * 产品类型
         */
        @JsonProperty("product_type")
        private Integer productType;

        /**
         * 客规列表(不同乘客类型),
         */
        @JsonProperty("rule_info_list")
        private List ruleInfoList;

        public Integer getSegmentNo() {
            return segmentNo;
        }

        public Integer getSequenceNo() {
            return sequenceNo;
        }

        public Integer getProductType() {
            return productType;
        }

        public List getRuleInfoList() {
            return ruleInfoList;
        }
    }

    public static class FlightOrderCheckSeatPriceResponseGuestRuleResponseRuleResultListItemRuleInfoListItem {

        /**
         * 乘客类型,
         */
        @JsonProperty("passenger_type")
        private String passengerType;

        /**
         * 是否可签转
         */
        @JsonProperty("endorsement")
        private Boolean endorsement;

        /**
         * 退票客规信息
         */
        @JsonProperty("refund_rule_info")
        private FlightOrderCheckSeatPriceResponseGuestRuleResponseRuleResultListItemRuleInfoListItemRefundRuleInfo refundRuleInfo;

        /**
         * 改期客规信息
         */
        @JsonProperty("change_rule_info")
        private FlightOrderCheckSeatPriceResponseGuestRuleResponseRuleResultListItemRuleInfoListItemChangeRuleInfo changeRuleInfo;

        /**
         * 手提行李额
         */
        @JsonProperty("hand_baggage_info")
        private FlightOrderCheckSeatPriceResponseGuestRuleResponseRuleResultListItemRuleInfoListItemHandBaggageInfo handBaggageInfo;

        /**
         * 托运行李额
         */
        @JsonProperty("checked_baggage_info")
        private FlightOrderCheckSeatPriceResponseGuestRuleResponseRuleResultListItemRuleInfoListItemCheckedBaggageInfo checkedBaggageInfo;

        public String getPassengerType() {
            return passengerType;
        }

        public Boolean getEndorsement() {
            return endorsement;
        }

        public FlightOrderCheckSeatPriceResponseGuestRuleResponseRuleResultListItemRuleInfoListItemRefundRuleInfo getRefundRuleInfo() {
            return refundRuleInfo;
        }

        public FlightOrderCheckSeatPriceResponseGuestRuleResponseRuleResultListItemRuleInfoListItemChangeRuleInfo getChangeRuleInfo() {
            return changeRuleInfo;
        }

        public FlightOrderCheckSeatPriceResponseGuestRuleResponseRuleResultListItemRuleInfoListItemHandBaggageInfo getHandBaggageInfo() {
            return handBaggageInfo;
        }

        public FlightOrderCheckSeatPriceResponseGuestRuleResponseRuleResultListItemRuleInfoListItemCheckedBaggageInfo getCheckedBaggageInfo() {
            return checkedBaggageInfo;
        }
    }

    public static class FlightOrderCheckSeatPriceResponseGuestRuleResponseRuleResultListItemRuleInfoListItemRefundRuleInfo {

        /**
         * 规则类型
         */
        @JsonProperty("rule_type")
        private Integer ruleType;

        /**
         * 规则明细
         */
        @JsonProperty("rule_detail_list")
        private List ruleDetailList;

        /**
         * 客规原文
         */
        @JsonProperty("rule")
        private String rule;

        public Integer getRuleType() {
            return ruleType;
        }

        public List getRuleDetailList() {
            return ruleDetailList;
        }

        public String getRule() {
            return rule;
        }
    }

    public static class FlightOrderCheckSeatPriceResponseGuestRuleResponseRuleResultListItemRuleInfoListItemRefundRuleInfoRuleDetailListItem {

        /**
         * 适用时间范围的开始时间
         */
        @JsonProperty("begin")
        private Integer begin;

        /**
         * 适用时间范围的结束时间
         */
        @JsonProperty("end")
        private Integer end;

        /**
         * 时间单位
         */
        @JsonProperty("time_unit")
        private Integer timeUnit;

        /**
         * 费率% e.g. 80表示将收取80%手续费
         */
        @JsonProperty("rate")
        private Integer rate;

        /**
         * 手续费, 手续费为null表示不可退票或者不可改期
         */
        @JsonProperty("pay_fee")
        private Long payFee;

        /**
         * 退改政策
         */
        @JsonProperty("refund_change")
        private Integer refundChange;

        public Integer getBegin() {
            return begin;
        }

        public Integer getEnd() {
            return end;
        }

        public Integer getTimeUnit() {
            return timeUnit;
        }

        public Integer getRate() {
            return rate;
        }

        public Long getPayFee() {
            return payFee;
        }

        public Integer getRefundChange() {
            return refundChange;
        }
    }

    public static class FlightOrderCheckSeatPriceResponseGuestRuleResponseRuleResultListItemRuleInfoListItemChangeRuleInfo {

        /**
         * 规则类型
         */
        @JsonProperty("rule_type")
        private Integer ruleType;

        /**
         * 规则明细
         */
        @JsonProperty("rule_detail_list")
        private List ruleDetailList;

        /**
         * 客规原文
         */
        @JsonProperty("rule")
        private String rule;

        public Integer getRuleType() {
            return ruleType;
        }

        public List getRuleDetailList() {
            return ruleDetailList;
        }

        public String getRule() {
            return rule;
        }
    }

    public static class FlightOrderCheckSeatPriceResponseGuestRuleResponseRuleResultListItemRuleInfoListItemChangeRuleInfoRuleDetailListItem {

        /**
         * 适用时间范围的开始时间
         */
        @JsonProperty("begin")
        private Integer begin;

        /**
         * 适用时间范围的结束时间
         */
        @JsonProperty("end")
        private Integer end;

        /**
         * 时间单位
         */
        @JsonProperty("time_unit")
        private Integer timeUnit;

        /**
         * 费率% e.g. 80表示将收取80%手续费
         */
        @JsonProperty("rate")
        private Integer rate;

        /**
         * 手续费, 手续费为null表示不可退票或者不可改期
         */
        @JsonProperty("pay_fee")
        private Long payFee;

        /**
         * 退改政策
         */
        @JsonProperty("refund_change")
        private Integer refundChange;

        /**
         * 规费率计算的价格,精确到分
         */
        @JsonProperty("rule_criterion_price")
        private Long ruleCriterionPrice;

        /**
         * 客规费率计算的价格名称
         */
        @JsonProperty("rule_criterion_name")
        private String ruleCriterionName;

        public Integer getBegin() {
            return begin;
        }

        public Integer getEnd() {
            return end;
        }

        public Integer getTimeUnit() {
            return timeUnit;
        }

        public Integer getRate() {
            return rate;
        }

        public Long getPayFee() {
            return payFee;
        }

        public Integer getRefundChange() {
            return refundChange;
        }

        public Long getRuleCriterionPrice() {
            return ruleCriterionPrice;
        }

        public String getRuleCriterionName() {
            return ruleCriterionName;
        }
    }

    public static class FlightOrderCheckSeatPriceResponseGuestRuleResponseRuleResultListItemRuleInfoListItemHandBaggageInfo {

        /**
         * 行李额类型
         */
        @JsonProperty("baggage_type")
        private Integer baggageType;

        /**
         * 件数
         */
        @JsonProperty("pieces")
        private Integer pieces;

        /**
         * 当pieces有值时,需要单位一定有值,使用的BaggageUnitEnum的件数单位 :1. 件
         */
        @JsonProperty("pieces_unit")
        private Integer piecesUnit;

        /**
         * 单件行李的重量限制
         */
        @JsonProperty("weight_single")
        private Integer weightSingle;

        /**
         * 所有行李的重量限制
         */
        @JsonProperty("weight")
        private Integer weight;

        /**
         * 当weight_single 或weight有值时,需要单位一定有值,使用的BaggageUnitEnum的重量单位 2. KG
         */
        @JsonProperty("weight_unit")
        private Integer weightUnit;

        /**
         * 
         */
        @JsonProperty("length")
        private Integer length;

        /**
         * 
         */
        @JsonProperty("width")
        private Integer width;

        /**
         * 
         */
        @JsonProperty("height")
        private Integer height;

        /**
         * 总长度=长+宽+高
         */
        @JsonProperty("total_length")
        private Integer totalLength;

        /**
         * 当长宽高有值时,需要单位一定有值,使用的BaggageUnitEnum的长度单位 3. CM
         */
        @JsonProperty("volume_unit")
        private Integer volumeUnit;

        public Integer getBaggageType() {
            return baggageType;
        }

        public Integer getPieces() {
            return pieces;
        }

        public Integer getPiecesUnit() {
            return piecesUnit;
        }

        public Integer getWeightSingle() {
            return weightSingle;
        }

        public Integer getWeight() {
            return weight;
        }

        public Integer getWeightUnit() {
            return weightUnit;
        }

        public Integer getLength() {
            return length;
        }

        public Integer getWidth() {
            return width;
        }

        public Integer getHeight() {
            return height;
        }

        public Integer getTotalLength() {
            return totalLength;
        }

        public Integer getVolumeUnit() {
            return volumeUnit;
        }
    }

    public static class FlightOrderCheckSeatPriceResponseGuestRuleResponseRuleResultListItemRuleInfoListItemCheckedBaggageInfo {

        /**
         * 行李额类型
         */
        @JsonProperty("baggage_type")
        private Integer baggageType;

        /**
         * 件数
         */
        @JsonProperty("pieces")
        private Integer pieces;

        /**
         * 当pieces有值时,需要单位一定有值,使用的BaggageUnitEnum的件数单位 :1. 件
         */
        @JsonProperty("pieces_unit")
        private Integer piecesUnit;

        /**
         * 单件行李的重量限制
         */
        @JsonProperty("weight_single")
        private Integer weightSingle;

        /**
         * 所有行李的重量限制
         */
        @JsonProperty("weight")
        private Integer weight;

        /**
         * 当weight_single 或weight有值时,需要单位一定有值,使用的BaggageUnitEnum的重量单位 2. KG
         */
        @JsonProperty("weight_unit")
        private Integer weightUnit;

        /**
         * 
         */
        @JsonProperty("length")
        private Integer length;

        /**
         * 
         */
        @JsonProperty("width")
        private Integer width;

        /**
         * 
         */
        @JsonProperty("height")
        private Integer height;

        /**
         * 总长度=长+宽+高
         */
        @JsonProperty("total_length")
        private Integer totalLength;

        /**
         * 当长宽高有值时,需要单位一定有值,使用的BaggageUnitEnum的长度单位 3. CM
         */
        @JsonProperty("volume_unit")
        private Integer volumeUnit;

        public Integer getBaggageType() {
            return baggageType;
        }

        public Integer getPieces() {
            return pieces;
        }

        public Integer getPiecesUnit() {
            return piecesUnit;
        }

        public Integer getWeightSingle() {
            return weightSingle;
        }

        public Integer getWeight() {
            return weight;
        }

        public Integer getWeightUnit() {
            return weightUnit;
        }

        public Integer getLength() {
            return length;
        }

        public Integer getWidth() {
            return width;
        }

        public Integer getHeight() {
            return height;
        }

        public Integer getTotalLength() {
            return totalLength;
        }

        public Integer getVolumeUnit() {
            return volumeUnit;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy