in btripopen-20220520/src/Models/CooperatorFlightBillSettlementQueryResponseBody/module/items.php [702:1162]
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->changeResult) {
$res['change_result'] = $this->changeResult;
}
if (null !== $this->cooperatorBillCode) {
$res['cooperator_bill_code'] = $this->cooperatorBillCode;
}
if (null !== $this->cooperatorName) {
$res['cooperator_name'] = $this->cooperatorName;
}
if (null !== $this->cooperatorOrderId) {
$res['cooperator_order_id'] = $this->cooperatorOrderId;
}
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->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->oilFee) {
$res['oil_fee'] = $this->oilFee;
}
if (null !== $this->orderId) {
$res['order_id'] = $this->orderId;
}
if (null !== $this->orderStatusDesc) {
$res['order_status_desc'] = $this->orderStatusDesc;
}
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->refundFee) {
$res['refund_fee'] = $this->refundFee;
}
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->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->subOrderId) {
$res['sub_order_id'] = $this->subOrderId;
}
if (null !== $this->taxRate) {
$res['tax_rate'] = $this->taxRate;
}
if (null !== $this->thirdInvoiceId) {
$res['third_invoice_id'] = $this->thirdInvoiceId;
}
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;
}