in btripopen-20220520/src/Models/TrainBillSettlementQueryResponseBody/module/dataList.php [600:992]
public function toArray($noStream = false)
{
$res = [];
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->arrCityCode) {
$res['arr_city_code'] = $this->arrCityCode;
}
if (null !== $this->arrCityName) {
$res['arr_city_name'] = $this->arrCityName;
}
if (null !== $this->arrDate) {
$res['arr_date'] = $this->arrDate;
}
if (null !== $this->arrStation) {
$res['arr_station'] = $this->arrStation;
}
if (null !== $this->arrStationLocation) {
$res['arr_station_location'] = $this->arrStationLocation;
}
if (null !== $this->arrStationLocationCode) {
$res['arr_station_location_code'] = $this->arrStationLocationCode;
}
if (null !== $this->arrTime) {
$res['arr_time'] = $this->arrTime;
}
if (null !== $this->billRecordTime) {
$res['bill_record_time'] = $this->billRecordTime;
}
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->businessTripResult) {
$res['business_trip_result'] = $this->businessTripResult;
}
if (null !== $this->cabinMaxPrice) {
$res['cabin_max_price'] = $this->cabinMaxPrice;
}
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->changeAffiliateNo) {
$res['change_affiliate_no'] = $this->changeAffiliateNo;
}
if (null !== $this->changeApplyId) {
$res['change_apply_id'] = $this->changeApplyId;
}
if (null !== $this->changeFee) {
$res['change_fee'] = $this->changeFee;
}
if (null !== $this->changeResult) {
$res['change_result'] = $this->changeResult;
}
if (null !== $this->coachNo) {
$res['coach_no'] = $this->coachNo;
}
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->depCityCode) {
$res['dep_city_code'] = $this->depCityCode;
}
if (null !== $this->depCityName) {
$res['dep_city_name'] = $this->depCityName;
}
if (null !== $this->depStationLocation) {
$res['dep_station_location'] = $this->depStationLocation;
}
if (null !== $this->depStationLocationCode) {
$res['dep_station_location_code'] = $this->depStationLocationCode;
}
if (null !== $this->department) {
$res['department'] = $this->department;
}
if (null !== $this->departmentId) {
$res['department_id'] = $this->departmentId;
}
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->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->index) {
$res['index'] = $this->index;
}
if (null !== $this->invoiceTitle) {
$res['invoice_title'] = $this->invoiceTitle;
}
if (null !== $this->isTransferOrder) {
$res['is_transfer_order'] = $this->isTransferOrder;
}
if (null !== $this->longTicketNo) {
$res['long_ticket_no'] = $this->longTicketNo;
}
if (null !== $this->maxCabin) {
$res['max_cabin'] = $this->maxCabin;
}
if (null !== $this->orderId) {
$res['order_id'] = $this->orderId;
}
if (null !== $this->orderPrice) {
$res['order_price'] = $this->orderPrice;
}
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->primaryId) {
$res['primary_id'] = $this->primaryId;
}
if (null !== $this->printTicketPrice) {
$res['print_ticket_price'] = $this->printTicketPrice;
}
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->refundReason) {
$res['refund_reason'] = $this->refundReason;
}
if (null !== $this->remark) {
$res['remark'] = $this->remark;
}
if (null !== $this->reserveMode) {
$res['reserve_mode'] = $this->reserveMode;
}
if (null !== $this->runTime) {
$res['run_time'] = $this->runTime;
}
if (null !== $this->sceneId) {
$res['scene_id'] = $this->sceneId;
}
if (null !== $this->sceneName) {
$res['scene_name'] = $this->sceneName;
}
if (null !== $this->seatNo) {
$res['seat_no'] = $this->seatNo;
}
if (null !== $this->seatType) {
$res['seat_type'] = $this->seatType;
}
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->shortTicketNo) {
$res['short_ticket_no'] = $this->shortTicketNo;
}
if (null !== $this->speedPackageFee) {
$res['speed_package_fee'] = $this->speedPackageFee;
}
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->ticketCorpPayPrice) {
$res['ticket_corp_pay_price'] = $this->ticketCorpPayPrice;
}
if (null !== $this->ticketNo) {
$res['ticket_no'] = $this->ticketNo;
}
if (null !== $this->ticketPersonPayPrice) {
$res['ticket_person_pay_price'] = $this->ticketPersonPayPrice;
}
if (null !== $this->ticketPrice) {
$res['ticket_price'] = $this->ticketPrice;
}
if (null !== $this->tradeActionDesc) {
$res['trade_action_desc'] = $this->tradeActionDesc;
}
if (null !== $this->trainNo) {
$res['train_no'] = $this->trainNo;
}
if (null !== $this->trainType) {
$res['train_type'] = $this->trainType;
}
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->voucherType) {
$res['voucher_type'] = $this->voucherType;
}
if (null !== $this->voucherTypeDesc) {
$res['voucher_type_desc'] = $this->voucherTypeDesc;
}
return $res;
}