Documentation ¶
Overview ¶
Package itpolicy 包含国际机票政策API相关结构体
Index ¶
- func ReleaseErrorFareRow(v *ErrorFareRow)
- func ReleaseTaobaoAlitripItFareAddowAPIRequest(v *TaobaoAlitripItFareAddowAPIRequest)
- func ReleaseTaobaoAlitripItFareAddowAPIResponse(v *TaobaoAlitripItFareAddowAPIResponse)
- func ReleaseTaobaoAlitripItFareAddrtAPIRequest(v *TaobaoAlitripItFareAddrtAPIRequest)
- func ReleaseTaobaoAlitripItFareAddrtAPIResponse(v *TaobaoAlitripItFareAddrtAPIResponse)
- func ReleaseTaobaoAlitripItFareBatchaddAPIRequest(v *TaobaoAlitripItFareBatchaddAPIRequest)
- func ReleaseTaobaoAlitripItFareBatchaddAPIResponse(v *TaobaoAlitripItFareBatchaddAPIResponse)
- func ReleaseTaobaoAlitripItFareBatchdeleteAPIRequest(v *TaobaoAlitripItFareBatchdeleteAPIRequest)
- func ReleaseTaobaoAlitripItFareBatchdeleteAPIResponse(v *TaobaoAlitripItFareBatchdeleteAPIResponse)
- func ReleaseTaobaoAlitripItFareDeleteAPIRequest(v *TaobaoAlitripItFareDeleteAPIRequest)
- func ReleaseTaobaoAlitripItFareDeleteAPIResponse(v *TaobaoAlitripItFareDeleteAPIResponse)
- func ReleaseTaobaoAlitripItFareGetAPIRequest(v *TaobaoAlitripItFareGetAPIRequest)
- func ReleaseTaobaoAlitripItFareGetAPIResponse(v *TaobaoAlitripItFareGetAPIResponse)
- func ReleaseTaobaoAlitripItFareQuerytaskAPIRequest(v *TaobaoAlitripItFareQuerytaskAPIRequest)
- func ReleaseTaobaoAlitripItFareQuerytaskAPIResponse(v *TaobaoAlitripItFareQuerytaskAPIResponse)
- func ReleaseTaobaoAlitripItFareUpdateAPIRequest(v *TaobaoAlitripItFareUpdateAPIRequest)
- func ReleaseTaobaoAlitripItFareUpdateAPIResponse(v *TaobaoAlitripItFareUpdateAPIResponse)
- func ReleaseTaobaoAlitripItPolicyAddAPIRequest(v *TaobaoAlitripItPolicyAddAPIRequest)
- func ReleaseTaobaoAlitripItPolicyAddAPIResponse(v *TaobaoAlitripItPolicyAddAPIResponse)
- func ReleaseTaobaoAlitripItPolicyBatchdeleteAPIRequest(v *TaobaoAlitripItPolicyBatchdeleteAPIRequest)
- func ReleaseTaobaoAlitripItPolicyBatchdeleteAPIResponse(v *TaobaoAlitripItPolicyBatchdeleteAPIResponse)
- func ReleaseTaobaoAlitripItPolicyDeleteAPIRequest(v *TaobaoAlitripItPolicyDeleteAPIRequest)
- func ReleaseTaobaoAlitripItPolicyDeleteAPIResponse(v *TaobaoAlitripItPolicyDeleteAPIResponse)
- func ReleaseTaobaoAlitripItPolicyGetAPIRequest(v *TaobaoAlitripItPolicyGetAPIRequest)
- func ReleaseTaobaoAlitripItPolicyGetAPIResponse(v *TaobaoAlitripItPolicyGetAPIResponse)
- func ReleaseTaobaoAlitripItPolicyUpdateAPIRequest(v *TaobaoAlitripItPolicyUpdateAPIRequest)
- func ReleaseTaobaoAlitripItPolicyUpdateAPIResponse(v *TaobaoAlitripItPolicyUpdateAPIResponse)
- func ReleaseTopPolicyDo(v *TopPolicyDo)
- type ErrorFareRow
- type TaobaoAlitripItFareAddowAPIRequest
- func (r TaobaoAlitripItFareAddowAPIRequest) GetAddressOption() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetAdjustMoney() int64
- func (r TaobaoAlitripItFareAddowAPIRequest) GetAdultPassengerIdentity() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetAdultTax() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetApiMethodName() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoAlitripItFareAddowAPIRequest) GetApplyChannel() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetBookingOffice() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetBuyTicketNotice() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetCabin() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetCanDepChange() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetChildPrice() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetChildTax() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetCodeSharingType() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetCommodityType() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetDepChangeCurrency() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetDepChangeFee() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetDepChangeFeeType() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetDestination() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetEarlyTicketingTimeLimit() int64
- func (r TaobaoAlitripItFareAddowAPIRequest) GetExcludeDateRange4Dep() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetExcludeFlightNo() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetExcludeNationality() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetExtendAttributes() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetFareSource() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetFareTypeCode() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetFarebasis() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetFileCode() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetFlightDatePoint4Dep() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetFlightDateRestrict4Dep() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetGv2ChildRule() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetIsCanAllRefund() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetIsCanPartRefund() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetIsCanRefund4Dep() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetIsCanReissue4Dep() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetIsCreatePnr() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetIsNoShowCanRefund4Dep() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetIsNoShowCanReissue4Dep() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetIsValidatPrice() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetLateTicketingTimeLimit() int64
- func (r TaobaoAlitripItFareAddowAPIRequest) GetLuggageRule() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetLuggageRule4Dep() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetMaxTravelPerson() int64
- func (r TaobaoAlitripItFareAddowAPIRequest) GetMinTravelPerson() int64
- func (r TaobaoAlitripItFareAddowAPIRequest) GetNationality() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetNoShowPenalty4Dep() int64
- func (r TaobaoAlitripItFareAddowAPIRequest) GetNoShowTimeLimit4Dep() int64
- func (r TaobaoAlitripItFareAddowAPIRequest) GetNoshowCurrency() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetNoshowFee() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetNoshowRestrict() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetNoshowRule() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetNoshowRuleType() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetNoshowTimeRestrict() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetNoshowTimeRestrictUnit() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetOriginLand() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetOutFileCode() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetPassengerAge() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetProductType() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetRawParams() model.Params
- func (r TaobaoAlitripItFareAddowAPIRequest) GetReceipts() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetRefundCurrencyAllUnused() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetRefundCurrencyPartUnused() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetRefundFeeAllUnused() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetRefundFeePartUnused() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetRefundFeeTypeAllUnused() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetRefundFeeTypePartUnused() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetRefundPartPrice4Dep() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetRefundPrice4Dep() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetRefundRule() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetReissuePartPrice4Dep() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetReissuePrice4Dep() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetReissueRule() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetRemark() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetRestrictFlightNo() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetReturnPoint() float64
- func (r TaobaoAlitripItFareAddowAPIRequest) GetRuleId() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetSaleAirline() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetSaleDate() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetStockMode() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetTariff() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetTicketPrice() int64
- func (r TaobaoAlitripItFareAddowAPIRequest) GetTicketingAirline() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetTransitLand() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetTripDatePoint4Dep() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetTripExcludeDatePoint4Dep() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetTripType() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetValidDate4Dep() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetVipCode() string
- func (r TaobaoAlitripItFareAddowAPIRequest) GetWorkingHours() string
- func (r *TaobaoAlitripItFareAddowAPIRequest) Reset()
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetAddressOption(_addressOption string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetAdjustMoney(_adjustMoney int64) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetAdultPassengerIdentity(_adultPassengerIdentity string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetAdultTax(_adultTax string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetApplyChannel(_applyChannel string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetBookingOffice(_bookingOffice string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetBuyTicketNotice(_buyTicketNotice string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetCabin(_cabin string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetCanDepChange(_canDepChange string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetChildPrice(_childPrice string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetChildTax(_childTax string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetCodeSharingType(_codeSharingType string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetCommodityType(_commodityType string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetDepChangeCurrency(_depChangeCurrency string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetDepChangeFee(_depChangeFee string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetDepChangeFeeType(_depChangeFeeType string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetDestination(_destination string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetEarlyTicketingTimeLimit(_earlyTicketingTimeLimit int64) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetExcludeDateRange4Dep(_excludeDateRange4Dep string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetExcludeFlightNo(_excludeFlightNo string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetExcludeNationality(_excludeNationality string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetExtendAttributes(_extendAttributes string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetFareSource(_fareSource string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetFareTypeCode(_fareTypeCode string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetFarebasis(_farebasis string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetFileCode(_fileCode string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetFlightDatePoint4Dep(_flightDatePoint4Dep string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetFlightDateRestrict4Dep(_flightDateRestrict4Dep string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetGv2ChildRule(_gv2ChildRule string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetIsCanAllRefund(_isCanAllRefund string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetIsCanPartRefund(_isCanPartRefund string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetIsCanRefund4Dep(_isCanRefund4Dep string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetIsCanReissue4Dep(_isCanReissue4Dep string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetIsCreatePnr(_isCreatePnr string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetIsNoShowCanRefund4Dep(_isNoShowCanRefund4Dep string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetIsNoShowCanReissue4Dep(_isNoShowCanReissue4Dep string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetIsValidatPrice(_isValidatPrice string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetLateTicketingTimeLimit(_lateTicketingTimeLimit int64) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetLuggageRule(_luggageRule string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetLuggageRule4Dep(_luggageRule4Dep string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetMaxTravelPerson(_maxTravelPerson int64) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetMinTravelPerson(_minTravelPerson int64) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetNationality(_nationality string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetNoShowPenalty4Dep(_noShowPenalty4Dep int64) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetNoShowTimeLimit4Dep(_noShowTimeLimit4Dep int64) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetNoshowCurrency(_noshowCurrency string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetNoshowFee(_noshowFee string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetNoshowRestrict(_noshowRestrict string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetNoshowRule(_noshowRule string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetNoshowRuleType(_noshowRuleType string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetNoshowTimeRestrict(_noshowTimeRestrict string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetNoshowTimeRestrictUnit(_noshowTimeRestrictUnit string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetOriginLand(_originLand string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetOutFileCode(_outFileCode string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetPassengerAge(_passengerAge string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetProductType(_productType string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetReceipts(_receipts string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetRefundCurrencyAllUnused(_refundCurrencyAllUnused string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetRefundCurrencyPartUnused(_refundCurrencyPartUnused string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetRefundFeeAllUnused(_refundFeeAllUnused string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetRefundFeePartUnused(_refundFeePartUnused string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetRefundFeeTypeAllUnused(_refundFeeTypeAllUnused string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetRefundFeeTypePartUnused(_refundFeeTypePartUnused string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetRefundPartPrice4Dep(_refundPartPrice4Dep string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetRefundPrice4Dep(_refundPrice4Dep string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetRefundRule(_refundRule string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetReissuePartPrice4Dep(_reissuePartPrice4Dep string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetReissuePrice4Dep(_reissuePrice4Dep string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetReissueRule(_reissueRule string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetRemark(_remark string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetRestrictFlightNo(_restrictFlightNo string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetReturnPoint(_returnPoint float64) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetRuleId(_ruleId string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetSaleAirline(_saleAirline string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetSaleDate(_saleDate string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetStockMode(_stockMode string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetTariff(_tariff string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetTicketPrice(_ticketPrice int64) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetTicketingAirline(_ticketingAirline string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetTransitLand(_transitLand string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetTripDatePoint4Dep(_tripDatePoint4Dep string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetTripExcludeDatePoint4Dep(_tripExcludeDatePoint4Dep string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetTripType(_tripType string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetValidDate4Dep(_validDate4Dep string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetVipCode(_vipCode string) error
- func (r *TaobaoAlitripItFareAddowAPIRequest) SetWorkingHours(_workingHours string) error
- type TaobaoAlitripItFareAddowAPIResponse
- type TaobaoAlitripItFareAddowAPIResponseModel
- type TaobaoAlitripItFareAddrtAPIRequest
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetAddressOption() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetAdjustMoney() int64
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetAdultPassengerIdentity() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetAdultTax() int64
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetApiMethodName() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetApplyChannel() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetBookingOffice() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetBuyTicketNotice() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetCabin() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetCanDepChange() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetCanRetChange() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetChildPrice() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetChildTax() int64
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetCodeSharingType() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetCombinationFilecode() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetCombinationOjFilecode() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetCommodityType() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetDepChangeCurrency() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetDepChangeFee() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetDepChangeFeeType() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetDestination() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetEarlyTicketingTimeLimit() int64
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetExcludeDateRange4Dep() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetExcludeDateRange4Ret() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetExcludeFlightNo() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetExcludeNationality() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetExtendAttributes() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetFareDirectDestrict() int64
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetFareSource() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetFareTypeCode() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetFarebasis() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetFileCode() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetFlightDatePoint4Dep() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetFlightDatePoint4Ret() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetFlightDateRestrict4Dep() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetFlightDateRestrict4Ret() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetGv2ChildRule() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetIsAllowOj() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetIsCanAllRefund() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetIsCanPartRefund() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetIsCanRefund4Dep() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetIsCanRefund4Ret() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetIsCanReissue4Dep() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetIsCanReissue4Ret() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetIsCreatePnr() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetIsNoShowCanRefund4Dep() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetIsNoShowCanRefund4Ret() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetIsNoShowCanReissue4Dep() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetIsNoShowCanReissue4Ret() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetIsRT() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetIsValidatPrice() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetLateTicketingTimeLimit() int64
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetLuggageRule() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetLuggageRule4Dep() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetLuggageRule4Ret() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetMaxStay() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetMaxTravelPerson() int64
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetMinStay() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetMinTravelPerson() int64
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetNationality() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetNoShowPenalty4Dep() int64
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetNoShowPenalty4Ret() int64
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetNoShowTimeLimit4Dep() int64
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetNoShowTimeLimit4Ret() int64
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetNoshowCurrency() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetNoshowFee() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetNoshowRestrict() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetNoshowRule() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetNoshowRuleType() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetNoshowTimeRestrict() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetNoshowTimeRestrictUnit() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetOjType() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetOriginLand() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetOutFileCode() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetPassengerAge() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetProductType() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetRawParams() model.Params
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetReceipts() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetRefundCurrencyAllUnused() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetRefundCurrencyPartUnused() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetRefundFeeAllUnused() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetRefundFeePartUnused() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetRefundFeeTypeAllUnused() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetRefundFeeTypePartUnused() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetRefundPartPrice4Dep() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetRefundPartPrice4Ret() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetRefundPrice4Dep() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetRefundPrice4Ret() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetRefundRule() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetReissuePartPrice4Dep() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetReissuePartPrice4Ret() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetReissuePrice4Dep() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetReissuePrice4Ret() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetReissueRule() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetRemark() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetRestrictFlightNo() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetRetChangeCurrency() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetRetChangeFee() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetRetChangeFeeType() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetReturnPoint() float64
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetRtCommissionFormula() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetRtType() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetRuleId() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetSaleAirline() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetSaleDate() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetStockMode() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetTariff() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetTicketPrice() int64
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetTicketingAirline() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetTransitLand() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetTripDatePoint4Dep() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetTripDatePoint4Ret() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetTripExcludeDatePoint4Dep() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetTripExcludeDatePoint4Ret() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetTripType() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetValidDate4Dep() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetValidDate4Ret() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetVipCode() string
- func (r TaobaoAlitripItFareAddrtAPIRequest) GetWorkingHours() string
- func (r *TaobaoAlitripItFareAddrtAPIRequest) Reset()
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetAddressOption(_addressOption string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetAdjustMoney(_adjustMoney int64) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetAdultPassengerIdentity(_adultPassengerIdentity string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetAdultTax(_adultTax int64) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetApplyChannel(_applyChannel string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetBookingOffice(_bookingOffice string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetBuyTicketNotice(_buyTicketNotice string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetCabin(_cabin string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetCanDepChange(_canDepChange string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetCanRetChange(_canRetChange string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetChildPrice(_childPrice string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetChildTax(_childTax int64) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetCodeSharingType(_codeSharingType string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetCombinationFilecode(_combinationFilecode string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetCombinationOjFilecode(_combinationOjFilecode string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetCommodityType(_commodityType string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetDepChangeCurrency(_depChangeCurrency string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetDepChangeFee(_depChangeFee string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetDepChangeFeeType(_depChangeFeeType string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetDestination(_destination string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetEarlyTicketingTimeLimit(_earlyTicketingTimeLimit int64) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetExcludeDateRange4Dep(_excludeDateRange4Dep string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetExcludeDateRange4Ret(_excludeDateRange4Ret string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetExcludeFlightNo(_excludeFlightNo string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetExcludeNationality(_excludeNationality string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetExtendAttributes(_extendAttributes string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetFareDirectDestrict(_fareDirectDestrict int64) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetFareSource(_fareSource string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetFareTypeCode(_fareTypeCode string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetFarebasis(_farebasis string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetFileCode(_fileCode string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetFlightDatePoint4Dep(_flightDatePoint4Dep string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetFlightDatePoint4Ret(_flightDatePoint4Ret string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetFlightDateRestrict4Dep(_flightDateRestrict4Dep string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetFlightDateRestrict4Ret(_flightDateRestrict4Ret string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetGv2ChildRule(_gv2ChildRule string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetIsAllowOj(_isAllowOj string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetIsCanAllRefund(_isCanAllRefund string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetIsCanPartRefund(_isCanPartRefund string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetIsCanRefund4Dep(_isCanRefund4Dep string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetIsCanRefund4Ret(_isCanRefund4Ret string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetIsCanReissue4Dep(_isCanReissue4Dep string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetIsCanReissue4Ret(_isCanReissue4Ret string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetIsCreatePnr(_isCreatePnr string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetIsNoShowCanRefund4Dep(_isNoShowCanRefund4Dep string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetIsNoShowCanRefund4Ret(_isNoShowCanRefund4Ret string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetIsNoShowCanReissue4Dep(_isNoShowCanReissue4Dep string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetIsNoShowCanReissue4Ret(_isNoShowCanReissue4Ret string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetIsRT(_isRT string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetIsValidatPrice(_isValidatPrice string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetLateTicketingTimeLimit(_lateTicketingTimeLimit int64) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetLuggageRule(_luggageRule string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetLuggageRule4Dep(_luggageRule4Dep string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetLuggageRule4Ret(_luggageRule4Ret string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetMaxStay(_maxStay string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetMaxTravelPerson(_maxTravelPerson int64) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetMinStay(_minStay string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetMinTravelPerson(_minTravelPerson int64) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetNationality(_nationality string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetNoShowPenalty4Dep(_noShowPenalty4Dep int64) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetNoShowPenalty4Ret(_noShowPenalty4Ret int64) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetNoShowTimeLimit4Dep(_noShowTimeLimit4Dep int64) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetNoShowTimeLimit4Ret(_noShowTimeLimit4Ret int64) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetNoshowCurrency(_noshowCurrency string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetNoshowFee(_noshowFee string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetNoshowRestrict(_noshowRestrict string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetNoshowRule(_noshowRule string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetNoshowRuleType(_noshowRuleType string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetNoshowTimeRestrict(_noshowTimeRestrict string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetNoshowTimeRestrictUnit(_noshowTimeRestrictUnit string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetOjType(_ojType string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetOriginLand(_originLand string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetOutFileCode(_outFileCode string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetPassengerAge(_passengerAge string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetProductType(_productType string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetReceipts(_receipts string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetRefundCurrencyAllUnused(_refundCurrencyAllUnused string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetRefundCurrencyPartUnused(_refundCurrencyPartUnused string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetRefundFeeAllUnused(_refundFeeAllUnused string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetRefundFeePartUnused(_refundFeePartUnused string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetRefundFeeTypeAllUnused(_refundFeeTypeAllUnused string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetRefundFeeTypePartUnused(_refundFeeTypePartUnused string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetRefundPartPrice4Dep(_refundPartPrice4Dep string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetRefundPartPrice4Ret(_refundPartPrice4Ret string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetRefundPrice4Dep(_refundPrice4Dep string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetRefundPrice4Ret(_refundPrice4Ret string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetRefundRule(_refundRule string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetReissuePartPrice4Dep(_reissuePartPrice4Dep string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetReissuePartPrice4Ret(_reissuePartPrice4Ret string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetReissuePrice4Dep(_reissuePrice4Dep string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetReissuePrice4Ret(_reissuePrice4Ret string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetReissueRule(_reissueRule string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetRemark(_remark string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetRestrictFlightNo(_restrictFlightNo string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetRetChangeCurrency(_retChangeCurrency string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetRetChangeFee(_retChangeFee string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetRetChangeFeeType(_retChangeFeeType string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetReturnPoint(_returnPoint float64) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetRtCommissionFormula(_rtCommissionFormula string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetRtType(_rtType string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetRuleId(_ruleId string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetSaleAirline(_saleAirline string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetSaleDate(_saleDate string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetStockMode(_stockMode string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetTariff(_tariff string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetTicketPrice(_ticketPrice int64) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetTicketingAirline(_ticketingAirline string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetTransitLand(_transitLand string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetTripDatePoint4Dep(_tripDatePoint4Dep string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetTripDatePoint4Ret(_tripDatePoint4Ret string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetTripExcludeDatePoint4Dep(_tripExcludeDatePoint4Dep string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetTripExcludeDatePoint4Ret(_tripExcludeDatePoint4Ret string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetTripType(_tripType string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetValidDate4Dep(_validDate4Dep string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetValidDate4Ret(_validDate4Ret string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetVipCode(_vipCode string) error
- func (r *TaobaoAlitripItFareAddrtAPIRequest) SetWorkingHours(_workingHours string) error
- type TaobaoAlitripItFareAddrtAPIResponse
- type TaobaoAlitripItFareAddrtAPIResponseModel
- type TaobaoAlitripItFareBatchaddAPIRequest
- func (r TaobaoAlitripItFareBatchaddAPIRequest) GetAddType() int64
- func (r TaobaoAlitripItFareBatchaddAPIRequest) GetApiMethodName() string
- func (r TaobaoAlitripItFareBatchaddAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoAlitripItFareBatchaddAPIRequest) GetBytes() *model.File
- func (r TaobaoAlitripItFareBatchaddAPIRequest) GetDataType() int64
- func (r TaobaoAlitripItFareBatchaddAPIRequest) GetExtendAttributes() string
- func (r TaobaoAlitripItFareBatchaddAPIRequest) GetRawParams() model.Params
- func (r *TaobaoAlitripItFareBatchaddAPIRequest) Reset()
- func (r *TaobaoAlitripItFareBatchaddAPIRequest) SetAddType(_addType int64) error
- func (r *TaobaoAlitripItFareBatchaddAPIRequest) SetBytes(_bytes *model.File) error
- func (r *TaobaoAlitripItFareBatchaddAPIRequest) SetDataType(_dataType int64) error
- func (r *TaobaoAlitripItFareBatchaddAPIRequest) SetExtendAttributes(_extendAttributes string) error
- type TaobaoAlitripItFareBatchaddAPIResponse
- type TaobaoAlitripItFareBatchaddAPIResponseModel
- type TaobaoAlitripItFareBatchdeleteAPIRequest
- func (r TaobaoAlitripItFareBatchdeleteAPIRequest) GetAirline() string
- func (r TaobaoAlitripItFareBatchdeleteAPIRequest) GetApiMethodName() string
- func (r TaobaoAlitripItFareBatchdeleteAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoAlitripItFareBatchdeleteAPIRequest) GetArrCity() string
- func (r TaobaoAlitripItFareBatchdeleteAPIRequest) GetCabin() string
- func (r TaobaoAlitripItFareBatchdeleteAPIRequest) GetCanRt() bool
- func (r TaobaoAlitripItFareBatchdeleteAPIRequest) GetDepCity() string
- func (r TaobaoAlitripItFareBatchdeleteAPIRequest) GetEndModifyDate() string
- func (r TaobaoAlitripItFareBatchdeleteAPIRequest) GetEndRestrictGoDate() string
- func (r TaobaoAlitripItFareBatchdeleteAPIRequest) GetExtendAttributes() string
- func (r TaobaoAlitripItFareBatchdeleteAPIRequest) GetFareType() int64
- func (r TaobaoAlitripItFareBatchdeleteAPIRequest) GetFileCode() string
- func (r TaobaoAlitripItFareBatchdeleteAPIRequest) GetOperateSource() string
- func (r TaobaoAlitripItFareBatchdeleteAPIRequest) GetOutId() string
- func (r TaobaoAlitripItFareBatchdeleteAPIRequest) GetRawParams() model.Params
- func (r TaobaoAlitripItFareBatchdeleteAPIRequest) GetStartModifyDate() string
- func (r TaobaoAlitripItFareBatchdeleteAPIRequest) GetStartRestrictGoDate() string
- func (r TaobaoAlitripItFareBatchdeleteAPIRequest) GetStatusList() []string
- func (r *TaobaoAlitripItFareBatchdeleteAPIRequest) Reset()
- func (r *TaobaoAlitripItFareBatchdeleteAPIRequest) SetAirline(_airline string) error
- func (r *TaobaoAlitripItFareBatchdeleteAPIRequest) SetArrCity(_arrCity string) error
- func (r *TaobaoAlitripItFareBatchdeleteAPIRequest) SetCabin(_cabin string) error
- func (r *TaobaoAlitripItFareBatchdeleteAPIRequest) SetCanRt(_canRt bool) error
- func (r *TaobaoAlitripItFareBatchdeleteAPIRequest) SetDepCity(_depCity string) error
- func (r *TaobaoAlitripItFareBatchdeleteAPIRequest) SetEndModifyDate(_endModifyDate string) error
- func (r *TaobaoAlitripItFareBatchdeleteAPIRequest) SetEndRestrictGoDate(_endRestrictGoDate string) error
- func (r *TaobaoAlitripItFareBatchdeleteAPIRequest) SetExtendAttributes(_extendAttributes string) error
- func (r *TaobaoAlitripItFareBatchdeleteAPIRequest) SetFareType(_fareType int64) error
- func (r *TaobaoAlitripItFareBatchdeleteAPIRequest) SetFileCode(_fileCode string) error
- func (r *TaobaoAlitripItFareBatchdeleteAPIRequest) SetOperateSource(_operateSource string) error
- func (r *TaobaoAlitripItFareBatchdeleteAPIRequest) SetOutId(_outId string) error
- func (r *TaobaoAlitripItFareBatchdeleteAPIRequest) SetStartModifyDate(_startModifyDate string) error
- func (r *TaobaoAlitripItFareBatchdeleteAPIRequest) SetStartRestrictGoDate(_startRestrictGoDate string) error
- func (r *TaobaoAlitripItFareBatchdeleteAPIRequest) SetStatusList(_statusList []string) error
- type TaobaoAlitripItFareBatchdeleteAPIResponse
- type TaobaoAlitripItFareBatchdeleteAPIResponseModel
- type TaobaoAlitripItFareDeleteAPIRequest
- func (r TaobaoAlitripItFareDeleteAPIRequest) GetApiMethodName() string
- func (r TaobaoAlitripItFareDeleteAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoAlitripItFareDeleteAPIRequest) GetExtendAttributes() string
- func (r TaobaoAlitripItFareDeleteAPIRequest) GetFareId() int64
- func (r TaobaoAlitripItFareDeleteAPIRequest) GetOutId() string
- func (r TaobaoAlitripItFareDeleteAPIRequest) GetRawParams() model.Params
- func (r *TaobaoAlitripItFareDeleteAPIRequest) Reset()
- func (r *TaobaoAlitripItFareDeleteAPIRequest) SetExtendAttributes(_extendAttributes string) error
- func (r *TaobaoAlitripItFareDeleteAPIRequest) SetFareId(_fareId int64) error
- func (r *TaobaoAlitripItFareDeleteAPIRequest) SetOutId(_outId string) error
- type TaobaoAlitripItFareDeleteAPIResponse
- type TaobaoAlitripItFareDeleteAPIResponseModel
- type TaobaoAlitripItFareGetAPIRequest
- func (r TaobaoAlitripItFareGetAPIRequest) GetApiMethodName() string
- func (r TaobaoAlitripItFareGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoAlitripItFareGetAPIRequest) GetExtendAttributes() string
- func (r TaobaoAlitripItFareGetAPIRequest) GetFareId() int64
- func (r TaobaoAlitripItFareGetAPIRequest) GetOutId() string
- func (r TaobaoAlitripItFareGetAPIRequest) GetRawParams() model.Params
- func (r *TaobaoAlitripItFareGetAPIRequest) Reset()
- func (r *TaobaoAlitripItFareGetAPIRequest) SetExtendAttributes(_extendAttributes string) error
- func (r *TaobaoAlitripItFareGetAPIRequest) SetFareId(_fareId int64) error
- func (r *TaobaoAlitripItFareGetAPIRequest) SetOutId(_outId string) error
- type TaobaoAlitripItFareGetAPIResponse
- type TaobaoAlitripItFareGetAPIResponseModel
- type TaobaoAlitripItFareQuerytaskAPIRequest
- func (r TaobaoAlitripItFareQuerytaskAPIRequest) GetApiMethodName() string
- func (r TaobaoAlitripItFareQuerytaskAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoAlitripItFareQuerytaskAPIRequest) GetExtendAttributes() string
- func (r TaobaoAlitripItFareQuerytaskAPIRequest) GetRawParams() model.Params
- func (r TaobaoAlitripItFareQuerytaskAPIRequest) GetTaskId() int64
- func (r *TaobaoAlitripItFareQuerytaskAPIRequest) Reset()
- func (r *TaobaoAlitripItFareQuerytaskAPIRequest) SetExtendAttributes(_extendAttributes string) error
- func (r *TaobaoAlitripItFareQuerytaskAPIRequest) SetTaskId(_taskId int64) error
- type TaobaoAlitripItFareQuerytaskAPIResponse
- type TaobaoAlitripItFareQuerytaskAPIResponseModel
- type TaobaoAlitripItFareUpdateAPIRequest
- func (r TaobaoAlitripItFareUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoAlitripItFareUpdateAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoAlitripItFareUpdateAPIRequest) GetExtendAttributes() string
- func (r TaobaoAlitripItFareUpdateAPIRequest) GetFareId() int64
- func (r TaobaoAlitripItFareUpdateAPIRequest) GetFareJson() string
- func (r TaobaoAlitripItFareUpdateAPIRequest) GetFareType() int64
- func (r TaobaoAlitripItFareUpdateAPIRequest) GetOutId() string
- func (r TaobaoAlitripItFareUpdateAPIRequest) GetRawParams() model.Params
- func (r *TaobaoAlitripItFareUpdateAPIRequest) Reset()
- func (r *TaobaoAlitripItFareUpdateAPIRequest) SetExtendAttributes(_extendAttributes string) error
- func (r *TaobaoAlitripItFareUpdateAPIRequest) SetFareId(_fareId int64) error
- func (r *TaobaoAlitripItFareUpdateAPIRequest) SetFareJson(_fareJson string) error
- func (r *TaobaoAlitripItFareUpdateAPIRequest) SetFareType(_fareType int64) error
- func (r *TaobaoAlitripItFareUpdateAPIRequest) SetOutId(_outId string) error
- type TaobaoAlitripItFareUpdateAPIResponse
- type TaobaoAlitripItFareUpdateAPIResponseModel
- type TaobaoAlitripItPolicyAddAPIRequest
- func (r TaobaoAlitripItPolicyAddAPIRequest) GetApiMethodName() string
- func (r TaobaoAlitripItPolicyAddAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoAlitripItPolicyAddAPIRequest) GetExtendAttributes() string
- func (r TaobaoAlitripItPolicyAddAPIRequest) GetRawParams() model.Params
- func (r TaobaoAlitripItPolicyAddAPIRequest) GetTopPolicyDo() *TopPolicyDo
- func (r *TaobaoAlitripItPolicyAddAPIRequest) Reset()
- func (r *TaobaoAlitripItPolicyAddAPIRequest) SetExtendAttributes(_extendAttributes string) error
- func (r *TaobaoAlitripItPolicyAddAPIRequest) SetTopPolicyDo(_topPolicyDo *TopPolicyDo) error
- type TaobaoAlitripItPolicyAddAPIResponse
- type TaobaoAlitripItPolicyAddAPIResponseModel
- type TaobaoAlitripItPolicyBatchdeleteAPIRequest
- func (r TaobaoAlitripItPolicyBatchdeleteAPIRequest) GetAirline() string
- func (r TaobaoAlitripItPolicyBatchdeleteAPIRequest) GetApiMethodName() string
- func (r TaobaoAlitripItPolicyBatchdeleteAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoAlitripItPolicyBatchdeleteAPIRequest) GetArrCity() string
- func (r TaobaoAlitripItPolicyBatchdeleteAPIRequest) GetCabin() string
- func (r TaobaoAlitripItPolicyBatchdeleteAPIRequest) GetDepCity() string
- func (r TaobaoAlitripItPolicyBatchdeleteAPIRequest) GetPolicyId() string
- func (r TaobaoAlitripItPolicyBatchdeleteAPIRequest) GetRawParams() model.Params
- func (r TaobaoAlitripItPolicyBatchdeleteAPIRequest) GetStatusList() []string
- func (r *TaobaoAlitripItPolicyBatchdeleteAPIRequest) Reset()
- func (r *TaobaoAlitripItPolicyBatchdeleteAPIRequest) SetAirline(_airline string) error
- func (r *TaobaoAlitripItPolicyBatchdeleteAPIRequest) SetArrCity(_arrCity string) error
- func (r *TaobaoAlitripItPolicyBatchdeleteAPIRequest) SetCabin(_cabin string) error
- func (r *TaobaoAlitripItPolicyBatchdeleteAPIRequest) SetDepCity(_depCity string) error
- func (r *TaobaoAlitripItPolicyBatchdeleteAPIRequest) SetPolicyId(_policyId string) error
- func (r *TaobaoAlitripItPolicyBatchdeleteAPIRequest) SetStatusList(_statusList []string) error
- type TaobaoAlitripItPolicyBatchdeleteAPIResponse
- type TaobaoAlitripItPolicyBatchdeleteAPIResponseModel
- type TaobaoAlitripItPolicyDeleteAPIRequest
- func (r TaobaoAlitripItPolicyDeleteAPIRequest) GetApiMethodName() string
- func (r TaobaoAlitripItPolicyDeleteAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoAlitripItPolicyDeleteAPIRequest) GetExtendAttributes() string
- func (r TaobaoAlitripItPolicyDeleteAPIRequest) GetOutId() string
- func (r TaobaoAlitripItPolicyDeleteAPIRequest) GetRawParams() model.Params
- func (r TaobaoAlitripItPolicyDeleteAPIRequest) GetTaobaoId() int64
- func (r *TaobaoAlitripItPolicyDeleteAPIRequest) Reset()
- func (r *TaobaoAlitripItPolicyDeleteAPIRequest) SetExtendAttributes(_extendAttributes string) error
- func (r *TaobaoAlitripItPolicyDeleteAPIRequest) SetOutId(_outId string) error
- func (r *TaobaoAlitripItPolicyDeleteAPIRequest) SetTaobaoId(_taobaoId int64) error
- type TaobaoAlitripItPolicyDeleteAPIResponse
- type TaobaoAlitripItPolicyDeleteAPIResponseModel
- type TaobaoAlitripItPolicyGetAPIRequest
- func (r TaobaoAlitripItPolicyGetAPIRequest) GetApiMethodName() string
- func (r TaobaoAlitripItPolicyGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoAlitripItPolicyGetAPIRequest) GetExtendAttributes() string
- func (r TaobaoAlitripItPolicyGetAPIRequest) GetOutId() string
- func (r TaobaoAlitripItPolicyGetAPIRequest) GetRawParams() model.Params
- func (r TaobaoAlitripItPolicyGetAPIRequest) GetTaobaoId() int64
- func (r *TaobaoAlitripItPolicyGetAPIRequest) Reset()
- func (r *TaobaoAlitripItPolicyGetAPIRequest) SetExtendAttributes(_extendAttributes string) error
- func (r *TaobaoAlitripItPolicyGetAPIRequest) SetOutId(_outId string) error
- func (r *TaobaoAlitripItPolicyGetAPIRequest) SetTaobaoId(_taobaoId int64) error
- type TaobaoAlitripItPolicyGetAPIResponse
- type TaobaoAlitripItPolicyGetAPIResponseModel
- type TaobaoAlitripItPolicyUpdateAPIRequest
- func (r TaobaoAlitripItPolicyUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoAlitripItPolicyUpdateAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoAlitripItPolicyUpdateAPIRequest) GetExtendAttributes() string
- func (r TaobaoAlitripItPolicyUpdateAPIRequest) GetOutId() string
- func (r TaobaoAlitripItPolicyUpdateAPIRequest) GetRawParams() model.Params
- func (r TaobaoAlitripItPolicyUpdateAPIRequest) GetTaobaoId() int64
- func (r TaobaoAlitripItPolicyUpdateAPIRequest) GetTopPolicyDo() *TopPolicyDo
- func (r *TaobaoAlitripItPolicyUpdateAPIRequest) Reset()
- func (r *TaobaoAlitripItPolicyUpdateAPIRequest) SetExtendAttributes(_extendAttributes string) error
- func (r *TaobaoAlitripItPolicyUpdateAPIRequest) SetOutId(_outId string) error
- func (r *TaobaoAlitripItPolicyUpdateAPIRequest) SetTaobaoId(_taobaoId int64) error
- func (r *TaobaoAlitripItPolicyUpdateAPIRequest) SetTopPolicyDo(_topPolicyDo *TopPolicyDo) error
- type TaobaoAlitripItPolicyUpdateAPIResponse
- type TaobaoAlitripItPolicyUpdateAPIResponseModel
- type TopPolicyDo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReleaseErrorFareRow ¶ added in v1.3.4
func ReleaseErrorFareRow(v *ErrorFareRow)
ReleaseErrorFareRow 释放ErrorFareRow
func ReleaseTaobaoAlitripItFareAddowAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoAlitripItFareAddowAPIRequest(v *TaobaoAlitripItFareAddowAPIRequest)
ReleaseTaobaoAlitripItFareAddowAPIRequest 将 TaobaoAlitripItFareAddowAPIRequest 放入 sync.Pool
func ReleaseTaobaoAlitripItFareAddowAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoAlitripItFareAddowAPIResponse(v *TaobaoAlitripItFareAddowAPIResponse)
ReleaseTaobaoAlitripItFareAddowAPIResponse 将 TaobaoAlitripItFareAddowAPIResponse 保存到 sync.Pool
func ReleaseTaobaoAlitripItFareAddrtAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoAlitripItFareAddrtAPIRequest(v *TaobaoAlitripItFareAddrtAPIRequest)
ReleaseTaobaoAlitripItFareAddrtAPIRequest 将 TaobaoAlitripItFareAddrtAPIRequest 放入 sync.Pool
func ReleaseTaobaoAlitripItFareAddrtAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoAlitripItFareAddrtAPIResponse(v *TaobaoAlitripItFareAddrtAPIResponse)
ReleaseTaobaoAlitripItFareAddrtAPIResponse 将 TaobaoAlitripItFareAddrtAPIResponse 保存到 sync.Pool
func ReleaseTaobaoAlitripItFareBatchaddAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoAlitripItFareBatchaddAPIRequest(v *TaobaoAlitripItFareBatchaddAPIRequest)
ReleaseTaobaoAlitripItFareBatchaddAPIRequest 将 TaobaoAlitripItFareBatchaddAPIRequest 放入 sync.Pool
func ReleaseTaobaoAlitripItFareBatchaddAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoAlitripItFareBatchaddAPIResponse(v *TaobaoAlitripItFareBatchaddAPIResponse)
ReleaseTaobaoAlitripItFareBatchaddAPIResponse 将 TaobaoAlitripItFareBatchaddAPIResponse 保存到 sync.Pool
func ReleaseTaobaoAlitripItFareBatchdeleteAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoAlitripItFareBatchdeleteAPIRequest(v *TaobaoAlitripItFareBatchdeleteAPIRequest)
ReleaseTaobaoAlitripItFareBatchdeleteAPIRequest 将 TaobaoAlitripItFareBatchdeleteAPIRequest 放入 sync.Pool
func ReleaseTaobaoAlitripItFareBatchdeleteAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoAlitripItFareBatchdeleteAPIResponse(v *TaobaoAlitripItFareBatchdeleteAPIResponse)
ReleaseTaobaoAlitripItFareBatchdeleteAPIResponse 将 TaobaoAlitripItFareBatchdeleteAPIResponse 保存到 sync.Pool
func ReleaseTaobaoAlitripItFareDeleteAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoAlitripItFareDeleteAPIRequest(v *TaobaoAlitripItFareDeleteAPIRequest)
ReleaseTaobaoAlitripItFareDeleteAPIRequest 将 TaobaoAlitripItFareDeleteAPIRequest 放入 sync.Pool
func ReleaseTaobaoAlitripItFareDeleteAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoAlitripItFareDeleteAPIResponse(v *TaobaoAlitripItFareDeleteAPIResponse)
ReleaseTaobaoAlitripItFareDeleteAPIResponse 将 TaobaoAlitripItFareDeleteAPIResponse 保存到 sync.Pool
func ReleaseTaobaoAlitripItFareGetAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoAlitripItFareGetAPIRequest(v *TaobaoAlitripItFareGetAPIRequest)
ReleaseTaobaoAlitripItFareGetAPIRequest 将 TaobaoAlitripItFareGetAPIRequest 放入 sync.Pool
func ReleaseTaobaoAlitripItFareGetAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoAlitripItFareGetAPIResponse(v *TaobaoAlitripItFareGetAPIResponse)
ReleaseTaobaoAlitripItFareGetAPIResponse 将 TaobaoAlitripItFareGetAPIResponse 保存到 sync.Pool
func ReleaseTaobaoAlitripItFareQuerytaskAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoAlitripItFareQuerytaskAPIRequest(v *TaobaoAlitripItFareQuerytaskAPIRequest)
ReleaseTaobaoAlitripItFareQuerytaskAPIRequest 将 TaobaoAlitripItFareQuerytaskAPIRequest 放入 sync.Pool
func ReleaseTaobaoAlitripItFareQuerytaskAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoAlitripItFareQuerytaskAPIResponse(v *TaobaoAlitripItFareQuerytaskAPIResponse)
ReleaseTaobaoAlitripItFareQuerytaskAPIResponse 将 TaobaoAlitripItFareQuerytaskAPIResponse 保存到 sync.Pool
func ReleaseTaobaoAlitripItFareUpdateAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoAlitripItFareUpdateAPIRequest(v *TaobaoAlitripItFareUpdateAPIRequest)
ReleaseTaobaoAlitripItFareUpdateAPIRequest 将 TaobaoAlitripItFareUpdateAPIRequest 放入 sync.Pool
func ReleaseTaobaoAlitripItFareUpdateAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoAlitripItFareUpdateAPIResponse(v *TaobaoAlitripItFareUpdateAPIResponse)
ReleaseTaobaoAlitripItFareUpdateAPIResponse 将 TaobaoAlitripItFareUpdateAPIResponse 保存到 sync.Pool
func ReleaseTaobaoAlitripItPolicyAddAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoAlitripItPolicyAddAPIRequest(v *TaobaoAlitripItPolicyAddAPIRequest)
ReleaseTaobaoAlitripItPolicyAddAPIRequest 将 TaobaoAlitripItPolicyAddAPIRequest 放入 sync.Pool
func ReleaseTaobaoAlitripItPolicyAddAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoAlitripItPolicyAddAPIResponse(v *TaobaoAlitripItPolicyAddAPIResponse)
ReleaseTaobaoAlitripItPolicyAddAPIResponse 将 TaobaoAlitripItPolicyAddAPIResponse 保存到 sync.Pool
func ReleaseTaobaoAlitripItPolicyBatchdeleteAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoAlitripItPolicyBatchdeleteAPIRequest(v *TaobaoAlitripItPolicyBatchdeleteAPIRequest)
ReleaseTaobaoAlitripItPolicyBatchdeleteAPIRequest 将 TaobaoAlitripItPolicyBatchdeleteAPIRequest 放入 sync.Pool
func ReleaseTaobaoAlitripItPolicyBatchdeleteAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoAlitripItPolicyBatchdeleteAPIResponse(v *TaobaoAlitripItPolicyBatchdeleteAPIResponse)
ReleaseTaobaoAlitripItPolicyBatchdeleteAPIResponse 将 TaobaoAlitripItPolicyBatchdeleteAPIResponse 保存到 sync.Pool
func ReleaseTaobaoAlitripItPolicyDeleteAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoAlitripItPolicyDeleteAPIRequest(v *TaobaoAlitripItPolicyDeleteAPIRequest)
ReleaseTaobaoAlitripItPolicyDeleteAPIRequest 将 TaobaoAlitripItPolicyDeleteAPIRequest 放入 sync.Pool
func ReleaseTaobaoAlitripItPolicyDeleteAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoAlitripItPolicyDeleteAPIResponse(v *TaobaoAlitripItPolicyDeleteAPIResponse)
ReleaseTaobaoAlitripItPolicyDeleteAPIResponse 将 TaobaoAlitripItPolicyDeleteAPIResponse 保存到 sync.Pool
func ReleaseTaobaoAlitripItPolicyGetAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoAlitripItPolicyGetAPIRequest(v *TaobaoAlitripItPolicyGetAPIRequest)
ReleaseTaobaoAlitripItPolicyGetAPIRequest 将 TaobaoAlitripItPolicyGetAPIRequest 放入 sync.Pool
func ReleaseTaobaoAlitripItPolicyGetAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoAlitripItPolicyGetAPIResponse(v *TaobaoAlitripItPolicyGetAPIResponse)
ReleaseTaobaoAlitripItPolicyGetAPIResponse 将 TaobaoAlitripItPolicyGetAPIResponse 保存到 sync.Pool
func ReleaseTaobaoAlitripItPolicyUpdateAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoAlitripItPolicyUpdateAPIRequest(v *TaobaoAlitripItPolicyUpdateAPIRequest)
ReleaseTaobaoAlitripItPolicyUpdateAPIRequest 将 TaobaoAlitripItPolicyUpdateAPIRequest 放入 sync.Pool
func ReleaseTaobaoAlitripItPolicyUpdateAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoAlitripItPolicyUpdateAPIResponse(v *TaobaoAlitripItPolicyUpdateAPIResponse)
ReleaseTaobaoAlitripItPolicyUpdateAPIResponse 将 TaobaoAlitripItPolicyUpdateAPIResponse 保存到 sync.Pool
func ReleaseTopPolicyDo ¶ added in v1.3.4
func ReleaseTopPolicyDo(v *TopPolicyDo)
ReleaseTopPolicyDo 释放TopPolicyDo
Types ¶
type ErrorFareRow ¶
type ErrorFareRow struct { // 错误描述 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 错误行数 RowNum int64 `json:"row_num,omitempty" xml:"row_num,omitempty"` }
ErrorFareRow 结构体
func GetErrorFareRow ¶ added in v1.3.4
func GetErrorFareRow() *ErrorFareRow
GetErrorFareRow() 从对象池中获取ErrorFareRow
type TaobaoAlitripItFareAddowAPIRequest ¶ added in v1.2.0
type TaobaoAlitripItFareAddowAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoAlitripItFareAddowAPIRequest 【国际机票自有政策】单条单程添加 API请求 taobao.alitrip.it.fare.addow
自有政策单程添加接口,重复的老数据会被删除,重复判断规则同excel
func GetTaobaoAlitripItFareAddowAPIRequest ¶ added in v1.3.4
func GetTaobaoAlitripItFareAddowAPIRequest() *TaobaoAlitripItFareAddowAPIRequest
GetTaobaoAlitripItFareAddowRequest 从 sync.Pool 获取 TaobaoAlitripItFareAddowAPIRequest
func NewTaobaoAlitripItFareAddowRequest ¶
func NewTaobaoAlitripItFareAddowRequest() *TaobaoAlitripItFareAddowAPIRequest
NewTaobaoAlitripItFareAddowRequest 初始化TaobaoAlitripItFareAddowAPIRequest对象
func (TaobaoAlitripItFareAddowAPIRequest) GetAddressOption ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetAddressOption() string
GetAddressOption AddressOption Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetAdjustMoney ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetAdjustMoney() int64
GetAdjustMoney AdjustMoney Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetAdultPassengerIdentity ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetAdultPassengerIdentity() string
GetAdultPassengerIdentity AdultPassengerIdentity Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetAdultTax ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetAdultTax() string
GetAdultTax AdultTax Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoAlitripItFareAddowAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoAlitripItFareAddowAPIRequest) GetApplyChannel ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetApplyChannel() string
GetApplyChannel ApplyChannel Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetBookingOffice ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetBookingOffice() string
GetBookingOffice BookingOffice Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetBuyTicketNotice ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetBuyTicketNotice() string
GetBuyTicketNotice BuyTicketNotice Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetCabin ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetCabin() string
GetCabin Cabin Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetCanDepChange ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetCanDepChange() string
GetCanDepChange CanDepChange Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetChildPrice ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetChildPrice() string
GetChildPrice ChildPrice Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetChildTax ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetChildTax() string
GetChildTax ChildTax Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetCodeSharingType ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetCodeSharingType() string
GetCodeSharingType CodeSharingType Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetCommodityType ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetCommodityType() string
GetCommodityType CommodityType Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetDepChangeCurrency ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetDepChangeCurrency() string
GetDepChangeCurrency DepChangeCurrency Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetDepChangeFee ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetDepChangeFee() string
GetDepChangeFee DepChangeFee Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetDepChangeFeeType ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetDepChangeFeeType() string
GetDepChangeFeeType DepChangeFeeType Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetDestination ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetDestination() string
GetDestination Destination Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetEarlyTicketingTimeLimit ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetEarlyTicketingTimeLimit() int64
GetEarlyTicketingTimeLimit EarlyTicketingTimeLimit Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetExcludeDateRange4Dep ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetExcludeDateRange4Dep() string
GetExcludeDateRange4Dep ExcludeDateRange4Dep Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetExcludeFlightNo ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetExcludeFlightNo() string
GetExcludeFlightNo ExcludeFlightNo Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetExcludeNationality ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetExcludeNationality() string
GetExcludeNationality ExcludeNationality Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetExtendAttributes ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetExtendAttributes() string
GetExtendAttributes ExtendAttributes Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetFareSource ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetFareSource() string
GetFareSource FareSource Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetFareTypeCode ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetFareTypeCode() string
GetFareTypeCode FareTypeCode Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetFarebasis ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetFarebasis() string
GetFarebasis Farebasis Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetFileCode ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetFileCode() string
GetFileCode FileCode Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetFlightDatePoint4Dep ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetFlightDatePoint4Dep() string
GetFlightDatePoint4Dep FlightDatePoint4Dep Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetFlightDateRestrict4Dep ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetFlightDateRestrict4Dep() string
GetFlightDateRestrict4Dep FlightDateRestrict4Dep Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetGv2ChildRule ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetGv2ChildRule() string
GetGv2ChildRule Gv2ChildRule Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetIsCanAllRefund ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetIsCanAllRefund() string
GetIsCanAllRefund IsCanAllRefund Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetIsCanPartRefund ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetIsCanPartRefund() string
GetIsCanPartRefund IsCanPartRefund Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetIsCanRefund4Dep ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetIsCanRefund4Dep() string
GetIsCanRefund4Dep IsCanRefund4Dep Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetIsCanReissue4Dep ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetIsCanReissue4Dep() string
GetIsCanReissue4Dep IsCanReissue4Dep Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetIsCreatePnr ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetIsCreatePnr() string
GetIsCreatePnr IsCreatePnr Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetIsNoShowCanRefund4Dep ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetIsNoShowCanRefund4Dep() string
GetIsNoShowCanRefund4Dep IsNoShowCanRefund4Dep Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetIsNoShowCanReissue4Dep ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetIsNoShowCanReissue4Dep() string
GetIsNoShowCanReissue4Dep IsNoShowCanReissue4Dep Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetIsValidatPrice ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetIsValidatPrice() string
GetIsValidatPrice IsValidatPrice Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetLateTicketingTimeLimit ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetLateTicketingTimeLimit() int64
GetLateTicketingTimeLimit LateTicketingTimeLimit Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetLuggageRule ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetLuggageRule() string
GetLuggageRule LuggageRule Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetLuggageRule4Dep ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetLuggageRule4Dep() string
GetLuggageRule4Dep LuggageRule4Dep Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetMaxTravelPerson ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetMaxTravelPerson() int64
GetMaxTravelPerson MaxTravelPerson Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetMinTravelPerson ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetMinTravelPerson() int64
GetMinTravelPerson MinTravelPerson Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetNationality ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetNationality() string
GetNationality Nationality Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetNoShowPenalty4Dep ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetNoShowPenalty4Dep() int64
GetNoShowPenalty4Dep NoShowPenalty4Dep Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetNoShowTimeLimit4Dep ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetNoShowTimeLimit4Dep() int64
GetNoShowTimeLimit4Dep NoShowTimeLimit4Dep Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetNoshowCurrency ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetNoshowCurrency() string
GetNoshowCurrency NoshowCurrency Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetNoshowFee ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetNoshowFee() string
GetNoshowFee NoshowFee Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetNoshowRestrict ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetNoshowRestrict() string
GetNoshowRestrict NoshowRestrict Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetNoshowRule ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetNoshowRule() string
GetNoshowRule NoshowRule Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetNoshowRuleType ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetNoshowRuleType() string
GetNoshowRuleType NoshowRuleType Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetNoshowTimeRestrict ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetNoshowTimeRestrict() string
GetNoshowTimeRestrict NoshowTimeRestrict Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetNoshowTimeRestrictUnit ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetNoshowTimeRestrictUnit() string
GetNoshowTimeRestrictUnit NoshowTimeRestrictUnit Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetOriginLand ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetOriginLand() string
GetOriginLand OriginLand Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetOutFileCode ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetOutFileCode() string
GetOutFileCode OutFileCode Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetPassengerAge ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetPassengerAge() string
GetPassengerAge PassengerAge Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetProductType ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetProductType() string
GetProductType ProductType Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoAlitripItFareAddowAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoAlitripItFareAddowAPIRequest) GetReceipts ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetReceipts() string
GetReceipts Receipts Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetRefundCurrencyAllUnused ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetRefundCurrencyAllUnused() string
GetRefundCurrencyAllUnused RefundCurrencyAllUnused Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetRefundCurrencyPartUnused ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetRefundCurrencyPartUnused() string
GetRefundCurrencyPartUnused RefundCurrencyPartUnused Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetRefundFeeAllUnused ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetRefundFeeAllUnused() string
GetRefundFeeAllUnused RefundFeeAllUnused Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetRefundFeePartUnused ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetRefundFeePartUnused() string
GetRefundFeePartUnused RefundFeePartUnused Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetRefundFeeTypeAllUnused ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetRefundFeeTypeAllUnused() string
GetRefundFeeTypeAllUnused RefundFeeTypeAllUnused Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetRefundFeeTypePartUnused ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetRefundFeeTypePartUnused() string
GetRefundFeeTypePartUnused RefundFeeTypePartUnused Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetRefundPartPrice4Dep ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetRefundPartPrice4Dep() string
GetRefundPartPrice4Dep RefundPartPrice4Dep Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetRefundPrice4Dep ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetRefundPrice4Dep() string
GetRefundPrice4Dep RefundPrice4Dep Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetRefundRule ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetRefundRule() string
GetRefundRule RefundRule Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetReissuePartPrice4Dep ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetReissuePartPrice4Dep() string
GetReissuePartPrice4Dep ReissuePartPrice4Dep Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetReissuePrice4Dep ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetReissuePrice4Dep() string
GetReissuePrice4Dep ReissuePrice4Dep Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetReissueRule ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetReissueRule() string
GetReissueRule ReissueRule Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetRemark ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetRemark() string
GetRemark Remark Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetRestrictFlightNo ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetRestrictFlightNo() string
GetRestrictFlightNo RestrictFlightNo Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetReturnPoint ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetReturnPoint() float64
GetReturnPoint ReturnPoint Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetRuleId ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetRuleId() string
GetRuleId RuleId Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetSaleAirline ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetSaleAirline() string
GetSaleAirline SaleAirline Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetSaleDate ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetSaleDate() string
GetSaleDate SaleDate Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetStockMode ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetStockMode() string
GetStockMode StockMode Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetTariff ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetTariff() string
GetTariff Tariff Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetTicketPrice ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetTicketPrice() int64
GetTicketPrice TicketPrice Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetTicketingAirline ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetTicketingAirline() string
GetTicketingAirline TicketingAirline Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetTransitLand ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetTransitLand() string
GetTransitLand TransitLand Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetTripDatePoint4Dep ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetTripDatePoint4Dep() string
GetTripDatePoint4Dep TripDatePoint4Dep Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetTripExcludeDatePoint4Dep ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetTripExcludeDatePoint4Dep() string
GetTripExcludeDatePoint4Dep TripExcludeDatePoint4Dep Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetTripType ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetTripType() string
GetTripType TripType Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetValidDate4Dep ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetValidDate4Dep() string
GetValidDate4Dep ValidDate4Dep Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetVipCode ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetVipCode() string
GetVipCode VipCode Getter
func (TaobaoAlitripItFareAddowAPIRequest) GetWorkingHours ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddowAPIRequest) GetWorkingHours() string
GetWorkingHours WorkingHours Getter
func (*TaobaoAlitripItFareAddowAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoAlitripItFareAddowAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoAlitripItFareAddowAPIRequest) SetAddressOption ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetAddressOption(_addressOption string) error
SetAddressOption is AddressOption Setter 城市/机场选项,默认为城市1、可以填写:“机场",“城市”2、定义始发地/目的地/中转点,输入为机场,还是城市。3、如:此项输入机场,则始发地、目的地必须输入机场三字码
func (*TaobaoAlitripItFareAddowAPIRequest) SetAdjustMoney ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetAdjustMoney(_adjustMoney int64) error
SetAdjustMoney is AdjustMoney Setter 留钱,1.0或正负数字2.-20表示返20元;20代表留20元
func (*TaobaoAlitripItFareAddowAPIRequest) SetAdultPassengerIdentity ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetAdultPassengerIdentity(_adultPassengerIdentity string) error
SetAdultPassengerIdentity is AdultPassengerIdentity Setter 成人旅客身份,1.不得为空 2.普通/学生 3.当输入学生时,儿童价格项输入无效 4.当为小团产品时,此适用身份类别必须为 普通。5、后期支持劳工、移民、海员、老人、青年
func (*TaobaoAlitripItFareAddowAPIRequest) SetAdultTax ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetAdultTax(_adultTax string) error
SetAdultTax is AdultTax Setter (后期字段,预留),成人税费,1、整数金额(包机切位产品适用)
func (*TaobaoAlitripItFareAddowAPIRequest) SetApplyChannel ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetApplyChannel(_applyChannel string) error
SetApplyChannel is ApplyChannel Setter 运价渠道 可选listing,宝贝 默认listing
func (*TaobaoAlitripItFareAddowAPIRequest) SetBookingOffice ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetBookingOffice(_bookingOffice string) error
SetBookingOffice is BookingOffice Setter 预定OFFICE,空表示默认优先级最高OFFICE,可输入OFFICE,校验必须为配置中存在的OFFICE
func (*TaobaoAlitripItFareAddowAPIRequest) SetBuyTicketNotice ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetBuyTicketNotice(_buyTicketNotice string) error
SetBuyTicketNotice is BuyTicketNotice Setter 购票须知,非必输长度小于300字符只在退票规定不为空时才会生效
func (*TaobaoAlitripItFareAddowAPIRequest) SetCabin ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetCabin(_cabin string) error
SetCabin is Cabin Setter 舱位, 用","表示航段的分割。 1、舱位代码。每段只允许录入一个舱位代码,若全程舱位一致则可以只录入一个
func (*TaobaoAlitripItFareAddowAPIRequest) SetCanDepChange ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetCanDepChange(_canDepChange string) error
SetCanDepChange is CanDepChange Setter 必填项,去程可否改期,可输入是或否
func (*TaobaoAlitripItFareAddowAPIRequest) SetChildPrice ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetChildPrice(_childPrice string) error
SetChildPrice is ChildPrice Setter 儿童价,1、可不输入,空表示不适用儿童价 2、可输入大于0的正整数及百分比,输入百分比时,成人价格必须录入 例如:2000或70%。 3. 百分比计算的数值,个位向上取整 当"乘客类型"输入非“普通”(成人)时,此项输入无效。
func (*TaobaoAlitripItFareAddowAPIRequest) SetChildTax ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetChildTax(_childTax string) error
SetChildTax is ChildTax Setter (后期字段,预留),儿童税费,1、整数金额(包机切位产品适用)
func (*TaobaoAlitripItFareAddowAPIRequest) SetCodeSharingType ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetCodeSharingType(_codeSharingType string) error
SetCodeSharingType is CodeSharingType Setter 不录入表示不限制;选项为:仅限同集团代码共享适用;代码共享适用;不允许代码共享;不限制 默认不限制
func (*TaobaoAlitripItFareAddowAPIRequest) SetCommodityType ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetCommodityType(_commodityType string) error
SetCommodityType is CommodityType Setter 商品类型,可选值:普通、金牌,默认普通,非金牌卖家不得选择金牌
func (*TaobaoAlitripItFareAddowAPIRequest) SetDepChangeCurrency ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetDepChangeCurrency(_depChangeCurrency string) error
SetDepChangeCurrency is DepChangeCurrency Setter 去程改期币种,可录入币种三字码,默认值CNY
func (*TaobaoAlitripItFareAddowAPIRequest) SetDepChangeFee ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetDepChangeFee(_depChangeFee string) error
SetDepChangeFee is DepChangeFee Setter 【去程可否改期】为是时为必填项, 可输入格式如: 1) 200 表示改期手续费为200(货币单位在下一个格子里) 2)* 表示不允许改期 3) 200-0-400 表示起飞前改期手续费200;起飞后改期手续费400 4) 30-0-* 表示起飞前改期手续费30;起飞后不允许改期 5)200-72-300-48-1000-0-* 表示72小时前改期手续费200; 48小时到72小时,改期手续费300; 飞机起飞不足48小时; 改期手续费1000; 飞机起飞后不予改期(输入*)
func (*TaobaoAlitripItFareAddowAPIRequest) SetDepChangeFeeType ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetDepChangeFeeType(_depChangeFeeType string) error
SetDepChangeFeeType is DepChangeFeeType Setter 去程改期费用收取方式,按每个航段收还是全程收(0:全程, 1:每个航段,默认值:全程)
func (*TaobaoAlitripItFareAddowAPIRequest) SetDestination ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetDestination(_destination string) error
SetDestination is Destination Setter 目的地,多个用“,”隔开 1.不得为空 2.可以填写:机场三字码”或“城市码” 3.最多允许100个机场三字码/城市码
func (*TaobaoAlitripItFareAddowAPIRequest) SetEarlyTicketingTimeLimit ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetEarlyTicketingTimeLimit(_earlyTicketingTimeLimit int64) error
SetEarlyTicketingTimeLimit is EarlyTicketingTimeLimit Setter 提前出票时限,默认为空,代表无限制; 输入为小于等于365的正整数。 小于或等于最晚出票时限。 单位为天
func (*TaobaoAlitripItFareAddowAPIRequest) SetExcludeDateRange4Dep ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetExcludeDateRange4Dep(_excludeDateRange4Dep string) error
SetExcludeDateRange4Dep is ExcludeDateRange4Dep Setter 去程旅行排除时间段,支持多段组合,用“,”隔开隔开, 1.格式,例:2014-04-01~2014-12-31;或例:2014-04-01~2014-06-30,2014-09-01~2014-09-30, 3日期格式为 YYYY-MM-DD,YYYY/MM/DD 4、旅行排除日期最多只能输入200个字符
func (*TaobaoAlitripItFareAddowAPIRequest) SetExcludeFlightNo ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetExcludeFlightNo(_excludeFlightNo string) error
SetExcludeFlightNo is ExcludeFlightNo Setter 排除航班号限制,同一航段之间用,隔开表示或的关系;不同航段之间用/隔开。 1 CA001-999,CA3000-3999 表示CA001至999以及3000至3999之间航班号的航班 2 MU 表示所有MU开头的自营航班 3 CA(LH\AZ) 表示CA开头的实际承运人为LH或AZ的航班 4 CA(*) 表示CA代码共享航班/CA开头的实际承运人为其他航空公司的航班 5 CA(CA) 表示CA自营航班/CA实际承运航班; 6 CA(OZ)001-999 表示CA开头航班号为001-999之间且实际承运人为OZ的航班; 7 为空表示无限制;8比如两段,第一段无限制,第二段有限制 /CA123
func (*TaobaoAlitripItFareAddowAPIRequest) SetExcludeNationality ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetExcludeNationality(_excludeNationality string) error
SetExcludeNationality is ExcludeNationality Setter 除外国籍,可录入多个用","隔开表示或的关系 1、可录入国家二字代码,为空表示不限制,最多录20个 *默认为空,不输入为不限制
func (*TaobaoAlitripItFareAddowAPIRequest) SetExtendAttributes ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetExtendAttributes(_extendAttributes string) error
SetExtendAttributes is ExtendAttributes Setter json格式的字符串,扩展属性,预留
func (*TaobaoAlitripItFareAddowAPIRequest) SetFareSource ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetFareSource(_fareSource string) error
SetFareSource is FareSource Setter (后期字段,预留),运价发布渠道,1、可填写 PC、无线、都适用 2、默认为都适用
func (*TaobaoAlitripItFareAddowAPIRequest) SetFareTypeCode ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetFareTypeCode(_fareTypeCode string) error
SetFareTypeCode is FareTypeCode Setter 运价类型,最大长度3
func (*TaobaoAlitripItFareAddowAPIRequest) SetFarebasis ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetFarebasis(_farebasis string) error
SetFarebasis is Farebasis Setter 运价基础,最大长度8
func (*TaobaoAlitripItFareAddowAPIRequest) SetFileCode ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetFileCode(_fileCode string) error
SetFileCode is FileCode Setter 文件编号
func (*TaobaoAlitripItFareAddowAPIRequest) SetFlightDatePoint4Dep ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetFlightDatePoint4Dep(_flightDatePoint4Dep string) error
SetFlightDatePoint4Dep is FlightDatePoint4Dep Setter 去程班期作用点,始发航段/第一国际段/主航段/全部;默认空为 第一国际段
func (*TaobaoAlitripItFareAddowAPIRequest) SetFlightDateRestrict4Dep ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetFlightDateRestrict4Dep(_flightDateRestrict4Dep string) error
SetFlightDateRestrict4Dep is FlightDateRestrict4Dep Setter 去程班期限制,1.12表示周一周二 2.12:00-14:00表示每天的12点到14点 3. 12:00FRI-12:00SAT 表示周五的中午12点至周六的中午12点
func (*TaobaoAlitripItFareAddowAPIRequest) SetGv2ChildRule ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetGv2ChildRule(_gv2ChildRule string) error
SetGv2ChildRule is Gv2ChildRule Setter 小团儿童计数规则,可选值:1个儿童计1个成人、2个儿童计1个成人、儿童不计
func (*TaobaoAlitripItFareAddowAPIRequest) SetIsCanAllRefund ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetIsCanAllRefund(_isCanAllRefund string) error
SetIsCanAllRefund is IsCanAllRefund Setter 必填项,全部未使用可否退票,可输入:是,否
func (*TaobaoAlitripItFareAddowAPIRequest) SetIsCanPartRefund ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetIsCanPartRefund(_isCanPartRefund string) error
SetIsCanPartRefund is IsCanPartRefund Setter 必填项,部分未使用可否退票,可输入:是,否
func (*TaobaoAlitripItFareAddowAPIRequest) SetIsCanRefund4Dep ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetIsCanRefund4Dep(_isCanRefund4Dep string) error
SetIsCanRefund4Dep is IsCanRefund4Dep Setter (已废除字段),去程全部未使用可否退票,录入是或否
func (*TaobaoAlitripItFareAddowAPIRequest) SetIsCanReissue4Dep ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetIsCanReissue4Dep(_isCanReissue4Dep string) error
SetIsCanReissue4Dep is IsCanReissue4Dep Setter (已废除字段),去程全部未使用可否改期,录入是或否
func (*TaobaoAlitripItFareAddowAPIRequest) SetIsCreatePnr ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetIsCreatePnr(_isCreatePnr string) error
SetIsCreatePnr is IsCreatePnr Setter (后期字段,预留),是否创建PNR,1、选项 可填写是,否.默认为是
func (*TaobaoAlitripItFareAddowAPIRequest) SetIsNoShowCanRefund4Dep ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetIsNoShowCanRefund4Dep(_isNoShowCanRefund4Dep string) error
SetIsNoShowCanRefund4Dep is IsNoShowCanRefund4Dep Setter (已废除字段),去程NOSHOW能否退票,输入是或否;默认为否
func (*TaobaoAlitripItFareAddowAPIRequest) SetIsNoShowCanReissue4Dep ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetIsNoShowCanReissue4Dep(_isNoShowCanReissue4Dep string) error
SetIsNoShowCanReissue4Dep is IsNoShowCanReissue4Dep Setter (已废除字段),去程NOSHOW能否改期,输入是或否;默认为否
func (*TaobaoAlitripItFareAddowAPIRequest) SetIsValidatPrice ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetIsValidatPrice(_isValidatPrice string) error
SetIsValidatPrice is IsValidatPrice Setter 是否校验票面价,1、可填写 是或者否;默认为否
func (*TaobaoAlitripItFareAddowAPIRequest) SetLateTicketingTimeLimit ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetLateTicketingTimeLimit(_lateTicketingTimeLimit int64) error
SetLateTicketingTimeLimit is LateTicketingTimeLimit Setter 最晚出票时限,默认为空,代表无限制; 输入为小于等于365的正整数。 大于或等于提前出票时限。 单位为天
func (*TaobaoAlitripItFareAddowAPIRequest) SetLuggageRule ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetLuggageRule(_luggageRule string) error
SetLuggageRule is LuggageRule Setter 行李额规定,1、不可为空2、可填写:1PC。逾重行李费用为每公斤100元3、行李额规定最多为300个字符
func (*TaobaoAlitripItFareAddowAPIRequest) SetLuggageRule4Dep ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetLuggageRule4Dep(_luggageRule4Dep string) error
SetLuggageRule4Dep is LuggageRule4Dep Setter (后期字段,预留),去程行李额规定,可输入1-23,1-23 中间用","隔开,表示第一程和第二程(中转)支持行李额为1PC,23KG。若某段为空表示该段按照航空公司规定执行,逗号不可缺少;若不提供免费行李额直接输入空
func (*TaobaoAlitripItFareAddowAPIRequest) SetMaxTravelPerson ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetMaxTravelPerson(_maxTravelPerson int64) error
SetMaxTravelPerson is MaxTravelPerson Setter 最大出行人数,数字1-9
func (*TaobaoAlitripItFareAddowAPIRequest) SetMinTravelPerson ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetMinTravelPerson(_minTravelPerson int64) error
SetMinTravelPerson is MinTravelPerson Setter 最小出行人数,数字1-9
func (*TaobaoAlitripItFareAddowAPIRequest) SetNationality ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetNationality(_nationality string) error
SetNationality is Nationality Setter 国籍,可录入多个用","隔开表示或的关系 1、可录入国家二字代码,为空表示不限制,最多录20个 *默认为空,不输入为不限制
func (*TaobaoAlitripItFareAddowAPIRequest) SetNoShowPenalty4Dep ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetNoShowPenalty4Dep(_noShowPenalty4Dep int64) error
SetNoShowPenalty4Dep is NoShowPenalty4Dep Setter (已废除字段),去程NOSHOW罚金,可为空,若输入则为正整数;其中空表示按航空公司规定执行
func (*TaobaoAlitripItFareAddowAPIRequest) SetNoShowTimeLimit4Dep ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetNoShowTimeLimit4Dep(_noShowTimeLimit4Dep int64) error
SetNoShowTimeLimit4Dep is NoShowTimeLimit4Dep Setter (已废除字段),去程NOSHOW规定时限,输入正整数
func (*TaobaoAlitripItFareAddowAPIRequest) SetNoshowCurrency ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetNoshowCurrency(_noshowCurrency string) error
SetNoshowCurrency is NoshowCurrency Setter NOSHOW币种,可录入币种三字码,默认值CNY
func (*TaobaoAlitripItFareAddowAPIRequest) SetNoshowFee ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetNoshowFee(_noshowFee string) error
SetNoshowFee is NoshowFee Setter NOSHOW金额,只能录入整数或百分比,【NOSHOW是否有限制】为是,【NOSHOW规则】不是不可退票,不可改期时,此项为必填项
func (*TaobaoAlitripItFareAddowAPIRequest) SetNoshowRestrict ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetNoshowRestrict(_noshowRestrict string) error
SetNoshowRestrict is NoshowRestrict Setter 必填项,NOSHOW是否有限制,可输入是或否
func (*TaobaoAlitripItFareAddowAPIRequest) SetNoshowRule ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetNoshowRule(_noshowRule string) error
SetNoshowRule is NoshowRule Setter (已废除字段)误机罚金说明,1、不可为空 2、可填写:起飞前不得退票,不得改期 3、误机罚金说明最多为300个字符
func (*TaobaoAlitripItFareAddowAPIRequest) SetNoshowRuleType ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetNoshowRuleType(_noshowRuleType string) error
SetNoshowRuleType is NoshowRuleType Setter NOSHOW规则,可录入多个,多个用逗号分隔。可录入不可退票、不可改期、不可退票,不可改期
func (*TaobaoAlitripItFareAddowAPIRequest) SetNoshowTimeRestrict ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetNoshowTimeRestrict(_noshowTimeRestrict string) error
SetNoshowTimeRestrict is NoshowTimeRestrict Setter NOSHOW时限,只能录入整数,【NOSHOW是否有限制】为是时,此项为必填项
func (*TaobaoAlitripItFareAddowAPIRequest) SetNoshowTimeRestrictUnit ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetNoshowTimeRestrictUnit(_noshowTimeRestrictUnit string) error
SetNoshowTimeRestrictUnit is NoshowTimeRestrictUnit Setter NOSHOW时限单位(小时/天, 默认为小时)
func (*TaobaoAlitripItFareAddowAPIRequest) SetOriginLand ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetOriginLand(_originLand string) error
SetOriginLand is OriginLand Setter 始发地,多个用“,”隔开 1.不得为空 2.可以填写:机场三字码”或“城市码” 3.最多允许100个机场三字码/城市码
func (*TaobaoAlitripItFareAddowAPIRequest) SetOutFileCode ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetOutFileCode(_outFileCode string) error
SetOutFileCode is OutFileCode Setter 外部政策ID,1、自行输入的ID,建议为唯一id,有些操作可以使用此id 最多50个字符
func (*TaobaoAlitripItFareAddowAPIRequest) SetPassengerAge ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetPassengerAge(_passengerAge string) error
SetPassengerAge is PassengerAge Setter 乘客年龄,1、可录入范围如21-25表示21周岁至25周岁
func (*TaobaoAlitripItFareAddowAPIRequest) SetProductType ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetProductType(_productType string) error
SetProductType is ProductType Setter (后期字段,预留),产品类型,1.不可为空 2.填写为:包机切位、申请、见舱预订;
func (*TaobaoAlitripItFareAddowAPIRequest) SetReceipts ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetReceipts(_receipts string) error
SetReceipts is Receipts Setter 必填项 赋值范围:电子行程单,旅行发票,差额行程单发票,等额行程单
func (*TaobaoAlitripItFareAddowAPIRequest) SetRefundCurrencyAllUnused ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetRefundCurrencyAllUnused(_refundCurrencyAllUnused string) error
SetRefundCurrencyAllUnused is RefundCurrencyAllUnused Setter 全部未使用退票币种,只能录入币种三字码,默认值CNY
func (*TaobaoAlitripItFareAddowAPIRequest) SetRefundCurrencyPartUnused ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetRefundCurrencyPartUnused(_refundCurrencyPartUnused string) error
SetRefundCurrencyPartUnused is RefundCurrencyPartUnused Setter 部分未使用退票币种,可录入币种三字码,默认值CNY
func (*TaobaoAlitripItFareAddowAPIRequest) SetRefundFeeAllUnused ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetRefundFeeAllUnused(_refundFeeAllUnused string) error
SetRefundFeeAllUnused is RefundFeeAllUnused Setter 【全部未使用可否退票】为是时,此项为必填项。 可输入格式如: 1) 200 表示退票手续费为200(货币单位在下一个格子里) 2) 20% 表示退票手续费为票面价的20% 3)* 表示不允许退票 4) 200-0-400 表示起飞前退票手续费200;起飞后退票手续费400 5) 30%-0-* 表示起飞前退票手续费为票面价的30%;起飞后不允许退票 6)200-72-300-48-1000-0-* 表示72小时前退票手续费200; 48小时到72小时,退票手续费300; 飞机起飞不足48小时; 退票手续费1000; 飞机起飞后不予退票(输入*) 7) 10%-72-30%-48-70%-0-* 表示72小时前退票手续费为票面价的10%; 48小时到72小时,退票手续费为票面价的30%; 飞机起飞不足48小时; 退票手续费为票面价的70%; 飞机起飞后不予退票(输入*)
func (*TaobaoAlitripItFareAddowAPIRequest) SetRefundFeePartUnused ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetRefundFeePartUnused(_refundFeePartUnused string) error
SetRefundFeePartUnused is RefundFeePartUnused Setter 部分未使用退票费用,格式同【全部未使用退票费用】,【部分未使用可否退票】为是时,此项为必填项
func (*TaobaoAlitripItFareAddowAPIRequest) SetRefundFeeTypeAllUnused ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetRefundFeeTypeAllUnused(_refundFeeTypeAllUnused string) error
SetRefundFeeTypeAllUnused is RefundFeeTypeAllUnused Setter 全部未使用退票费用收取方式,按每个航段收还是全程收(0:全程, 1:每个航段,默认值:全程)
func (*TaobaoAlitripItFareAddowAPIRequest) SetRefundFeeTypePartUnused ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetRefundFeeTypePartUnused(_refundFeeTypePartUnused string) error
SetRefundFeeTypePartUnused is RefundFeeTypePartUnused Setter 部分未使用退票费用收取方式,按每个航段收还是全程收(0:全程, 1:每个航段,默认值:全程)
func (*TaobaoAlitripItFareAddowAPIRequest) SetRefundPartPrice4Dep ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetRefundPartPrice4Dep(_refundPartPrice4Dep string) error
SetRefundPartPrice4Dep is RefundPartPrice4Dep Setter (已废除字段),去程部分未使用退票费用,可输入空,*或正整数,其中空表示按照航空公司规定执行,*表示不支持部分退票
func (*TaobaoAlitripItFareAddowAPIRequest) SetRefundPrice4Dep ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetRefundPrice4Dep(_refundPrice4Dep string) error
SetRefundPrice4Dep is RefundPrice4Dep Setter (已废除字段),去程全部未使用退票费用,可输入格式如:200-72-300-48-1000-0-*,表示72小时前退票手续费200;48小时到72小时,退票手续费300;飞机起飞不足48小时退票手续费1000;飞机起飞后不予退票(输入*);
func (*TaobaoAlitripItFareAddowAPIRequest) SetRefundRule ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetRefundRule(_refundRule string) error
SetRefundRule is RefundRule Setter (已废除字段)退票规定,1、不可为空 2、可填写:收取20%退票费用,或者是收取500元退票费等。 3、退票规定最多为300个字符
func (*TaobaoAlitripItFareAddowAPIRequest) SetReissuePartPrice4Dep ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetReissuePartPrice4Dep(_reissuePartPrice4Dep string) error
SetReissuePartPrice4Dep is ReissuePartPrice4Dep Setter (已废除字段),去程部分未使用改期费用,可输入空,*或正整数,其中空表示按照航空公司规定执行,*表示不支持部分改期
func (*TaobaoAlitripItFareAddowAPIRequest) SetReissuePrice4Dep ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetReissuePrice4Dep(_reissuePrice4Dep string) error
SetReissuePrice4Dep is ReissuePrice4Dep Setter (已废除字段),去程全部未使用改期费用,可输入格式如:200-72-300-48-1000-0-*,表示72小时前改期手续费200;48小时到72小时,改期手续费300;飞机起飞不足48小时改期手续费1000;飞机起飞后不予改期(输入*);
func (*TaobaoAlitripItFareAddowAPIRequest) SetReissueRule ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetReissueRule(_reissueRule string) error
SetReissueRule is ReissueRule Setter (已废除字段)改期规定,1、不可为空 2、可填写:收取20%改期费用,或者是收取500元改期费等。 3、改期规定最多为300个字符
func (*TaobaoAlitripItFareAddowAPIRequest) SetRemark ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetRemark(_remark string) error
SetRemark is Remark Setter 备注,出票备注文本
func (*TaobaoAlitripItFareAddowAPIRequest) SetRestrictFlightNo ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetRestrictFlightNo(_restrictFlightNo string) error
SetRestrictFlightNo is RestrictFlightNo Setter 航班号限制,同一航段之间用,隔开表示或的关系;不同航段之间用/隔开。 1 CA001-999,CA3000-3999 表示CA001至999以及3000至3999之间航班号的航班 2 MU 表示所有MU开头的航班 3 CA(LH\AZ) 表示CA开头的实际承运人为LH或AZ的航班 4 CA(*) 表示CA代码共享航班/CA开头的实际承运人为其他航空公司的航班 5 CA(CA) 表示CA自营航班/CA实际承运航班; 6 CA(OZ)001-999 表示CA开头航班号为001-999之间且实际承运人为OZ的航班; 7 为空表示无限制
func (*TaobaoAlitripItFareAddowAPIRequest) SetReturnPoint ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetReturnPoint(_returnPoint float64) error
SetReturnPoint is ReturnPoint Setter 返点,1.不得为空 2.只允许填写数字,支持到小数点后两位;不用填写% 3.返点需小于100 成人价=销售票面价*(1-返点)+留钱
func (*TaobaoAlitripItFareAddowAPIRequest) SetRuleId ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetRuleId(_ruleId string) error
SetRuleId is RuleId Setter 运价规则id,最大长度4
func (*TaobaoAlitripItFareAddowAPIRequest) SetSaleAirline ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetSaleAirline(_saleAirline string) error
SetSaleAirline is SaleAirline Setter 销售航司,不同航段之间用 “,”隔开。 1、销售航司二字码; 2、如为直达;请录入一个航司二字码;如为中转,录入格式为 第一程航司,第二程航司;或者航司;若全程都一样,则录入一个航司二字代码即可 3、如果不录入,则航司默认为出票航司;
func (*TaobaoAlitripItFareAddowAPIRequest) SetSaleDate ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetSaleDate(_saleDate string) error
SetSaleDate is SaleDate Setter 销售日期,1、不得为空 2.输入格式为:2014-04-01~2014-06-30 3.不支持多段组合, 4.3日期格式为 YYYY-MM-DD或YYYY/MM/DD,例:2014-04-01或20104/04/01
func (*TaobaoAlitripItFareAddowAPIRequest) SetStockMode ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetStockMode(_stockMode string) error
SetStockMode is StockMode Setter (后期字段,预留),库存模式,1.不可为空 2.填写为见舱或定额;默认为见舱
func (*TaobaoAlitripItFareAddowAPIRequest) SetTariff ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetTariff(_tariff string) error
SetTariff is Tariff Setter 运价tariff,最大长度3
func (*TaobaoAlitripItFareAddowAPIRequest) SetTicketPrice ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetTicketPrice(_ticketPrice int64) error
SetTicketPrice is TicketPrice Setter 销售票面价,1.不得为空 2.价格区间为【0-999999】 3、销售票面价为10的整数倍(向下取整,如录入3002,则实际录入数值为3000)
func (*TaobaoAlitripItFareAddowAPIRequest) SetTicketingAirline ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetTicketingAirline(_ticketingAirline string) error
SetTicketingAirline is TicketingAirline Setter 出票航司,1.不可为空 2.航空公司二字码 3.只能输入一个
func (*TaobaoAlitripItFareAddowAPIRequest) SetTransitLand ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetTransitLand(_transitLand string) error
SetTransitLand is TransitLand Setter 中转地,多个用“,”隔开 1.不得为空 2.可以填写:机场三字码,城市码 3.最多允许100个机场三字码/城市码 4、当航程类型书写为 中转时,此处为必填
func (*TaobaoAlitripItFareAddowAPIRequest) SetTripDatePoint4Dep ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetTripDatePoint4Dep(_tripDatePoint4Dep string) error
SetTripDatePoint4Dep is TripDatePoint4Dep Setter 去程旅行日期作用点,始发航段/第一国际段/主航段/全部;默认空为 第一国际段
func (*TaobaoAlitripItFareAddowAPIRequest) SetTripExcludeDatePoint4Dep ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetTripExcludeDatePoint4Dep(_tripExcludeDatePoint4Dep string) error
SetTripExcludeDatePoint4Dep is TripExcludeDatePoint4Dep Setter 去程旅行排除日期作用点,始发航段/第一国际段/主航段/全部;默认空为 第一国际段
func (*TaobaoAlitripItFareAddowAPIRequest) SetTripType ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetTripType(_tripType string) error
SetTripType is TripType Setter 航程种类,1、默认为直达;有直达和中转两个选项;2、不填写 默认为 直达
func (*TaobaoAlitripItFareAddowAPIRequest) SetValidDate4Dep ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetValidDate4Dep(_validDate4Dep string) error
SetValidDate4Dep is ValidDate4Dep Setter 去程旅行有效期,支持多段组合,用“,”隔开, 1.不得为空 2例:2014-04-01~2014-06-30,2014-09-01 ~2014-09-30, 3日期格式为 YYYY-MM-DD或YYYY/MM/DD,例:2014-04-01或2014/04/01
func (*TaobaoAlitripItFareAddowAPIRequest) SetVipCode ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetVipCode(_vipCode string) error
SetVipCode is VipCode Setter 大客户编码,文本框
func (*TaobaoAlitripItFareAddowAPIRequest) SetWorkingHours ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddowAPIRequest) SetWorkingHours(_workingHours string) error
SetWorkingHours is WorkingHours Setter 工作时间,18:00FRI表示周一到周五的每天早上9点到下午6点 最多录入三个时间段用,隔开表示或的关系 可以为空,表示不限制(运价上的工作时间优先级高于设置时间界面上的时间)
type TaobaoAlitripItFareAddowAPIResponse ¶
type TaobaoAlitripItFareAddowAPIResponse struct { model.CommonResponse TaobaoAlitripItFareAddowAPIResponseModel }
TaobaoAlitripItFareAddowAPIResponse 【国际机票自有政策】单条单程添加 API返回值 taobao.alitrip.it.fare.addow
自有政策单程添加接口,重复的老数据会被删除,重复判断规则同excel
func GetTaobaoAlitripItFareAddowAPIResponse ¶ added in v1.3.4
func GetTaobaoAlitripItFareAddowAPIResponse() *TaobaoAlitripItFareAddowAPIResponse
GetTaobaoAlitripItFareAddowAPIResponse 从 sync.Pool 获取 TaobaoAlitripItFareAddowAPIResponse
func (*TaobaoAlitripItFareAddowAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripItFareAddowAPIResponse) Reset()
Reset 清空结构体
type TaobaoAlitripItFareAddowAPIResponseModel ¶ added in v1.2.0
type TaobaoAlitripItFareAddowAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_it_fare_addow_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // json格式的字符串,扩展属性,预留 ExtendAttributes string `json:"extend_attributes,omitempty" xml:"extend_attributes,omitempty"` // 运价id FareId int64 `json:"fare_id,omitempty" xml:"fare_id,omitempty"` }
TaobaoAlitripItFareAddowAPIResponseModel is 【国际机票自有政策】单条单程添加 成功返回结果
func (*TaobaoAlitripItFareAddowAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripItFareAddowAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoAlitripItFareAddrtAPIRequest ¶ added in v1.2.0
type TaobaoAlitripItFareAddrtAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoAlitripItFareAddrtAPIRequest 【国际机票自有政策】单条往返添加 API请求 taobao.alitrip.it.fare.addrt
自有政策往返添加接口
func GetTaobaoAlitripItFareAddrtAPIRequest ¶ added in v1.3.4
func GetTaobaoAlitripItFareAddrtAPIRequest() *TaobaoAlitripItFareAddrtAPIRequest
GetTaobaoAlitripItFareAddrtRequest 从 sync.Pool 获取 TaobaoAlitripItFareAddrtAPIRequest
func NewTaobaoAlitripItFareAddrtRequest ¶
func NewTaobaoAlitripItFareAddrtRequest() *TaobaoAlitripItFareAddrtAPIRequest
NewTaobaoAlitripItFareAddrtRequest 初始化TaobaoAlitripItFareAddrtAPIRequest对象
func (TaobaoAlitripItFareAddrtAPIRequest) GetAddressOption ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetAddressOption() string
GetAddressOption AddressOption Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetAdjustMoney ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetAdjustMoney() int64
GetAdjustMoney AdjustMoney Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetAdultPassengerIdentity ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetAdultPassengerIdentity() string
GetAdultPassengerIdentity AdultPassengerIdentity Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetAdultTax ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetAdultTax() int64
GetAdultTax AdultTax Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoAlitripItFareAddrtAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoAlitripItFareAddrtAPIRequest) GetApplyChannel ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetApplyChannel() string
GetApplyChannel ApplyChannel Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetBookingOffice ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetBookingOffice() string
GetBookingOffice BookingOffice Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetBuyTicketNotice ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetBuyTicketNotice() string
GetBuyTicketNotice BuyTicketNotice Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetCabin ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetCabin() string
GetCabin Cabin Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetCanDepChange ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetCanDepChange() string
GetCanDepChange CanDepChange Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetCanRetChange ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetCanRetChange() string
GetCanRetChange CanRetChange Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetChildPrice ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetChildPrice() string
GetChildPrice ChildPrice Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetChildTax ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetChildTax() int64
GetChildTax ChildTax Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetCodeSharingType ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetCodeSharingType() string
GetCodeSharingType CodeSharingType Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetCombinationFilecode ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetCombinationFilecode() string
GetCombinationFilecode CombinationFilecode Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetCombinationOjFilecode ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetCombinationOjFilecode() string
GetCombinationOjFilecode CombinationOjFilecode Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetCommodityType ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetCommodityType() string
GetCommodityType CommodityType Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetDepChangeCurrency ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetDepChangeCurrency() string
GetDepChangeCurrency DepChangeCurrency Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetDepChangeFee ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetDepChangeFee() string
GetDepChangeFee DepChangeFee Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetDepChangeFeeType ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetDepChangeFeeType() string
GetDepChangeFeeType DepChangeFeeType Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetDestination ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetDestination() string
GetDestination Destination Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetEarlyTicketingTimeLimit ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetEarlyTicketingTimeLimit() int64
GetEarlyTicketingTimeLimit EarlyTicketingTimeLimit Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetExcludeDateRange4Dep ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetExcludeDateRange4Dep() string
GetExcludeDateRange4Dep ExcludeDateRange4Dep Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetExcludeDateRange4Ret ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetExcludeDateRange4Ret() string
GetExcludeDateRange4Ret ExcludeDateRange4Ret Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetExcludeFlightNo ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetExcludeFlightNo() string
GetExcludeFlightNo ExcludeFlightNo Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetExcludeNationality ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetExcludeNationality() string
GetExcludeNationality ExcludeNationality Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetExtendAttributes ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetExtendAttributes() string
GetExtendAttributes ExtendAttributes Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetFareDirectDestrict ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetFareDirectDestrict() int64
GetFareDirectDestrict FareDirectDestrict Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetFareSource ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetFareSource() string
GetFareSource FareSource Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetFareTypeCode ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetFareTypeCode() string
GetFareTypeCode FareTypeCode Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetFarebasis ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetFarebasis() string
GetFarebasis Farebasis Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetFileCode ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetFileCode() string
GetFileCode FileCode Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetFlightDatePoint4Dep ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetFlightDatePoint4Dep() string
GetFlightDatePoint4Dep FlightDatePoint4Dep Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetFlightDatePoint4Ret ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetFlightDatePoint4Ret() string
GetFlightDatePoint4Ret FlightDatePoint4Ret Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetFlightDateRestrict4Dep ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetFlightDateRestrict4Dep() string
GetFlightDateRestrict4Dep FlightDateRestrict4Dep Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetFlightDateRestrict4Ret ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetFlightDateRestrict4Ret() string
GetFlightDateRestrict4Ret FlightDateRestrict4Ret Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetGv2ChildRule ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetGv2ChildRule() string
GetGv2ChildRule Gv2ChildRule Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetIsAllowOj ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetIsAllowOj() string
GetIsAllowOj IsAllowOj Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetIsCanAllRefund ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetIsCanAllRefund() string
GetIsCanAllRefund IsCanAllRefund Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetIsCanPartRefund ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetIsCanPartRefund() string
GetIsCanPartRefund IsCanPartRefund Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetIsCanRefund4Dep ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetIsCanRefund4Dep() string
GetIsCanRefund4Dep IsCanRefund4Dep Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetIsCanRefund4Ret ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetIsCanRefund4Ret() string
GetIsCanRefund4Ret IsCanRefund4Ret Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetIsCanReissue4Dep ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetIsCanReissue4Dep() string
GetIsCanReissue4Dep IsCanReissue4Dep Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetIsCanReissue4Ret ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetIsCanReissue4Ret() string
GetIsCanReissue4Ret IsCanReissue4Ret Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetIsCreatePnr ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetIsCreatePnr() string
GetIsCreatePnr IsCreatePnr Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetIsNoShowCanRefund4Dep ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetIsNoShowCanRefund4Dep() string
GetIsNoShowCanRefund4Dep IsNoShowCanRefund4Dep Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetIsNoShowCanRefund4Ret ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetIsNoShowCanRefund4Ret() string
GetIsNoShowCanRefund4Ret IsNoShowCanRefund4Ret Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetIsNoShowCanReissue4Dep ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetIsNoShowCanReissue4Dep() string
GetIsNoShowCanReissue4Dep IsNoShowCanReissue4Dep Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetIsNoShowCanReissue4Ret ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetIsNoShowCanReissue4Ret() string
GetIsNoShowCanReissue4Ret IsNoShowCanReissue4Ret Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetIsRT ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetIsRT() string
GetIsRT IsRT Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetIsValidatPrice ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetIsValidatPrice() string
GetIsValidatPrice IsValidatPrice Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetLateTicketingTimeLimit ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetLateTicketingTimeLimit() int64
GetLateTicketingTimeLimit LateTicketingTimeLimit Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetLuggageRule ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetLuggageRule() string
GetLuggageRule LuggageRule Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetLuggageRule4Dep ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetLuggageRule4Dep() string
GetLuggageRule4Dep LuggageRule4Dep Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetLuggageRule4Ret ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetLuggageRule4Ret() string
GetLuggageRule4Ret LuggageRule4Ret Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetMaxStay ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetMaxStay() string
GetMaxStay MaxStay Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetMaxTravelPerson ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetMaxTravelPerson() int64
GetMaxTravelPerson MaxTravelPerson Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetMinStay ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetMinStay() string
GetMinStay MinStay Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetMinTravelPerson ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetMinTravelPerson() int64
GetMinTravelPerson MinTravelPerson Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetNationality ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetNationality() string
GetNationality Nationality Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetNoShowPenalty4Dep ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetNoShowPenalty4Dep() int64
GetNoShowPenalty4Dep NoShowPenalty4Dep Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetNoShowPenalty4Ret ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetNoShowPenalty4Ret() int64
GetNoShowPenalty4Ret NoShowPenalty4Ret Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetNoShowTimeLimit4Dep ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetNoShowTimeLimit4Dep() int64
GetNoShowTimeLimit4Dep NoShowTimeLimit4Dep Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetNoShowTimeLimit4Ret ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetNoShowTimeLimit4Ret() int64
GetNoShowTimeLimit4Ret NoShowTimeLimit4Ret Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetNoshowCurrency ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetNoshowCurrency() string
GetNoshowCurrency NoshowCurrency Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetNoshowFee ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetNoshowFee() string
GetNoshowFee NoshowFee Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetNoshowRestrict ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetNoshowRestrict() string
GetNoshowRestrict NoshowRestrict Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetNoshowRule ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetNoshowRule() string
GetNoshowRule NoshowRule Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetNoshowRuleType ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetNoshowRuleType() string
GetNoshowRuleType NoshowRuleType Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetNoshowTimeRestrict ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetNoshowTimeRestrict() string
GetNoshowTimeRestrict NoshowTimeRestrict Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetNoshowTimeRestrictUnit ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetNoshowTimeRestrictUnit() string
GetNoshowTimeRestrictUnit NoshowTimeRestrictUnit Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetOjType ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetOjType() string
GetOjType OjType Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetOriginLand ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetOriginLand() string
GetOriginLand OriginLand Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetOutFileCode ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetOutFileCode() string
GetOutFileCode OutFileCode Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetPassengerAge ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetPassengerAge() string
GetPassengerAge PassengerAge Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetProductType ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetProductType() string
GetProductType ProductType Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoAlitripItFareAddrtAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoAlitripItFareAddrtAPIRequest) GetReceipts ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetReceipts() string
GetReceipts Receipts Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetRefundCurrencyAllUnused ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetRefundCurrencyAllUnused() string
GetRefundCurrencyAllUnused RefundCurrencyAllUnused Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetRefundCurrencyPartUnused ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetRefundCurrencyPartUnused() string
GetRefundCurrencyPartUnused RefundCurrencyPartUnused Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetRefundFeeAllUnused ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetRefundFeeAllUnused() string
GetRefundFeeAllUnused RefundFeeAllUnused Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetRefundFeePartUnused ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetRefundFeePartUnused() string
GetRefundFeePartUnused RefundFeePartUnused Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetRefundFeeTypeAllUnused ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetRefundFeeTypeAllUnused() string
GetRefundFeeTypeAllUnused RefundFeeTypeAllUnused Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetRefundFeeTypePartUnused ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetRefundFeeTypePartUnused() string
GetRefundFeeTypePartUnused RefundFeeTypePartUnused Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetRefundPartPrice4Dep ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetRefundPartPrice4Dep() string
GetRefundPartPrice4Dep RefundPartPrice4Dep Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetRefundPartPrice4Ret ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetRefundPartPrice4Ret() string
GetRefundPartPrice4Ret RefundPartPrice4Ret Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetRefundPrice4Dep ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetRefundPrice4Dep() string
GetRefundPrice4Dep RefundPrice4Dep Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetRefundPrice4Ret ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetRefundPrice4Ret() string
GetRefundPrice4Ret RefundPrice4Ret Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetRefundRule ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetRefundRule() string
GetRefundRule RefundRule Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetReissuePartPrice4Dep ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetReissuePartPrice4Dep() string
GetReissuePartPrice4Dep ReissuePartPrice4Dep Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetReissuePartPrice4Ret ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetReissuePartPrice4Ret() string
GetReissuePartPrice4Ret ReissuePartPrice4Ret Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetReissuePrice4Dep ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetReissuePrice4Dep() string
GetReissuePrice4Dep ReissuePrice4Dep Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetReissuePrice4Ret ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetReissuePrice4Ret() string
GetReissuePrice4Ret ReissuePrice4Ret Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetReissueRule ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetReissueRule() string
GetReissueRule ReissueRule Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetRemark ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetRemark() string
GetRemark Remark Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetRestrictFlightNo ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetRestrictFlightNo() string
GetRestrictFlightNo RestrictFlightNo Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetRetChangeCurrency ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetRetChangeCurrency() string
GetRetChangeCurrency RetChangeCurrency Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetRetChangeFee ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetRetChangeFee() string
GetRetChangeFee RetChangeFee Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetRetChangeFeeType ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetRetChangeFeeType() string
GetRetChangeFeeType RetChangeFeeType Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetReturnPoint ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetReturnPoint() float64
GetReturnPoint ReturnPoint Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetRtCommissionFormula ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetRtCommissionFormula() string
GetRtCommissionFormula RtCommissionFormula Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetRtType ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetRtType() string
GetRtType RtType Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetRuleId ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetRuleId() string
GetRuleId RuleId Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetSaleAirline ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetSaleAirline() string
GetSaleAirline SaleAirline Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetSaleDate ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetSaleDate() string
GetSaleDate SaleDate Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetStockMode ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetStockMode() string
GetStockMode StockMode Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetTariff ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetTariff() string
GetTariff Tariff Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetTicketPrice ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetTicketPrice() int64
GetTicketPrice TicketPrice Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetTicketingAirline ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetTicketingAirline() string
GetTicketingAirline TicketingAirline Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetTransitLand ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetTransitLand() string
GetTransitLand TransitLand Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetTripDatePoint4Dep ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetTripDatePoint4Dep() string
GetTripDatePoint4Dep TripDatePoint4Dep Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetTripDatePoint4Ret ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetTripDatePoint4Ret() string
GetTripDatePoint4Ret TripDatePoint4Ret Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetTripExcludeDatePoint4Dep ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetTripExcludeDatePoint4Dep() string
GetTripExcludeDatePoint4Dep TripExcludeDatePoint4Dep Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetTripExcludeDatePoint4Ret ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetTripExcludeDatePoint4Ret() string
GetTripExcludeDatePoint4Ret TripExcludeDatePoint4Ret Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetTripType ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetTripType() string
GetTripType TripType Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetValidDate4Dep ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetValidDate4Dep() string
GetValidDate4Dep ValidDate4Dep Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetValidDate4Ret ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetValidDate4Ret() string
GetValidDate4Ret ValidDate4Ret Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetVipCode ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetVipCode() string
GetVipCode VipCode Getter
func (TaobaoAlitripItFareAddrtAPIRequest) GetWorkingHours ¶ added in v1.2.0
func (r TaobaoAlitripItFareAddrtAPIRequest) GetWorkingHours() string
GetWorkingHours WorkingHours Getter
func (*TaobaoAlitripItFareAddrtAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoAlitripItFareAddrtAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoAlitripItFareAddrtAPIRequest) SetAddressOption ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetAddressOption(_addressOption string) error
SetAddressOption is AddressOption Setter 城市/机场选项,默认为城市1、可以填写:“机场",“城市”2、定义始发地/目的地/中转点,输入为机场,还是城市。3、如:此项输入机场,则始发地、目的地必须输入机场三字码
func (*TaobaoAlitripItFareAddrtAPIRequest) SetAdjustMoney ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetAdjustMoney(_adjustMoney int64) error
SetAdjustMoney is AdjustMoney Setter 留钱,1.0或正负数字2.-20表示返20元;20代表留20元
func (*TaobaoAlitripItFareAddrtAPIRequest) SetAdultPassengerIdentity ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetAdultPassengerIdentity(_adultPassengerIdentity string) error
SetAdultPassengerIdentity is AdultPassengerIdentity Setter 成人旅客身份,1.不得为空 2.普通/学生 3.当输入学生时,儿童价格项输入无效 4.当为小团产品时,此适用身份类别必须为 普通。5、后期支持劳工、移民、海员、老人、青年
func (*TaobaoAlitripItFareAddrtAPIRequest) SetAdultTax ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetAdultTax(_adultTax int64) error
SetAdultTax is AdultTax Setter (后期字段,预留),成人税费,1、整数金额(包机切位产品适用)
func (*TaobaoAlitripItFareAddrtAPIRequest) SetApplyChannel ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetApplyChannel(_applyChannel string) error
SetApplyChannel is ApplyChannel Setter 运价渠道 可选listing宝贝 默认listing
func (*TaobaoAlitripItFareAddrtAPIRequest) SetBookingOffice ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetBookingOffice(_bookingOffice string) error
SetBookingOffice is BookingOffice Setter 预定OFFICE,空表示默认优先级最高OFFICE,可输入OFFICE,校验必须为配置中存在的OFFICE
func (*TaobaoAlitripItFareAddrtAPIRequest) SetBuyTicketNotice ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetBuyTicketNotice(_buyTicketNotice string) error
SetBuyTicketNotice is BuyTicketNotice Setter 购票须知,非必输长度小于300字符只在退票规定不为空时才会生效
func (*TaobaoAlitripItFareAddrtAPIRequest) SetCabin ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetCabin(_cabin string) error
SetCabin is Cabin Setter 舱位, 用","表示航段的分割。 1、舱位代码。每段只允许录入一个舱位代码,若全程舱位一致则可以只录入一个
func (*TaobaoAlitripItFareAddrtAPIRequest) SetCanDepChange ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetCanDepChange(_canDepChange string) error
SetCanDepChange is CanDepChange Setter 必填项,去程可否改期,可输入是或否
func (*TaobaoAlitripItFareAddrtAPIRequest) SetCanRetChange ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetCanRetChange(_canRetChange string) error
SetCanRetChange is CanRetChange Setter 必填项,回程可否改期,可输入是或否
func (*TaobaoAlitripItFareAddrtAPIRequest) SetChildPrice ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetChildPrice(_childPrice string) error
SetChildPrice is ChildPrice Setter 儿童价,1、可不输入,空表示不适用儿童价 2、可输入大于0的正整数及百分比,输入百分比时,成人价格必须录入 例如:2000或70%。 3. 百分比计算的数值,个位向上取整 当"乘客类型"输入非“普通”(成人)时,此项输入无效。
func (*TaobaoAlitripItFareAddrtAPIRequest) SetChildTax ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetChildTax(_childTax int64) error
SetChildTax is ChildTax Setter (后期字段,预留),儿童税费,1、整数金额(包机切位产品适用)
func (*TaobaoAlitripItFareAddrtAPIRequest) SetCodeSharingType ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetCodeSharingType(_codeSharingType string) error
SetCodeSharingType is CodeSharingType Setter 不录入表示不限制;选项为:仅限同集团代码共享适用;代码共享适用;不允许代码共享;不限制 默认不限制
func (*TaobaoAlitripItFareAddrtAPIRequest) SetCombinationFilecode ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetCombinationFilecode(_combinationFilecode string) error
SetCombinationFilecode is CombinationFilecode Setter 可组文件编号, 当需要多填入多个时,请以","分隔 1、标记可组文件的编号政策信息,可填写空白; 2、如果是否1/2RT 字段为是,则此字段为必输项
func (*TaobaoAlitripItFareAddrtAPIRequest) SetCombinationOjFilecode ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetCombinationOjFilecode(_combinationOjFilecode string) error
SetCombinationOjFilecode is CombinationOjFilecode Setter (后期字段,预留),可组缺口文件编号,当需要多填入多个时,请以","分隔 1、标记政策信息,可填写空白; 2、如果是否缺口 字段为是,则此字段为必输项
func (*TaobaoAlitripItFareAddrtAPIRequest) SetCommodityType ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetCommodityType(_commodityType string) error
SetCommodityType is CommodityType Setter 商品类型,可选值:普通、金牌,默认普通,非金牌卖家不得选择金牌
func (*TaobaoAlitripItFareAddrtAPIRequest) SetDepChangeCurrency ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetDepChangeCurrency(_depChangeCurrency string) error
SetDepChangeCurrency is DepChangeCurrency Setter 去程改期币种,可录入币种三字码,默认值CNY
func (*TaobaoAlitripItFareAddrtAPIRequest) SetDepChangeFee ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetDepChangeFee(_depChangeFee string) error
SetDepChangeFee is DepChangeFee Setter 【去程可否改期】为是时为必填项, 可输入格式如: 1) 200 表示改期手续费为200(货币单位在下一个格子里) 2)* 表示不允许改期 3) 200-0-400 表示起飞前改期手续费200;起飞后改期手续费400 4) 30-0-* 表示起飞前改期手续费30;起飞后不允许改期 5)200-72-300-48-1000-0-* 表示72小时前改期手续费200; 48小时到72小时,改期手续费300; 飞机起飞不足48小时; 改期手续费1000; 飞机起飞后不予改期(输入*)
func (*TaobaoAlitripItFareAddrtAPIRequest) SetDepChangeFeeType ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetDepChangeFeeType(_depChangeFeeType string) error
SetDepChangeFeeType is DepChangeFeeType Setter 去程改期费用收取方式,按每个航段收还是全程收(0:全程, 1:每个航段,默认值:全程)
func (*TaobaoAlitripItFareAddrtAPIRequest) SetDestination ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetDestination(_destination string) error
SetDestination is Destination Setter 目的地,多个用“,”隔开 1.不得为空 2.可以填写:机场三字码”或“城市码” 3.最多允许100个机场三字码/城市码
func (*TaobaoAlitripItFareAddrtAPIRequest) SetEarlyTicketingTimeLimit ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetEarlyTicketingTimeLimit(_earlyTicketingTimeLimit int64) error
SetEarlyTicketingTimeLimit is EarlyTicketingTimeLimit Setter 提前出票时限,默认为空,代表无限制; 输入为小于等于365的正整数。 小于或等于最晚出票时限。 单位为天
func (*TaobaoAlitripItFareAddrtAPIRequest) SetExcludeDateRange4Dep ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetExcludeDateRange4Dep(_excludeDateRange4Dep string) error
SetExcludeDateRange4Dep is ExcludeDateRange4Dep Setter 去程旅行排除时间段,支持多段组合,用“,”隔开隔开, 1.格式,例:2014-04-01~2014-12-31;或例:2014-04-01~2014-06-30,2014-09-01~2014-09-30, 3日期格式为 YYYY-MM-DD,YYYY/MM/DD 4、旅行排除日期最多只能输入200个字符
func (*TaobaoAlitripItFareAddrtAPIRequest) SetExcludeDateRange4Ret ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetExcludeDateRange4Ret(_excludeDateRange4Ret string) error
SetExcludeDateRange4Ret is ExcludeDateRange4Ret Setter 回程旅行排除时间段,支持多段组合,用“,”隔开隔开, 1.格式,例:2014-04-01~2014-12-31;或例:2014-04-01~2014-06-30,2014-09-01~2014-09-30, 3日期格式为 YYYY-MM-DD,YYYY/MM/DD 4、旅行排除日期最多只能输入200个字符
func (*TaobaoAlitripItFareAddrtAPIRequest) SetExcludeFlightNo ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetExcludeFlightNo(_excludeFlightNo string) error
SetExcludeFlightNo is ExcludeFlightNo Setter 排除航班号限制,同一航段之间用,隔开表示或的关系;不同航段之间用/隔开。 1 CA001-999,CA3000-3999 表示CA001至999以及3000至3999之间航班号的航班 2 MU 表示所有MU开头的自营航班 3 CA(LH\AZ) 表示CA开头的实际承运人为LH或AZ的航班 4 CA(*) 表示CA代码共享航班/CA开头的实际承运人为其他航空公司的航班 5 CA(CA) 表示CA自营航班/CA实际承运航班; 6 CA(OZ)001-999 表示CA开头航班号为001-999之间且实际承运人为OZ的航班; 7 为空表示无限制;8比如两段,第一段无限制,第二段有限制 /CA123
func (*TaobaoAlitripItFareAddrtAPIRequest) SetExcludeNationality ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetExcludeNationality(_excludeNationality string) error
SetExcludeNationality is ExcludeNationality Setter 除外国籍,可录入多个用","隔开表示或的关系 1、可录入国家二字代码,为空表示不限制,最多录20个 *默认为空,不输入为不限制
func (*TaobaoAlitripItFareAddrtAPIRequest) SetExtendAttributes ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetExtendAttributes(_extendAttributes string) error
SetExtendAttributes is ExtendAttributes Setter json格式的字符串,扩展属性,预留
func (*TaobaoAlitripItFareAddrtAPIRequest) SetFareDirectDestrict ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetFareDirectDestrict(_fareDirectDestrict int64) error
SetFareDirectDestrict is FareDirectDestrict Setter 运价组合适用方向,0(或者字段不存在):不限制/1:仅作用在去程/2:仅作用在回程
func (*TaobaoAlitripItFareAddrtAPIRequest) SetFareSource ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetFareSource(_fareSource string) error
SetFareSource is FareSource Setter (后期字段,预留),运价发布渠道,1、可填写 PC、无线、都适用 2、默认为都适用
func (*TaobaoAlitripItFareAddrtAPIRequest) SetFareTypeCode ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetFareTypeCode(_fareTypeCode string) error
SetFareTypeCode is FareTypeCode Setter 运价类型,最大长度3
func (*TaobaoAlitripItFareAddrtAPIRequest) SetFarebasis ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetFarebasis(_farebasis string) error
SetFarebasis is Farebasis Setter 运价基础,最大长度8
func (*TaobaoAlitripItFareAddrtAPIRequest) SetFileCode ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetFileCode(_fileCode string) error
SetFileCode is FileCode Setter 文件编号
func (*TaobaoAlitripItFareAddrtAPIRequest) SetFlightDatePoint4Dep ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetFlightDatePoint4Dep(_flightDatePoint4Dep string) error
SetFlightDatePoint4Dep is FlightDatePoint4Dep Setter 去程班期作用点,始发航段/第一国际段/主航段/全部;默认空为 第一国际段
func (*TaobaoAlitripItFareAddrtAPIRequest) SetFlightDatePoint4Ret ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetFlightDatePoint4Ret(_flightDatePoint4Ret string) error
SetFlightDatePoint4Ret is FlightDatePoint4Ret Setter 回程班期作用点,始发航段/第一国际段/主航段/全部;默认空为 第一国际段
func (*TaobaoAlitripItFareAddrtAPIRequest) SetFlightDateRestrict4Dep ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetFlightDateRestrict4Dep(_flightDateRestrict4Dep string) error
SetFlightDateRestrict4Dep is FlightDateRestrict4Dep Setter 去程班期限制,1.12表示周一周二 2.12:00-14:00表示每天的12点到14点 3. 12:00FRI-12:00SAT 表示周五的中午12点至周六的中午12点
func (*TaobaoAlitripItFareAddrtAPIRequest) SetFlightDateRestrict4Ret ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetFlightDateRestrict4Ret(_flightDateRestrict4Ret string) error
SetFlightDateRestrict4Ret is FlightDateRestrict4Ret Setter 回程班期限制,1.12表示周一周二 2.12:00-14:00表示每天的12点到14点 3. 12:00FRI-12:00SAT 表示周五的中午12点至周六的中午12点
func (*TaobaoAlitripItFareAddrtAPIRequest) SetGv2ChildRule ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetGv2ChildRule(_gv2ChildRule string) error
SetGv2ChildRule is Gv2ChildRule Setter (后期字段,预留),小团儿童计数规则,可选值:1个儿童计1个成人、2个儿童计1个成人、儿童不计
func (*TaobaoAlitripItFareAddrtAPIRequest) SetIsAllowOj ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetIsAllowOj(_isAllowOj string) error
SetIsAllowOj is IsAllowOj Setter (后期字段,预留),是否允许缺口,1、为是或否;默认为否
func (*TaobaoAlitripItFareAddrtAPIRequest) SetIsCanAllRefund ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetIsCanAllRefund(_isCanAllRefund string) error
SetIsCanAllRefund is IsCanAllRefund Setter 必填项,全部未使用可否退票,可输入:是,否
func (*TaobaoAlitripItFareAddrtAPIRequest) SetIsCanPartRefund ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetIsCanPartRefund(_isCanPartRefund string) error
SetIsCanPartRefund is IsCanPartRefund Setter 必填项,部分未使用可否退票,可输入:是,否
func (*TaobaoAlitripItFareAddrtAPIRequest) SetIsCanRefund4Dep ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetIsCanRefund4Dep(_isCanRefund4Dep string) error
SetIsCanRefund4Dep is IsCanRefund4Dep Setter (已废除字段),去程全部未使用可否退票,录入是或否
func (*TaobaoAlitripItFareAddrtAPIRequest) SetIsCanRefund4Ret ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetIsCanRefund4Ret(_isCanRefund4Ret string) error
SetIsCanRefund4Ret is IsCanRefund4Ret Setter (已废除字段),回程全部未使用可否退票,录入是或否
func (*TaobaoAlitripItFareAddrtAPIRequest) SetIsCanReissue4Dep ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetIsCanReissue4Dep(_isCanReissue4Dep string) error
SetIsCanReissue4Dep is IsCanReissue4Dep Setter (已废除字段),去程全部未使用可否改期,录入是或否
func (*TaobaoAlitripItFareAddrtAPIRequest) SetIsCanReissue4Ret ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetIsCanReissue4Ret(_isCanReissue4Ret string) error
SetIsCanReissue4Ret is IsCanReissue4Ret Setter (已废除字段),回程全部未使用可否改期,录入是或否
func (*TaobaoAlitripItFareAddrtAPIRequest) SetIsCreatePnr ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetIsCreatePnr(_isCreatePnr string) error
SetIsCreatePnr is IsCreatePnr Setter (后期字段,预留),是否创建PNR,1、选项 可填写是,否.默认为是
func (*TaobaoAlitripItFareAddrtAPIRequest) SetIsNoShowCanRefund4Dep ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetIsNoShowCanRefund4Dep(_isNoShowCanRefund4Dep string) error
SetIsNoShowCanRefund4Dep is IsNoShowCanRefund4Dep Setter (已废除字段),去程NOSHOW能否退票,输入是或否;默认为否
func (*TaobaoAlitripItFareAddrtAPIRequest) SetIsNoShowCanRefund4Ret ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetIsNoShowCanRefund4Ret(_isNoShowCanRefund4Ret string) error
SetIsNoShowCanRefund4Ret is IsNoShowCanRefund4Ret Setter (已废除字段),回程NOSHOW能否退票,输入是或否;默认为否
func (*TaobaoAlitripItFareAddrtAPIRequest) SetIsNoShowCanReissue4Dep ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetIsNoShowCanReissue4Dep(_isNoShowCanReissue4Dep string) error
SetIsNoShowCanReissue4Dep is IsNoShowCanReissue4Dep Setter (已废除字段),去程NOSHOW能否改期,输入是或否;默认为否
func (*TaobaoAlitripItFareAddrtAPIRequest) SetIsNoShowCanReissue4Ret ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetIsNoShowCanReissue4Ret(_isNoShowCanReissue4Ret string) error
SetIsNoShowCanReissue4Ret is IsNoShowCanReissue4Ret Setter (已废除字段),回程NOSHOW能否改期,输入是或否;默认为否
func (*TaobaoAlitripItFareAddrtAPIRequest) SetIsRT ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetIsRT(_isRT string) error
SetIsRT is IsRT Setter 是否1/2RT,1、请填写 是或者否;默认为否
func (*TaobaoAlitripItFareAddrtAPIRequest) SetIsValidatPrice ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetIsValidatPrice(_isValidatPrice string) error
SetIsValidatPrice is IsValidatPrice Setter 是否校验票面价,1、可填写 是或者否;默认为否
func (*TaobaoAlitripItFareAddrtAPIRequest) SetLateTicketingTimeLimit ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetLateTicketingTimeLimit(_lateTicketingTimeLimit int64) error
SetLateTicketingTimeLimit is LateTicketingTimeLimit Setter 最晚出票时限,默认为空,代表无限制; 输入为小于等于365的正整数。 大于或等于提前出票时限。 单位为天
func (*TaobaoAlitripItFareAddrtAPIRequest) SetLuggageRule ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetLuggageRule(_luggageRule string) error
SetLuggageRule is LuggageRule Setter 行李额规定,1、不可为空2、可填写:1PC。逾重行李费用为每公斤100元3、行李额规定最多为300个字符
func (*TaobaoAlitripItFareAddrtAPIRequest) SetLuggageRule4Dep ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetLuggageRule4Dep(_luggageRule4Dep string) error
SetLuggageRule4Dep is LuggageRule4Dep Setter (后期字段,预留),去程行李额规定,可输入1-23,1-23 中间用","隔开,表示第一程和第二程(中转)支持行李额为1PC,23KG。若某段为空表示该段按照航空公司规定执行,逗号不可缺少;若不提供免费行李额直接输入空
func (*TaobaoAlitripItFareAddrtAPIRequest) SetLuggageRule4Ret ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetLuggageRule4Ret(_luggageRule4Ret string) error
SetLuggageRule4Ret is LuggageRule4Ret Setter (后期字段,预留),回程行李额规定,可输入1-23,1-23 中间用","隔开,表示第一程和第二程(中转)支持行李额为1PC,23KG。若某段为空表示该段按照航空公司规定执行,逗号不可缺少;若不提供免费行李额直接输入空
func (*TaobaoAlitripItFareAddrtAPIRequest) SetMaxStay ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetMaxStay(_maxStay string) error
SetMaxStay is MaxStay Setter 最长停留期,1、 默认为空,代表无限制; 2、 格式为:数字+字符/字符 3D表示3天 ; 4M表示4个月 ; SAT表示周六; 3D/SAT表示3天或者周六 3、 12M 表示一年
func (*TaobaoAlitripItFareAddrtAPIRequest) SetMaxTravelPerson ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetMaxTravelPerson(_maxTravelPerson int64) error
SetMaxTravelPerson is MaxTravelPerson Setter 最大出行人数,数字1-9
func (*TaobaoAlitripItFareAddrtAPIRequest) SetMinStay ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetMinStay(_minStay string) error
SetMinStay is MinStay Setter 最短停留期,1、 默认为空,代表无限制; 2、 格式为:数字+字符/字符 3D表示3天 ; 4M表示4个月 ; SAT表示周六; 3D/SAT表示3天或者周六 3、 12M 表示一年
func (*TaobaoAlitripItFareAddrtAPIRequest) SetMinTravelPerson ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetMinTravelPerson(_minTravelPerson int64) error
SetMinTravelPerson is MinTravelPerson Setter 最小出行人数,数字1-9
func (*TaobaoAlitripItFareAddrtAPIRequest) SetNationality ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetNationality(_nationality string) error
SetNationality is Nationality Setter 国籍,可录入多个用","隔开表示或的关系 1、可录入国家二字代码,为空表示不限制,最多录20个 *默认为空,不输入为不限制
func (*TaobaoAlitripItFareAddrtAPIRequest) SetNoShowPenalty4Dep ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetNoShowPenalty4Dep(_noShowPenalty4Dep int64) error
SetNoShowPenalty4Dep is NoShowPenalty4Dep Setter (已废除字段),去程NOSHOW罚金,可为空,若输入则为正整数;其中空表示按航空公司规定执行
func (*TaobaoAlitripItFareAddrtAPIRequest) SetNoShowPenalty4Ret ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetNoShowPenalty4Ret(_noShowPenalty4Ret int64) error
SetNoShowPenalty4Ret is NoShowPenalty4Ret Setter (已废除字段),回程NOSHOW罚金,可为空,若输入则为正整数;其中空表示按航空公司规定执行
func (*TaobaoAlitripItFareAddrtAPIRequest) SetNoShowTimeLimit4Dep ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetNoShowTimeLimit4Dep(_noShowTimeLimit4Dep int64) error
SetNoShowTimeLimit4Dep is NoShowTimeLimit4Dep Setter (已废除字段),去程NOSHOW规定时限,输入正整数
func (*TaobaoAlitripItFareAddrtAPIRequest) SetNoShowTimeLimit4Ret ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetNoShowTimeLimit4Ret(_noShowTimeLimit4Ret int64) error
SetNoShowTimeLimit4Ret is NoShowTimeLimit4Ret Setter (已废除字段),回程NOSHOW规定时限,输入正整数
func (*TaobaoAlitripItFareAddrtAPIRequest) SetNoshowCurrency ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetNoshowCurrency(_noshowCurrency string) error
SetNoshowCurrency is NoshowCurrency Setter NOSHOW币种,可录入币种三字码,默认值CNY
func (*TaobaoAlitripItFareAddrtAPIRequest) SetNoshowFee ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetNoshowFee(_noshowFee string) error
SetNoshowFee is NoshowFee Setter NOSHOW金额,只能录入整数或百分比,【NOSHOW是否有限制】为是,【NOSHOW规则】不是不可退票,不可改期时,此项为必填项
func (*TaobaoAlitripItFareAddrtAPIRequest) SetNoshowRestrict ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetNoshowRestrict(_noshowRestrict string) error
SetNoshowRestrict is NoshowRestrict Setter 必填项,NOSHOW是否有限制,可输入是或否
func (*TaobaoAlitripItFareAddrtAPIRequest) SetNoshowRule ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetNoshowRule(_noshowRule string) error
SetNoshowRule is NoshowRule Setter (已废除字段)误机罚金说明,1、不可为空 2、可填写:起飞前不得退票,不得改期 3、误机罚金说明最多为300个字符
func (*TaobaoAlitripItFareAddrtAPIRequest) SetNoshowRuleType ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetNoshowRuleType(_noshowRuleType string) error
SetNoshowRuleType is NoshowRuleType Setter NOSHOW规则,可录入多个,多个用逗号分隔。可录入不可退票、不可改期、不可改期,不可改期
func (*TaobaoAlitripItFareAddrtAPIRequest) SetNoshowTimeRestrict ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetNoshowTimeRestrict(_noshowTimeRestrict string) error
SetNoshowTimeRestrict is NoshowTimeRestrict Setter NOSHOW时限,只能录入整数,【NOSHOW是否有限制】为是时,此项为必填项
func (*TaobaoAlitripItFareAddrtAPIRequest) SetNoshowTimeRestrictUnit ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetNoshowTimeRestrictUnit(_noshowTimeRestrictUnit string) error
SetNoshowTimeRestrictUnit is NoshowTimeRestrictUnit Setter NOSHOW时限单位(小时/天, 默认为小时)
func (*TaobaoAlitripItFareAddrtAPIRequest) SetOjType ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetOjType(_ojType string) error
SetOjType is OjType Setter (后期字段,预留),缺口类型,1、可填单缺、双缺、始发地缺、目的地缺、或为空;默认为空(当允许缺口组合时,此项为必输项)
func (*TaobaoAlitripItFareAddrtAPIRequest) SetOriginLand ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetOriginLand(_originLand string) error
SetOriginLand is OriginLand Setter 始发地,多个用“,”隔开 1.不得为空 2.可以填写:机场三字码”或“城市码” 3.最多允许100个机场三字码/城市码
func (*TaobaoAlitripItFareAddrtAPIRequest) SetOutFileCode ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetOutFileCode(_outFileCode string) error
SetOutFileCode is OutFileCode Setter 外部政策ID,1、自行输入的ID,建议为唯一id,有些操作可以使用此id 最多50个字符
func (*TaobaoAlitripItFareAddrtAPIRequest) SetPassengerAge ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetPassengerAge(_passengerAge string) error
SetPassengerAge is PassengerAge Setter 乘客年龄,1、可录入范围如21-25表示21周岁至25周岁,1-表示1岁以上,-99表示99岁以下
func (*TaobaoAlitripItFareAddrtAPIRequest) SetProductType ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetProductType(_productType string) error
SetProductType is ProductType Setter (后期字段,预留),产品类型,1.不可为空 2.填写为:包机切位、申请、见舱预订;
func (*TaobaoAlitripItFareAddrtAPIRequest) SetReceipts ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetReceipts(_receipts string) error
SetReceipts is Receipts Setter 必填项 赋值范围 境外电子凭证,旅行发票,差额行程单发票,等额行程单
func (*TaobaoAlitripItFareAddrtAPIRequest) SetRefundCurrencyAllUnused ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetRefundCurrencyAllUnused(_refundCurrencyAllUnused string) error
SetRefundCurrencyAllUnused is RefundCurrencyAllUnused Setter 全部未使用退票币种,只能录入币种三字码,默认值CNY
func (*TaobaoAlitripItFareAddrtAPIRequest) SetRefundCurrencyPartUnused ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetRefundCurrencyPartUnused(_refundCurrencyPartUnused string) error
SetRefundCurrencyPartUnused is RefundCurrencyPartUnused Setter 部分未使用退票币种,可录入币种三字码,默认值CNY
func (*TaobaoAlitripItFareAddrtAPIRequest) SetRefundFeeAllUnused ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetRefundFeeAllUnused(_refundFeeAllUnused string) error
SetRefundFeeAllUnused is RefundFeeAllUnused Setter 【全部未使用可否退票】为是时,此项为必填项。 可输入格式如: 1) 200 表示退票手续费为200(货币单位在下一个格子里) 2) 20% 表示退票手续费为票面价的20% 3)* 表示不允许退票 4) 200-0-400 表示起飞前退票手续费200;起飞后退票手续费400 5) 30%-0-* 表示起飞前退票手续费为票面价的30%;起飞后不允许退票 6)200-72-300-48-1000-0-* 表示72小时前退票手续费200; 48小时到72小时,退票手续费300; 飞机起飞不足48小时; 退票手续费1000; 飞机起飞后不予退票(输入*) 7) 10%-72-30%-48-70%-0-* 表示72小时前退票手续费为票面价的10%; 48小时到72小时,退票手续费为票面价的30%; 飞机起飞不足48小时; 退票手续费为票面价的70%; 飞机起飞后不予退票(输入*)
func (*TaobaoAlitripItFareAddrtAPIRequest) SetRefundFeePartUnused ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetRefundFeePartUnused(_refundFeePartUnused string) error
SetRefundFeePartUnused is RefundFeePartUnused Setter 部分未使用退票费用,格式同【全部未使用退票费用】,【部分未使用可否退票】为是时,此项为必填项
func (*TaobaoAlitripItFareAddrtAPIRequest) SetRefundFeeTypeAllUnused ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetRefundFeeTypeAllUnused(_refundFeeTypeAllUnused string) error
SetRefundFeeTypeAllUnused is RefundFeeTypeAllUnused Setter 全部未使用退票费用收取方式,按每个航段收还是全程收(0:全程, 1:每个航段,默认值:全程)
func (*TaobaoAlitripItFareAddrtAPIRequest) SetRefundFeeTypePartUnused ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetRefundFeeTypePartUnused(_refundFeeTypePartUnused string) error
SetRefundFeeTypePartUnused is RefundFeeTypePartUnused Setter 部分未使用退票费用收取方式,按每个航段收还是全程收(0:全程, 1:每个航段,默认值:全程)
func (*TaobaoAlitripItFareAddrtAPIRequest) SetRefundPartPrice4Dep ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetRefundPartPrice4Dep(_refundPartPrice4Dep string) error
SetRefundPartPrice4Dep is RefundPartPrice4Dep Setter (已废除字段),去程部分未使用退票费用,可输入空,*或正整数,其中空表示按照航空公司规定执行,*表示不支持部分退票
func (*TaobaoAlitripItFareAddrtAPIRequest) SetRefundPartPrice4Ret ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetRefundPartPrice4Ret(_refundPartPrice4Ret string) error
SetRefundPartPrice4Ret is RefundPartPrice4Ret Setter (已废除字段),回程部分未使用退票费用,可输入空,*或正整数,其中空表示按照航空公司规定执行,*表示不支持部分退票
func (*TaobaoAlitripItFareAddrtAPIRequest) SetRefundPrice4Dep ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetRefundPrice4Dep(_refundPrice4Dep string) error
SetRefundPrice4Dep is RefundPrice4Dep Setter (已废除字段),去程全部未使用退票费用,可输入格式如:200-72-300-48-1000-0-*,表示72小时前退票手续费200;48小时到72小时,退票手续费300;飞机起飞不足48小时退票手续费1000;飞机起飞后不予退票(输入*);
func (*TaobaoAlitripItFareAddrtAPIRequest) SetRefundPrice4Ret ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetRefundPrice4Ret(_refundPrice4Ret string) error
SetRefundPrice4Ret is RefundPrice4Ret Setter (已废除字段),回程全部未使用退票费用,可输入格式如:200-72-300-48-1000-0-*,表示72小时前退票手续费200;48小时到72小时,退票手续费300;飞机起飞不足48小时退票手续费1000;飞机起飞后不予退票(输入*);
func (*TaobaoAlitripItFareAddrtAPIRequest) SetRefundRule ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetRefundRule(_refundRule string) error
SetRefundRule is RefundRule Setter (已废除字段)退票规定,1、不可为空 2、可填写:收取20%退票费用,或者是收取500元退票费等。 3、退票规定最多为300个字符
func (*TaobaoAlitripItFareAddrtAPIRequest) SetReissuePartPrice4Dep ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetReissuePartPrice4Dep(_reissuePartPrice4Dep string) error
SetReissuePartPrice4Dep is ReissuePartPrice4Dep Setter (已废除字段),去程部分未使用改期费用,可输入空,*或正整数,其中空表示按照航空公司规定执行,*表示不支持部分改期
func (*TaobaoAlitripItFareAddrtAPIRequest) SetReissuePartPrice4Ret ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetReissuePartPrice4Ret(_reissuePartPrice4Ret string) error
SetReissuePartPrice4Ret is ReissuePartPrice4Ret Setter (已废除字段),回程部分未使用改期费用,可输入空,*或正整数,其中空表示按照航空公司规定执行,*表示不支持部分改期
func (*TaobaoAlitripItFareAddrtAPIRequest) SetReissuePrice4Dep ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetReissuePrice4Dep(_reissuePrice4Dep string) error
SetReissuePrice4Dep is ReissuePrice4Dep Setter (已废除字段),去程全部未使用改期费用,可输入格式如:200-72-300-48-1000-0-*,表示72小时前改期手续费200;48小时到72小时,改期手续费300;飞机起飞不足48小时改期手续费1000;飞机起飞后不予改期(输入*);
func (*TaobaoAlitripItFareAddrtAPIRequest) SetReissuePrice4Ret ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetReissuePrice4Ret(_reissuePrice4Ret string) error
SetReissuePrice4Ret is ReissuePrice4Ret Setter (已废除字段),回程全部未使用改期费用,可输入格式如:200-72-300-48-1000-0-*,表示72小时前改期手续费200;48小时到72小时,改期手续费300;飞机起飞不足48小时改期手续费1000;飞机起飞后不予改期(输入*);
func (*TaobaoAlitripItFareAddrtAPIRequest) SetReissueRule ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetReissueRule(_reissueRule string) error
SetReissueRule is ReissueRule Setter (已废除字段)改期规定,1、不可为空 2、可填写:收取20%改期费用,或者是收取500元改期费等。 3、改期规定最多为300个字符
func (*TaobaoAlitripItFareAddrtAPIRequest) SetRemark ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetRemark(_remark string) error
SetRemark is Remark Setter 备注,出票备注文本
func (*TaobaoAlitripItFareAddrtAPIRequest) SetRestrictFlightNo ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetRestrictFlightNo(_restrictFlightNo string) error
SetRestrictFlightNo is RestrictFlightNo Setter 航班号限制,同一航段之间用,隔开表示或的关系;不同航段之间用/隔开。 1 CA001-999,CA3000-3999 表示CA001至999以及3000至3999之间航班号的航班 2 MU 表示所有MU开头的航班 3 CA(LH\AZ) 表示CA开头的实际承运人为LH或AZ的航班 4 CA(*) 表示CA代码共享航班/CA开头的实际承运人为其他航空公司的航班 5 CA(CA) 表示CA自营航班/CA实际承运航班; 6 CA(OZ)001-999 表示CA开头航班号为001-999之间且实际承运人为OZ的航班; 7 为空表示无限制
func (*TaobaoAlitripItFareAddrtAPIRequest) SetRetChangeCurrency ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetRetChangeCurrency(_retChangeCurrency string) error
SetRetChangeCurrency is RetChangeCurrency Setter 回程改期币种,可输入币种三字码,默认值CN
func (*TaobaoAlitripItFareAddrtAPIRequest) SetRetChangeFee ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetRetChangeFee(_retChangeFee string) error
SetRetChangeFee is RetChangeFee Setter 回程改期费用,格式同【去程改期费用】,【回程可否改期】为是时为必填
func (*TaobaoAlitripItFareAddrtAPIRequest) SetRetChangeFeeType ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetRetChangeFeeType(_retChangeFeeType string) error
SetRetChangeFeeType is RetChangeFeeType Setter 回程改期费用收取方式,按每个航段收还是全程收(0:全程, 1:每个航段,默认值:全程)
func (*TaobaoAlitripItFareAddrtAPIRequest) SetReturnPoint ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetReturnPoint(_returnPoint float64) error
SetReturnPoint is ReturnPoint Setter 返点,1.不得为空 2.只允许填写数字,支持到小数点后两位;不用填写% 3.返点需小于100 成人价=销售票面价*(1-返点)+留钱
func (*TaobaoAlitripItFareAddrtAPIRequest) SetRtCommissionFormula ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetRtCommissionFormula(_rtCommissionFormula string) error
SetRtCommissionFormula is RtCommissionFormula Setter 1/2RT佣金计算方式,1、各取各,取严; 默认为 取严
func (*TaobaoAlitripItFareAddrtAPIRequest) SetRtType ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetRtType(_rtType string) error
SetRtType is RtType Setter (后期字段,预留),1/2RT类型,当需要多填入多个时,请以","分隔 1、可填写 、旅行有效期、排除旅行有效期、班期 ;表明1/2RT 混舱计算时,取严还是各取各 2、默认值是 全部各取各
func (*TaobaoAlitripItFareAddrtAPIRequest) SetRuleId ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetRuleId(_ruleId string) error
SetRuleId is RuleId Setter 运价规则id,最大长度4
func (*TaobaoAlitripItFareAddrtAPIRequest) SetSaleAirline ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetSaleAirline(_saleAirline string) error
SetSaleAirline is SaleAirline Setter 销售航司,不同航段之间用 “,”隔开。 1、销售航司二字码; 2、如为直达;请录入一个航司二字码;如为中转,录入格式为 第一程航司,第二程航司;或者航司;若全程都一样,则录入一个航司二字代码即可 3、如果不录入,则航司默认为出票航司;
func (*TaobaoAlitripItFareAddrtAPIRequest) SetSaleDate ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetSaleDate(_saleDate string) error
SetSaleDate is SaleDate Setter 销售日期,1、不得为空 2.输入格式为:2014-04-01~2014-06-30 3.不支持多段组合, 4.3日期格式为 YYYY-MM-DD或YYYY/MM/DD,例:2014-04-01或20104/04/01
func (*TaobaoAlitripItFareAddrtAPIRequest) SetStockMode ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetStockMode(_stockMode string) error
SetStockMode is StockMode Setter (后期字段,预留),库存模式,1.不可为空 2.填写为见舱或定额;默认为见舱
func (*TaobaoAlitripItFareAddrtAPIRequest) SetTariff ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetTariff(_tariff string) error
SetTariff is Tariff Setter 运价tariff,最大长度3
func (*TaobaoAlitripItFareAddrtAPIRequest) SetTicketPrice ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetTicketPrice(_ticketPrice int64) error
SetTicketPrice is TicketPrice Setter 销售票面价,1.不得为空 2.价格区间为【0-999999】 3、销售票面价为10的整数倍(向下取整,如录入3002,则实际录入数值为3000)
func (*TaobaoAlitripItFareAddrtAPIRequest) SetTicketingAirline ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetTicketingAirline(_ticketingAirline string) error
SetTicketingAirline is TicketingAirline Setter 出票航司,1.不可为空 2.航空公司二字码 3.只能输入一个
func (*TaobaoAlitripItFareAddrtAPIRequest) SetTransitLand ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetTransitLand(_transitLand string) error
SetTransitLand is TransitLand Setter 中转地,多个用“,”隔开 1.不得为空 2.可以填写:机场三字码,城市码 3.最多允许100个机场三字码/城市码 4、当航程类型书写为 中转时,此处为必填
func (*TaobaoAlitripItFareAddrtAPIRequest) SetTripDatePoint4Dep ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetTripDatePoint4Dep(_tripDatePoint4Dep string) error
SetTripDatePoint4Dep is TripDatePoint4Dep Setter 去程旅行日期作用点,始发航段/第一国际段/主航段/全部;默认空为 第一国际段
func (*TaobaoAlitripItFareAddrtAPIRequest) SetTripDatePoint4Ret ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetTripDatePoint4Ret(_tripDatePoint4Ret string) error
SetTripDatePoint4Ret is TripDatePoint4Ret Setter 回程旅行日期作用点,始发航段/第一国际段/主航段/全部;默认空为 第一国际段
func (*TaobaoAlitripItFareAddrtAPIRequest) SetTripExcludeDatePoint4Dep ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetTripExcludeDatePoint4Dep(_tripExcludeDatePoint4Dep string) error
SetTripExcludeDatePoint4Dep is TripExcludeDatePoint4Dep Setter 去程旅行排除日期作用点,始发航段/第一国际段/主航段/全部;默认空为 第一国际段
func (*TaobaoAlitripItFareAddrtAPIRequest) SetTripExcludeDatePoint4Ret ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetTripExcludeDatePoint4Ret(_tripExcludeDatePoint4Ret string) error
SetTripExcludeDatePoint4Ret is TripExcludeDatePoint4Ret Setter 回程旅行排除日期作用点,始发航段/第一国际段/主航段/全部;默认空为 第一国际段
func (*TaobaoAlitripItFareAddrtAPIRequest) SetTripType ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetTripType(_tripType string) error
SetTripType is TripType Setter 航程种类,1、默认为直达;有直达和中转两个选项;2、不填写 默认为 直达
func (*TaobaoAlitripItFareAddrtAPIRequest) SetValidDate4Dep ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetValidDate4Dep(_validDate4Dep string) error
SetValidDate4Dep is ValidDate4Dep Setter 去程旅行有效期,支持多段组合,用“,”隔开, 1.不得为空 2例:2014-04-01~2014-06-30,2014-09-01 ~2014-09-30, 3日期格式为 YYYY-MM-DD或YYYY/MM/DD,例:2014-04-01或2014/04/01
func (*TaobaoAlitripItFareAddrtAPIRequest) SetValidDate4Ret ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetValidDate4Ret(_validDate4Ret string) error
SetValidDate4Ret is ValidDate4Ret Setter 回程旅行有效期,支持多段组合,用“,”隔开, 1.不得为空 2例:2014-04-01~2014-6-30,2014-09-01 ~2014-09-30, 3日期格式为 YYYY-MM-DD或YYYY/MM/DD,例:2014-04-01或2014/04/01
func (*TaobaoAlitripItFareAddrtAPIRequest) SetVipCode ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetVipCode(_vipCode string) error
SetVipCode is VipCode Setter 大客户编码,文本框
func (*TaobaoAlitripItFareAddrtAPIRequest) SetWorkingHours ¶ added in v1.2.0
func (r *TaobaoAlitripItFareAddrtAPIRequest) SetWorkingHours(_workingHours string) error
SetWorkingHours is WorkingHours Setter 工作时间,18:00FRI表示周一到周五的每天早上9点到下午6点 最多录入三个时间段用,隔开表示或的关系 可以为空,表示不限制(运价上的工作时间优先级高于设置时间界面上的时间)
type TaobaoAlitripItFareAddrtAPIResponse ¶
type TaobaoAlitripItFareAddrtAPIResponse struct { model.CommonResponse TaobaoAlitripItFareAddrtAPIResponseModel }
TaobaoAlitripItFareAddrtAPIResponse 【国际机票自有政策】单条往返添加 API返回值 taobao.alitrip.it.fare.addrt
自有政策往返添加接口
func GetTaobaoAlitripItFareAddrtAPIResponse ¶ added in v1.3.4
func GetTaobaoAlitripItFareAddrtAPIResponse() *TaobaoAlitripItFareAddrtAPIResponse
GetTaobaoAlitripItFareAddrtAPIResponse 从 sync.Pool 获取 TaobaoAlitripItFareAddrtAPIResponse
func (*TaobaoAlitripItFareAddrtAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripItFareAddrtAPIResponse) Reset()
Reset 清空结构体
type TaobaoAlitripItFareAddrtAPIResponseModel ¶ added in v1.2.0
type TaobaoAlitripItFareAddrtAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_it_fare_addrt_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // json格式的字符串,扩展属性,预留 ExtendAttributes string `json:"extend_attributes,omitempty" xml:"extend_attributes,omitempty"` // 运价id FareId int64 `json:"fare_id,omitempty" xml:"fare_id,omitempty"` }
TaobaoAlitripItFareAddrtAPIResponseModel is 【国际机票自有政策】单条往返添加 成功返回结果
func (*TaobaoAlitripItFareAddrtAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripItFareAddrtAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoAlitripItFareBatchaddAPIRequest ¶ added in v1.2.0
type TaobaoAlitripItFareBatchaddAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoAlitripItFareBatchaddAPIRequest 【国际机票自有政策】批量添加 API请求 taobao.alitrip.it.fare.batchadd
支持自有政策和销售规则批量添加,支持携程的数据格式。淘宝格式为list [object] to json string,object的属性和单条接口一致。每个接入方最多同时只能有1个处理中的导入任务,超过后直接返回失败。文件一定要zip压缩,压缩后大小不超过5M,编码格式utf-8
func GetTaobaoAlitripItFareBatchaddAPIRequest ¶ added in v1.3.4
func GetTaobaoAlitripItFareBatchaddAPIRequest() *TaobaoAlitripItFareBatchaddAPIRequest
GetTaobaoAlitripItFareBatchaddRequest 从 sync.Pool 获取 TaobaoAlitripItFareBatchaddAPIRequest
func NewTaobaoAlitripItFareBatchaddRequest ¶
func NewTaobaoAlitripItFareBatchaddRequest() *TaobaoAlitripItFareBatchaddAPIRequest
NewTaobaoAlitripItFareBatchaddRequest 初始化TaobaoAlitripItFareBatchaddAPIRequest对象
func (TaobaoAlitripItFareBatchaddAPIRequest) GetAddType ¶ added in v1.2.0
func (r TaobaoAlitripItFareBatchaddAPIRequest) GetAddType() int64
GetAddType AddType Getter
func (TaobaoAlitripItFareBatchaddAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoAlitripItFareBatchaddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoAlitripItFareBatchaddAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoAlitripItFareBatchaddAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoAlitripItFareBatchaddAPIRequest) GetBytes ¶ added in v1.2.0
func (r TaobaoAlitripItFareBatchaddAPIRequest) GetBytes() *model.File
GetBytes Bytes Getter
func (TaobaoAlitripItFareBatchaddAPIRequest) GetDataType ¶ added in v1.2.0
func (r TaobaoAlitripItFareBatchaddAPIRequest) GetDataType() int64
GetDataType DataType Getter
func (TaobaoAlitripItFareBatchaddAPIRequest) GetExtendAttributes ¶ added in v1.2.0
func (r TaobaoAlitripItFareBatchaddAPIRequest) GetExtendAttributes() string
GetExtendAttributes ExtendAttributes Getter
func (TaobaoAlitripItFareBatchaddAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoAlitripItFareBatchaddAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoAlitripItFareBatchaddAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoAlitripItFareBatchaddAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoAlitripItFareBatchaddAPIRequest) SetAddType ¶ added in v1.2.0
func (r *TaobaoAlitripItFareBatchaddAPIRequest) SetAddType(_addType int64) error
SetAddType is AddType Setter 新增类型,1 自有政策单程 2 自有政策往返 3 销售规则
func (*TaobaoAlitripItFareBatchaddAPIRequest) SetBytes ¶ added in v1.2.0
func (r *TaobaoAlitripItFareBatchaddAPIRequest) SetBytes(_bytes *model.File) error
SetBytes is Bytes Setter 文本zip压缩后的数据字节流
func (*TaobaoAlitripItFareBatchaddAPIRequest) SetDataType ¶ added in v1.2.0
func (r *TaobaoAlitripItFareBatchaddAPIRequest) SetDataType(_dataType int64) error
SetDataType is DataType Setter 数据格式类型,1 淘宝 2 携程
func (*TaobaoAlitripItFareBatchaddAPIRequest) SetExtendAttributes ¶ added in v1.2.0
func (r *TaobaoAlitripItFareBatchaddAPIRequest) SetExtendAttributes(_extendAttributes string) error
SetExtendAttributes is ExtendAttributes Setter json格式的字符串,扩展属性,预留
type TaobaoAlitripItFareBatchaddAPIResponse ¶
type TaobaoAlitripItFareBatchaddAPIResponse struct { model.CommonResponse TaobaoAlitripItFareBatchaddAPIResponseModel }
TaobaoAlitripItFareBatchaddAPIResponse 【国际机票自有政策】批量添加 API返回值 taobao.alitrip.it.fare.batchadd
支持自有政策和销售规则批量添加,支持携程的数据格式。淘宝格式为list [object] to json string,object的属性和单条接口一致。每个接入方最多同时只能有1个处理中的导入任务,超过后直接返回失败。文件一定要zip压缩,压缩后大小不超过5M,编码格式utf-8
func GetTaobaoAlitripItFareBatchaddAPIResponse ¶ added in v1.3.4
func GetTaobaoAlitripItFareBatchaddAPIResponse() *TaobaoAlitripItFareBatchaddAPIResponse
GetTaobaoAlitripItFareBatchaddAPIResponse 从 sync.Pool 获取 TaobaoAlitripItFareBatchaddAPIResponse
func (*TaobaoAlitripItFareBatchaddAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripItFareBatchaddAPIResponse) Reset()
Reset 清空结构体
type TaobaoAlitripItFareBatchaddAPIResponseModel ¶ added in v1.2.0
type TaobaoAlitripItFareBatchaddAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_it_fare_batchadd_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // json格式的字符串,扩展属性,预留 ExtendAttributes string `json:"extend_attributes,omitempty" xml:"extend_attributes,omitempty"` // 任务id,可以根据任务id调用querytask查询执行结果 TeskId int64 `json:"tesk_id,omitempty" xml:"tesk_id,omitempty"` }
TaobaoAlitripItFareBatchaddAPIResponseModel is 【国际机票自有政策】批量添加 成功返回结果
func (*TaobaoAlitripItFareBatchaddAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripItFareBatchaddAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoAlitripItFareBatchdeleteAPIRequest ¶ added in v1.2.0
type TaobaoAlitripItFareBatchdeleteAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoAlitripItFareBatchdeleteAPIRequest 【国际机票自有政策】批量删除 API请求 taobao.alitrip.it.fare.batchdelete
批量删除自有政策,单次删除最大5万,大于5万时候提示失败,需要缩小删除条件。此接口同步返回任务id,异步执行操作。每个接入方最多同时只能有10个处理中的任务,超过后直接返回失败。
func GetTaobaoAlitripItFareBatchdeleteAPIRequest ¶ added in v1.3.4
func GetTaobaoAlitripItFareBatchdeleteAPIRequest() *TaobaoAlitripItFareBatchdeleteAPIRequest
GetTaobaoAlitripItFareBatchdeleteRequest 从 sync.Pool 获取 TaobaoAlitripItFareBatchdeleteAPIRequest
func NewTaobaoAlitripItFareBatchdeleteRequest ¶
func NewTaobaoAlitripItFareBatchdeleteRequest() *TaobaoAlitripItFareBatchdeleteAPIRequest
NewTaobaoAlitripItFareBatchdeleteRequest 初始化TaobaoAlitripItFareBatchdeleteAPIRequest对象
func (TaobaoAlitripItFareBatchdeleteAPIRequest) GetAirline ¶ added in v1.2.0
func (r TaobaoAlitripItFareBatchdeleteAPIRequest) GetAirline() string
GetAirline Airline Getter
func (TaobaoAlitripItFareBatchdeleteAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoAlitripItFareBatchdeleteAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoAlitripItFareBatchdeleteAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoAlitripItFareBatchdeleteAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoAlitripItFareBatchdeleteAPIRequest) GetArrCity ¶ added in v1.2.0
func (r TaobaoAlitripItFareBatchdeleteAPIRequest) GetArrCity() string
GetArrCity ArrCity Getter
func (TaobaoAlitripItFareBatchdeleteAPIRequest) GetCabin ¶ added in v1.2.0
func (r TaobaoAlitripItFareBatchdeleteAPIRequest) GetCabin() string
GetCabin Cabin Getter
func (TaobaoAlitripItFareBatchdeleteAPIRequest) GetCanRt ¶ added in v1.2.0
func (r TaobaoAlitripItFareBatchdeleteAPIRequest) GetCanRt() bool
GetCanRt CanRt Getter
func (TaobaoAlitripItFareBatchdeleteAPIRequest) GetDepCity ¶ added in v1.2.0
func (r TaobaoAlitripItFareBatchdeleteAPIRequest) GetDepCity() string
GetDepCity DepCity Getter
func (TaobaoAlitripItFareBatchdeleteAPIRequest) GetEndModifyDate ¶ added in v1.2.0
func (r TaobaoAlitripItFareBatchdeleteAPIRequest) GetEndModifyDate() string
GetEndModifyDate EndModifyDate Getter
func (TaobaoAlitripItFareBatchdeleteAPIRequest) GetEndRestrictGoDate ¶ added in v1.2.0
func (r TaobaoAlitripItFareBatchdeleteAPIRequest) GetEndRestrictGoDate() string
GetEndRestrictGoDate EndRestrictGoDate Getter
func (TaobaoAlitripItFareBatchdeleteAPIRequest) GetExtendAttributes ¶ added in v1.2.0
func (r TaobaoAlitripItFareBatchdeleteAPIRequest) GetExtendAttributes() string
GetExtendAttributes ExtendAttributes Getter
func (TaobaoAlitripItFareBatchdeleteAPIRequest) GetFareType ¶ added in v1.2.0
func (r TaobaoAlitripItFareBatchdeleteAPIRequest) GetFareType() int64
GetFareType FareType Getter
func (TaobaoAlitripItFareBatchdeleteAPIRequest) GetFileCode ¶ added in v1.2.0
func (r TaobaoAlitripItFareBatchdeleteAPIRequest) GetFileCode() string
GetFileCode FileCode Getter
func (TaobaoAlitripItFareBatchdeleteAPIRequest) GetOperateSource ¶ added in v1.2.0
func (r TaobaoAlitripItFareBatchdeleteAPIRequest) GetOperateSource() string
GetOperateSource OperateSource Getter
func (TaobaoAlitripItFareBatchdeleteAPIRequest) GetOutId ¶ added in v1.2.0
func (r TaobaoAlitripItFareBatchdeleteAPIRequest) GetOutId() string
GetOutId OutId Getter
func (TaobaoAlitripItFareBatchdeleteAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoAlitripItFareBatchdeleteAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoAlitripItFareBatchdeleteAPIRequest) GetStartModifyDate ¶ added in v1.2.0
func (r TaobaoAlitripItFareBatchdeleteAPIRequest) GetStartModifyDate() string
GetStartModifyDate StartModifyDate Getter
func (TaobaoAlitripItFareBatchdeleteAPIRequest) GetStartRestrictGoDate ¶ added in v1.2.0
func (r TaobaoAlitripItFareBatchdeleteAPIRequest) GetStartRestrictGoDate() string
GetStartRestrictGoDate StartRestrictGoDate Getter
func (TaobaoAlitripItFareBatchdeleteAPIRequest) GetStatusList ¶ added in v1.2.0
func (r TaobaoAlitripItFareBatchdeleteAPIRequest) GetStatusList() []string
GetStatusList StatusList Getter
func (*TaobaoAlitripItFareBatchdeleteAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoAlitripItFareBatchdeleteAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoAlitripItFareBatchdeleteAPIRequest) SetAirline ¶ added in v1.2.0
func (r *TaobaoAlitripItFareBatchdeleteAPIRequest) SetAirline(_airline string) error
SetAirline is Airline Setter 航空公司
func (*TaobaoAlitripItFareBatchdeleteAPIRequest) SetArrCity ¶ added in v1.2.0
func (r *TaobaoAlitripItFareBatchdeleteAPIRequest) SetArrCity(_arrCity string) error
SetArrCity is ArrCity Setter 到达城市 可传多个 AND关系
func (*TaobaoAlitripItFareBatchdeleteAPIRequest) SetCabin ¶ added in v1.2.0
func (r *TaobaoAlitripItFareBatchdeleteAPIRequest) SetCabin(_cabin string) error
SetCabin is Cabin Setter 舱位 可传多个 或者的关系
func (*TaobaoAlitripItFareBatchdeleteAPIRequest) SetCanRt ¶ added in v1.2.0
func (r *TaobaoAlitripItFareBatchdeleteAPIRequest) SetCanRt(_canRt bool) error
SetCanRt is CanRt Setter 是否能够混舱
func (*TaobaoAlitripItFareBatchdeleteAPIRequest) SetDepCity ¶ added in v1.2.0
func (r *TaobaoAlitripItFareBatchdeleteAPIRequest) SetDepCity(_depCity string) error
SetDepCity is DepCity Setter 到达城市 可传多个 AND关系
func (*TaobaoAlitripItFareBatchdeleteAPIRequest) SetEndModifyDate ¶ added in v1.2.0
func (r *TaobaoAlitripItFareBatchdeleteAPIRequest) SetEndModifyDate(_endModifyDate string) error
SetEndModifyDate is EndModifyDate Setter 最晚修改时间
func (*TaobaoAlitripItFareBatchdeleteAPIRequest) SetEndRestrictGoDate ¶ added in v1.2.0
func (r *TaobaoAlitripItFareBatchdeleteAPIRequest) SetEndRestrictGoDate(_endRestrictGoDate string) error
SetEndRestrictGoDate is EndRestrictGoDate Setter 去程适用结束日期
func (*TaobaoAlitripItFareBatchdeleteAPIRequest) SetExtendAttributes ¶ added in v1.2.0
func (r *TaobaoAlitripItFareBatchdeleteAPIRequest) SetExtendAttributes(_extendAttributes string) error
SetExtendAttributes is ExtendAttributes Setter json格式的字符串,扩展属性,预留
func (*TaobaoAlitripItFareBatchdeleteAPIRequest) SetFareType ¶ added in v1.2.0
func (r *TaobaoAlitripItFareBatchdeleteAPIRequest) SetFareType(_fareType int64) error
SetFareType is FareType Setter 运价类型,1单程 2往返
func (*TaobaoAlitripItFareBatchdeleteAPIRequest) SetFileCode ¶ added in v1.2.0
func (r *TaobaoAlitripItFareBatchdeleteAPIRequest) SetFileCode(_fileCode string) error
SetFileCode is FileCode Setter 文件编号
func (*TaobaoAlitripItFareBatchdeleteAPIRequest) SetOperateSource ¶ added in v1.2.0
func (r *TaobaoAlitripItFareBatchdeleteAPIRequest) SetOperateSource(_operateSource string) error
SetOperateSource is OperateSource Setter 维护方式,可选值(UI:后台界面录入;EXCEL:后台excel批量导入;API:top接口添加)
func (*TaobaoAlitripItFareBatchdeleteAPIRequest) SetOutId ¶ added in v1.2.0
func (r *TaobaoAlitripItFareBatchdeleteAPIRequest) SetOutId(_outId string) error
SetOutId is OutId Setter 外部政策id
func (*TaobaoAlitripItFareBatchdeleteAPIRequest) SetStartModifyDate ¶ added in v1.2.0
func (r *TaobaoAlitripItFareBatchdeleteAPIRequest) SetStartModifyDate(_startModifyDate string) error
SetStartModifyDate is StartModifyDate Setter 最早修改时间
func (*TaobaoAlitripItFareBatchdeleteAPIRequest) SetStartRestrictGoDate ¶ added in v1.2.0
func (r *TaobaoAlitripItFareBatchdeleteAPIRequest) SetStartRestrictGoDate(_startRestrictGoDate string) error
SetStartRestrictGoDate is StartRestrictGoDate Setter 去程适用开始日期
func (*TaobaoAlitripItFareBatchdeleteAPIRequest) SetStatusList ¶ added in v1.2.0
func (r *TaobaoAlitripItFareBatchdeleteAPIRequest) SetStatusList(_statusList []string) error
SetStatusList is StatusList Setter 0:未发布 1:已发布 2:已过期。不传的话,默认只能删除未发布和已过期的数据
type TaobaoAlitripItFareBatchdeleteAPIResponse ¶
type TaobaoAlitripItFareBatchdeleteAPIResponse struct { model.CommonResponse TaobaoAlitripItFareBatchdeleteAPIResponseModel }
TaobaoAlitripItFareBatchdeleteAPIResponse 【国际机票自有政策】批量删除 API返回值 taobao.alitrip.it.fare.batchdelete
批量删除自有政策,单次删除最大5万,大于5万时候提示失败,需要缩小删除条件。此接口同步返回任务id,异步执行操作。每个接入方最多同时只能有10个处理中的任务,超过后直接返回失败。
func GetTaobaoAlitripItFareBatchdeleteAPIResponse ¶ added in v1.3.4
func GetTaobaoAlitripItFareBatchdeleteAPIResponse() *TaobaoAlitripItFareBatchdeleteAPIResponse
GetTaobaoAlitripItFareBatchdeleteAPIResponse 从 sync.Pool 获取 TaobaoAlitripItFareBatchdeleteAPIResponse
func (*TaobaoAlitripItFareBatchdeleteAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripItFareBatchdeleteAPIResponse) Reset()
Reset 清空结构体
type TaobaoAlitripItFareBatchdeleteAPIResponseModel ¶ added in v1.2.0
type TaobaoAlitripItFareBatchdeleteAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_it_fare_batchdelete_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // json格式的字符串,扩展属性,预留 ExtendAttributes string `json:"extend_attributes,omitempty" xml:"extend_attributes,omitempty"` // 任务id,可以根据任务id调用querytask查询执行结果 TaskId int64 `json:"task_id,omitempty" xml:"task_id,omitempty"` }
TaobaoAlitripItFareBatchdeleteAPIResponseModel is 【国际机票自有政策】批量删除 成功返回结果
func (*TaobaoAlitripItFareBatchdeleteAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripItFareBatchdeleteAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoAlitripItFareDeleteAPIRequest ¶ added in v1.2.0
type TaobaoAlitripItFareDeleteAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoAlitripItFareDeleteAPIRequest 【国际机票自有政策】单条删除 API请求 taobao.alitrip.it.fare.delete
自有政策删除接口,可以根据fareId或outId删除,根据outId删除时,如果outId不唯一,返回失败
func GetTaobaoAlitripItFareDeleteAPIRequest ¶ added in v1.3.4
func GetTaobaoAlitripItFareDeleteAPIRequest() *TaobaoAlitripItFareDeleteAPIRequest
GetTaobaoAlitripItFareDeleteRequest 从 sync.Pool 获取 TaobaoAlitripItFareDeleteAPIRequest
func NewTaobaoAlitripItFareDeleteRequest ¶
func NewTaobaoAlitripItFareDeleteRequest() *TaobaoAlitripItFareDeleteAPIRequest
NewTaobaoAlitripItFareDeleteRequest 初始化TaobaoAlitripItFareDeleteAPIRequest对象
func (TaobaoAlitripItFareDeleteAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoAlitripItFareDeleteAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoAlitripItFareDeleteAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoAlitripItFareDeleteAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoAlitripItFareDeleteAPIRequest) GetExtendAttributes ¶ added in v1.2.0
func (r TaobaoAlitripItFareDeleteAPIRequest) GetExtendAttributes() string
GetExtendAttributes ExtendAttributes Getter
func (TaobaoAlitripItFareDeleteAPIRequest) GetFareId ¶ added in v1.2.0
func (r TaobaoAlitripItFareDeleteAPIRequest) GetFareId() int64
GetFareId FareId Getter
func (TaobaoAlitripItFareDeleteAPIRequest) GetOutId ¶ added in v1.2.0
func (r TaobaoAlitripItFareDeleteAPIRequest) GetOutId() string
GetOutId OutId Getter
func (TaobaoAlitripItFareDeleteAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoAlitripItFareDeleteAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoAlitripItFareDeleteAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoAlitripItFareDeleteAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoAlitripItFareDeleteAPIRequest) SetExtendAttributes ¶ added in v1.2.0
func (r *TaobaoAlitripItFareDeleteAPIRequest) SetExtendAttributes(_extendAttributes string) error
SetExtendAttributes is ExtendAttributes Setter json格式的字符串,扩展属性,预留
func (*TaobaoAlitripItFareDeleteAPIRequest) SetFareId ¶ added in v1.2.0
func (r *TaobaoAlitripItFareDeleteAPIRequest) SetFareId(_fareId int64) error
SetFareId is FareId Setter 运价id,单条新增成功时返回运价id,fareId和outId必填一个,fareId优先
func (*TaobaoAlitripItFareDeleteAPIRequest) SetOutId ¶ added in v1.2.0
func (r *TaobaoAlitripItFareDeleteAPIRequest) SetOutId(_outId string) error
SetOutId is OutId Setter 外部id,为新增时请求参数中的外部政策id
type TaobaoAlitripItFareDeleteAPIResponse ¶
type TaobaoAlitripItFareDeleteAPIResponse struct { model.CommonResponse TaobaoAlitripItFareDeleteAPIResponseModel }
TaobaoAlitripItFareDeleteAPIResponse 【国际机票自有政策】单条删除 API返回值 taobao.alitrip.it.fare.delete
自有政策删除接口,可以根据fareId或outId删除,根据outId删除时,如果outId不唯一,返回失败
func GetTaobaoAlitripItFareDeleteAPIResponse ¶ added in v1.3.4
func GetTaobaoAlitripItFareDeleteAPIResponse() *TaobaoAlitripItFareDeleteAPIResponse
GetTaobaoAlitripItFareDeleteAPIResponse 从 sync.Pool 获取 TaobaoAlitripItFareDeleteAPIResponse
func (*TaobaoAlitripItFareDeleteAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripItFareDeleteAPIResponse) Reset()
Reset 清空结构体
type TaobaoAlitripItFareDeleteAPIResponseModel ¶ added in v1.2.0
type TaobaoAlitripItFareDeleteAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_it_fare_delete_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // json格式的字符串,扩展属性,预留 ExtendAttributes string `json:"extend_attributes,omitempty" xml:"extend_attributes,omitempty"` }
TaobaoAlitripItFareDeleteAPIResponseModel is 【国际机票自有政策】单条删除 成功返回结果
func (*TaobaoAlitripItFareDeleteAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripItFareDeleteAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoAlitripItFareGetAPIRequest ¶ added in v1.2.0
type TaobaoAlitripItFareGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoAlitripItFareGetAPIRequest 【国际机票自有政策】单条查询 API请求 taobao.alitrip.it.fare.get
通过此接口可以查询单条政策的详情,可以根据fareId或outId查询,用户outId查询时,如果outId不唯一,只返回最新添加的一条数据
func GetTaobaoAlitripItFareGetAPIRequest ¶ added in v1.3.4
func GetTaobaoAlitripItFareGetAPIRequest() *TaobaoAlitripItFareGetAPIRequest
GetTaobaoAlitripItFareGetRequest 从 sync.Pool 获取 TaobaoAlitripItFareGetAPIRequest
func NewTaobaoAlitripItFareGetRequest ¶
func NewTaobaoAlitripItFareGetRequest() *TaobaoAlitripItFareGetAPIRequest
NewTaobaoAlitripItFareGetRequest 初始化TaobaoAlitripItFareGetAPIRequest对象
func (TaobaoAlitripItFareGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoAlitripItFareGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoAlitripItFareGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoAlitripItFareGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoAlitripItFareGetAPIRequest) GetExtendAttributes ¶ added in v1.2.0
func (r TaobaoAlitripItFareGetAPIRequest) GetExtendAttributes() string
GetExtendAttributes ExtendAttributes Getter
func (TaobaoAlitripItFareGetAPIRequest) GetFareId ¶ added in v1.2.0
func (r TaobaoAlitripItFareGetAPIRequest) GetFareId() int64
GetFareId FareId Getter
func (TaobaoAlitripItFareGetAPIRequest) GetOutId ¶ added in v1.2.0
func (r TaobaoAlitripItFareGetAPIRequest) GetOutId() string
GetOutId OutId Getter
func (TaobaoAlitripItFareGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoAlitripItFareGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoAlitripItFareGetAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoAlitripItFareGetAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoAlitripItFareGetAPIRequest) SetExtendAttributes ¶ added in v1.2.0
func (r *TaobaoAlitripItFareGetAPIRequest) SetExtendAttributes(_extendAttributes string) error
SetExtendAttributes is ExtendAttributes Setter json格式的字符串,扩展属性,预留
func (*TaobaoAlitripItFareGetAPIRequest) SetFareId ¶ added in v1.2.0
func (r *TaobaoAlitripItFareGetAPIRequest) SetFareId(_fareId int64) error
SetFareId is FareId Setter 运价id,单条新增成功时返回运价id,fareId和outId必填一个,fareId优先
func (*TaobaoAlitripItFareGetAPIRequest) SetOutId ¶ added in v1.2.0
func (r *TaobaoAlitripItFareGetAPIRequest) SetOutId(_outId string) error
SetOutId is OutId Setter 外部id,为新增时请求参数中的外部政策id
type TaobaoAlitripItFareGetAPIResponse ¶
type TaobaoAlitripItFareGetAPIResponse struct { model.CommonResponse TaobaoAlitripItFareGetAPIResponseModel }
TaobaoAlitripItFareGetAPIResponse 【国际机票自有政策】单条查询 API返回值 taobao.alitrip.it.fare.get
通过此接口可以查询单条政策的详情,可以根据fareId或outId查询,用户outId查询时,如果outId不唯一,只返回最新添加的一条数据
func GetTaobaoAlitripItFareGetAPIResponse ¶ added in v1.3.4
func GetTaobaoAlitripItFareGetAPIResponse() *TaobaoAlitripItFareGetAPIResponse
GetTaobaoAlitripItFareGetAPIResponse 从 sync.Pool 获取 TaobaoAlitripItFareGetAPIResponse
func (*TaobaoAlitripItFareGetAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripItFareGetAPIResponse) Reset()
Reset 清空结构体
type TaobaoAlitripItFareGetAPIResponseModel ¶ added in v1.2.0
type TaobaoAlitripItFareGetAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_it_fare_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // json格式的字符串,扩展属性,预留 ExtendAttributes string `json:"extend_attributes,omitempty" xml:"extend_attributes,omitempty"` // 自有政策json序列化后字符串,具体属性和addow或addrt接口的请求参数一致,如:{"ticketingAirline":"CA","saleAirline":"CA","addressOption":"城市","tripType":"直达","originLand":"SHA,BJS","destination":"HKG,SHA","cabin":"N","restrictFlightNo":"","excludeFlightNo":"","validDate4Dep":"2015-05-30~2015-11-30","flightDateRestrict4Dep":"12","saleDate":"2015-05-30~2015-11-30","adultPassengerIdentity":"普通","ticketPrice":2000,"childPrice":"1980","returnPoint":1.0,"adjustMoney":0,"refundRule":"收取80000元退票费","reissueRule":"收取20%改期费","noshowRule":"起飞前不得退票,不得改期","luggageRule":"逾重行李费用为每公斤100元"} FareJson string `json:"fare_json,omitempty" xml:"fare_json,omitempty"` // 运价id FareId int64 `json:"fare_id,omitempty" xml:"fare_id,omitempty"` // 运价类型,1单程 2往返 FareType int64 `json:"fare_type,omitempty" xml:"fare_type,omitempty"` // 0:未发布 1:已发布 2:已过期 Status int64 `json:"status,omitempty" xml:"status,omitempty"` }
TaobaoAlitripItFareGetAPIResponseModel is 【国际机票自有政策】单条查询 成功返回结果
func (*TaobaoAlitripItFareGetAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripItFareGetAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoAlitripItFareQuerytaskAPIRequest ¶ added in v1.2.0
type TaobaoAlitripItFareQuerytaskAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoAlitripItFareQuerytaskAPIRequest 【国际机票自有政策】批量操作结果查询 API请求 taobao.alitrip.it.fare.querytask
批量操作同步返回任务id,后台生成异步任务,通过此接口查询批量操作的执行结果
func GetTaobaoAlitripItFareQuerytaskAPIRequest ¶ added in v1.3.4
func GetTaobaoAlitripItFareQuerytaskAPIRequest() *TaobaoAlitripItFareQuerytaskAPIRequest
GetTaobaoAlitripItFareQuerytaskRequest 从 sync.Pool 获取 TaobaoAlitripItFareQuerytaskAPIRequest
func NewTaobaoAlitripItFareQuerytaskRequest ¶
func NewTaobaoAlitripItFareQuerytaskRequest() *TaobaoAlitripItFareQuerytaskAPIRequest
NewTaobaoAlitripItFareQuerytaskRequest 初始化TaobaoAlitripItFareQuerytaskAPIRequest对象
func (TaobaoAlitripItFareQuerytaskAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoAlitripItFareQuerytaskAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoAlitripItFareQuerytaskAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoAlitripItFareQuerytaskAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoAlitripItFareQuerytaskAPIRequest) GetExtendAttributes ¶ added in v1.2.0
func (r TaobaoAlitripItFareQuerytaskAPIRequest) GetExtendAttributes() string
GetExtendAttributes ExtendAttributes Getter
func (TaobaoAlitripItFareQuerytaskAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoAlitripItFareQuerytaskAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoAlitripItFareQuerytaskAPIRequest) GetTaskId ¶ added in v1.2.0
func (r TaobaoAlitripItFareQuerytaskAPIRequest) GetTaskId() int64
GetTaskId TaskId Getter
func (*TaobaoAlitripItFareQuerytaskAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoAlitripItFareQuerytaskAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoAlitripItFareQuerytaskAPIRequest) SetExtendAttributes ¶ added in v1.2.0
func (r *TaobaoAlitripItFareQuerytaskAPIRequest) SetExtendAttributes(_extendAttributes string) error
SetExtendAttributes is ExtendAttributes Setter json格式的字符串,扩展属性,预留
func (*TaobaoAlitripItFareQuerytaskAPIRequest) SetTaskId ¶ added in v1.2.0
func (r *TaobaoAlitripItFareQuerytaskAPIRequest) SetTaskId(_taskId int64) error
SetTaskId is TaskId Setter 任务id
type TaobaoAlitripItFareQuerytaskAPIResponse ¶
type TaobaoAlitripItFareQuerytaskAPIResponse struct { model.CommonResponse TaobaoAlitripItFareQuerytaskAPIResponseModel }
TaobaoAlitripItFareQuerytaskAPIResponse 【国际机票自有政策】批量操作结果查询 API返回值 taobao.alitrip.it.fare.querytask
批量操作同步返回任务id,后台生成异步任务,通过此接口查询批量操作的执行结果
func GetTaobaoAlitripItFareQuerytaskAPIResponse ¶ added in v1.3.4
func GetTaobaoAlitripItFareQuerytaskAPIResponse() *TaobaoAlitripItFareQuerytaskAPIResponse
GetTaobaoAlitripItFareQuerytaskAPIResponse 从 sync.Pool 获取 TaobaoAlitripItFareQuerytaskAPIResponse
func (*TaobaoAlitripItFareQuerytaskAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripItFareQuerytaskAPIResponse) Reset()
Reset 清空结构体
type TaobaoAlitripItFareQuerytaskAPIResponseModel ¶ added in v1.2.0
type TaobaoAlitripItFareQuerytaskAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_it_fare_querytask_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 任务执行失败,会返回一条失败信息。如果是导入任务,会返回每条导入失败的政策说明,最多只返回200条失败信息。 Errors []ErrorFareRow `json:"errors,omitempty" xml:"errors>error_fare_row,omitempty"` // json格式的字符串,扩展属性,预留 ExtendAttributes string `json:"extend_attributes,omitempty" xml:"extend_attributes,omitempty"` // 完成时间 GmtFinished string `json:"gmt_finished,omitempty" xml:"gmt_finished,omitempty"` // 成功处理条数 ProcessAmount int64 `json:"process_amount,omitempty" xml:"process_amount,omitempty"` // 任务状态,1 处理中,2 处理失败,3 处理完毕 Status int64 `json:"status,omitempty" xml:"status,omitempty"` }
TaobaoAlitripItFareQuerytaskAPIResponseModel is 【国际机票自有政策】批量操作结果查询 成功返回结果
func (*TaobaoAlitripItFareQuerytaskAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripItFareQuerytaskAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoAlitripItFareUpdateAPIRequest ¶ added in v1.2.0
type TaobaoAlitripItFareUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoAlitripItFareUpdateAPIRequest 【国际机票自有政策】单条修改 API请求 taobao.alitrip.it.fare.update
自有政策修改接口,可以根据fareId或outId修改,outId不唯一时,不能用outId修改。当外部政策id、出发城市、到达城市、出票航司任一有变化,或往返时是否允许混舱、文件编号、可混文件编号任一有变化,将删除老数据,产生一条新政策。
func GetTaobaoAlitripItFareUpdateAPIRequest ¶ added in v1.3.4
func GetTaobaoAlitripItFareUpdateAPIRequest() *TaobaoAlitripItFareUpdateAPIRequest
GetTaobaoAlitripItFareUpdateRequest 从 sync.Pool 获取 TaobaoAlitripItFareUpdateAPIRequest
func NewTaobaoAlitripItFareUpdateRequest ¶
func NewTaobaoAlitripItFareUpdateRequest() *TaobaoAlitripItFareUpdateAPIRequest
NewTaobaoAlitripItFareUpdateRequest 初始化TaobaoAlitripItFareUpdateAPIRequest对象
func (TaobaoAlitripItFareUpdateAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoAlitripItFareUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoAlitripItFareUpdateAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoAlitripItFareUpdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoAlitripItFareUpdateAPIRequest) GetExtendAttributes ¶ added in v1.2.0
func (r TaobaoAlitripItFareUpdateAPIRequest) GetExtendAttributes() string
GetExtendAttributes ExtendAttributes Getter
func (TaobaoAlitripItFareUpdateAPIRequest) GetFareId ¶ added in v1.2.0
func (r TaobaoAlitripItFareUpdateAPIRequest) GetFareId() int64
GetFareId FareId Getter
func (TaobaoAlitripItFareUpdateAPIRequest) GetFareJson ¶ added in v1.2.0
func (r TaobaoAlitripItFareUpdateAPIRequest) GetFareJson() string
GetFareJson FareJson Getter
func (TaobaoAlitripItFareUpdateAPIRequest) GetFareType ¶ added in v1.2.0
func (r TaobaoAlitripItFareUpdateAPIRequest) GetFareType() int64
GetFareType FareType Getter
func (TaobaoAlitripItFareUpdateAPIRequest) GetOutId ¶ added in v1.2.0
func (r TaobaoAlitripItFareUpdateAPIRequest) GetOutId() string
GetOutId OutId Getter
func (TaobaoAlitripItFareUpdateAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoAlitripItFareUpdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoAlitripItFareUpdateAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoAlitripItFareUpdateAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoAlitripItFareUpdateAPIRequest) SetExtendAttributes ¶ added in v1.2.0
func (r *TaobaoAlitripItFareUpdateAPIRequest) SetExtendAttributes(_extendAttributes string) error
SetExtendAttributes is ExtendAttributes Setter json格式的字符串,扩展属性,预留
func (*TaobaoAlitripItFareUpdateAPIRequest) SetFareId ¶ added in v1.2.0
func (r *TaobaoAlitripItFareUpdateAPIRequest) SetFareId(_fareId int64) error
SetFareId is FareId Setter 运价id,单条新增成功时返回运价id,fareId和outId必填一个,fareId优先
func (*TaobaoAlitripItFareUpdateAPIRequest) SetFareJson ¶ added in v1.2.0
func (r *TaobaoAlitripItFareUpdateAPIRequest) SetFareJson(_fareJson string) error
SetFareJson is FareJson Setter 自有政策json序列化字符串,具体属性视fareType的类型,和addow或addrt接口的请求参数一致,如:{"ticketingAirline":"CA","saleAirline":"CA","addressOption":"城市","tripType":"直达","originLand":"SHA,BJS","destination":"HKG,SHA","cabin":"N","restrictFlightNo":"","excludeFlightNo":"","validDate4Dep":"2015-05-30~2015-11-30","flightDateRestrict4Dep":"12","saleDate":"2015-05-30~2015-11-30","adultPassengerIdentity":"普通","ticketPrice":2000,"childPrice":"1980","returnPoint":1.0,"adjustMoney":0,"refundRule":"收取80000元退票费","reissueRule":"收取20%改期费","noshowRule":"起飞前不得退票,不得改期","luggageRule":"逾重行李费用为每公斤100元"}
func (*TaobaoAlitripItFareUpdateAPIRequest) SetFareType ¶ added in v1.2.0
func (r *TaobaoAlitripItFareUpdateAPIRequest) SetFareType(_fareType int64) error
SetFareType is FareType Setter 运价类型,1单程 2往返
func (*TaobaoAlitripItFareUpdateAPIRequest) SetOutId ¶ added in v1.2.0
func (r *TaobaoAlitripItFareUpdateAPIRequest) SetOutId(_outId string) error
SetOutId is OutId Setter 外部id,为新增时请求参数中的外部政策id
type TaobaoAlitripItFareUpdateAPIResponse ¶
type TaobaoAlitripItFareUpdateAPIResponse struct { model.CommonResponse TaobaoAlitripItFareUpdateAPIResponseModel }
TaobaoAlitripItFareUpdateAPIResponse 【国际机票自有政策】单条修改 API返回值 taobao.alitrip.it.fare.update
自有政策修改接口,可以根据fareId或outId修改,outId不唯一时,不能用outId修改。当外部政策id、出发城市、到达城市、出票航司任一有变化,或往返时是否允许混舱、文件编号、可混文件编号任一有变化,将删除老数据,产生一条新政策。
func GetTaobaoAlitripItFareUpdateAPIResponse ¶ added in v1.3.4
func GetTaobaoAlitripItFareUpdateAPIResponse() *TaobaoAlitripItFareUpdateAPIResponse
GetTaobaoAlitripItFareUpdateAPIResponse 从 sync.Pool 获取 TaobaoAlitripItFareUpdateAPIResponse
func (*TaobaoAlitripItFareUpdateAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripItFareUpdateAPIResponse) Reset()
Reset 清空结构体
type TaobaoAlitripItFareUpdateAPIResponseModel ¶ added in v1.2.0
type TaobaoAlitripItFareUpdateAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_it_fare_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // json格式的字符串,扩展属性,预留 ExtendAttributes string `json:"extend_attributes,omitempty" xml:"extend_attributes,omitempty"` // 运价id,根据更新的内容,此id可能会重新生成 FareId int64 `json:"fare_id,omitempty" xml:"fare_id,omitempty"` }
TaobaoAlitripItFareUpdateAPIResponseModel is 【国际机票自有政策】单条修改 成功返回结果
func (*TaobaoAlitripItFareUpdateAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripItFareUpdateAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoAlitripItPolicyAddAPIRequest ¶ added in v1.2.0
type TaobaoAlitripItPolicyAddAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoAlitripItPolicyAddAPIRequest 【国际机票销售规则】单条新增 API请求 taobao.alitrip.it.policy.add
销售规则新增,成功返回taobaoId
func GetTaobaoAlitripItPolicyAddAPIRequest ¶ added in v1.3.4
func GetTaobaoAlitripItPolicyAddAPIRequest() *TaobaoAlitripItPolicyAddAPIRequest
GetTaobaoAlitripItPolicyAddRequest 从 sync.Pool 获取 TaobaoAlitripItPolicyAddAPIRequest
func NewTaobaoAlitripItPolicyAddRequest ¶
func NewTaobaoAlitripItPolicyAddRequest() *TaobaoAlitripItPolicyAddAPIRequest
NewTaobaoAlitripItPolicyAddRequest 初始化TaobaoAlitripItPolicyAddAPIRequest对象
func (TaobaoAlitripItPolicyAddAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoAlitripItPolicyAddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoAlitripItPolicyAddAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoAlitripItPolicyAddAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoAlitripItPolicyAddAPIRequest) GetExtendAttributes ¶ added in v1.2.0
func (r TaobaoAlitripItPolicyAddAPIRequest) GetExtendAttributes() string
GetExtendAttributes ExtendAttributes Getter
func (TaobaoAlitripItPolicyAddAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoAlitripItPolicyAddAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoAlitripItPolicyAddAPIRequest) GetTopPolicyDo ¶ added in v1.2.0
func (r TaobaoAlitripItPolicyAddAPIRequest) GetTopPolicyDo() *TopPolicyDo
GetTopPolicyDo TopPolicyDo Getter
func (*TaobaoAlitripItPolicyAddAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoAlitripItPolicyAddAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoAlitripItPolicyAddAPIRequest) SetExtendAttributes ¶ added in v1.2.0
func (r *TaobaoAlitripItPolicyAddAPIRequest) SetExtendAttributes(_extendAttributes string) error
SetExtendAttributes is ExtendAttributes Setter 扩展字段
func (*TaobaoAlitripItPolicyAddAPIRequest) SetTopPolicyDo ¶ added in v1.2.0
func (r *TaobaoAlitripItPolicyAddAPIRequest) SetTopPolicyDo(_topPolicyDo *TopPolicyDo) error
SetTopPolicyDo is TopPolicyDo Setter 国际机票销售规则
type TaobaoAlitripItPolicyAddAPIResponse ¶
type TaobaoAlitripItPolicyAddAPIResponse struct { model.CommonResponse TaobaoAlitripItPolicyAddAPIResponseModel }
TaobaoAlitripItPolicyAddAPIResponse 【国际机票销售规则】单条新增 API返回值 taobao.alitrip.it.policy.add
销售规则新增,成功返回taobaoId
func GetTaobaoAlitripItPolicyAddAPIResponse ¶ added in v1.3.4
func GetTaobaoAlitripItPolicyAddAPIResponse() *TaobaoAlitripItPolicyAddAPIResponse
GetTaobaoAlitripItPolicyAddAPIResponse 从 sync.Pool 获取 TaobaoAlitripItPolicyAddAPIResponse
func (*TaobaoAlitripItPolicyAddAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripItPolicyAddAPIResponse) Reset()
Reset 清空结构体
type TaobaoAlitripItPolicyAddAPIResponseModel ¶ added in v1.2.0
type TaobaoAlitripItPolicyAddAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_it_policy_add_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 扩展字段 ExtendAttributes string `json:"extend_attributes,omitempty" xml:"extend_attributes,omitempty"` // 淘宝政策id TaobaoId int64 `json:"taobao_id,omitempty" xml:"taobao_id,omitempty"` }
TaobaoAlitripItPolicyAddAPIResponseModel is 【国际机票销售规则】单条新增 成功返回结果
func (*TaobaoAlitripItPolicyAddAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripItPolicyAddAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoAlitripItPolicyBatchdeleteAPIRequest ¶ added in v1.2.0
type TaobaoAlitripItPolicyBatchdeleteAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoAlitripItPolicyBatchdeleteAPIRequest 【国际机票销售规则】批量删除 API请求 taobao.alitrip.it.policy.batchdelete
批量删除销售规则,单次删除最大5万,大于5万时候提示失败,需要缩小删除条件。此接口同步返回任务id,异步执行操作。每个接入方最多同时只能有10个处理中的任务,超过后直接返回失败。
func GetTaobaoAlitripItPolicyBatchdeleteAPIRequest ¶ added in v1.3.4
func GetTaobaoAlitripItPolicyBatchdeleteAPIRequest() *TaobaoAlitripItPolicyBatchdeleteAPIRequest
GetTaobaoAlitripItPolicyBatchdeleteRequest 从 sync.Pool 获取 TaobaoAlitripItPolicyBatchdeleteAPIRequest
func NewTaobaoAlitripItPolicyBatchdeleteRequest ¶
func NewTaobaoAlitripItPolicyBatchdeleteRequest() *TaobaoAlitripItPolicyBatchdeleteAPIRequest
NewTaobaoAlitripItPolicyBatchdeleteRequest 初始化TaobaoAlitripItPolicyBatchdeleteAPIRequest对象
func (TaobaoAlitripItPolicyBatchdeleteAPIRequest) GetAirline ¶ added in v1.2.0
func (r TaobaoAlitripItPolicyBatchdeleteAPIRequest) GetAirline() string
GetAirline Airline Getter
func (TaobaoAlitripItPolicyBatchdeleteAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoAlitripItPolicyBatchdeleteAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoAlitripItPolicyBatchdeleteAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoAlitripItPolicyBatchdeleteAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoAlitripItPolicyBatchdeleteAPIRequest) GetArrCity ¶ added in v1.2.0
func (r TaobaoAlitripItPolicyBatchdeleteAPIRequest) GetArrCity() string
GetArrCity ArrCity Getter
func (TaobaoAlitripItPolicyBatchdeleteAPIRequest) GetCabin ¶ added in v1.2.0
func (r TaobaoAlitripItPolicyBatchdeleteAPIRequest) GetCabin() string
GetCabin Cabin Getter
func (TaobaoAlitripItPolicyBatchdeleteAPIRequest) GetDepCity ¶ added in v1.2.0
func (r TaobaoAlitripItPolicyBatchdeleteAPIRequest) GetDepCity() string
GetDepCity DepCity Getter
func (TaobaoAlitripItPolicyBatchdeleteAPIRequest) GetPolicyId ¶ added in v1.2.0
func (r TaobaoAlitripItPolicyBatchdeleteAPIRequest) GetPolicyId() string
GetPolicyId PolicyId Getter
func (TaobaoAlitripItPolicyBatchdeleteAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoAlitripItPolicyBatchdeleteAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoAlitripItPolicyBatchdeleteAPIRequest) GetStatusList ¶ added in v1.2.0
func (r TaobaoAlitripItPolicyBatchdeleteAPIRequest) GetStatusList() []string
GetStatusList StatusList Getter
func (*TaobaoAlitripItPolicyBatchdeleteAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoAlitripItPolicyBatchdeleteAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoAlitripItPolicyBatchdeleteAPIRequest) SetAirline ¶ added in v1.2.0
func (r *TaobaoAlitripItPolicyBatchdeleteAPIRequest) SetAirline(_airline string) error
SetAirline is Airline Setter 航司二字码,完整匹配
func (*TaobaoAlitripItPolicyBatchdeleteAPIRequest) SetArrCity ¶ added in v1.2.0
func (r *TaobaoAlitripItPolicyBatchdeleteAPIRequest) SetArrCity(_arrCity string) error
SetArrCity is ArrCity Setter 到达,,完整匹配
func (*TaobaoAlitripItPolicyBatchdeleteAPIRequest) SetCabin ¶ added in v1.2.0
func (r *TaobaoAlitripItPolicyBatchdeleteAPIRequest) SetCabin(_cabin string) error
SetCabin is Cabin Setter 舱位,,完整匹配
func (*TaobaoAlitripItPolicyBatchdeleteAPIRequest) SetDepCity ¶ added in v1.2.0
func (r *TaobaoAlitripItPolicyBatchdeleteAPIRequest) SetDepCity(_depCity string) error
SetDepCity is DepCity Setter 出发,,完整匹配
func (*TaobaoAlitripItPolicyBatchdeleteAPIRequest) SetPolicyId ¶ added in v1.2.0
func (r *TaobaoAlitripItPolicyBatchdeleteAPIRequest) SetPolicyId(_policyId string) error
SetPolicyId is PolicyId Setter 产品id,,完整匹配
func (*TaobaoAlitripItPolicyBatchdeleteAPIRequest) SetStatusList ¶ added in v1.2.0
func (r *TaobaoAlitripItPolicyBatchdeleteAPIRequest) SetStatusList(_statusList []string) error
SetStatusList is StatusList Setter 0:未发布 1:已发布 2:已过期。不传的话,默认只能删除未发布和已过期的数据
type TaobaoAlitripItPolicyBatchdeleteAPIResponse ¶
type TaobaoAlitripItPolicyBatchdeleteAPIResponse struct { model.CommonResponse TaobaoAlitripItPolicyBatchdeleteAPIResponseModel }
TaobaoAlitripItPolicyBatchdeleteAPIResponse 【国际机票销售规则】批量删除 API返回值 taobao.alitrip.it.policy.batchdelete
批量删除销售规则,单次删除最大5万,大于5万时候提示失败,需要缩小删除条件。此接口同步返回任务id,异步执行操作。每个接入方最多同时只能有10个处理中的任务,超过后直接返回失败。
func GetTaobaoAlitripItPolicyBatchdeleteAPIResponse ¶ added in v1.3.4
func GetTaobaoAlitripItPolicyBatchdeleteAPIResponse() *TaobaoAlitripItPolicyBatchdeleteAPIResponse
GetTaobaoAlitripItPolicyBatchdeleteAPIResponse 从 sync.Pool 获取 TaobaoAlitripItPolicyBatchdeleteAPIResponse
func (*TaobaoAlitripItPolicyBatchdeleteAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripItPolicyBatchdeleteAPIResponse) Reset()
Reset 清空结构体
type TaobaoAlitripItPolicyBatchdeleteAPIResponseModel ¶ added in v1.2.0
type TaobaoAlitripItPolicyBatchdeleteAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_it_policy_batchdelete_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 扩展字段 ExtendAttributes string `json:"extend_attributes,omitempty" xml:"extend_attributes,omitempty"` // 任务id TaskId int64 `json:"task_id,omitempty" xml:"task_id,omitempty"` }
TaobaoAlitripItPolicyBatchdeleteAPIResponseModel is 【国际机票销售规则】批量删除 成功返回结果
func (*TaobaoAlitripItPolicyBatchdeleteAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripItPolicyBatchdeleteAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoAlitripItPolicyDeleteAPIRequest ¶ added in v1.2.0
type TaobaoAlitripItPolicyDeleteAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoAlitripItPolicyDeleteAPIRequest 【国际机票销售规则】单条删除 API请求 taobao.alitrip.it.policy.delete
销售规则删除接口,可以根据taobaoId或outId删除,根据outId删除时,如果outId不唯一,返回失败
func GetTaobaoAlitripItPolicyDeleteAPIRequest ¶ added in v1.3.4
func GetTaobaoAlitripItPolicyDeleteAPIRequest() *TaobaoAlitripItPolicyDeleteAPIRequest
GetTaobaoAlitripItPolicyDeleteRequest 从 sync.Pool 获取 TaobaoAlitripItPolicyDeleteAPIRequest
func NewTaobaoAlitripItPolicyDeleteRequest ¶
func NewTaobaoAlitripItPolicyDeleteRequest() *TaobaoAlitripItPolicyDeleteAPIRequest
NewTaobaoAlitripItPolicyDeleteRequest 初始化TaobaoAlitripItPolicyDeleteAPIRequest对象
func (TaobaoAlitripItPolicyDeleteAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoAlitripItPolicyDeleteAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoAlitripItPolicyDeleteAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoAlitripItPolicyDeleteAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoAlitripItPolicyDeleteAPIRequest) GetExtendAttributes ¶ added in v1.2.0
func (r TaobaoAlitripItPolicyDeleteAPIRequest) GetExtendAttributes() string
GetExtendAttributes ExtendAttributes Getter
func (TaobaoAlitripItPolicyDeleteAPIRequest) GetOutId ¶ added in v1.2.0
func (r TaobaoAlitripItPolicyDeleteAPIRequest) GetOutId() string
GetOutId OutId Getter
func (TaobaoAlitripItPolicyDeleteAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoAlitripItPolicyDeleteAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoAlitripItPolicyDeleteAPIRequest) GetTaobaoId ¶ added in v1.2.0
func (r TaobaoAlitripItPolicyDeleteAPIRequest) GetTaobaoId() int64
GetTaobaoId TaobaoId Getter
func (*TaobaoAlitripItPolicyDeleteAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoAlitripItPolicyDeleteAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoAlitripItPolicyDeleteAPIRequest) SetExtendAttributes ¶ added in v1.2.0
func (r *TaobaoAlitripItPolicyDeleteAPIRequest) SetExtendAttributes(_extendAttributes string) error
SetExtendAttributes is ExtendAttributes Setter 扩展字段
func (*TaobaoAlitripItPolicyDeleteAPIRequest) SetOutId ¶ added in v1.2.0
func (r *TaobaoAlitripItPolicyDeleteAPIRequest) SetOutId(_outId string) error
SetOutId is OutId Setter 接入方产品id
func (*TaobaoAlitripItPolicyDeleteAPIRequest) SetTaobaoId ¶ added in v1.2.0
func (r *TaobaoAlitripItPolicyDeleteAPIRequest) SetTaobaoId(_taobaoId int64) error
SetTaobaoId is TaobaoId Setter 淘宝政策id
type TaobaoAlitripItPolicyDeleteAPIResponse ¶
type TaobaoAlitripItPolicyDeleteAPIResponse struct { model.CommonResponse TaobaoAlitripItPolicyDeleteAPIResponseModel }
TaobaoAlitripItPolicyDeleteAPIResponse 【国际机票销售规则】单条删除 API返回值 taobao.alitrip.it.policy.delete
销售规则删除接口,可以根据taobaoId或outId删除,根据outId删除时,如果outId不唯一,返回失败
func GetTaobaoAlitripItPolicyDeleteAPIResponse ¶ added in v1.3.4
func GetTaobaoAlitripItPolicyDeleteAPIResponse() *TaobaoAlitripItPolicyDeleteAPIResponse
GetTaobaoAlitripItPolicyDeleteAPIResponse 从 sync.Pool 获取 TaobaoAlitripItPolicyDeleteAPIResponse
func (*TaobaoAlitripItPolicyDeleteAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripItPolicyDeleteAPIResponse) Reset()
Reset 清空结构体
type TaobaoAlitripItPolicyDeleteAPIResponseModel ¶ added in v1.2.0
type TaobaoAlitripItPolicyDeleteAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_it_policy_delete_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 扩展字段 ExtendAttributes string `json:"extend_attributes,omitempty" xml:"extend_attributes,omitempty"` }
TaobaoAlitripItPolicyDeleteAPIResponseModel is 【国际机票销售规则】单条删除 成功返回结果
func (*TaobaoAlitripItPolicyDeleteAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripItPolicyDeleteAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoAlitripItPolicyGetAPIRequest ¶ added in v1.2.0
type TaobaoAlitripItPolicyGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoAlitripItPolicyGetAPIRequest 【国际机票销售规则】单条查询 API请求 taobao.alitrip.it.policy.get
通过此接口可以查询单条销售规则的详情,可以根据taobaoId或outId查询,用户outId查询时,如果outId不唯一,只返回最新添加的一条数据。taobaoId为新增成功时候返回的唯一id,outId为新增时的policy_id(产品编号)
func GetTaobaoAlitripItPolicyGetAPIRequest ¶ added in v1.3.4
func GetTaobaoAlitripItPolicyGetAPIRequest() *TaobaoAlitripItPolicyGetAPIRequest
GetTaobaoAlitripItPolicyGetRequest 从 sync.Pool 获取 TaobaoAlitripItPolicyGetAPIRequest
func NewTaobaoAlitripItPolicyGetRequest ¶
func NewTaobaoAlitripItPolicyGetRequest() *TaobaoAlitripItPolicyGetAPIRequest
NewTaobaoAlitripItPolicyGetRequest 初始化TaobaoAlitripItPolicyGetAPIRequest对象
func (TaobaoAlitripItPolicyGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoAlitripItPolicyGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoAlitripItPolicyGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoAlitripItPolicyGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoAlitripItPolicyGetAPIRequest) GetExtendAttributes ¶ added in v1.2.0
func (r TaobaoAlitripItPolicyGetAPIRequest) GetExtendAttributes() string
GetExtendAttributes ExtendAttributes Getter
func (TaobaoAlitripItPolicyGetAPIRequest) GetOutId ¶ added in v1.2.0
func (r TaobaoAlitripItPolicyGetAPIRequest) GetOutId() string
GetOutId OutId Getter
func (TaobaoAlitripItPolicyGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoAlitripItPolicyGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoAlitripItPolicyGetAPIRequest) GetTaobaoId ¶ added in v1.2.0
func (r TaobaoAlitripItPolicyGetAPIRequest) GetTaobaoId() int64
GetTaobaoId TaobaoId Getter
func (*TaobaoAlitripItPolicyGetAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoAlitripItPolicyGetAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoAlitripItPolicyGetAPIRequest) SetExtendAttributes ¶ added in v1.2.0
func (r *TaobaoAlitripItPolicyGetAPIRequest) SetExtendAttributes(_extendAttributes string) error
SetExtendAttributes is ExtendAttributes Setter 预留扩展字段
func (*TaobaoAlitripItPolicyGetAPIRequest) SetOutId ¶ added in v1.2.0
func (r *TaobaoAlitripItPolicyGetAPIRequest) SetOutId(_outId string) error
SetOutId is OutId Setter 接入方产品编号
func (*TaobaoAlitripItPolicyGetAPIRequest) SetTaobaoId ¶ added in v1.2.0
func (r *TaobaoAlitripItPolicyGetAPIRequest) SetTaobaoId(_taobaoId int64) error
SetTaobaoId is TaobaoId Setter 淘宝政策id
type TaobaoAlitripItPolicyGetAPIResponse ¶
type TaobaoAlitripItPolicyGetAPIResponse struct { model.CommonResponse TaobaoAlitripItPolicyGetAPIResponseModel }
TaobaoAlitripItPolicyGetAPIResponse 【国际机票销售规则】单条查询 API返回值 taobao.alitrip.it.policy.get
通过此接口可以查询单条销售规则的详情,可以根据taobaoId或outId查询,用户outId查询时,如果outId不唯一,只返回最新添加的一条数据。taobaoId为新增成功时候返回的唯一id,outId为新增时的policy_id(产品编号)
func GetTaobaoAlitripItPolicyGetAPIResponse ¶ added in v1.3.4
func GetTaobaoAlitripItPolicyGetAPIResponse() *TaobaoAlitripItPolicyGetAPIResponse
GetTaobaoAlitripItPolicyGetAPIResponse 从 sync.Pool 获取 TaobaoAlitripItPolicyGetAPIResponse
func (*TaobaoAlitripItPolicyGetAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripItPolicyGetAPIResponse) Reset()
Reset 清空结构体
type TaobaoAlitripItPolicyGetAPIResponseModel ¶ added in v1.2.0
type TaobaoAlitripItPolicyGetAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_it_policy_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 扩展字段 ExtendAttributes string `json:"extend_attributes,omitempty" xml:"extend_attributes,omitempty"` // 政策状态,0-未发布,1-已发布,2-已过期 Status int64 `json:"status,omitempty" xml:"status,omitempty"` // 淘宝政策id TaobaoId int64 `json:"taobao_id,omitempty" xml:"taobao_id,omitempty"` // 政策信息 PolicyDo *TopPolicyDo `json:"policy_do,omitempty" xml:"policy_do,omitempty"` }
TaobaoAlitripItPolicyGetAPIResponseModel is 【国际机票销售规则】单条查询 成功返回结果
func (*TaobaoAlitripItPolicyGetAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripItPolicyGetAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoAlitripItPolicyUpdateAPIRequest ¶ added in v1.2.0
type TaobaoAlitripItPolicyUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoAlitripItPolicyUpdateAPIRequest 【国际机票销售规则】单条更新 API请求 taobao.alitrip.it.policy.update
销售规则更新接口,可以根据taobaoId或outId修改,outId不唯一时,不能用outId修改。
func GetTaobaoAlitripItPolicyUpdateAPIRequest ¶ added in v1.3.4
func GetTaobaoAlitripItPolicyUpdateAPIRequest() *TaobaoAlitripItPolicyUpdateAPIRequest
GetTaobaoAlitripItPolicyUpdateRequest 从 sync.Pool 获取 TaobaoAlitripItPolicyUpdateAPIRequest
func NewTaobaoAlitripItPolicyUpdateRequest ¶
func NewTaobaoAlitripItPolicyUpdateRequest() *TaobaoAlitripItPolicyUpdateAPIRequest
NewTaobaoAlitripItPolicyUpdateRequest 初始化TaobaoAlitripItPolicyUpdateAPIRequest对象
func (TaobaoAlitripItPolicyUpdateAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoAlitripItPolicyUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoAlitripItPolicyUpdateAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoAlitripItPolicyUpdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoAlitripItPolicyUpdateAPIRequest) GetExtendAttributes ¶ added in v1.2.0
func (r TaobaoAlitripItPolicyUpdateAPIRequest) GetExtendAttributes() string
GetExtendAttributes ExtendAttributes Getter
func (TaobaoAlitripItPolicyUpdateAPIRequest) GetOutId ¶ added in v1.2.0
func (r TaobaoAlitripItPolicyUpdateAPIRequest) GetOutId() string
GetOutId OutId Getter
func (TaobaoAlitripItPolicyUpdateAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoAlitripItPolicyUpdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoAlitripItPolicyUpdateAPIRequest) GetTaobaoId ¶ added in v1.2.0
func (r TaobaoAlitripItPolicyUpdateAPIRequest) GetTaobaoId() int64
GetTaobaoId TaobaoId Getter
func (TaobaoAlitripItPolicyUpdateAPIRequest) GetTopPolicyDo ¶ added in v1.2.0
func (r TaobaoAlitripItPolicyUpdateAPIRequest) GetTopPolicyDo() *TopPolicyDo
GetTopPolicyDo TopPolicyDo Getter
func (*TaobaoAlitripItPolicyUpdateAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoAlitripItPolicyUpdateAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoAlitripItPolicyUpdateAPIRequest) SetExtendAttributes ¶ added in v1.2.0
func (r *TaobaoAlitripItPolicyUpdateAPIRequest) SetExtendAttributes(_extendAttributes string) error
SetExtendAttributes is ExtendAttributes Setter 扩展字段
func (*TaobaoAlitripItPolicyUpdateAPIRequest) SetOutId ¶ added in v1.2.0
func (r *TaobaoAlitripItPolicyUpdateAPIRequest) SetOutId(_outId string) error
SetOutId is OutId Setter 接入方产品id
func (*TaobaoAlitripItPolicyUpdateAPIRequest) SetTaobaoId ¶ added in v1.2.0
func (r *TaobaoAlitripItPolicyUpdateAPIRequest) SetTaobaoId(_taobaoId int64) error
SetTaobaoId is TaobaoId Setter 淘宝政策id
func (*TaobaoAlitripItPolicyUpdateAPIRequest) SetTopPolicyDo ¶ added in v1.2.0
func (r *TaobaoAlitripItPolicyUpdateAPIRequest) SetTopPolicyDo(_topPolicyDo *TopPolicyDo) error
SetTopPolicyDo is TopPolicyDo Setter 国际机票销售规则
type TaobaoAlitripItPolicyUpdateAPIResponse ¶
type TaobaoAlitripItPolicyUpdateAPIResponse struct { model.CommonResponse TaobaoAlitripItPolicyUpdateAPIResponseModel }
TaobaoAlitripItPolicyUpdateAPIResponse 【国际机票销售规则】单条更新 API返回值 taobao.alitrip.it.policy.update
销售规则更新接口,可以根据taobaoId或outId修改,outId不唯一时,不能用outId修改。
func GetTaobaoAlitripItPolicyUpdateAPIResponse ¶ added in v1.3.4
func GetTaobaoAlitripItPolicyUpdateAPIResponse() *TaobaoAlitripItPolicyUpdateAPIResponse
GetTaobaoAlitripItPolicyUpdateAPIResponse 从 sync.Pool 获取 TaobaoAlitripItPolicyUpdateAPIResponse
func (*TaobaoAlitripItPolicyUpdateAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripItPolicyUpdateAPIResponse) Reset()
Reset 清空结构体
type TaobaoAlitripItPolicyUpdateAPIResponseModel ¶ added in v1.2.0
type TaobaoAlitripItPolicyUpdateAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_it_policy_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 扩展字段 ExtendAttributes string `json:"extend_attributes,omitempty" xml:"extend_attributes,omitempty"` // 淘宝政策id TaobaoId int64 `json:"taobao_id,omitempty" xml:"taobao_id,omitempty"` }
TaobaoAlitripItPolicyUpdateAPIResponseModel is 【国际机票销售规则】单条更新 成功返回结果
func (*TaobaoAlitripItPolicyUpdateAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoAlitripItPolicyUpdateAPIResponseModel) Reset()
Reset 清空结构体
type TopPolicyDo ¶
type TopPolicyDo struct { // 产品编号,内容可空,支持字母和数字,最多50个字符 PolicyId string `json:"policy_id,omitempty" xml:"policy_id,omitempty"` // 1/2RT计算方式,空:表示取严,可录入各取各或者取严,表示1/2RT佣金计算方式是各取各或者取严。 RtCommissionFormula string `json:"rt_commission_formula,omitempty" xml:"rt_commission_formula,omitempty"` // 航空公司,航空公司两字码,如CA Airline string `json:"airline,omitempty" xml:"airline,omitempty"` // 中转类型(是否直达),空:表示不限,即直达中转都适用,可选:直达、中转 TransferType string `json:"transfer_type,omitempty" xml:"transfer_type,omitempty"` // 航程种类,可选:单程、往返、空为不限 TravelType string `json:"travel_type,omitempty" xml:"travel_type,omitempty"` // 始发地,空表示所有航线都适用可录入格式:1) 城市三代如SHA,NYC,SEL2) 国家二代如CN,US,KR3) TC区代码如TC1,TC2,TC34) 为空表示不限制允许1.2.3. 混合录入,可录入多个用,隔开表示多个最多允许录入100个多个用,分隔.可输入单个区域和多个城市,支持区域和城市同时输入,以自定义区域表为准,输入自定义名称,系统存入对应城市三字码集合最多输入100个城市 DepCities string `json:"dep_cities,omitempty" xml:"dep_cities,omitempty"` // 目的地,空表示所有航线都适用可录入格式:1) 城市三代如SHA,NYC,SEL2) 国家二代如CN,US,KR3) TC区代码如TC1,TC2,TC34) 为空表示不限制允许1.2.3. 混合录入,可录入多个用,隔开表示多个最多允许录入100个多个用,分隔.可输入单个区域和多个城市,支持区域和城市同时输入,以自定义区域表为准,输入自定义名称,系统存入对应城市三字码集合最多输入100个城市 ArrCities string `json:"arr_cities,omitempty" xml:"arr_cities,omitempty"` // 例外始发地,空表示所有航线都适用可录入格式:1) 城市三代如SHA,NYC,SEL2) 国家二代如CN,US,KR3) TC区代码如TC1,TC2,TC34) 为空表示不限制允许1.2.3. 混合录入,可录入多个用,隔开表示多个最多允许录入100个多个用,分隔.可输入单个区域和多个城市,支持区域和城市同时输入,以自定义区域表为准,输入自定义名称,系统存入对应城市三字码集合最多输入100个城市 ExcludeDepCities string `json:"exclude_dep_cities,omitempty" xml:"exclude_dep_cities,omitempty"` // 例外目的地,空表示所有航线都适用可录入格式:1) 城市三代如SHA,NYC,SEL2) 国家二代如CN,US,KR3) TC区代码如TC1,TC2,TC34) 为空表示不限制允许1.2.3. 混合录入,可录入多个用,隔开表示多个最多允许录入100个多个用,分隔.可输入单个区域和多个城市,支持区域和城市同时输入,以自定义区域表为准,输入自定义名称,系统存入对应城市三字码集合最多输入100个城市 ExcludeArrCities string `json:"exclude_arr_cities,omitempty" xml:"exclude_arr_cities,omitempty"` // 中转点,空表示所有航线都适用可录入格式:1) 城市三代如SHA,NYC,SEL2) 国家二代如CN,US,KR3) TC区代码如TC1,TC2,TC34) 为空表示不限制允许1.2.3. 混合录入,可录入多个用,隔开表示多个最多允许录入100个多个用,分隔.可输入单个区域和多个城市,支持区域和城市同时输入,以自定义区域表为准,输入自定义名称,系统存入对应城市三字码集合最多输入100个城市 TransferCities string `json:"transfer_cities,omitempty" xml:"transfer_cities,omitempty"` // 备注信息,销售规则备注,最多300个字符 Remark string `json:"remark,omitempty" xml:"remark,omitempty"` // 销售日期,必填项;销售日期只能输入一段;日期对为左右都是闭区间格式:可支持2013-01-01或2013/01/01格式输入;范围用~表示 SaleDate string `json:"sale_date,omitempty" xml:"sale_date,omitempty"` // 去程旅行日期,必填项;支持添加多对日期多段用,分隔;可支持2013-01-01或2013/01/01格式输入;范围用~表示 DepDate string `json:"dep_date,omitempty" xml:"dep_date,omitempty"` // 回程旅行日期,非必填,支持添加多对日期多段用,分隔;可支持2013-01-01或2013/01/01格式输入;范围用~表示 RetDate string `json:"ret_date,omitempty" xml:"ret_date,omitempty"` // 适用/例外舱位,可选:适用、例外,如果舱位有值,则必须输入适用或例外 CabinRestrictType string `json:"cabin_restrict_type,omitempty" xml:"cabin_restrict_type,omitempty"` // 舱位,空表示所有舱位都适用多个用,分隔 CabinRestrict string `json:"cabin_restrict,omitempty" xml:"cabin_restrict,omitempty"` // 服务等级,默认值空:表示所有服务等级适用头等公务超值经济经济可多选,用,分隔 ServiceLevel string `json:"service_level,omitempty" xml:"service_level,omitempty"` // 适用fareBasis,空表示所有都适用支持数字字母组合支持多个,支持通配符%不限制长度的通配符,只 支持首或末位一个% FareBasisAllowed string `json:"fare_basis_allowed,omitempty" xml:"fare_basis_allowed,omitempty"` // 例外fareBasis,空表示所有都适用支持数字字母组合支持多个,支持通配符%不限制长度的通配符,只 支持首或末位一个% FareBasisForbidden string `json:"fare_basis_forbidden,omitempty" xml:"fare_basis_forbidden,omitempty"` // 适用航班,同一航段之间用,隔开表示或的关系;不同航段之间用/隔开。 1 CA001-999,CA3000-3999 表示CA001至999以及3000至3999之间航班号的航班2 MU 表示所有MU开头的航班 3 CA(LH\AZ) 表示CA开头的实际承运人为LH或AZ的航班4 CA(*) 表示CA代码共享航班/CA开头的实际承运人为其他航空公司的航班5 CA(CA) 表示CA自营航班/CA实际承运航班;6 CA(OZ)001-999 表示CA开头航班号为001-999之间且实际承运人为OZ的航班;7 为空表示无限制 FlightRestrict string `json:"flight_restrict,omitempty" xml:"flight_restrict,omitempty"` // 代码共享适用类型,空:不允许代码共享;可以选值:仅限同集团代码共享适用、代码共享适用、不允许代码共享、 CodeSharingType string `json:"code_sharing_type,omitempty" xml:"code_sharing_type,omitempty"` // 成人身份,1.不得为空2.可选:普通/学生 3多个使用,分隔 PassengerType string `json:"passenger_type,omitempty" xml:"passenger_type,omitempty"` // 运价来源,空:表示平台运价; 此处为单选,输入平台运价,表示平台运价,不同的接入方可选值不一样 FareSource string `json:"fare_source,omitempty" xml:"fare_source,omitempty"` // 可适用运价渠道,可选值:公布运价,私有运价 FareType string `json:"fare_type,omitempty" xml:"fare_type,omitempty"` // 价格区间,空表示默认值为0-999999默认为正整型上限必须大于下限 AllowPriceRange string `json:"allow_price_range,omitempty" xml:"allow_price_range,omitempty"` // 预定OFFICE,空表示默认优先级最高OFFICE,可输入OFFICE,校验必须为配置中存在的OFFICE OfficeNo string `json:"office_no,omitempty" xml:"office_no,omitempty"` // 返点,可输入负值范围-100至100之间,可保留2位小数与留钱固定金额二选一必输 SaleRetention string `json:"sale_retention,omitempty" xml:"sale_retention,omitempty"` // 留钱,返点和留钱至少二选一 SaleRebase string `json:"sale_rebase,omitempty" xml:"sale_rebase,omitempty"` // 儿童返点,非必输;可输入负值;范围-100至100之间,可保留2位小数 ChildSaleRetention string `json:"child_sale_retention,omitempty" xml:"child_sale_retention,omitempty"` // 儿童留钱,非必输;为整型;支持负数;单位元 ChildSaleRebase string `json:"child_sale_rebase,omitempty" xml:"child_sale_rebase,omitempty"` // 是否允许1/2RT组合销售规则,允许、不允许空表示:不允许 IsSupportRt string `json:"is_support_rt,omitempty" xml:"is_support_rt,omitempty"` // 不同航司联运,非必输;可输入允许或不允许,空表示不允许 IsAllowUnionAirline string `json:"is_allow_union_airline,omitempty" xml:"is_allow_union_airline,omitempty"` // (已废除字段)退票规定,非必输长度小于300字符请同时录入 退票规定、改签规定和行李额规定 RefundRule string `json:"refund_rule,omitempty" xml:"refund_rule,omitempty"` // (已废除字段)改签规定,非必输长度小于300字符请同时录入 退票规定、改签规定和行李额规定 ReissueRule string `json:"reissue_rule,omitempty" xml:"reissue_rule,omitempty"` // (已废除字段)误机罚金说明,非必输长度小于300字符只在退票规定不为空时才会生效 NoshowRule string `json:"noshow_rule,omitempty" xml:"noshow_rule,omitempty"` // 行李额规定,非必输长度小于300字符请同时录入 退票规定、改签规定和行李额规定 LuggageRule string `json:"luggage_rule,omitempty" xml:"luggage_rule,omitempty"` // 购票须知,非必输长度小于300字符只在退票规定不为空时才会生效 BuyTicketNotice string `json:"buy_ticket_notice,omitempty" xml:"buy_ticket_notice,omitempty"` // 非必输;09:00-18:00表示每一天的早上9点到下午6点,09:00MON-18:00FRI表示周一到周五的每天早上9点到下午6点最多录入三个时间段用逗号隔开表示或的关系可以为空,表示不限制,即工作时间为09:00-18:00 WorkingTime string `json:"working_time,omitempty" xml:"working_time,omitempty"` // 商品类型,非必输;默认为普通可填写为金牌或普通 ProductType string `json:"product_type,omitempty" xml:"product_type,omitempty"` // 渠道名称,非必输,不同的接入方可选值不一样 ChannelIdDesc string `json:"channel_id_desc,omitempty" xml:"channel_id_desc,omitempty"` // 扩展字段,预留 ExtendAttributes string `json:"extend_attributes,omitempty" xml:"extend_attributes,omitempty"` // 全部未使用可否退票,可输入:是,否 IsCanAllRefund string `json:"is_can_all_refund,omitempty" xml:"is_can_all_refund,omitempty"` // 【全部未使用可否退票】为是时,此项为必填项。 可输入格式如:200-72-300-48-1000-0-*,表示72小时前退票手续费200;48小时到72小时,退票手续费300;飞机起飞不足48小时;退票手续费1000;飞机起飞后不予改期(输入*); 或 10%-72-30%-48-50%-0-*,表示72小时前退票手续费为票面价的10%;48小时到72小时,退票手续费为票面价的30%;飞机起飞不足48小时;退票手续费为票面价的50%;飞机起飞后不予退票(输入*); RefundFeeAllUnused string `json:"refund_fee_all_unused,omitempty" xml:"refund_fee_all_unused,omitempty"` // 全部未使用退票币种,只能录入币种三字码,默认值CNY RefundCurrencyAllUnused string `json:"refund_currency_all_unused,omitempty" xml:"refund_currency_all_unused,omitempty"` // 全部未使用退票费用收取方式,按每个航段收还是全程收(0:全程, 1:每个航段,默认值:全程) RefundFeeTypeAllUnused string `json:"refund_fee_type_all_unused,omitempty" xml:"refund_fee_type_all_unused,omitempty"` // 部分未使用可否退票,可输入:是,否 IsCanPartRefund string `json:"is_can_part_refund,omitempty" xml:"is_can_part_refund,omitempty"` // 部分未使用退票费用,格式同【全部未使用退票费用】,【部分未使用可否退票】为是时,此项为必填项 RefundFeePartUnused string `json:"refund_fee_part_unused,omitempty" xml:"refund_fee_part_unused,omitempty"` // 部分未使用退票币种,可录入币种三字码,默认值CNY RefundCurrencyPartUnused string `json:"refund_currency_part_unused,omitempty" xml:"refund_currency_part_unused,omitempty"` // 部分未使用退票费用收取方式,按每个航段收还是全程收(0:全程, 1:每个航段,默认值:全程) RefundFeeTypePartUnused string `json:"refund_fee_type_part_unused,omitempty" xml:"refund_fee_type_part_unused,omitempty"` // 去程可否改期,可输入是或否 CanDepChange string `json:"can_dep_change,omitempty" xml:"can_dep_change,omitempty"` // 去程改期费用,格式说明参考【全程未使用退票费用】,注意,改期费用不能录入百分比,【去程可否改期】为是时为必填项 DepChangeFee string `json:"dep_change_fee,omitempty" xml:"dep_change_fee,omitempty"` // 去程改期币种,可录入币种三字码,默认值CNY DepChangeCurrency string `json:"dep_change_currency,omitempty" xml:"dep_change_currency,omitempty"` // 去程改期费用收取方式,按每个航段收还是全程收(0:全程, 1:每个航段,默认值:全程) DepChangeFeeType string `json:"dep_change_fee_type,omitempty" xml:"dep_change_fee_type,omitempty"` // NOSHOW是否有限制,可输入是或否 NoshowRestrict string `json:"noshow_restrict,omitempty" xml:"noshow_restrict,omitempty"` // NOSHOW时限,只能录入整数,【NOSHOW是否有限制】为是时,此项为必填项 NoshowTimeRestrict string `json:"noshow_time_restrict,omitempty" xml:"noshow_time_restrict,omitempty"` // NOSHOW时限单位(小时/天, 默认为小时) NoshowTimeRestrictUnit string `json:"noshow_time_restrict_unit,omitempty" xml:"noshow_time_restrict_unit,omitempty"` // NOSHOW规则,可录入多个,多个用逗号分隔。可录入不可退票、不可改期,不可退票,不可改期 NoshowRuleType string `json:"noshow_rule_type,omitempty" xml:"noshow_rule_type,omitempty"` // NOSHOW金额,只能录入整数或百分比,【NOSHOW是否有限制】为是,【NOSHOW规则】不是不可退票,不可改期时,此项为必填项 NoshowFee string `json:"noshow_fee,omitempty" xml:"noshow_fee,omitempty"` // NOSHOW币种,可录入币种三字码,默认值CNY NoshowCurrency string `json:"noshow_currency,omitempty" xml:"noshow_currency,omitempty"` // 回程可否改期,可输入是或否 CanRetChange string `json:"can_ret_change,omitempty" xml:"can_ret_change,omitempty"` // 回程改期费用,格式同【去程改期费用】,【回程可否改期】为是时为必填 RetChangeFee string `json:"ret_change_fee,omitempty" xml:"ret_change_fee,omitempty"` // 回程改期币种,可录入币种三字码,默认值CNY RetChangeCurrency string `json:"ret_change_currency,omitempty" xml:"ret_change_currency,omitempty"` // 回程改期费用收取方式,按每个航段收还是全程收(0:全程, 1:每个航段,默认值:全程) RetChangeFeeType string `json:"ret_change_fee_type,omitempty" xml:"ret_change_fee_type,omitempty"` // 开票大客户编码,最大长度50 VipCode string `json:"vip_code,omitempty" xml:"vip_code,omitempty"` // 是否适用小团,可选值是、否。空表示不限 Gv2ChildRule string `json:"gv2_child_rule,omitempty" xml:"gv2_child_rule,omitempty"` // 国籍限制,可输入国家二字码,多个用逗号分隔,最多不超过20个 Nationality string `json:"nationality,omitempty" xml:"nationality,omitempty"` // 除外国籍限制,可输入国家二字码,多个用逗号分隔,最多不超过20个 ExcludeNationality string `json:"exclude_nationality,omitempty" xml:"exclude_nationality,omitempty"` // 年龄限制,可录入值范围12-99, 并且最低年龄不可超过70 PassengerAge string `json:"passenger_age,omitempty" xml:"passenger_age,omitempty"` // 提前销售天数限制 PresalePeriod string `json:"presale_period,omitempty" xml:"presale_period,omitempty"` // 必填项 赋值范围: 电子行程单,旅行发票,差额行程单发票,等额行程单 Receipts string `json:"receipts,omitempty" xml:"receipts,omitempty"` // 供应来源,可为空 SupplySource string `json:"supply_source,omitempty" xml:"supply_source,omitempty"` // 是否支持缺口, 赋值范围:不支持缺口,只支持缺口,不限 CanOj string `json:"can_oj,omitempty" xml:"can_oj,omitempty"` // 例外航线,默认销售规则 DefaultOdDeny string `json:"default_od_deny,omitempty" xml:"default_od_deny,omitempty"` // 航司代码共享范围 airline_code_sharing : 格式 KA(CX/CX),CA(CZ) 英文逗号分开,/ 分隔内部,航司二字码表示 AirlineCodeSharing string `json:"airline_code_sharing,omitempty" xml:"airline_code_sharing,omitempty"` // 儿童回程改期费用,格式同成人,回程改期费用,【回程可否改期】为是时为必填 ChildChangeFeeInUnused string `json:"child_change_fee_in_unused,omitempty" xml:"child_change_fee_in_unused,omitempty"` // 儿童去程改期费用,格式同成人,格式说明参考【全程未使用退票费用】,注意,改期费用不能录入百分比,【去程可否改期】为是时为必填项 ChildChangeFeeOutUnused string `json:"child_change_fee_out_unused,omitempty" xml:"child_change_fee_out_unused,omitempty"` // 儿童部分未使用退票费用,格式同成人,【部分未使用可否退票】为是时,此项为必填项 ChildRefundFeePartUnused string `json:"child_refund_fee_part_unused,omitempty" xml:"child_refund_fee_part_unused,omitempty"` // 儿童全部未使用退票费用,格式同成人,【全部未使用可否退票】为是时,此项为必填项。 可输入格式如:200-72-300-48-1000-0-*,表示72小时前退票手续费200;48小时到72小时,退票手续费300;飞机起飞不足48小时;退票手续费1000;飞机起飞后不予改期(输入*); 或 10%-72-30%-48-50%-0-*,表示72小时前退票手续费为票面价的10%;48小时到72小时,退票手续费为票面价的30%;飞机起飞不足48小时;退票手续费为票面价的50%;飞机起飞后不予退票(输入*); ChildRefundFeeAllUnused string `json:"child_refund_fee_all_unused,omitempty" xml:"child_refund_fee_all_unused,omitempty"` }
TopPolicyDo 结构体
func GetTopPolicyDo ¶ added in v1.3.4
func GetTopPolicyDo() *TopPolicyDo
GetTopPolicyDo() 从对象池中获取TopPolicyDo
Source Files ¶
- ErrorFareRow.go
- TaobaoAlitripItFareAddowAPIRequest.go
- TaobaoAlitripItFareAddowAPIResponse.go
- TaobaoAlitripItFareAddrtAPIRequest.go
- TaobaoAlitripItFareAddrtAPIResponse.go
- TaobaoAlitripItFareBatchaddAPIRequest.go
- TaobaoAlitripItFareBatchaddAPIResponse.go
- TaobaoAlitripItFareBatchdeleteAPIRequest.go
- TaobaoAlitripItFareBatchdeleteAPIResponse.go
- TaobaoAlitripItFareDeleteAPIRequest.go
- TaobaoAlitripItFareDeleteAPIResponse.go
- TaobaoAlitripItFareGetAPIRequest.go
- TaobaoAlitripItFareGetAPIResponse.go
- TaobaoAlitripItFareQuerytaskAPIRequest.go
- TaobaoAlitripItFareQuerytaskAPIResponse.go
- TaobaoAlitripItFareUpdateAPIRequest.go
- TaobaoAlitripItFareUpdateAPIResponse.go
- TaobaoAlitripItPolicyAddAPIRequest.go
- TaobaoAlitripItPolicyAddAPIResponse.go
- TaobaoAlitripItPolicyBatchdeleteAPIRequest.go
- TaobaoAlitripItPolicyBatchdeleteAPIResponse.go
- TaobaoAlitripItPolicyDeleteAPIRequest.go
- TaobaoAlitripItPolicyDeleteAPIResponse.go
- TaobaoAlitripItPolicyGetAPIRequest.go
- TaobaoAlitripItPolicyGetAPIResponse.go
- TaobaoAlitripItPolicyUpdateAPIRequest.go
- TaobaoAlitripItPolicyUpdateAPIResponse.go
- TopPolicyDo.go
- doc.go