in btripopen-20220520/src/Models/CooperatorHotelBillSettlementQueryResponseBody/module/items.php [564:932]
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->averageNights) {
$res['average_nights'] = $this->averageNights;
}
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->bookReason) {
$res['book_reason'] = $this->bookReason;
}
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->brandGroup) {
$res['brand_group'] = $this->brandGroup;
}
if (null !== $this->brandName) {
$res['brand_name'] = $this->brandName;
}
if (null !== $this->businessTripResult) {
$res['business_trip_result'] = $this->businessTripResult;
}
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->checkInDate) {
$res['check_in_date'] = $this->checkInDate;
}
if (null !== $this->checkoutDate) {
$res['checkout_date'] = $this->checkoutDate;
}
if (null !== $this->city) {
$res['city'] = $this->city;
}
if (null !== $this->cityCode) {
$res['city_code'] = $this->cityCode;
}
if (null !== $this->cityCounty) {
$res['city_county'] = $this->cityCounty;
}
if (null !== $this->cityCountyCode) {
$res['city_county_code'] = $this->cityCountyCode;
}
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->corpRefundFee) {
$res['corp_refund_fee'] = $this->corpRefundFee;
}
if (null !== $this->corpTotalFee) {
$res['corp_total_fee'] = $this->corpTotalFee;
}
if (null !== $this->costCenter) {
$res['cost_center'] = $this->costCenter;
}
if (null !== $this->costCenterNumber) {
$res['cost_center_number'] = $this->costCenterNumber;
}
if (null !== $this->department) {
$res['department'] = $this->department;
}
if (null !== $this->departmentId) {
$res['department_id'] = $this->departmentId;
}
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->fees) {
$res['fees'] = $this->fees;
}
if (null !== $this->fines) {
$res['fines'] = $this->fines;
}
if (null !== $this->fuPointFee) {
$res['fu_point_fee'] = $this->fuPointFee;
}
if (null !== $this->hotelName) {
$res['hotel_name'] = $this->hotelName;
}
if (null !== $this->index) {
$res['index'] = $this->index;
}
if (null !== $this->invoiceTitle) {
$res['invoice_title'] = $this->invoiceTitle;
}
if (null !== $this->isEarlyDeparture) {
$res['is_early_departure'] = $this->isEarlyDeparture;
}
if (null !== $this->isNegotiation) {
$res['is_negotiation'] = $this->isNegotiation;
}
if (null !== $this->isShareStr) {
$res['is_share_str'] = $this->isShareStr;
}
if (null !== $this->nights) {
$res['nights'] = $this->nights;
}
if (null !== $this->orderId) {
$res['order_id'] = $this->orderId;
}
if (null !== $this->orderPrice) {
$res['order_price'] = $this->orderPrice;
}
if (null !== $this->orderStatusDesc) {
$res['order_status_desc'] = $this->orderStatusDesc;
}
if (null !== $this->orderType) {
$res['order_type'] = $this->orderType;
}
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->personRefundFee) {
$res['person_refund_fee'] = $this->personRefundFee;
}
if (null !== $this->personSettlePrice) {
$res['person_settle_price'] = $this->personSettlePrice;
}
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->promotionFee) {
$res['promotion_fee'] = $this->promotionFee;
}
if (null !== $this->remark) {
$res['remark'] = $this->remark;
}
if (null !== $this->reserveRule) {
$res['reserve_rule'] = $this->reserveRule;
}
if (null !== $this->roomNo) {
$res['room_no'] = $this->roomNo;
}
if (null !== $this->roomNumber) {
$res['room_number'] = $this->roomNumber;
}
if (null !== $this->roomPrice) {
$res['room_price'] = $this->roomPrice;
}
if (null !== $this->roomType) {
$res['room_type'] = $this->roomType;
}
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->star) {
$res['star'] = $this->star;
}
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->totalNights) {
$res['total_nights'] = $this->totalNights;
}
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->voucherType) {
$res['voucher_type'] = $this->voucherType;
}
if (null !== $this->voucherTypeDesc) {
$res['voucher_type_desc'] = $this->voucherTypeDesc;
}
return $res;
}