in btripopen-20220520/src/Models/FlightBillSettlementQueryResponseBody/module/dataList.php [1189:1657]
public static function fromMap($map = [])
{
$model = new self();
if (isset($map['advance_day'])) {
$model->advanceDay = $map['advance_day'];
}
if (isset($map['airline_corp_code'])) {
$model->airlineCorpCode = $map['airline_corp_code'];
}
if (isset($map['airline_corp_name'])) {
$model->airlineCorpName = $map['airline_corp_name'];
}
if (isset($map['alipay_id'])) {
$model->alipayId = $map['alipay_id'];
}
if (isset($map['alipay_trade_no'])) {
$model->alipayTradeNo = $map['alipay_trade_no'];
}
if (isset($map['apply_arr_city_code'])) {
$model->applyArrCityCode = $map['apply_arr_city_code'];
}
if (isset($map['apply_arr_city_name'])) {
$model->applyArrCityName = $map['apply_arr_city_name'];
}
if (isset($map['apply_dep_city_code'])) {
$model->applyDepCityCode = $map['apply_dep_city_code'];
}
if (isset($map['apply_dep_city_name'])) {
$model->applyDepCityName = $map['apply_dep_city_name'];
}
if (isset($map['apply_extend_field'])) {
$model->applyExtendField = $map['apply_extend_field'];
}
if (isset($map['apply_id'])) {
$model->applyId = $map['apply_id'];
}
if (isset($map['arr_airport_code'])) {
$model->arrAirportCode = $map['arr_airport_code'];
}
if (isset($map['arr_city'])) {
$model->arrCity = $map['arr_city'];
}
if (isset($map['arr_city_code'])) {
$model->arrCityCode = $map['arr_city_code'];
}
if (isset($map['arr_date'])) {
$model->arrDate = $map['arr_date'];
}
if (isset($map['arr_station'])) {
$model->arrStation = $map['arr_station'];
}
if (isset($map['arr_time'])) {
$model->arrTime = $map['arr_time'];
}
if (isset($map['bill_record_time'])) {
$model->billRecordTime = $map['bill_record_time'];
}
if (isset($map['book_channel'])) {
$model->bookChannel = $map['book_channel'];
}
if (isset($map['book_mode'])) {
$model->bookMode = $map['book_mode'];
}
if (isset($map['book_time'])) {
$model->bookTime = $map['book_time'];
}
if (isset($map['booker_id'])) {
$model->bookerId = $map['booker_id'];
}
if (isset($map['booker_job_no'])) {
$model->bookerJobNo = $map['booker_job_no'];
}
if (isset($map['booker_name'])) {
$model->bookerName = $map['booker_name'];
}
if (isset($map['btrip_coupon_fee'])) {
$model->btripCouponFee = $map['btrip_coupon_fee'];
}
if (isset($map['build_fee'])) {
$model->buildFee = $map['build_fee'];
}
if (isset($map['business_trip_result'])) {
$model->businessTripResult = $map['business_trip_result'];
}
if (isset($map['cabin'])) {
$model->cabin = $map['cabin'];
}
if (isset($map['cabin_class'])) {
$model->cabinClass = $map['cabin_class'];
}
if (isset($map['capital_direction'])) {
$model->capitalDirection = $map['capital_direction'];
}
if (isset($map['cascade_department'])) {
$model->cascadeDepartment = $map['cascade_department'];
}
if (isset($map['category_desc'])) {
$model->categoryDesc = $map['category_desc'];
}
if (isset($map['change_fee'])) {
$model->changeFee = $map['change_fee'];
}
if (isset($map['change_reason_code'])) {
$model->changeReasonCode = $map['change_reason_code'];
}
if (isset($map['change_result'])) {
$model->changeResult = $map['change_result'];
}
if (isset($map['corp_pay_order_fee'])) {
$model->corpPayOrderFee = $map['corp_pay_order_fee'];
}
if (isset($map['corp_settle_price'])) {
$model->corpSettlePrice = $map['corp_settle_price'];
}
if (isset($map['cost_center'])) {
$model->costCenter = $map['cost_center'];
}
if (isset($map['cost_center_number'])) {
$model->costCenterNumber = $map['cost_center_number'];
}
if (isset($map['coupon'])) {
$model->coupon = $map['coupon'];
}
if (isset($map['deductible_tax'])) {
$model->deductibleTax = $map['deductible_tax'];
}
if (isset($map['dep_airport_code'])) {
$model->depAirportCode = $map['dep_airport_code'];
}
if (isset($map['dep_city_code'])) {
$model->depCityCode = $map['dep_city_code'];
}
if (isset($map['department'])) {
$model->department = $map['department'];
}
if (isset($map['department_id'])) {
$model->departmentId = $map['department_id'];
}
if (isset($map['dept_city'])) {
$model->deptCity = $map['dept_city'];
}
if (isset($map['dept_date'])) {
$model->deptDate = $map['dept_date'];
}
if (isset($map['dept_station'])) {
$model->deptStation = $map['dept_station'];
}
if (isset($map['dept_time'])) {
$model->deptTime = $map['dept_time'];
}
if (isset($map['discount'])) {
$model->discount = $map['discount'];
}
if (isset($map['exceed_reason'])) {
$model->exceedReason = $map['exceed_reason'];
}
if (isset($map['fee_type'])) {
$model->feeType = $map['fee_type'];
}
if (isset($map['fee_type_desc'])) {
$model->feeTypeDesc = $map['fee_type_desc'];
}
if (isset($map['flight_no'])) {
$model->flightNo = $map['flight_no'];
}
if (isset($map['flight_trip_type'])) {
$model->flightTripType = $map['flight_trip_type'];
}
if (isset($map['index'])) {
$model->index = $map['index'];
}
if (isset($map['ins_order_id'])) {
$model->insOrderId = $map['ins_order_id'];
}
if (isset($map['insurance_fee'])) {
$model->insuranceFee = $map['insurance_fee'];
}
if (isset($map['insurance_number'])) {
$model->insuranceNumber = $map['insurance_number'];
}
if (isset($map['invoice_title'])) {
$model->invoiceTitle = $map['invoice_title'];
}
if (isset($map['item_type'])) {
$model->itemType = $map['item_type'];
}
if (isset($map['itinerary_num'])) {
$model->itineraryNum = $map['itinerary_num'];
}
if (isset($map['itinerary_price'])) {
$model->itineraryPrice = $map['itinerary_price'];
}
if (isset($map['mileage'])) {
$model->mileage = $map['mileage'];
}
if (isset($map['most_difference_dept_time'])) {
$model->mostDifferenceDeptTime = $map['most_difference_dept_time'];
}
if (isset($map['most_difference_discount'])) {
$model->mostDifferenceDiscount = $map['most_difference_discount'];
}
if (isset($map['most_difference_flight_no'])) {
$model->mostDifferenceFlightNo = $map['most_difference_flight_no'];
}
if (isset($map['most_difference_price'])) {
$model->mostDifferencePrice = $map['most_difference_price'];
}
if (isset($map['most_difference_reason'])) {
$model->mostDifferenceReason = $map['most_difference_reason'];
}
if (isset($map['most_price'])) {
$model->mostPrice = $map['most_price'];
}
if (isset($map['negotiation_coupon_fee'])) {
$model->negotiationCouponFee = $map['negotiation_coupon_fee'];
}
if (isset($map['offline_status'])) {
$model->offlineStatus = $map['offline_status'];
}
if (isset($map['oil_fee'])) {
$model->oilFee = $map['oil_fee'];
}
if (isset($map['order_id'])) {
$model->orderId = $map['order_id'];
}
if (isset($map['order_ticket_no'])) {
$model->orderTicketNo = $map['order_ticket_no'];
}
if (isset($map['over_apply_id'])) {
$model->overApplyId = $map['over_apply_id'];
}
if (isset($map['payment_department_id'])) {
$model->paymentDepartmentId = $map['payment_department_id'];
}
if (isset($map['payment_department_name'])) {
$model->paymentDepartmentName = $map['payment_department_name'];
}
if (isset($map['person_settle_price'])) {
$model->personSettlePrice = $map['person_settle_price'];
}
if (isset($map['pre_book_tip'])) {
$model->preBookTip = $map['pre_book_tip'];
}
if (isset($map['primary_id'])) {
$model->primaryId = $map['primary_id'];
}
if (isset($map['project_code'])) {
$model->projectCode = $map['project_code'];
}
if (isset($map['project_name'])) {
$model->projectName = $map['project_name'];
}
if (isset($map['refund_affiliate_no'])) {
$model->refundAffiliateNo = $map['refund_affiliate_no'];
}
if (isset($map['refund_apply_id'])) {
$model->refundApplyId = $map['refund_apply_id'];
}
if (isset($map['refund_fee'])) {
$model->refundFee = $map['refund_fee'];
}
if (isset($map['refund_reason_code'])) {
$model->refundReasonCode = $map['refund_reason_code'];
}
if (isset($map['refund_result'])) {
$model->refundResult = $map['refund_result'];
}
if (isset($map['refund_upgrade_cost'])) {
$model->refundUpgradeCost = $map['refund_upgrade_cost'];
}
if (isset($map['remark'])) {
$model->remark = $map['remark'];
}
if (isset($map['repeat_refund'])) {
$model->repeatRefund = $map['repeat_refund'];
}
if (isset($map['scene_id'])) {
$model->sceneId = $map['scene_id'];
}
if (isset($map['scene_name'])) {
$model->sceneName = $map['scene_name'];
}
if (isset($map['seal_price'])) {
$model->sealPrice = $map['seal_price'];
}
if (isset($map['service_fee'])) {
$model->serviceFee = $map['service_fee'];
}
if (isset($map['settle_type_desc'])) {
$model->settleTypeDesc = $map['settle_type_desc'];
}
if (isset($map['settlement_fee'])) {
$model->settlementFee = $map['settlement_fee'];
}
if (isset($map['settlement_grant_fee'])) {
$model->settlementGrantFee = $map['settlement_grant_fee'];
}
if (isset($map['settlement_time'])) {
$model->settlementTime = $map['settlement_time'];
}
if (isset($map['settlement_type'])) {
$model->settlementType = $map['settlement_type'];
}
if (isset($map['status'])) {
$model->status = $map['status'];
}
if (isset($map['status_desc'])) {
$model->statusDesc = $map['status_desc'];
}
if (isset($map['tax_rate'])) {
$model->taxRate = $map['tax_rate'];
}
if (isset($map['third_itinerary_id'])) {
$model->thirdItineraryId = $map['third_itinerary_id'];
}
if (isset($map['ticket_id'])) {
$model->ticketId = $map['ticket_id'];
}
if (isset($map['trade'])) {
$model->trade = $map['trade'];
}
if (isset($map['trade_action_desc'])) {
$model->tradeActionDesc = $map['trade_action_desc'];
}
if (isset($map['traveler_id'])) {
$model->travelerId = $map['traveler_id'];
}
if (isset($map['traveler_job_no'])) {
$model->travelerJobNo = $map['traveler_job_no'];
}
if (isset($map['traveler_member_type'])) {
$model->travelerMemberType = $map['traveler_member_type'];
}
if (isset($map['traveler_member_type_name'])) {
$model->travelerMemberTypeName = $map['traveler_member_type_name'];
}
if (isset($map['traveler_name'])) {
$model->travelerName = $map['traveler_name'];
}
if (isset($map['upgrade_cost'])) {
$model->upgradeCost = $map['upgrade_cost'];
}
if (isset($map['voucher_type'])) {
$model->voucherType = $map['voucher_type'];
}
if (isset($map['voucher_type_desc'])) {
$model->voucherTypeDesc = $map['voucher_type_desc'];
}
if (isset($map['voyage_name'])) {
$model->voyageName = $map['voyage_name'];
}
return $model;
}