public function toArray()

in btripopen-20220520/src/Models/FlightBillSettlementQueryResponseBody/module/dataList.php [714:1182]


    public function toArray($noStream = false)
    {
        $res = [];
        if (null !== $this->advanceDay) {
            $res['advance_day'] = $this->advanceDay;
        }

        if (null !== $this->airlineCorpCode) {
            $res['airline_corp_code'] = $this->airlineCorpCode;
        }

        if (null !== $this->airlineCorpName) {
            $res['airline_corp_name'] = $this->airlineCorpName;
        }

        if (null !== $this->alipayId) {
            $res['alipay_id'] = $this->alipayId;
        }

        if (null !== $this->alipayTradeNo) {
            $res['alipay_trade_no'] = $this->alipayTradeNo;
        }

        if (null !== $this->applyArrCityCode) {
            $res['apply_arr_city_code'] = $this->applyArrCityCode;
        }

        if (null !== $this->applyArrCityName) {
            $res['apply_arr_city_name'] = $this->applyArrCityName;
        }

        if (null !== $this->applyDepCityCode) {
            $res['apply_dep_city_code'] = $this->applyDepCityCode;
        }

        if (null !== $this->applyDepCityName) {
            $res['apply_dep_city_name'] = $this->applyDepCityName;
        }

        if (null !== $this->applyExtendField) {
            $res['apply_extend_field'] = $this->applyExtendField;
        }

        if (null !== $this->applyId) {
            $res['apply_id'] = $this->applyId;
        }

        if (null !== $this->arrAirportCode) {
            $res['arr_airport_code'] = $this->arrAirportCode;
        }

        if (null !== $this->arrCity) {
            $res['arr_city'] = $this->arrCity;
        }

        if (null !== $this->arrCityCode) {
            $res['arr_city_code'] = $this->arrCityCode;
        }

        if (null !== $this->arrDate) {
            $res['arr_date'] = $this->arrDate;
        }

        if (null !== $this->arrStation) {
            $res['arr_station'] = $this->arrStation;
        }

        if (null !== $this->arrTime) {
            $res['arr_time'] = $this->arrTime;
        }

        if (null !== $this->billRecordTime) {
            $res['bill_record_time'] = $this->billRecordTime;
        }

        if (null !== $this->bookChannel) {
            $res['book_channel'] = $this->bookChannel;
        }

        if (null !== $this->bookMode) {
            $res['book_mode'] = $this->bookMode;
        }

        if (null !== $this->bookTime) {
            $res['book_time'] = $this->bookTime;
        }

        if (null !== $this->bookerId) {
            $res['booker_id'] = $this->bookerId;
        }

        if (null !== $this->bookerJobNo) {
            $res['booker_job_no'] = $this->bookerJobNo;
        }

        if (null !== $this->bookerName) {
            $res['booker_name'] = $this->bookerName;
        }

        if (null !== $this->btripCouponFee) {
            $res['btrip_coupon_fee'] = $this->btripCouponFee;
        }

        if (null !== $this->buildFee) {
            $res['build_fee'] = $this->buildFee;
        }

        if (null !== $this->businessTripResult) {
            $res['business_trip_result'] = $this->businessTripResult;
        }

        if (null !== $this->cabin) {
            $res['cabin'] = $this->cabin;
        }

        if (null !== $this->cabinClass) {
            $res['cabin_class'] = $this->cabinClass;
        }

        if (null !== $this->capitalDirection) {
            $res['capital_direction'] = $this->capitalDirection;
        }

        if (null !== $this->cascadeDepartment) {
            $res['cascade_department'] = $this->cascadeDepartment;
        }

        if (null !== $this->categoryDesc) {
            $res['category_desc'] = $this->categoryDesc;
        }

        if (null !== $this->changeFee) {
            $res['change_fee'] = $this->changeFee;
        }

        if (null !== $this->changeReasonCode) {
            $res['change_reason_code'] = $this->changeReasonCode;
        }

        if (null !== $this->changeResult) {
            $res['change_result'] = $this->changeResult;
        }

        if (null !== $this->corpPayOrderFee) {
            $res['corp_pay_order_fee'] = $this->corpPayOrderFee;
        }

        if (null !== $this->corpSettlePrice) {
            $res['corp_settle_price'] = $this->corpSettlePrice;
        }

        if (null !== $this->costCenter) {
            $res['cost_center'] = $this->costCenter;
        }

        if (null !== $this->costCenterNumber) {
            $res['cost_center_number'] = $this->costCenterNumber;
        }

        if (null !== $this->coupon) {
            $res['coupon'] = $this->coupon;
        }

        if (null !== $this->deductibleTax) {
            $res['deductible_tax'] = $this->deductibleTax;
        }

        if (null !== $this->depAirportCode) {
            $res['dep_airport_code'] = $this->depAirportCode;
        }

        if (null !== $this->depCityCode) {
            $res['dep_city_code'] = $this->depCityCode;
        }

        if (null !== $this->department) {
            $res['department'] = $this->department;
        }

        if (null !== $this->departmentId) {
            $res['department_id'] = $this->departmentId;
        }

        if (null !== $this->deptCity) {
            $res['dept_city'] = $this->deptCity;
        }

        if (null !== $this->deptDate) {
            $res['dept_date'] = $this->deptDate;
        }

        if (null !== $this->deptStation) {
            $res['dept_station'] = $this->deptStation;
        }

        if (null !== $this->deptTime) {
            $res['dept_time'] = $this->deptTime;
        }

        if (null !== $this->discount) {
            $res['discount'] = $this->discount;
        }

        if (null !== $this->exceedReason) {
            $res['exceed_reason'] = $this->exceedReason;
        }

        if (null !== $this->feeType) {
            $res['fee_type'] = $this->feeType;
        }

        if (null !== $this->feeTypeDesc) {
            $res['fee_type_desc'] = $this->feeTypeDesc;
        }

        if (null !== $this->flightNo) {
            $res['flight_no'] = $this->flightNo;
        }

        if (null !== $this->flightTripType) {
            $res['flight_trip_type'] = $this->flightTripType;
        }

        if (null !== $this->index) {
            $res['index'] = $this->index;
        }

        if (null !== $this->insOrderId) {
            $res['ins_order_id'] = $this->insOrderId;
        }

        if (null !== $this->insuranceFee) {
            $res['insurance_fee'] = $this->insuranceFee;
        }

        if (null !== $this->insuranceNumber) {
            $res['insurance_number'] = $this->insuranceNumber;
        }

        if (null !== $this->invoiceTitle) {
            $res['invoice_title'] = $this->invoiceTitle;
        }

        if (null !== $this->itemType) {
            $res['item_type'] = $this->itemType;
        }

        if (null !== $this->itineraryNum) {
            $res['itinerary_num'] = $this->itineraryNum;
        }

        if (null !== $this->itineraryPrice) {
            $res['itinerary_price'] = $this->itineraryPrice;
        }

        if (null !== $this->mileage) {
            $res['mileage'] = $this->mileage;
        }

        if (null !== $this->mostDifferenceDeptTime) {
            $res['most_difference_dept_time'] = $this->mostDifferenceDeptTime;
        }

        if (null !== $this->mostDifferenceDiscount) {
            $res['most_difference_discount'] = $this->mostDifferenceDiscount;
        }

        if (null !== $this->mostDifferenceFlightNo) {
            $res['most_difference_flight_no'] = $this->mostDifferenceFlightNo;
        }

        if (null !== $this->mostDifferencePrice) {
            $res['most_difference_price'] = $this->mostDifferencePrice;
        }

        if (null !== $this->mostDifferenceReason) {
            $res['most_difference_reason'] = $this->mostDifferenceReason;
        }

        if (null !== $this->mostPrice) {
            $res['most_price'] = $this->mostPrice;
        }

        if (null !== $this->negotiationCouponFee) {
            $res['negotiation_coupon_fee'] = $this->negotiationCouponFee;
        }

        if (null !== $this->offlineStatus) {
            $res['offline_status'] = $this->offlineStatus;
        }

        if (null !== $this->oilFee) {
            $res['oil_fee'] = $this->oilFee;
        }

        if (null !== $this->orderId) {
            $res['order_id'] = $this->orderId;
        }

        if (null !== $this->orderTicketNo) {
            $res['order_ticket_no'] = $this->orderTicketNo;
        }

        if (null !== $this->overApplyId) {
            $res['over_apply_id'] = $this->overApplyId;
        }

        if (null !== $this->paymentDepartmentId) {
            $res['payment_department_id'] = $this->paymentDepartmentId;
        }

        if (null !== $this->paymentDepartmentName) {
            $res['payment_department_name'] = $this->paymentDepartmentName;
        }

        if (null !== $this->personSettlePrice) {
            $res['person_settle_price'] = $this->personSettlePrice;
        }

        if (null !== $this->preBookTip) {
            $res['pre_book_tip'] = $this->preBookTip;
        }

        if (null !== $this->primaryId) {
            $res['primary_id'] = $this->primaryId;
        }

        if (null !== $this->projectCode) {
            $res['project_code'] = $this->projectCode;
        }

        if (null !== $this->projectName) {
            $res['project_name'] = $this->projectName;
        }

        if (null !== $this->refundAffiliateNo) {
            $res['refund_affiliate_no'] = $this->refundAffiliateNo;
        }

        if (null !== $this->refundApplyId) {
            $res['refund_apply_id'] = $this->refundApplyId;
        }

        if (null !== $this->refundFee) {
            $res['refund_fee'] = $this->refundFee;
        }

        if (null !== $this->refundReasonCode) {
            $res['refund_reason_code'] = $this->refundReasonCode;
        }

        if (null !== $this->refundResult) {
            $res['refund_result'] = $this->refundResult;
        }

        if (null !== $this->refundUpgradeCost) {
            $res['refund_upgrade_cost'] = $this->refundUpgradeCost;
        }

        if (null !== $this->remark) {
            $res['remark'] = $this->remark;
        }

        if (null !== $this->repeatRefund) {
            $res['repeat_refund'] = $this->repeatRefund;
        }

        if (null !== $this->sceneId) {
            $res['scene_id'] = $this->sceneId;
        }

        if (null !== $this->sceneName) {
            $res['scene_name'] = $this->sceneName;
        }

        if (null !== $this->sealPrice) {
            $res['seal_price'] = $this->sealPrice;
        }

        if (null !== $this->serviceFee) {
            $res['service_fee'] = $this->serviceFee;
        }

        if (null !== $this->settleTypeDesc) {
            $res['settle_type_desc'] = $this->settleTypeDesc;
        }

        if (null !== $this->settlementFee) {
            $res['settlement_fee'] = $this->settlementFee;
        }

        if (null !== $this->settlementGrantFee) {
            $res['settlement_grant_fee'] = $this->settlementGrantFee;
        }

        if (null !== $this->settlementTime) {
            $res['settlement_time'] = $this->settlementTime;
        }

        if (null !== $this->settlementType) {
            $res['settlement_type'] = $this->settlementType;
        }

        if (null !== $this->status) {
            $res['status'] = $this->status;
        }

        if (null !== $this->statusDesc) {
            $res['status_desc'] = $this->statusDesc;
        }

        if (null !== $this->taxRate) {
            $res['tax_rate'] = $this->taxRate;
        }

        if (null !== $this->thirdItineraryId) {
            $res['third_itinerary_id'] = $this->thirdItineraryId;
        }

        if (null !== $this->ticketId) {
            $res['ticket_id'] = $this->ticketId;
        }

        if (null !== $this->trade) {
            $res['trade'] = $this->trade;
        }

        if (null !== $this->tradeActionDesc) {
            $res['trade_action_desc'] = $this->tradeActionDesc;
        }

        if (null !== $this->travelerId) {
            $res['traveler_id'] = $this->travelerId;
        }

        if (null !== $this->travelerJobNo) {
            $res['traveler_job_no'] = $this->travelerJobNo;
        }

        if (null !== $this->travelerMemberType) {
            $res['traveler_member_type'] = $this->travelerMemberType;
        }

        if (null !== $this->travelerMemberTypeName) {
            $res['traveler_member_type_name'] = $this->travelerMemberTypeName;
        }

        if (null !== $this->travelerName) {
            $res['traveler_name'] = $this->travelerName;
        }

        if (null !== $this->upgradeCost) {
            $res['upgrade_cost'] = $this->upgradeCost;
        }

        if (null !== $this->voucherType) {
            $res['voucher_type'] = $this->voucherType;
        }

        if (null !== $this->voucherTypeDesc) {
            $res['voucher_type_desc'] = $this->voucherTypeDesc;
        }

        if (null !== $this->voyageName) {
            $res['voyage_name'] = $this->voyageName;
        }

        return $res;
    }