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

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

The 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 PddFlightOrderCreateResponse extends PopBaseHttpResponse {

    /**
     * 
     */
    @JsonProperty("flight_order_create_response")
    private FlightOrderCreateResponse flightOrderCreateResponse;

    public FlightOrderCreateResponse getFlightOrderCreateResponse() {
        return flightOrderCreateResponse;
    }

    public static class FlightOrderCreateResponse {

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

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

        /**
         * 供应商自己生成的订单号
         */
        @JsonProperty("out_order_no")
        private String outOrderNo;

        /**
         * 是否成功添加婴儿
         */
        @JsonProperty("add_infant_result")
        private Boolean addInfantResult;

        /**
         * 乘客信息列表
         */
        @JsonProperty("passenger_info_list")
        private List passengerInfoList;

        /**
         * 订单支付总金额
         */
        @JsonProperty("total_pay")
        private Long totalPay;

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

        public String getTraceId() {
            return traceId;
        }

        public String getSubTraceId() {
            return subTraceId;
        }

        public String getOutOrderNo() {
            return outOrderNo;
        }

        public Boolean getAddInfantResult() {
            return addInfantResult;
        }

        public List getPassengerInfoList() {
            return passengerInfoList;
        }

        public Long getTotalPay() {
            return totalPay;
        }

        public String getSign() {
            return sign;
        }
    }

    public static class FlightOrderCreateResponsePassengerInfoListItem {

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

        /**
         * 姓名
         */
        @JsonProperty("name")
        private String name;

        /**
         * 证件类型
         */
        @JsonProperty("identity_type")
        private String identityType;

        /**
         * 证件号码(当变更申请时, 变更类型为改证件号, 填写需要变更的证件号)
         */
        @JsonProperty("identity_no")
        private String identityNo;

        /**
         * 外部子订单号
         */
        @JsonProperty("out_sub_order_no")
        private String outSubOrderNo;

        /**
         * 单乘客支付金额
         */
        @JsonProperty("pay")
        private Long pay;

        /**
         * 票面价
         */
        @JsonProperty("base_price")
        private Long basePrice;

        /**
         * 机建费
         */
        @JsonProperty("airport_tax")
        private Long airportTax;

        /**
         * 燃油费
         */
        @JsonProperty("fuel_tax")
        private Long fuelTax;

        /**
         * 单乘客结算价
         */
        @JsonProperty("settle_price")
        private Integer settlePrice;

        /**
         * pnr编码
         */
        @JsonProperty("pnr")
        private String pnr;

        public String getPassengerType() {
            return passengerType;
        }

        public String getName() {
            return name;
        }

        public String getIdentityType() {
            return identityType;
        }

        public String getIdentityNo() {
            return identityNo;
        }

        public String getOutSubOrderNo() {
            return outSubOrderNo;
        }

        public Long getPay() {
            return pay;
        }

        public Long getBasePrice() {
            return basePrice;
        }

        public Long getAirportTax() {
            return airportTax;
        }

        public Long getFuelTax() {
            return fuelTax;
        }

        public Integer getSettlePrice() {
            return settlePrice;
        }

        public String getPnr() {
            return pnr;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy