in btripopen-20220520/src/Models/HotelBillSettlementQueryResponseBody/module/dataList.php [1029:1433]
public static function fromMap($map = [])
{
$model = new self();
if (isset($map['agreement_promotion_fee'])) {
$model->agreementPromotionFee = $map['agreement_promotion_fee'];
}
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['average_nights'])) {
$model->averageNights = $map['average_nights'];
}
if (isset($map['bill_record_time'])) {
$model->billRecordTime = $map['bill_record_time'];
}
if (isset($map['billing_entity'])) {
$model->billingEntity = $map['billing_entity'];
}
if (isset($map['book_channel'])) {
$model->bookChannel = $map['book_channel'];
}
if (isset($map['book_mode'])) {
$model->bookMode = $map['book_mode'];
}
if (isset($map['book_reason'])) {
$model->bookReason = $map['book_reason'];
}
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['brand_group'])) {
$model->brandGroup = $map['brand_group'];
}
if (isset($map['brand_name'])) {
$model->brandName = $map['brand_name'];
}
if (isset($map['business_trip_result'])) {
$model->businessTripResult = $map['business_trip_result'];
}
if (isset($map['cancel_or_modify_reason'])) {
$model->cancelOrModifyReason = $map['cancel_or_modify_reason'];
}
if (isset($map['cancel_or_modify_scene'])) {
$model->cancelOrModifyScene = $map['cancel_or_modify_scene'];
}
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['check_in_date'])) {
$model->checkInDate = $map['check_in_date'];
}
if (isset($map['checkout_date'])) {
$model->checkoutDate = $map['checkout_date'];
}
if (isset($map['city'])) {
$model->city = $map['city'];
}
if (isset($map['city_code'])) {
$model->cityCode = $map['city_code'];
}
if (isset($map['city_county'])) {
$model->cityCounty = $map['city_county'];
}
if (isset($map['city_county_code'])) {
$model->cityCountyCode = $map['city_county_code'];
}
if (isset($map['corp_refund_fee'])) {
$model->corpRefundFee = $map['corp_refund_fee'];
}
if (isset($map['corp_total_fee'])) {
$model->corpTotalFee = $map['corp_total_fee'];
}
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['deductible_tax'])) {
$model->deductibleTax = $map['deductible_tax'];
}
if (isset($map['department'])) {
$model->department = $map['department'];
}
if (isset($map['department_id'])) {
$model->departmentId = $map['department_id'];
}
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['fees'])) {
$model->fees = $map['fees'];
}
if (isset($map['fines'])) {
$model->fines = $map['fines'];
}
if (isset($map['fu_point_fee'])) {
$model->fuPointFee = $map['fu_point_fee'];
}
if (isset($map['hotel_name'])) {
$model->hotelName = $map['hotel_name'];
}
if (isset($map['index'])) {
$model->index = $map['index'];
}
if (isset($map['ins_order_id'])) {
$model->insOrderId = $map['ins_order_id'];
}
if (isset($map['insurance_number'])) {
$model->insuranceNumber = $map['insurance_number'];
}
if (isset($map['insurance_price'])) {
$model->insurancePrice = $map['insurance_price'];
}
if (isset($map['insurance_product_name'])) {
$model->insuranceProductName = $map['insurance_product_name'];
}
if (isset($map['invoice_title'])) {
$model->invoiceTitle = $map['invoice_title'];
}
if (isset($map['is_early_departure'])) {
$model->isEarlyDeparture = $map['is_early_departure'];
}
if (isset($map['is_negotiation'])) {
$model->isNegotiation = $map['is_negotiation'];
}
if (isset($map['is_share_str'])) {
$model->isShareStr = $map['is_share_str'];
}
if (isset($map['nights'])) {
$model->nights = $map['nights'];
}
if (isset($map['no_advance_booking_reason'])) {
$model->noAdvanceBookingReason = $map['no_advance_booking_reason'];
}
if (isset($map['order_id'])) {
$model->orderId = $map['order_id'];
}
if (isset($map['order_price'])) {
$model->orderPrice = $map['order_price'];
}
if (isset($map['order_type'])) {
$model->orderType = $map['order_type'];
}
if (isset($map['original_reserve_rule'])) {
$model->originalReserveRule = $map['original_reserve_rule'];
}
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_refund_fee'])) {
$model->personRefundFee = $map['person_refund_fee'];
}
if (isset($map['person_settle_price'])) {
$model->personSettlePrice = $map['person_settle_price'];
}
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['promotion_fee'])) {
$model->promotionFee = $map['promotion_fee'];
}
if (isset($map['recover_money_receipt_amt'])) {
$model->recoverMoneyReceiptAmt = $map['recover_money_receipt_amt'];
}
if (isset($map['remark'])) {
$model->remark = $map['remark'];
}
if (isset($map['reserve_rule'])) {
$model->reserveRule = $map['reserve_rule'];
}
if (isset($map['room_no'])) {
$model->roomNo = $map['room_no'];
}
if (isset($map['room_number'])) {
$model->roomNumber = $map['room_number'];
}
if (isset($map['room_price'])) {
$model->roomPrice = $map['room_price'];
}
if (isset($map['room_type'])) {
$model->roomType = $map['room_type'];
}
if (isset($map['scene_id'])) {
$model->sceneId = $map['scene_id'];
}
if (isset($map['scene_name'])) {
$model->sceneName = $map['scene_name'];
}
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['star'])) {
$model->star = $map['star'];
}
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['total_nights'])) {
$model->totalNights = $map['total_nights'];
}
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['unbooked_lowest_price_reason'])) {
$model->unbookedLowestPriceReason = $map['unbooked_lowest_price_reason'];
}
if (isset($map['voucher_type'])) {
$model->voucherType = $map['voucher_type'];
}
if (isset($map['voucher_type_desc'])) {
$model->voucherTypeDesc = $map['voucher_type_desc'];
}
return $model;
}