Documentation ¶
Index ¶
- type ErrorFareRow
- type TaobaoAlitripItFareAddowAPIResponse
- type TaobaoAlitripItFareAddowRequest
- func (r TaobaoAlitripItFareAddowRequest) GetAddressOption() string
- func (r TaobaoAlitripItFareAddowRequest) GetAdjustMoney() int64
- func (r TaobaoAlitripItFareAddowRequest) GetAdultPassengerIdentity() string
- func (r TaobaoAlitripItFareAddowRequest) GetAdultTax() string
- func (r TaobaoAlitripItFareAddowRequest) GetApiMethodName() string
- func (r TaobaoAlitripItFareAddowRequest) GetApiParams() url.Values
- func (r TaobaoAlitripItFareAddowRequest) GetApplyChannel() string
- func (r TaobaoAlitripItFareAddowRequest) GetBookingOffice() string
- func (r TaobaoAlitripItFareAddowRequest) GetBuyTicketNotice() string
- func (r TaobaoAlitripItFareAddowRequest) GetCabin() string
- func (r TaobaoAlitripItFareAddowRequest) GetCanDepChange() string
- func (r TaobaoAlitripItFareAddowRequest) GetChildPrice() string
- func (r TaobaoAlitripItFareAddowRequest) GetChildTax() string
- func (r TaobaoAlitripItFareAddowRequest) GetCodeSharingType() string
- func (r TaobaoAlitripItFareAddowRequest) GetCommodityType() string
- func (r TaobaoAlitripItFareAddowRequest) GetDepChangeCurrency() string
- func (r TaobaoAlitripItFareAddowRequest) GetDepChangeFee() string
- func (r TaobaoAlitripItFareAddowRequest) GetDepChangeFeeType() string
- func (r TaobaoAlitripItFareAddowRequest) GetDestination() string
- func (r TaobaoAlitripItFareAddowRequest) GetEarlyTicketingTimeLimit() int64
- func (r TaobaoAlitripItFareAddowRequest) GetExcludeDateRange4Dep() string
- func (r TaobaoAlitripItFareAddowRequest) GetExcludeFlightNo() string
- func (r TaobaoAlitripItFareAddowRequest) GetExcludeNationality() string
- func (r TaobaoAlitripItFareAddowRequest) GetExtendAttributes() string
- func (r TaobaoAlitripItFareAddowRequest) GetFareSource() string
- func (r TaobaoAlitripItFareAddowRequest) GetFareTypeCode() string
- func (r TaobaoAlitripItFareAddowRequest) GetFarebasis() string
- func (r TaobaoAlitripItFareAddowRequest) GetFileCode() string
- func (r TaobaoAlitripItFareAddowRequest) GetFlightDatePoint4Dep() string
- func (r TaobaoAlitripItFareAddowRequest) GetFlightDateRestrict4Dep() string
- func (r TaobaoAlitripItFareAddowRequest) GetGv2ChildRule() string
- func (r TaobaoAlitripItFareAddowRequest) GetIsCanAllRefund() string
- func (r TaobaoAlitripItFareAddowRequest) GetIsCanPartRefund() string
- func (r TaobaoAlitripItFareAddowRequest) GetIsCanRefund4Dep() string
- func (r TaobaoAlitripItFareAddowRequest) GetIsCanReissue4Dep() string
- func (r TaobaoAlitripItFareAddowRequest) GetIsCreatePnr() string
- func (r TaobaoAlitripItFareAddowRequest) GetIsNoShowCanRefund4Dep() string
- func (r TaobaoAlitripItFareAddowRequest) GetIsNoShowCanReissue4Dep() string
- func (r TaobaoAlitripItFareAddowRequest) GetIsValidatPrice() string
- func (r TaobaoAlitripItFareAddowRequest) GetLateTicketingTimeLimit() int64
- func (r TaobaoAlitripItFareAddowRequest) GetLuggageRule() string
- func (r TaobaoAlitripItFareAddowRequest) GetLuggageRule4Dep() string
- func (r TaobaoAlitripItFareAddowRequest) GetMaxTravelPerson() int64
- func (r TaobaoAlitripItFareAddowRequest) GetMinTravelPerson() int64
- func (r TaobaoAlitripItFareAddowRequest) GetNationality() string
- func (r TaobaoAlitripItFareAddowRequest) GetNoShowPenalty4Dep() int64
- func (r TaobaoAlitripItFareAddowRequest) GetNoShowTimeLimit4Dep() int64
- func (r TaobaoAlitripItFareAddowRequest) GetNoshowCurrency() string
- func (r TaobaoAlitripItFareAddowRequest) GetNoshowFee() string
- func (r TaobaoAlitripItFareAddowRequest) GetNoshowRestrict() string
- func (r TaobaoAlitripItFareAddowRequest) GetNoshowRule() string
- func (r TaobaoAlitripItFareAddowRequest) GetNoshowRuleType() string
- func (r TaobaoAlitripItFareAddowRequest) GetNoshowTimeRestrict() string
- func (r TaobaoAlitripItFareAddowRequest) GetNoshowTimeRestrictUnit() string
- func (r TaobaoAlitripItFareAddowRequest) GetOriginLand() string
- func (r TaobaoAlitripItFareAddowRequest) GetOutFileCode() string
- func (r TaobaoAlitripItFareAddowRequest) GetPassengerAge() string
- func (r TaobaoAlitripItFareAddowRequest) GetProductType() string
- func (r TaobaoAlitripItFareAddowRequest) GetReceipts() string
- func (r TaobaoAlitripItFareAddowRequest) GetRefundCurrencyAllUnused() string
- func (r TaobaoAlitripItFareAddowRequest) GetRefundCurrencyPartUnused() string
- func (r TaobaoAlitripItFareAddowRequest) GetRefundFeeAllUnused() string
- func (r TaobaoAlitripItFareAddowRequest) GetRefundFeePartUnused() string
- func (r TaobaoAlitripItFareAddowRequest) GetRefundFeeTypeAllUnused() string
- func (r TaobaoAlitripItFareAddowRequest) GetRefundFeeTypePartUnused() string
- func (r TaobaoAlitripItFareAddowRequest) GetRefundPartPrice4Dep() string
- func (r TaobaoAlitripItFareAddowRequest) GetRefundPrice4Dep() string
- func (r TaobaoAlitripItFareAddowRequest) GetRefundRule() string
- func (r TaobaoAlitripItFareAddowRequest) GetReissuePartPrice4Dep() string
- func (r TaobaoAlitripItFareAddowRequest) GetReissuePrice4Dep() string
- func (r TaobaoAlitripItFareAddowRequest) GetReissueRule() string
- func (r TaobaoAlitripItFareAddowRequest) GetRemark() string
- func (r TaobaoAlitripItFareAddowRequest) GetRestrictFlightNo() string
- func (r TaobaoAlitripItFareAddowRequest) GetReturnPoint() float64
- func (r TaobaoAlitripItFareAddowRequest) GetRuleId() string
- func (r TaobaoAlitripItFareAddowRequest) GetSaleAirline() string
- func (r TaobaoAlitripItFareAddowRequest) GetSaleDate() string
- func (r TaobaoAlitripItFareAddowRequest) GetStockMode() string
- func (r TaobaoAlitripItFareAddowRequest) GetTariff() string
- func (r TaobaoAlitripItFareAddowRequest) GetTicketPrice() int64
- func (r TaobaoAlitripItFareAddowRequest) GetTicketingAirline() string
- func (r TaobaoAlitripItFareAddowRequest) GetTransitLand() string
- func (r TaobaoAlitripItFareAddowRequest) GetTripDatePoint4Dep() string
- func (r TaobaoAlitripItFareAddowRequest) GetTripExcludeDatePoint4Dep() string
- func (r TaobaoAlitripItFareAddowRequest) GetTripType() string
- func (r TaobaoAlitripItFareAddowRequest) GetValidDate4Dep() string
- func (r TaobaoAlitripItFareAddowRequest) GetVipCode() string
- func (r TaobaoAlitripItFareAddowRequest) GetWorkingHours() string
- func (r *TaobaoAlitripItFareAddowRequest) SetAddressOption(addressOption string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetAdjustMoney(adjustMoney int64) error
- func (r *TaobaoAlitripItFareAddowRequest) SetAdultPassengerIdentity(adultPassengerIdentity string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetAdultTax(adultTax string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetApplyChannel(applyChannel string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetBookingOffice(bookingOffice string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetBuyTicketNotice(buyTicketNotice string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetCabin(cabin string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetCanDepChange(canDepChange string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetChildPrice(childPrice string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetChildTax(childTax string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetCodeSharingType(codeSharingType string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetCommodityType(commodityType string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetDepChangeCurrency(depChangeCurrency string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetDepChangeFee(depChangeFee string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetDepChangeFeeType(depChangeFeeType string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetDestination(destination string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetEarlyTicketingTimeLimit(earlyTicketingTimeLimit int64) error
- func (r *TaobaoAlitripItFareAddowRequest) SetExcludeDateRange4Dep(excludeDateRange4Dep string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetExcludeFlightNo(excludeFlightNo string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetExcludeNationality(excludeNationality string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetExtendAttributes(extendAttributes string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetFareSource(fareSource string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetFareTypeCode(fareTypeCode string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetFarebasis(farebasis string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetFileCode(fileCode string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetFlightDatePoint4Dep(flightDatePoint4Dep string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetFlightDateRestrict4Dep(flightDateRestrict4Dep string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetGv2ChildRule(gv2ChildRule string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetIsCanAllRefund(isCanAllRefund string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetIsCanPartRefund(isCanPartRefund string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetIsCanRefund4Dep(isCanRefund4Dep string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetIsCanReissue4Dep(isCanReissue4Dep string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetIsCreatePnr(isCreatePnr string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetIsNoShowCanRefund4Dep(isNoShowCanRefund4Dep string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetIsNoShowCanReissue4Dep(isNoShowCanReissue4Dep string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetIsValidatPrice(isValidatPrice string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetLateTicketingTimeLimit(lateTicketingTimeLimit int64) error
- func (r *TaobaoAlitripItFareAddowRequest) SetLuggageRule(luggageRule string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetLuggageRule4Dep(luggageRule4Dep string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetMaxTravelPerson(maxTravelPerson int64) error
- func (r *TaobaoAlitripItFareAddowRequest) SetMinTravelPerson(minTravelPerson int64) error
- func (r *TaobaoAlitripItFareAddowRequest) SetNationality(nationality string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetNoShowPenalty4Dep(noShowPenalty4Dep int64) error
- func (r *TaobaoAlitripItFareAddowRequest) SetNoShowTimeLimit4Dep(noShowTimeLimit4Dep int64) error
- func (r *TaobaoAlitripItFareAddowRequest) SetNoshowCurrency(noshowCurrency string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetNoshowFee(noshowFee string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetNoshowRestrict(noshowRestrict string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetNoshowRule(noshowRule string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetNoshowRuleType(noshowRuleType string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetNoshowTimeRestrict(noshowTimeRestrict string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetNoshowTimeRestrictUnit(noshowTimeRestrictUnit string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetOriginLand(originLand string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetOutFileCode(outFileCode string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetPassengerAge(passengerAge string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetProductType(productType string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetReceipts(receipts string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetRefundCurrencyAllUnused(refundCurrencyAllUnused string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetRefundCurrencyPartUnused(refundCurrencyPartUnused string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetRefundFeeAllUnused(refundFeeAllUnused string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetRefundFeePartUnused(refundFeePartUnused string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetRefundFeeTypeAllUnused(refundFeeTypeAllUnused string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetRefundFeeTypePartUnused(refundFeeTypePartUnused string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetRefundPartPrice4Dep(refundPartPrice4Dep string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetRefundPrice4Dep(refundPrice4Dep string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetRefundRule(refundRule string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetReissuePartPrice4Dep(reissuePartPrice4Dep string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetReissuePrice4Dep(reissuePrice4Dep string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetReissueRule(reissueRule string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetRemark(remark string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetRestrictFlightNo(restrictFlightNo string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetReturnPoint(returnPoint float64) error
- func (r *TaobaoAlitripItFareAddowRequest) SetRuleId(ruleId string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetSaleAirline(saleAirline string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetSaleDate(saleDate string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetStockMode(stockMode string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetTariff(tariff string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetTicketPrice(ticketPrice int64) error
- func (r *TaobaoAlitripItFareAddowRequest) SetTicketingAirline(ticketingAirline string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetTransitLand(transitLand string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetTripDatePoint4Dep(tripDatePoint4Dep string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetTripExcludeDatePoint4Dep(tripExcludeDatePoint4Dep string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetTripType(tripType string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetValidDate4Dep(validDate4Dep string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetVipCode(vipCode string) error
- func (r *TaobaoAlitripItFareAddowRequest) SetWorkingHours(workingHours string) error
- type TaobaoAlitripItFareAddowResponse
- type TaobaoAlitripItFareAddrtAPIResponse
- type TaobaoAlitripItFareAddrtRequest
- func (r TaobaoAlitripItFareAddrtRequest) GetAddressOption() string
- func (r TaobaoAlitripItFareAddrtRequest) GetAdjustMoney() int64
- func (r TaobaoAlitripItFareAddrtRequest) GetAdultPassengerIdentity() string
- func (r TaobaoAlitripItFareAddrtRequest) GetAdultTax() int64
- func (r TaobaoAlitripItFareAddrtRequest) GetApiMethodName() string
- func (r TaobaoAlitripItFareAddrtRequest) GetApiParams() url.Values
- func (r TaobaoAlitripItFareAddrtRequest) GetApplyChannel() string
- func (r TaobaoAlitripItFareAddrtRequest) GetBookingOffice() string
- func (r TaobaoAlitripItFareAddrtRequest) GetBuyTicketNotice() string
- func (r TaobaoAlitripItFareAddrtRequest) GetCabin() string
- func (r TaobaoAlitripItFareAddrtRequest) GetCanDepChange() string
- func (r TaobaoAlitripItFareAddrtRequest) GetCanRetChange() string
- func (r TaobaoAlitripItFareAddrtRequest) GetChildPrice() string
- func (r TaobaoAlitripItFareAddrtRequest) GetChildTax() int64
- func (r TaobaoAlitripItFareAddrtRequest) GetCodeSharingType() string
- func (r TaobaoAlitripItFareAddrtRequest) GetCombinationFilecode() string
- func (r TaobaoAlitripItFareAddrtRequest) GetCombinationOjFilecode() string
- func (r TaobaoAlitripItFareAddrtRequest) GetCommodityType() string
- func (r TaobaoAlitripItFareAddrtRequest) GetDepChangeCurrency() string
- func (r TaobaoAlitripItFareAddrtRequest) GetDepChangeFee() string
- func (r TaobaoAlitripItFareAddrtRequest) GetDepChangeFeeType() string
- func (r TaobaoAlitripItFareAddrtRequest) GetDestination() string
- func (r TaobaoAlitripItFareAddrtRequest) GetEarlyTicketingTimeLimit() int64
- func (r TaobaoAlitripItFareAddrtRequest) GetExcludeDateRange4Dep() string
- func (r TaobaoAlitripItFareAddrtRequest) GetExcludeDateRange4Ret() string
- func (r TaobaoAlitripItFareAddrtRequest) GetExcludeFlightNo() string
- func (r TaobaoAlitripItFareAddrtRequest) GetExcludeNationality() string
- func (r TaobaoAlitripItFareAddrtRequest) GetExtendAttributes() string
- func (r TaobaoAlitripItFareAddrtRequest) GetFareDirectDestrict() int64
- func (r TaobaoAlitripItFareAddrtRequest) GetFareSource() string
- func (r TaobaoAlitripItFareAddrtRequest) GetFareTypeCode() string
- func (r TaobaoAlitripItFareAddrtRequest) GetFarebasis() string
- func (r TaobaoAlitripItFareAddrtRequest) GetFileCode() string
- func (r TaobaoAlitripItFareAddrtRequest) GetFlightDatePoint4Dep() string
- func (r TaobaoAlitripItFareAddrtRequest) GetFlightDatePoint4Ret() string
- func (r TaobaoAlitripItFareAddrtRequest) GetFlightDateRestrict4Dep() string
- func (r TaobaoAlitripItFareAddrtRequest) GetFlightDateRestrict4Ret() string
- func (r TaobaoAlitripItFareAddrtRequest) GetGv2ChildRule() string
- func (r TaobaoAlitripItFareAddrtRequest) GetIsAllowOj() string
- func (r TaobaoAlitripItFareAddrtRequest) GetIsCanAllRefund() string
- func (r TaobaoAlitripItFareAddrtRequest) GetIsCanPartRefund() string
- func (r TaobaoAlitripItFareAddrtRequest) GetIsCanRefund4Dep() string
- func (r TaobaoAlitripItFareAddrtRequest) GetIsCanRefund4Ret() string
- func (r TaobaoAlitripItFareAddrtRequest) GetIsCanReissue4Dep() string
- func (r TaobaoAlitripItFareAddrtRequest) GetIsCanReissue4Ret() string
- func (r TaobaoAlitripItFareAddrtRequest) GetIsCreatePnr() string
- func (r TaobaoAlitripItFareAddrtRequest) GetIsNoShowCanRefund4Dep() string
- func (r TaobaoAlitripItFareAddrtRequest) GetIsNoShowCanRefund4Ret() string
- func (r TaobaoAlitripItFareAddrtRequest) GetIsNoShowCanReissue4Dep() string
- func (r TaobaoAlitripItFareAddrtRequest) GetIsNoShowCanReissue4Ret() string
- func (r TaobaoAlitripItFareAddrtRequest) GetIsRT() string
- func (r TaobaoAlitripItFareAddrtRequest) GetIsValidatPrice() string
- func (r TaobaoAlitripItFareAddrtRequest) GetLateTicketingTimeLimit() int64
- func (r TaobaoAlitripItFareAddrtRequest) GetLuggageRule() string
- func (r TaobaoAlitripItFareAddrtRequest) GetLuggageRule4Dep() string
- func (r TaobaoAlitripItFareAddrtRequest) GetLuggageRule4Ret() string
- func (r TaobaoAlitripItFareAddrtRequest) GetMaxStay() string
- func (r TaobaoAlitripItFareAddrtRequest) GetMaxTravelPerson() int64
- func (r TaobaoAlitripItFareAddrtRequest) GetMinStay() string
- func (r TaobaoAlitripItFareAddrtRequest) GetMinTravelPerson() int64
- func (r TaobaoAlitripItFareAddrtRequest) GetNationality() string
- func (r TaobaoAlitripItFareAddrtRequest) GetNoShowPenalty4Dep() int64
- func (r TaobaoAlitripItFareAddrtRequest) GetNoShowPenalty4Ret() int64
- func (r TaobaoAlitripItFareAddrtRequest) GetNoShowTimeLimit4Dep() int64
- func (r TaobaoAlitripItFareAddrtRequest) GetNoShowTimeLimit4Ret() int64
- func (r TaobaoAlitripItFareAddrtRequest) GetNoshowCurrency() string
- func (r TaobaoAlitripItFareAddrtRequest) GetNoshowFee() string
- func (r TaobaoAlitripItFareAddrtRequest) GetNoshowRestrict() string
- func (r TaobaoAlitripItFareAddrtRequest) GetNoshowRule() string
- func (r TaobaoAlitripItFareAddrtRequest) GetNoshowRuleType() string
- func (r TaobaoAlitripItFareAddrtRequest) GetNoshowTimeRestrict() string
- func (r TaobaoAlitripItFareAddrtRequest) GetNoshowTimeRestrictUnit() string
- func (r TaobaoAlitripItFareAddrtRequest) GetOjType() string
- func (r TaobaoAlitripItFareAddrtRequest) GetOriginLand() string
- func (r TaobaoAlitripItFareAddrtRequest) GetOutFileCode() string
- func (r TaobaoAlitripItFareAddrtRequest) GetPassengerAge() string
- func (r TaobaoAlitripItFareAddrtRequest) GetProductType() string
- func (r TaobaoAlitripItFareAddrtRequest) GetReceipts() string
- func (r TaobaoAlitripItFareAddrtRequest) GetRefundCurrencyAllUnused() string
- func (r TaobaoAlitripItFareAddrtRequest) GetRefundCurrencyPartUnused() string
- func (r TaobaoAlitripItFareAddrtRequest) GetRefundFeeAllUnused() string
- func (r TaobaoAlitripItFareAddrtRequest) GetRefundFeePartUnused() string
- func (r TaobaoAlitripItFareAddrtRequest) GetRefundFeeTypeAllUnused() string
- func (r TaobaoAlitripItFareAddrtRequest) GetRefundFeeTypePartUnused() string
- func (r TaobaoAlitripItFareAddrtRequest) GetRefundPartPrice4Dep() string
- func (r TaobaoAlitripItFareAddrtRequest) GetRefundPartPrice4Ret() string
- func (r TaobaoAlitripItFareAddrtRequest) GetRefundPrice4Dep() string
- func (r TaobaoAlitripItFareAddrtRequest) GetRefundPrice4Ret() string
- func (r TaobaoAlitripItFareAddrtRequest) GetRefundRule() string
- func (r TaobaoAlitripItFareAddrtRequest) GetReissuePartPrice4Dep() string
- func (r TaobaoAlitripItFareAddrtRequest) GetReissuePartPrice4Ret() string
- func (r TaobaoAlitripItFareAddrtRequest) GetReissuePrice4Dep() string
- func (r TaobaoAlitripItFareAddrtRequest) GetReissuePrice4Ret() string
- func (r TaobaoAlitripItFareAddrtRequest) GetReissueRule() string
- func (r TaobaoAlitripItFareAddrtRequest) GetRemark() string
- func (r TaobaoAlitripItFareAddrtRequest) GetRestrictFlightNo() string
- func (r TaobaoAlitripItFareAddrtRequest) GetRetChangeCurrency() string
- func (r TaobaoAlitripItFareAddrtRequest) GetRetChangeFee() string
- func (r TaobaoAlitripItFareAddrtRequest) GetRetChangeFeeType() string
- func (r TaobaoAlitripItFareAddrtRequest) GetReturnPoint() float64
- func (r TaobaoAlitripItFareAddrtRequest) GetRtCommissionFormula() string
- func (r TaobaoAlitripItFareAddrtRequest) GetRtType() string
- func (r TaobaoAlitripItFareAddrtRequest) GetRuleId() string
- func (r TaobaoAlitripItFareAddrtRequest) GetSaleAirline() string
- func (r TaobaoAlitripItFareAddrtRequest) GetSaleDate() string
- func (r TaobaoAlitripItFareAddrtRequest) GetStockMode() string
- func (r TaobaoAlitripItFareAddrtRequest) GetTariff() string
- func (r TaobaoAlitripItFareAddrtRequest) GetTicketPrice() int64
- func (r TaobaoAlitripItFareAddrtRequest) GetTicketingAirline() string
- func (r TaobaoAlitripItFareAddrtRequest) GetTransitLand() string
- func (r TaobaoAlitripItFareAddrtRequest) GetTripDatePoint4Dep() string
- func (r TaobaoAlitripItFareAddrtRequest) GetTripDatePoint4Ret() string
- func (r TaobaoAlitripItFareAddrtRequest) GetTripExcludeDatePoint4Dep() string
- func (r TaobaoAlitripItFareAddrtRequest) GetTripExcludeDatePoint4Ret() string
- func (r TaobaoAlitripItFareAddrtRequest) GetTripType() string
- func (r TaobaoAlitripItFareAddrtRequest) GetValidDate4Dep() string
- func (r TaobaoAlitripItFareAddrtRequest) GetValidDate4Ret() string
- func (r TaobaoAlitripItFareAddrtRequest) GetVipCode() string
- func (r TaobaoAlitripItFareAddrtRequest) GetWorkingHours() string
- func (r *TaobaoAlitripItFareAddrtRequest) SetAddressOption(addressOption string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetAdjustMoney(adjustMoney int64) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetAdultPassengerIdentity(adultPassengerIdentity string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetAdultTax(adultTax int64) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetApplyChannel(applyChannel string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetBookingOffice(bookingOffice string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetBuyTicketNotice(buyTicketNotice string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetCabin(cabin string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetCanDepChange(canDepChange string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetCanRetChange(canRetChange string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetChildPrice(childPrice string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetChildTax(childTax int64) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetCodeSharingType(codeSharingType string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetCombinationFilecode(combinationFilecode string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetCombinationOjFilecode(combinationOjFilecode string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetCommodityType(commodityType string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetDepChangeCurrency(depChangeCurrency string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetDepChangeFee(depChangeFee string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetDepChangeFeeType(depChangeFeeType string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetDestination(destination string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetEarlyTicketingTimeLimit(earlyTicketingTimeLimit int64) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetExcludeDateRange4Dep(excludeDateRange4Dep string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetExcludeDateRange4Ret(excludeDateRange4Ret string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetExcludeFlightNo(excludeFlightNo string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetExcludeNationality(excludeNationality string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetExtendAttributes(extendAttributes string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetFareDirectDestrict(fareDirectDestrict int64) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetFareSource(fareSource string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetFareTypeCode(fareTypeCode string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetFarebasis(farebasis string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetFileCode(fileCode string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetFlightDatePoint4Dep(flightDatePoint4Dep string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetFlightDatePoint4Ret(flightDatePoint4Ret string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetFlightDateRestrict4Dep(flightDateRestrict4Dep string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetFlightDateRestrict4Ret(flightDateRestrict4Ret string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetGv2ChildRule(gv2ChildRule string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetIsAllowOj(isAllowOj string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetIsCanAllRefund(isCanAllRefund string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetIsCanPartRefund(isCanPartRefund string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetIsCanRefund4Dep(isCanRefund4Dep string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetIsCanRefund4Ret(isCanRefund4Ret string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetIsCanReissue4Dep(isCanReissue4Dep string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetIsCanReissue4Ret(isCanReissue4Ret string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetIsCreatePnr(isCreatePnr string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetIsNoShowCanRefund4Dep(isNoShowCanRefund4Dep string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetIsNoShowCanRefund4Ret(isNoShowCanRefund4Ret string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetIsNoShowCanReissue4Dep(isNoShowCanReissue4Dep string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetIsNoShowCanReissue4Ret(isNoShowCanReissue4Ret string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetIsRT(isRT string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetIsValidatPrice(isValidatPrice string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetLateTicketingTimeLimit(lateTicketingTimeLimit int64) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetLuggageRule(luggageRule string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetLuggageRule4Dep(luggageRule4Dep string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetLuggageRule4Ret(luggageRule4Ret string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetMaxStay(maxStay string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetMaxTravelPerson(maxTravelPerson int64) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetMinStay(minStay string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetMinTravelPerson(minTravelPerson int64) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetNationality(nationality string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetNoShowPenalty4Dep(noShowPenalty4Dep int64) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetNoShowPenalty4Ret(noShowPenalty4Ret int64) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetNoShowTimeLimit4Dep(noShowTimeLimit4Dep int64) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetNoShowTimeLimit4Ret(noShowTimeLimit4Ret int64) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetNoshowCurrency(noshowCurrency string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetNoshowFee(noshowFee string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetNoshowRestrict(noshowRestrict string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetNoshowRule(noshowRule string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetNoshowRuleType(noshowRuleType string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetNoshowTimeRestrict(noshowTimeRestrict string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetNoshowTimeRestrictUnit(noshowTimeRestrictUnit string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetOjType(ojType string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetOriginLand(originLand string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetOutFileCode(outFileCode string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetPassengerAge(passengerAge string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetProductType(productType string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetReceipts(receipts string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetRefundCurrencyAllUnused(refundCurrencyAllUnused string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetRefundCurrencyPartUnused(refundCurrencyPartUnused string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetRefundFeeAllUnused(refundFeeAllUnused string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetRefundFeePartUnused(refundFeePartUnused string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetRefundFeeTypeAllUnused(refundFeeTypeAllUnused string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetRefundFeeTypePartUnused(refundFeeTypePartUnused string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetRefundPartPrice4Dep(refundPartPrice4Dep string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetRefundPartPrice4Ret(refundPartPrice4Ret string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetRefundPrice4Dep(refundPrice4Dep string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetRefundPrice4Ret(refundPrice4Ret string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetRefundRule(refundRule string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetReissuePartPrice4Dep(reissuePartPrice4Dep string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetReissuePartPrice4Ret(reissuePartPrice4Ret string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetReissuePrice4Dep(reissuePrice4Dep string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetReissuePrice4Ret(reissuePrice4Ret string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetReissueRule(reissueRule string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetRemark(remark string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetRestrictFlightNo(restrictFlightNo string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetRetChangeCurrency(retChangeCurrency string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetRetChangeFee(retChangeFee string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetRetChangeFeeType(retChangeFeeType string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetReturnPoint(returnPoint float64) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetRtCommissionFormula(rtCommissionFormula string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetRtType(rtType string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetRuleId(ruleId string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetSaleAirline(saleAirline string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetSaleDate(saleDate string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetStockMode(stockMode string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetTariff(tariff string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetTicketPrice(ticketPrice int64) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetTicketingAirline(ticketingAirline string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetTransitLand(transitLand string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetTripDatePoint4Dep(tripDatePoint4Dep string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetTripDatePoint4Ret(tripDatePoint4Ret string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetTripExcludeDatePoint4Dep(tripExcludeDatePoint4Dep string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetTripExcludeDatePoint4Ret(tripExcludeDatePoint4Ret string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetTripType(tripType string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetValidDate4Dep(validDate4Dep string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetValidDate4Ret(validDate4Ret string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetVipCode(vipCode string) error
- func (r *TaobaoAlitripItFareAddrtRequest) SetWorkingHours(workingHours string) error
- type TaobaoAlitripItFareAddrtResponse
- type TaobaoAlitripItFareBatchaddAPIResponse
- type TaobaoAlitripItFareBatchaddRequest
- func (r TaobaoAlitripItFareBatchaddRequest) GetAddType() int64
- func (r TaobaoAlitripItFareBatchaddRequest) GetApiMethodName() string
- func (r TaobaoAlitripItFareBatchaddRequest) GetApiParams() url.Values
- func (r TaobaoAlitripItFareBatchaddRequest) GetBytes() []*model.File
- func (r TaobaoAlitripItFareBatchaddRequest) GetDataType() int64
- func (r TaobaoAlitripItFareBatchaddRequest) GetExtendAttributes() string
- func (r *TaobaoAlitripItFareBatchaddRequest) SetAddType(addType int64) error
- func (r *TaobaoAlitripItFareBatchaddRequest) SetBytes(bytes []*model.File) error
- func (r *TaobaoAlitripItFareBatchaddRequest) SetDataType(dataType int64) error
- func (r *TaobaoAlitripItFareBatchaddRequest) SetExtendAttributes(extendAttributes string) error
- type TaobaoAlitripItFareBatchaddResponse
- type TaobaoAlitripItFareBatchdeleteAPIResponse
- type TaobaoAlitripItFareBatchdeleteRequest
- func (r TaobaoAlitripItFareBatchdeleteRequest) GetAirline() string
- func (r TaobaoAlitripItFareBatchdeleteRequest) GetApiMethodName() string
- func (r TaobaoAlitripItFareBatchdeleteRequest) GetApiParams() url.Values
- func (r TaobaoAlitripItFareBatchdeleteRequest) GetArrCity() string
- func (r TaobaoAlitripItFareBatchdeleteRequest) GetCabin() string
- func (r TaobaoAlitripItFareBatchdeleteRequest) GetCanRt() bool
- func (r TaobaoAlitripItFareBatchdeleteRequest) GetDepCity() string
- func (r TaobaoAlitripItFareBatchdeleteRequest) GetEndModifyDate() string
- func (r TaobaoAlitripItFareBatchdeleteRequest) GetEndRestrictGoDate() string
- func (r TaobaoAlitripItFareBatchdeleteRequest) GetExtendAttributes() string
- func (r TaobaoAlitripItFareBatchdeleteRequest) GetFareType() int64
- func (r TaobaoAlitripItFareBatchdeleteRequest) GetFileCode() string
- func (r TaobaoAlitripItFareBatchdeleteRequest) GetOperateSource() string
- func (r TaobaoAlitripItFareBatchdeleteRequest) GetOutId() string
- func (r TaobaoAlitripItFareBatchdeleteRequest) GetStartModifyDate() string
- func (r TaobaoAlitripItFareBatchdeleteRequest) GetStartRestrictGoDate() string
- func (r TaobaoAlitripItFareBatchdeleteRequest) GetStatusList() []int64
- func (r *TaobaoAlitripItFareBatchdeleteRequest) SetAirline(airline string) error
- func (r *TaobaoAlitripItFareBatchdeleteRequest) SetArrCity(arrCity string) error
- func (r *TaobaoAlitripItFareBatchdeleteRequest) SetCabin(cabin string) error
- func (r *TaobaoAlitripItFareBatchdeleteRequest) SetCanRt(canRt bool) error
- func (r *TaobaoAlitripItFareBatchdeleteRequest) SetDepCity(depCity string) error
- func (r *TaobaoAlitripItFareBatchdeleteRequest) SetEndModifyDate(endModifyDate string) error
- func (r *TaobaoAlitripItFareBatchdeleteRequest) SetEndRestrictGoDate(endRestrictGoDate string) error
- func (r *TaobaoAlitripItFareBatchdeleteRequest) SetExtendAttributes(extendAttributes string) error
- func (r *TaobaoAlitripItFareBatchdeleteRequest) SetFareType(fareType int64) error
- func (r *TaobaoAlitripItFareBatchdeleteRequest) SetFileCode(fileCode string) error
- func (r *TaobaoAlitripItFareBatchdeleteRequest) SetOperateSource(operateSource string) error
- func (r *TaobaoAlitripItFareBatchdeleteRequest) SetOutId(outId string) error
- func (r *TaobaoAlitripItFareBatchdeleteRequest) SetStartModifyDate(startModifyDate string) error
- func (r *TaobaoAlitripItFareBatchdeleteRequest) SetStartRestrictGoDate(startRestrictGoDate string) error
- func (r *TaobaoAlitripItFareBatchdeleteRequest) SetStatusList(statusList []int64) error
- type TaobaoAlitripItFareBatchdeleteResponse
- type TaobaoAlitripItFareDeleteAPIResponse
- type TaobaoAlitripItFareDeleteRequest
- func (r TaobaoAlitripItFareDeleteRequest) GetApiMethodName() string
- func (r TaobaoAlitripItFareDeleteRequest) GetApiParams() url.Values
- func (r TaobaoAlitripItFareDeleteRequest) GetExtendAttributes() string
- func (r TaobaoAlitripItFareDeleteRequest) GetFareId() int64
- func (r TaobaoAlitripItFareDeleteRequest) GetOutId() string
- func (r *TaobaoAlitripItFareDeleteRequest) SetExtendAttributes(extendAttributes string) error
- func (r *TaobaoAlitripItFareDeleteRequest) SetFareId(fareId int64) error
- func (r *TaobaoAlitripItFareDeleteRequest) SetOutId(outId string) error
- type TaobaoAlitripItFareDeleteResponse
- type TaobaoAlitripItFareGetAPIResponse
- type TaobaoAlitripItFareGetRequest
- func (r TaobaoAlitripItFareGetRequest) GetApiMethodName() string
- func (r TaobaoAlitripItFareGetRequest) GetApiParams() url.Values
- func (r TaobaoAlitripItFareGetRequest) GetExtendAttributes() string
- func (r TaobaoAlitripItFareGetRequest) GetFareId() int64
- func (r TaobaoAlitripItFareGetRequest) GetOutId() string
- func (r *TaobaoAlitripItFareGetRequest) SetExtendAttributes(extendAttributes string) error
- func (r *TaobaoAlitripItFareGetRequest) SetFareId(fareId int64) error
- func (r *TaobaoAlitripItFareGetRequest) SetOutId(outId string) error
- type TaobaoAlitripItFareGetResponse
- type TaobaoAlitripItFareQuerytaskAPIResponse
- type TaobaoAlitripItFareQuerytaskRequest
- func (r TaobaoAlitripItFareQuerytaskRequest) GetApiMethodName() string
- func (r TaobaoAlitripItFareQuerytaskRequest) GetApiParams() url.Values
- func (r TaobaoAlitripItFareQuerytaskRequest) GetExtendAttributes() string
- func (r TaobaoAlitripItFareQuerytaskRequest) GetTaskId() int64
- func (r *TaobaoAlitripItFareQuerytaskRequest) SetExtendAttributes(extendAttributes string) error
- func (r *TaobaoAlitripItFareQuerytaskRequest) SetTaskId(taskId int64) error
- type TaobaoAlitripItFareQuerytaskResponse
- type TaobaoAlitripItFareUpdateAPIResponse
- type TaobaoAlitripItFareUpdateRequest
- func (r TaobaoAlitripItFareUpdateRequest) GetApiMethodName() string
- func (r TaobaoAlitripItFareUpdateRequest) GetApiParams() url.Values
- func (r TaobaoAlitripItFareUpdateRequest) GetExtendAttributes() string
- func (r TaobaoAlitripItFareUpdateRequest) GetFareId() int64
- func (r TaobaoAlitripItFareUpdateRequest) GetFareJson() string
- func (r TaobaoAlitripItFareUpdateRequest) GetFareType() int64
- func (r TaobaoAlitripItFareUpdateRequest) GetOutId() string
- func (r *TaobaoAlitripItFareUpdateRequest) SetExtendAttributes(extendAttributes string) error
- func (r *TaobaoAlitripItFareUpdateRequest) SetFareId(fareId int64) error
- func (r *TaobaoAlitripItFareUpdateRequest) SetFareJson(fareJson string) error
- func (r *TaobaoAlitripItFareUpdateRequest) SetFareType(fareType int64) error
- func (r *TaobaoAlitripItFareUpdateRequest) SetOutId(outId string) error
- type TaobaoAlitripItFareUpdateResponse
- type TaobaoAlitripItPolicyAddAPIResponse
- type TaobaoAlitripItPolicyAddRequest
- func (r TaobaoAlitripItPolicyAddRequest) GetApiMethodName() string
- func (r TaobaoAlitripItPolicyAddRequest) GetApiParams() url.Values
- func (r TaobaoAlitripItPolicyAddRequest) GetExtendAttributes() string
- func (r TaobaoAlitripItPolicyAddRequest) GetTopPolicyDo() *TopPolicyDo
- func (r *TaobaoAlitripItPolicyAddRequest) SetExtendAttributes(extendAttributes string) error
- func (r *TaobaoAlitripItPolicyAddRequest) SetTopPolicyDo(topPolicyDo *TopPolicyDo) error
- type TaobaoAlitripItPolicyAddResponse
- type TaobaoAlitripItPolicyBatchdeleteAPIResponse
- type TaobaoAlitripItPolicyBatchdeleteRequest
- func (r TaobaoAlitripItPolicyBatchdeleteRequest) GetAirline() string
- func (r TaobaoAlitripItPolicyBatchdeleteRequest) GetApiMethodName() string
- func (r TaobaoAlitripItPolicyBatchdeleteRequest) GetApiParams() url.Values
- func (r TaobaoAlitripItPolicyBatchdeleteRequest) GetArrCity() string
- func (r TaobaoAlitripItPolicyBatchdeleteRequest) GetCabin() string
- func (r TaobaoAlitripItPolicyBatchdeleteRequest) GetDepCity() string
- func (r TaobaoAlitripItPolicyBatchdeleteRequest) GetPolicyId() string
- func (r TaobaoAlitripItPolicyBatchdeleteRequest) GetStatusList() []int64
- func (r *TaobaoAlitripItPolicyBatchdeleteRequest) SetAirline(airline string) error
- func (r *TaobaoAlitripItPolicyBatchdeleteRequest) SetArrCity(arrCity string) error
- func (r *TaobaoAlitripItPolicyBatchdeleteRequest) SetCabin(cabin string) error
- func (r *TaobaoAlitripItPolicyBatchdeleteRequest) SetDepCity(depCity string) error
- func (r *TaobaoAlitripItPolicyBatchdeleteRequest) SetPolicyId(policyId string) error
- func (r *TaobaoAlitripItPolicyBatchdeleteRequest) SetStatusList(statusList []int64) error
- type TaobaoAlitripItPolicyBatchdeleteResponse
- type TaobaoAlitripItPolicyDeleteAPIResponse
- type TaobaoAlitripItPolicyDeleteRequest
- func (r TaobaoAlitripItPolicyDeleteRequest) GetApiMethodName() string
- func (r TaobaoAlitripItPolicyDeleteRequest) GetApiParams() url.Values
- func (r TaobaoAlitripItPolicyDeleteRequest) GetExtendAttributes() string
- func (r TaobaoAlitripItPolicyDeleteRequest) GetOutId() string
- func (r TaobaoAlitripItPolicyDeleteRequest) GetTaobaoId() int64
- func (r *TaobaoAlitripItPolicyDeleteRequest) SetExtendAttributes(extendAttributes string) error
- func (r *TaobaoAlitripItPolicyDeleteRequest) SetOutId(outId string) error
- func (r *TaobaoAlitripItPolicyDeleteRequest) SetTaobaoId(taobaoId int64) error
- type TaobaoAlitripItPolicyDeleteResponse
- type TaobaoAlitripItPolicyGetAPIResponse
- type TaobaoAlitripItPolicyGetRequest
- func (r TaobaoAlitripItPolicyGetRequest) GetApiMethodName() string
- func (r TaobaoAlitripItPolicyGetRequest) GetApiParams() url.Values
- func (r TaobaoAlitripItPolicyGetRequest) GetExtendAttributes() string
- func (r TaobaoAlitripItPolicyGetRequest) GetOutId() string
- func (r TaobaoAlitripItPolicyGetRequest) GetTaobaoId() int64
- func (r *TaobaoAlitripItPolicyGetRequest) SetExtendAttributes(extendAttributes string) error
- func (r *TaobaoAlitripItPolicyGetRequest) SetOutId(outId string) error
- func (r *TaobaoAlitripItPolicyGetRequest) SetTaobaoId(taobaoId int64) error
- type TaobaoAlitripItPolicyGetResponse
- type TaobaoAlitripItPolicyUpdateAPIResponse
- type TaobaoAlitripItPolicyUpdateRequest
- func (r TaobaoAlitripItPolicyUpdateRequest) GetApiMethodName() string
- func (r TaobaoAlitripItPolicyUpdateRequest) GetApiParams() url.Values
- func (r TaobaoAlitripItPolicyUpdateRequest) GetExtendAttributes() string
- func (r TaobaoAlitripItPolicyUpdateRequest) GetOutId() string
- func (r TaobaoAlitripItPolicyUpdateRequest) GetTaobaoId() int64
- func (r TaobaoAlitripItPolicyUpdateRequest) GetTopPolicyDo() *TopPolicyDo
- func (r *TaobaoAlitripItPolicyUpdateRequest) SetExtendAttributes(extendAttributes string) error
- func (r *TaobaoAlitripItPolicyUpdateRequest) SetOutId(outId string) error
- func (r *TaobaoAlitripItPolicyUpdateRequest) SetTaobaoId(taobaoId int64) error
- func (r *TaobaoAlitripItPolicyUpdateRequest) SetTopPolicyDo(topPolicyDo *TopPolicyDo) error
- type TaobaoAlitripItPolicyUpdateResponse
- type TopPolicyDo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrorFareRow ¶
type ErrorFareRow struct { // 错误行数 RowNum int64 `json:"row_num,omitempty" xml:"row_num,omitempty"` // 错误描述 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` }
ErrorFareRow
type TaobaoAlitripItFareAddowAPIResponse ¶
type TaobaoAlitripItFareAddowAPIResponse struct { model.CommonResponse TaobaoAlitripItFareAddowResponse }
【国际机票自有政策】单条单程添加 API返回值 taobao.alitrip.it.fare.addow
自有政策单程添加接口,重复的老数据会被删除,重复判断规则同excel
type TaobaoAlitripItFareAddowRequest ¶
type TaobaoAlitripItFareAddowRequest struct { model.Params // contains filtered or unexported fields }
【国际机票自有政策】单条单程添加 API请求 taobao.alitrip.it.fare.addow
自有政策单程添加接口,重复的老数据会被删除,重复判断规则同excel
func NewTaobaoAlitripItFareAddowRequest ¶
func NewTaobaoAlitripItFareAddowRequest() *TaobaoAlitripItFareAddowRequest
初始化TaobaoAlitripItFareAddowRequest对象
func (TaobaoAlitripItFareAddowRequest) GetAddressOption ¶
func (r TaobaoAlitripItFareAddowRequest) GetAddressOption() string
AddressOption Getter
func (TaobaoAlitripItFareAddowRequest) GetAdjustMoney ¶
func (r TaobaoAlitripItFareAddowRequest) GetAdjustMoney() int64
AdjustMoney Getter
func (TaobaoAlitripItFareAddowRequest) GetAdultPassengerIdentity ¶
func (r TaobaoAlitripItFareAddowRequest) GetAdultPassengerIdentity() string
AdultPassengerIdentity Getter
func (TaobaoAlitripItFareAddowRequest) GetAdultTax ¶
func (r TaobaoAlitripItFareAddowRequest) GetAdultTax() string
AdultTax Getter
func (TaobaoAlitripItFareAddowRequest) GetApiMethodName ¶
func (r TaobaoAlitripItFareAddowRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoAlitripItFareAddowRequest) GetApiParams ¶
func (r TaobaoAlitripItFareAddowRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoAlitripItFareAddowRequest) GetApplyChannel ¶
func (r TaobaoAlitripItFareAddowRequest) GetApplyChannel() string
ApplyChannel Getter
func (TaobaoAlitripItFareAddowRequest) GetBookingOffice ¶
func (r TaobaoAlitripItFareAddowRequest) GetBookingOffice() string
BookingOffice Getter
func (TaobaoAlitripItFareAddowRequest) GetBuyTicketNotice ¶
func (r TaobaoAlitripItFareAddowRequest) GetBuyTicketNotice() string
BuyTicketNotice Getter
func (TaobaoAlitripItFareAddowRequest) GetCabin ¶
func (r TaobaoAlitripItFareAddowRequest) GetCabin() string
Cabin Getter
func (TaobaoAlitripItFareAddowRequest) GetCanDepChange ¶
func (r TaobaoAlitripItFareAddowRequest) GetCanDepChange() string
CanDepChange Getter
func (TaobaoAlitripItFareAddowRequest) GetChildPrice ¶
func (r TaobaoAlitripItFareAddowRequest) GetChildPrice() string
ChildPrice Getter
func (TaobaoAlitripItFareAddowRequest) GetChildTax ¶
func (r TaobaoAlitripItFareAddowRequest) GetChildTax() string
ChildTax Getter
func (TaobaoAlitripItFareAddowRequest) GetCodeSharingType ¶
func (r TaobaoAlitripItFareAddowRequest) GetCodeSharingType() string
CodeSharingType Getter
func (TaobaoAlitripItFareAddowRequest) GetCommodityType ¶
func (r TaobaoAlitripItFareAddowRequest) GetCommodityType() string
CommodityType Getter
func (TaobaoAlitripItFareAddowRequest) GetDepChangeCurrency ¶
func (r TaobaoAlitripItFareAddowRequest) GetDepChangeCurrency() string
DepChangeCurrency Getter
func (TaobaoAlitripItFareAddowRequest) GetDepChangeFee ¶
func (r TaobaoAlitripItFareAddowRequest) GetDepChangeFee() string
DepChangeFee Getter
func (TaobaoAlitripItFareAddowRequest) GetDepChangeFeeType ¶
func (r TaobaoAlitripItFareAddowRequest) GetDepChangeFeeType() string
DepChangeFeeType Getter
func (TaobaoAlitripItFareAddowRequest) GetDestination ¶
func (r TaobaoAlitripItFareAddowRequest) GetDestination() string
Destination Getter
func (TaobaoAlitripItFareAddowRequest) GetEarlyTicketingTimeLimit ¶
func (r TaobaoAlitripItFareAddowRequest) GetEarlyTicketingTimeLimit() int64
EarlyTicketingTimeLimit Getter
func (TaobaoAlitripItFareAddowRequest) GetExcludeDateRange4Dep ¶
func (r TaobaoAlitripItFareAddowRequest) GetExcludeDateRange4Dep() string
ExcludeDateRange4Dep Getter
func (TaobaoAlitripItFareAddowRequest) GetExcludeFlightNo ¶
func (r TaobaoAlitripItFareAddowRequest) GetExcludeFlightNo() string
ExcludeFlightNo Getter
func (TaobaoAlitripItFareAddowRequest) GetExcludeNationality ¶
func (r TaobaoAlitripItFareAddowRequest) GetExcludeNationality() string
ExcludeNationality Getter
func (TaobaoAlitripItFareAddowRequest) GetExtendAttributes ¶
func (r TaobaoAlitripItFareAddowRequest) GetExtendAttributes() string
ExtendAttributes Getter
func (TaobaoAlitripItFareAddowRequest) GetFareSource ¶
func (r TaobaoAlitripItFareAddowRequest) GetFareSource() string
FareSource Getter
func (TaobaoAlitripItFareAddowRequest) GetFareTypeCode ¶
func (r TaobaoAlitripItFareAddowRequest) GetFareTypeCode() string
FareTypeCode Getter
func (TaobaoAlitripItFareAddowRequest) GetFarebasis ¶
func (r TaobaoAlitripItFareAddowRequest) GetFarebasis() string
Farebasis Getter
func (TaobaoAlitripItFareAddowRequest) GetFileCode ¶
func (r TaobaoAlitripItFareAddowRequest) GetFileCode() string
FileCode Getter
func (TaobaoAlitripItFareAddowRequest) GetFlightDatePoint4Dep ¶
func (r TaobaoAlitripItFareAddowRequest) GetFlightDatePoint4Dep() string
FlightDatePoint4Dep Getter
func (TaobaoAlitripItFareAddowRequest) GetFlightDateRestrict4Dep ¶
func (r TaobaoAlitripItFareAddowRequest) GetFlightDateRestrict4Dep() string
FlightDateRestrict4Dep Getter
func (TaobaoAlitripItFareAddowRequest) GetGv2ChildRule ¶
func (r TaobaoAlitripItFareAddowRequest) GetGv2ChildRule() string
Gv2ChildRule Getter
func (TaobaoAlitripItFareAddowRequest) GetIsCanAllRefund ¶
func (r TaobaoAlitripItFareAddowRequest) GetIsCanAllRefund() string
IsCanAllRefund Getter
func (TaobaoAlitripItFareAddowRequest) GetIsCanPartRefund ¶
func (r TaobaoAlitripItFareAddowRequest) GetIsCanPartRefund() string
IsCanPartRefund Getter
func (TaobaoAlitripItFareAddowRequest) GetIsCanRefund4Dep ¶
func (r TaobaoAlitripItFareAddowRequest) GetIsCanRefund4Dep() string
IsCanRefund4Dep Getter
func (TaobaoAlitripItFareAddowRequest) GetIsCanReissue4Dep ¶
func (r TaobaoAlitripItFareAddowRequest) GetIsCanReissue4Dep() string
IsCanReissue4Dep Getter
func (TaobaoAlitripItFareAddowRequest) GetIsCreatePnr ¶
func (r TaobaoAlitripItFareAddowRequest) GetIsCreatePnr() string
IsCreatePnr Getter
func (TaobaoAlitripItFareAddowRequest) GetIsNoShowCanRefund4Dep ¶
func (r TaobaoAlitripItFareAddowRequest) GetIsNoShowCanRefund4Dep() string
IsNoShowCanRefund4Dep Getter
func (TaobaoAlitripItFareAddowRequest) GetIsNoShowCanReissue4Dep ¶
func (r TaobaoAlitripItFareAddowRequest) GetIsNoShowCanReissue4Dep() string
IsNoShowCanReissue4Dep Getter
func (TaobaoAlitripItFareAddowRequest) GetIsValidatPrice ¶
func (r TaobaoAlitripItFareAddowRequest) GetIsValidatPrice() string
IsValidatPrice Getter
func (TaobaoAlitripItFareAddowRequest) GetLateTicketingTimeLimit ¶
func (r TaobaoAlitripItFareAddowRequest) GetLateTicketingTimeLimit() int64
LateTicketingTimeLimit Getter
func (TaobaoAlitripItFareAddowRequest) GetLuggageRule ¶
func (r TaobaoAlitripItFareAddowRequest) GetLuggageRule() string
LuggageRule Getter
func (TaobaoAlitripItFareAddowRequest) GetLuggageRule4Dep ¶
func (r TaobaoAlitripItFareAddowRequest) GetLuggageRule4Dep() string
LuggageRule4Dep Getter
func (TaobaoAlitripItFareAddowRequest) GetMaxTravelPerson ¶
func (r TaobaoAlitripItFareAddowRequest) GetMaxTravelPerson() int64
MaxTravelPerson Getter
func (TaobaoAlitripItFareAddowRequest) GetMinTravelPerson ¶
func (r TaobaoAlitripItFareAddowRequest) GetMinTravelPerson() int64
MinTravelPerson Getter
func (TaobaoAlitripItFareAddowRequest) GetNationality ¶
func (r TaobaoAlitripItFareAddowRequest) GetNationality() string
Nationality Getter
func (TaobaoAlitripItFareAddowRequest) GetNoShowPenalty4Dep ¶
func (r TaobaoAlitripItFareAddowRequest) GetNoShowPenalty4Dep() int64
NoShowPenalty4Dep Getter
func (TaobaoAlitripItFareAddowRequest) GetNoShowTimeLimit4Dep ¶
func (r TaobaoAlitripItFareAddowRequest) GetNoShowTimeLimit4Dep() int64
NoShowTimeLimit4Dep Getter
func (TaobaoAlitripItFareAddowRequest) GetNoshowCurrency ¶
func (r TaobaoAlitripItFareAddowRequest) GetNoshowCurrency() string
NoshowCurrency Getter
func (TaobaoAlitripItFareAddowRequest) GetNoshowFee ¶
func (r TaobaoAlitripItFareAddowRequest) GetNoshowFee() string
NoshowFee Getter
func (TaobaoAlitripItFareAddowRequest) GetNoshowRestrict ¶
func (r TaobaoAlitripItFareAddowRequest) GetNoshowRestrict() string
NoshowRestrict Getter
func (TaobaoAlitripItFareAddowRequest) GetNoshowRule ¶
func (r TaobaoAlitripItFareAddowRequest) GetNoshowRule() string
NoshowRule Getter
func (TaobaoAlitripItFareAddowRequest) GetNoshowRuleType ¶
func (r TaobaoAlitripItFareAddowRequest) GetNoshowRuleType() string
NoshowRuleType Getter
func (TaobaoAlitripItFareAddowRequest) GetNoshowTimeRestrict ¶
func (r TaobaoAlitripItFareAddowRequest) GetNoshowTimeRestrict() string
NoshowTimeRestrict Getter
func (TaobaoAlitripItFareAddowRequest) GetNoshowTimeRestrictUnit ¶
func (r TaobaoAlitripItFareAddowRequest) GetNoshowTimeRestrictUnit() string
NoshowTimeRestrictUnit Getter
func (TaobaoAlitripItFareAddowRequest) GetOriginLand ¶
func (r TaobaoAlitripItFareAddowRequest) GetOriginLand() string
OriginLand Getter
func (TaobaoAlitripItFareAddowRequest) GetOutFileCode ¶
func (r TaobaoAlitripItFareAddowRequest) GetOutFileCode() string
OutFileCode Getter
func (TaobaoAlitripItFareAddowRequest) GetPassengerAge ¶
func (r TaobaoAlitripItFareAddowRequest) GetPassengerAge() string
PassengerAge Getter
func (TaobaoAlitripItFareAddowRequest) GetProductType ¶
func (r TaobaoAlitripItFareAddowRequest) GetProductType() string
ProductType Getter
func (TaobaoAlitripItFareAddowRequest) GetReceipts ¶
func (r TaobaoAlitripItFareAddowRequest) GetReceipts() string
Receipts Getter
func (TaobaoAlitripItFareAddowRequest) GetRefundCurrencyAllUnused ¶
func (r TaobaoAlitripItFareAddowRequest) GetRefundCurrencyAllUnused() string
RefundCurrencyAllUnused Getter
func (TaobaoAlitripItFareAddowRequest) GetRefundCurrencyPartUnused ¶
func (r TaobaoAlitripItFareAddowRequest) GetRefundCurrencyPartUnused() string
RefundCurrencyPartUnused Getter
func (TaobaoAlitripItFareAddowRequest) GetRefundFeeAllUnused ¶
func (r TaobaoAlitripItFareAddowRequest) GetRefundFeeAllUnused() string
RefundFeeAllUnused Getter
func (TaobaoAlitripItFareAddowRequest) GetRefundFeePartUnused ¶
func (r TaobaoAlitripItFareAddowRequest) GetRefundFeePartUnused() string
RefundFeePartUnused Getter
func (TaobaoAlitripItFareAddowRequest) GetRefundFeeTypeAllUnused ¶
func (r TaobaoAlitripItFareAddowRequest) GetRefundFeeTypeAllUnused() string
RefundFeeTypeAllUnused Getter
func (TaobaoAlitripItFareAddowRequest) GetRefundFeeTypePartUnused ¶
func (r TaobaoAlitripItFareAddowRequest) GetRefundFeeTypePartUnused() string
RefundFeeTypePartUnused Getter
func (TaobaoAlitripItFareAddowRequest) GetRefundPartPrice4Dep ¶
func (r TaobaoAlitripItFareAddowRequest) GetRefundPartPrice4Dep() string
RefundPartPrice4Dep Getter
func (TaobaoAlitripItFareAddowRequest) GetRefundPrice4Dep ¶
func (r TaobaoAlitripItFareAddowRequest) GetRefundPrice4Dep() string
RefundPrice4Dep Getter
func (TaobaoAlitripItFareAddowRequest) GetRefundRule ¶
func (r TaobaoAlitripItFareAddowRequest) GetRefundRule() string
RefundRule Getter
func (TaobaoAlitripItFareAddowRequest) GetReissuePartPrice4Dep ¶
func (r TaobaoAlitripItFareAddowRequest) GetReissuePartPrice4Dep() string
ReissuePartPrice4Dep Getter
func (TaobaoAlitripItFareAddowRequest) GetReissuePrice4Dep ¶
func (r TaobaoAlitripItFareAddowRequest) GetReissuePrice4Dep() string
ReissuePrice4Dep Getter
func (TaobaoAlitripItFareAddowRequest) GetReissueRule ¶
func (r TaobaoAlitripItFareAddowRequest) GetReissueRule() string
ReissueRule Getter
func (TaobaoAlitripItFareAddowRequest) GetRemark ¶
func (r TaobaoAlitripItFareAddowRequest) GetRemark() string
Remark Getter
func (TaobaoAlitripItFareAddowRequest) GetRestrictFlightNo ¶
func (r TaobaoAlitripItFareAddowRequest) GetRestrictFlightNo() string
RestrictFlightNo Getter
func (TaobaoAlitripItFareAddowRequest) GetReturnPoint ¶
func (r TaobaoAlitripItFareAddowRequest) GetReturnPoint() float64
ReturnPoint Getter
func (TaobaoAlitripItFareAddowRequest) GetRuleId ¶
func (r TaobaoAlitripItFareAddowRequest) GetRuleId() string
RuleId Getter
func (TaobaoAlitripItFareAddowRequest) GetSaleAirline ¶
func (r TaobaoAlitripItFareAddowRequest) GetSaleAirline() string
SaleAirline Getter
func (TaobaoAlitripItFareAddowRequest) GetSaleDate ¶
func (r TaobaoAlitripItFareAddowRequest) GetSaleDate() string
SaleDate Getter
func (TaobaoAlitripItFareAddowRequest) GetStockMode ¶
func (r TaobaoAlitripItFareAddowRequest) GetStockMode() string
StockMode Getter
func (TaobaoAlitripItFareAddowRequest) GetTariff ¶
func (r TaobaoAlitripItFareAddowRequest) GetTariff() string
Tariff Getter
func (TaobaoAlitripItFareAddowRequest) GetTicketPrice ¶
func (r TaobaoAlitripItFareAddowRequest) GetTicketPrice() int64
TicketPrice Getter
func (TaobaoAlitripItFareAddowRequest) GetTicketingAirline ¶
func (r TaobaoAlitripItFareAddowRequest) GetTicketingAirline() string
TicketingAirline Getter
func (TaobaoAlitripItFareAddowRequest) GetTransitLand ¶
func (r TaobaoAlitripItFareAddowRequest) GetTransitLand() string
TransitLand Getter
func (TaobaoAlitripItFareAddowRequest) GetTripDatePoint4Dep ¶
func (r TaobaoAlitripItFareAddowRequest) GetTripDatePoint4Dep() string
TripDatePoint4Dep Getter
func (TaobaoAlitripItFareAddowRequest) GetTripExcludeDatePoint4Dep ¶
func (r TaobaoAlitripItFareAddowRequest) GetTripExcludeDatePoint4Dep() string
TripExcludeDatePoint4Dep Getter
func (TaobaoAlitripItFareAddowRequest) GetTripType ¶
func (r TaobaoAlitripItFareAddowRequest) GetTripType() string
TripType Getter
func (TaobaoAlitripItFareAddowRequest) GetValidDate4Dep ¶
func (r TaobaoAlitripItFareAddowRequest) GetValidDate4Dep() string
ValidDate4Dep Getter
func (TaobaoAlitripItFareAddowRequest) GetVipCode ¶
func (r TaobaoAlitripItFareAddowRequest) GetVipCode() string
VipCode Getter
func (TaobaoAlitripItFareAddowRequest) GetWorkingHours ¶
func (r TaobaoAlitripItFareAddowRequest) GetWorkingHours() string
WorkingHours Getter
func (*TaobaoAlitripItFareAddowRequest) SetAddressOption ¶
func (r *TaobaoAlitripItFareAddowRequest) SetAddressOption(addressOption string) error
AddressOption Setter 城市/机场选项,默认为城市1、可以填写:“机场",“城市”2、定义始发地/目的地/中转点,输入为机场,还是城市。3、如:此项输入机场,则始发地、目的地必须输入机场三字码
func (*TaobaoAlitripItFareAddowRequest) SetAdjustMoney ¶
func (r *TaobaoAlitripItFareAddowRequest) SetAdjustMoney(adjustMoney int64) error
AdjustMoney Setter 留钱,1.0或正负数字2.-20表示返20元;20代表留20元
func (*TaobaoAlitripItFareAddowRequest) SetAdultPassengerIdentity ¶
func (r *TaobaoAlitripItFareAddowRequest) SetAdultPassengerIdentity(adultPassengerIdentity string) error
AdultPassengerIdentity Setter 成人旅客身份,1.不得为空 2.普通/学生 3.当输入学生时,儿童价格项输入无效 4.当为小团产品时,此适用身份类别必须为 普通。5、后期支持劳工、移民、海员、老人、青年
func (*TaobaoAlitripItFareAddowRequest) SetAdultTax ¶
func (r *TaobaoAlitripItFareAddowRequest) SetAdultTax(adultTax string) error
AdultTax Setter (后期字段,预留),成人税费,1、整数金额(包机切位产品适用)
func (*TaobaoAlitripItFareAddowRequest) SetApplyChannel ¶
func (r *TaobaoAlitripItFareAddowRequest) SetApplyChannel(applyChannel string) error
ApplyChannel Setter 运价渠道 可选listing,宝贝 默认listing
func (*TaobaoAlitripItFareAddowRequest) SetBookingOffice ¶
func (r *TaobaoAlitripItFareAddowRequest) SetBookingOffice(bookingOffice string) error
BookingOffice Setter 预定OFFICE,空表示默认优先级最高OFFICE,可输入OFFICE,校验必须为配置中存在的OFFICE
func (*TaobaoAlitripItFareAddowRequest) SetBuyTicketNotice ¶
func (r *TaobaoAlitripItFareAddowRequest) SetBuyTicketNotice(buyTicketNotice string) error
BuyTicketNotice Setter 购票须知,非必输长度小于300字符只在退票规定不为空时才会生效
func (*TaobaoAlitripItFareAddowRequest) SetCabin ¶
func (r *TaobaoAlitripItFareAddowRequest) SetCabin(cabin string) error
Cabin Setter 舱位, 用","表示航段的分割。 1、舱位代码。每段只允许录入一个舱位代码,若全程舱位一致则可以只录入一个
func (*TaobaoAlitripItFareAddowRequest) SetCanDepChange ¶
func (r *TaobaoAlitripItFareAddowRequest) SetCanDepChange(canDepChange string) error
CanDepChange Setter 必填项,去程可否改期,可输入是或否
func (*TaobaoAlitripItFareAddowRequest) SetChildPrice ¶
func (r *TaobaoAlitripItFareAddowRequest) SetChildPrice(childPrice string) error
ChildPrice Setter 儿童价,1、可不输入,空表示不适用儿童价 2、可输入大于0的正整数及百分比,输入百分比时,成人价格必须录入 例如:2000或70%。 3. 百分比计算的数值,个位向上取整 当"乘客类型"输入非“普通”(成人)时,此项输入无效。
func (*TaobaoAlitripItFareAddowRequest) SetChildTax ¶
func (r *TaobaoAlitripItFareAddowRequest) SetChildTax(childTax string) error
ChildTax Setter (后期字段,预留),儿童税费,1、整数金额(包机切位产品适用)
func (*TaobaoAlitripItFareAddowRequest) SetCodeSharingType ¶
func (r *TaobaoAlitripItFareAddowRequest) SetCodeSharingType(codeSharingType string) error
CodeSharingType Setter 不录入表示不限制;选项为:仅限同集团代码共享适用;代码共享适用;不允许代码共享;不限制 默认不限制
func (*TaobaoAlitripItFareAddowRequest) SetCommodityType ¶
func (r *TaobaoAlitripItFareAddowRequest) SetCommodityType(commodityType string) error
CommodityType Setter 商品类型,可选值:普通、金牌,默认普通,非金牌卖家不得选择金牌
func (*TaobaoAlitripItFareAddowRequest) SetDepChangeCurrency ¶
func (r *TaobaoAlitripItFareAddowRequest) SetDepChangeCurrency(depChangeCurrency string) error
DepChangeCurrency Setter 去程改期币种,可录入币种三字码,默认值CNY
func (*TaobaoAlitripItFareAddowRequest) SetDepChangeFee ¶
func (r *TaobaoAlitripItFareAddowRequest) SetDepChangeFee(depChangeFee string) error
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 (*TaobaoAlitripItFareAddowRequest) SetDepChangeFeeType ¶
func (r *TaobaoAlitripItFareAddowRequest) SetDepChangeFeeType(depChangeFeeType string) error
DepChangeFeeType Setter 去程改期费用收取方式,按每个航段收还是全程收(0:全程, 1:每个航段,默认值:全程)
func (*TaobaoAlitripItFareAddowRequest) SetDestination ¶
func (r *TaobaoAlitripItFareAddowRequest) SetDestination(destination string) error
Destination Setter 目的地,多个用“,”隔开 1.不得为空 2.可以填写:机场三字码”或“城市码” 3.最多允许100个机场三字码/城市码
func (*TaobaoAlitripItFareAddowRequest) SetEarlyTicketingTimeLimit ¶
func (r *TaobaoAlitripItFareAddowRequest) SetEarlyTicketingTimeLimit(earlyTicketingTimeLimit int64) error
EarlyTicketingTimeLimit Setter 提前出票时限,默认为空,代表无限制; 输入为小于等于365的正整数。 小于或等于最晚出票时限。 单位为天
func (*TaobaoAlitripItFareAddowRequest) SetExcludeDateRange4Dep ¶
func (r *TaobaoAlitripItFareAddowRequest) SetExcludeDateRange4Dep(excludeDateRange4Dep string) error
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 (*TaobaoAlitripItFareAddowRequest) SetExcludeFlightNo ¶
func (r *TaobaoAlitripItFareAddowRequest) SetExcludeFlightNo(excludeFlightNo string) error
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 (*TaobaoAlitripItFareAddowRequest) SetExcludeNationality ¶
func (r *TaobaoAlitripItFareAddowRequest) SetExcludeNationality(excludeNationality string) error
ExcludeNationality Setter 除外国籍,可录入多个用","隔开表示或的关系 1、可录入国家二字代码,为空表示不限制,最多录20个 *默认为空,不输入为不限制
func (*TaobaoAlitripItFareAddowRequest) SetExtendAttributes ¶
func (r *TaobaoAlitripItFareAddowRequest) SetExtendAttributes(extendAttributes string) error
ExtendAttributes Setter json格式的字符串,扩展属性,预留
func (*TaobaoAlitripItFareAddowRequest) SetFareSource ¶
func (r *TaobaoAlitripItFareAddowRequest) SetFareSource(fareSource string) error
FareSource Setter (后期字段,预留),运价发布渠道,1、可填写 PC、无线、都适用 2、默认为都适用
func (*TaobaoAlitripItFareAddowRequest) SetFareTypeCode ¶
func (r *TaobaoAlitripItFareAddowRequest) SetFareTypeCode(fareTypeCode string) error
FareTypeCode Setter 运价类型,最大长度3
func (*TaobaoAlitripItFareAddowRequest) SetFarebasis ¶
func (r *TaobaoAlitripItFareAddowRequest) SetFarebasis(farebasis string) error
Farebasis Setter 运价基础,最大长度8
func (*TaobaoAlitripItFareAddowRequest) SetFileCode ¶
func (r *TaobaoAlitripItFareAddowRequest) SetFileCode(fileCode string) error
FileCode Setter 文件编号
func (*TaobaoAlitripItFareAddowRequest) SetFlightDatePoint4Dep ¶
func (r *TaobaoAlitripItFareAddowRequest) SetFlightDatePoint4Dep(flightDatePoint4Dep string) error
FlightDatePoint4Dep Setter 去程班期作用点,始发航段/第一国际段/主航段/全部;默认空为 第一国际段
func (*TaobaoAlitripItFareAddowRequest) SetFlightDateRestrict4Dep ¶
func (r *TaobaoAlitripItFareAddowRequest) SetFlightDateRestrict4Dep(flightDateRestrict4Dep string) error
FlightDateRestrict4Dep Setter 去程班期限制,1.12表示周一周二 2.12:00-14:00表示每天的12点到14点 3. 12:00FRI-12:00SAT 表示周五的中午12点至周六的中午12点
func (*TaobaoAlitripItFareAddowRequest) SetGv2ChildRule ¶
func (r *TaobaoAlitripItFareAddowRequest) SetGv2ChildRule(gv2ChildRule string) error
Gv2ChildRule Setter 小团儿童计数规则,可选值:1个儿童计1个成人、2个儿童计1个成人、儿童不计
func (*TaobaoAlitripItFareAddowRequest) SetIsCanAllRefund ¶
func (r *TaobaoAlitripItFareAddowRequest) SetIsCanAllRefund(isCanAllRefund string) error
IsCanAllRefund Setter 必填项,全部未使用可否退票,可输入:是,否
func (*TaobaoAlitripItFareAddowRequest) SetIsCanPartRefund ¶
func (r *TaobaoAlitripItFareAddowRequest) SetIsCanPartRefund(isCanPartRefund string) error
IsCanPartRefund Setter 必填项,部分未使用可否退票,可输入:是,否
func (*TaobaoAlitripItFareAddowRequest) SetIsCanRefund4Dep ¶
func (r *TaobaoAlitripItFareAddowRequest) SetIsCanRefund4Dep(isCanRefund4Dep string) error
IsCanRefund4Dep Setter (已废除字段),去程全部未使用可否退票,录入是或否
func (*TaobaoAlitripItFareAddowRequest) SetIsCanReissue4Dep ¶
func (r *TaobaoAlitripItFareAddowRequest) SetIsCanReissue4Dep(isCanReissue4Dep string) error
IsCanReissue4Dep Setter (已废除字段),去程全部未使用可否改期,录入是或否
func (*TaobaoAlitripItFareAddowRequest) SetIsCreatePnr ¶
func (r *TaobaoAlitripItFareAddowRequest) SetIsCreatePnr(isCreatePnr string) error
IsCreatePnr Setter (后期字段,预留),是否创建PNR,1、选项 可填写是,否.默认为是
func (*TaobaoAlitripItFareAddowRequest) SetIsNoShowCanRefund4Dep ¶
func (r *TaobaoAlitripItFareAddowRequest) SetIsNoShowCanRefund4Dep(isNoShowCanRefund4Dep string) error
IsNoShowCanRefund4Dep Setter (已废除字段),去程NOSHOW能否退票,输入是或否;默认为否
func (*TaobaoAlitripItFareAddowRequest) SetIsNoShowCanReissue4Dep ¶
func (r *TaobaoAlitripItFareAddowRequest) SetIsNoShowCanReissue4Dep(isNoShowCanReissue4Dep string) error
IsNoShowCanReissue4Dep Setter (已废除字段),去程NOSHOW能否改期,输入是或否;默认为否
func (*TaobaoAlitripItFareAddowRequest) SetIsValidatPrice ¶
func (r *TaobaoAlitripItFareAddowRequest) SetIsValidatPrice(isValidatPrice string) error
IsValidatPrice Setter 是否校验票面价,1、可填写 是或者否;默认为否
func (*TaobaoAlitripItFareAddowRequest) SetLateTicketingTimeLimit ¶
func (r *TaobaoAlitripItFareAddowRequest) SetLateTicketingTimeLimit(lateTicketingTimeLimit int64) error
LateTicketingTimeLimit Setter 最晚出票时限,默认为空,代表无限制; 输入为小于等于365的正整数。 大于或等于提前出票时限。 单位为天
func (*TaobaoAlitripItFareAddowRequest) SetLuggageRule ¶
func (r *TaobaoAlitripItFareAddowRequest) SetLuggageRule(luggageRule string) error
LuggageRule Setter 行李额规定,1、不可为空2、可填写:1PC。逾重行李费用为每公斤100元3、行李额规定最多为300个字符
func (*TaobaoAlitripItFareAddowRequest) SetLuggageRule4Dep ¶
func (r *TaobaoAlitripItFareAddowRequest) SetLuggageRule4Dep(luggageRule4Dep string) error
LuggageRule4Dep Setter (后期字段,预留),去程行李额规定,可输入1-23,1-23 中间用","隔开,表示第一程和第二程(中转)支持行李额为1PC,23KG。若某段为空表示该段按照航空公司规定执行,逗号不可缺少;若不提供免费行李额直接输入空
func (*TaobaoAlitripItFareAddowRequest) SetMaxTravelPerson ¶
func (r *TaobaoAlitripItFareAddowRequest) SetMaxTravelPerson(maxTravelPerson int64) error
MaxTravelPerson Setter 最大出行人数,数字1-9
func (*TaobaoAlitripItFareAddowRequest) SetMinTravelPerson ¶
func (r *TaobaoAlitripItFareAddowRequest) SetMinTravelPerson(minTravelPerson int64) error
MinTravelPerson Setter 最小出行人数,数字1-9
func (*TaobaoAlitripItFareAddowRequest) SetNationality ¶
func (r *TaobaoAlitripItFareAddowRequest) SetNationality(nationality string) error
Nationality Setter 国籍,可录入多个用","隔开表示或的关系 1、可录入国家二字代码,为空表示不限制,最多录20个 *默认为空,不输入为不限制
func (*TaobaoAlitripItFareAddowRequest) SetNoShowPenalty4Dep ¶
func (r *TaobaoAlitripItFareAddowRequest) SetNoShowPenalty4Dep(noShowPenalty4Dep int64) error
NoShowPenalty4Dep Setter (已废除字段),去程NOSHOW罚金,可为空,若输入则为正整数;其中空表示按航空公司规定执行
func (*TaobaoAlitripItFareAddowRequest) SetNoShowTimeLimit4Dep ¶
func (r *TaobaoAlitripItFareAddowRequest) SetNoShowTimeLimit4Dep(noShowTimeLimit4Dep int64) error
NoShowTimeLimit4Dep Setter (已废除字段),去程NOSHOW规定时限,输入正整数
func (*TaobaoAlitripItFareAddowRequest) SetNoshowCurrency ¶
func (r *TaobaoAlitripItFareAddowRequest) SetNoshowCurrency(noshowCurrency string) error
NoshowCurrency Setter NOSHOW币种,可录入币种三字码,默认值CNY
func (*TaobaoAlitripItFareAddowRequest) SetNoshowFee ¶
func (r *TaobaoAlitripItFareAddowRequest) SetNoshowFee(noshowFee string) error
NoshowFee Setter NOSHOW金额,只能录入整数或百分比,【NOSHOW是否有限制】为是,【NOSHOW规则】不是不可退票,不可改期时,此项为必填项
func (*TaobaoAlitripItFareAddowRequest) SetNoshowRestrict ¶
func (r *TaobaoAlitripItFareAddowRequest) SetNoshowRestrict(noshowRestrict string) error
NoshowRestrict Setter 必填项,NOSHOW是否有限制,可输入是或否
func (*TaobaoAlitripItFareAddowRequest) SetNoshowRule ¶
func (r *TaobaoAlitripItFareAddowRequest) SetNoshowRule(noshowRule string) error
NoshowRule Setter (已废除字段)误机罚金说明,1、不可为空 2、可填写:起飞前不得退票,不得改期 3、误机罚金说明最多为300个字符
func (*TaobaoAlitripItFareAddowRequest) SetNoshowRuleType ¶
func (r *TaobaoAlitripItFareAddowRequest) SetNoshowRuleType(noshowRuleType string) error
NoshowRuleType Setter NOSHOW规则,可录入多个,多个用逗号分隔。可录入不可退票、不可改期、不可退票,不可改期
func (*TaobaoAlitripItFareAddowRequest) SetNoshowTimeRestrict ¶
func (r *TaobaoAlitripItFareAddowRequest) SetNoshowTimeRestrict(noshowTimeRestrict string) error
NoshowTimeRestrict Setter NOSHOW时限,只能录入整数,【NOSHOW是否有限制】为是时,此项为必填项
func (*TaobaoAlitripItFareAddowRequest) SetNoshowTimeRestrictUnit ¶
func (r *TaobaoAlitripItFareAddowRequest) SetNoshowTimeRestrictUnit(noshowTimeRestrictUnit string) error
NoshowTimeRestrictUnit Setter NOSHOW时限单位(小时/天, 默认为小时)
func (*TaobaoAlitripItFareAddowRequest) SetOriginLand ¶
func (r *TaobaoAlitripItFareAddowRequest) SetOriginLand(originLand string) error
OriginLand Setter 始发地,多个用“,”隔开 1.不得为空 2.可以填写:机场三字码”或“城市码” 3.最多允许100个机场三字码/城市码
func (*TaobaoAlitripItFareAddowRequest) SetOutFileCode ¶
func (r *TaobaoAlitripItFareAddowRequest) SetOutFileCode(outFileCode string) error
OutFileCode Setter 外部政策ID,1、自行输入的ID,建议为唯一id,有些操作可以使用此id 最多50个字符
func (*TaobaoAlitripItFareAddowRequest) SetPassengerAge ¶
func (r *TaobaoAlitripItFareAddowRequest) SetPassengerAge(passengerAge string) error
PassengerAge Setter 乘客年龄,1、可录入范围如21-25表示21周岁至25周岁
func (*TaobaoAlitripItFareAddowRequest) SetProductType ¶
func (r *TaobaoAlitripItFareAddowRequest) SetProductType(productType string) error
ProductType Setter (后期字段,预留),产品类型,1.不可为空 2.填写为:包机切位、申请、见舱预订;
func (*TaobaoAlitripItFareAddowRequest) SetReceipts ¶
func (r *TaobaoAlitripItFareAddowRequest) SetReceipts(receipts string) error
Receipts Setter 必填项 赋值范围:电子行程单,旅行发票,差额行程单发票,等额行程单
func (*TaobaoAlitripItFareAddowRequest) SetRefundCurrencyAllUnused ¶
func (r *TaobaoAlitripItFareAddowRequest) SetRefundCurrencyAllUnused(refundCurrencyAllUnused string) error
RefundCurrencyAllUnused Setter 全部未使用退票币种,只能录入币种三字码,默认值CNY
func (*TaobaoAlitripItFareAddowRequest) SetRefundCurrencyPartUnused ¶
func (r *TaobaoAlitripItFareAddowRequest) SetRefundCurrencyPartUnused(refundCurrencyPartUnused string) error
RefundCurrencyPartUnused Setter 部分未使用退票币种,可录入币种三字码,默认值CNY
func (*TaobaoAlitripItFareAddowRequest) SetRefundFeeAllUnused ¶
func (r *TaobaoAlitripItFareAddowRequest) SetRefundFeeAllUnused(refundFeeAllUnused string) error
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 (*TaobaoAlitripItFareAddowRequest) SetRefundFeePartUnused ¶
func (r *TaobaoAlitripItFareAddowRequest) SetRefundFeePartUnused(refundFeePartUnused string) error
RefundFeePartUnused Setter 部分未使用退票费用,格式同【全部未使用退票费用】,【部分未使用可否退票】为是时,此项为必填项
func (*TaobaoAlitripItFareAddowRequest) SetRefundFeeTypeAllUnused ¶
func (r *TaobaoAlitripItFareAddowRequest) SetRefundFeeTypeAllUnused(refundFeeTypeAllUnused string) error
RefundFeeTypeAllUnused Setter 全部未使用退票费用收取方式,按每个航段收还是全程收(0:全程, 1:每个航段,默认值:全程)
func (*TaobaoAlitripItFareAddowRequest) SetRefundFeeTypePartUnused ¶
func (r *TaobaoAlitripItFareAddowRequest) SetRefundFeeTypePartUnused(refundFeeTypePartUnused string) error
RefundFeeTypePartUnused Setter 部分未使用退票费用收取方式,按每个航段收还是全程收(0:全程, 1:每个航段,默认值:全程)
func (*TaobaoAlitripItFareAddowRequest) SetRefundPartPrice4Dep ¶
func (r *TaobaoAlitripItFareAddowRequest) SetRefundPartPrice4Dep(refundPartPrice4Dep string) error
RefundPartPrice4Dep Setter (已废除字段),去程部分未使用退票费用,可输入空,*或正整数,其中空表示按照航空公司规定执行,*表示不支持部分退票
func (*TaobaoAlitripItFareAddowRequest) SetRefundPrice4Dep ¶
func (r *TaobaoAlitripItFareAddowRequest) SetRefundPrice4Dep(refundPrice4Dep string) error
RefundPrice4Dep Setter (已废除字段),去程全部未使用退票费用,可输入格式如:200-72-300-48-1000-0-*,表示72小时前退票手续费200;48小时到72小时,退票手续费300;飞机起飞不足48小时退票手续费1000;飞机起飞后不予退票(输入*);
func (*TaobaoAlitripItFareAddowRequest) SetRefundRule ¶
func (r *TaobaoAlitripItFareAddowRequest) SetRefundRule(refundRule string) error
RefundRule Setter (已废除字段)退票规定,1、不可为空 2、可填写:收取20%退票费用,或者是收取500元退票费等。 3、退票规定最多为300个字符
func (*TaobaoAlitripItFareAddowRequest) SetReissuePartPrice4Dep ¶
func (r *TaobaoAlitripItFareAddowRequest) SetReissuePartPrice4Dep(reissuePartPrice4Dep string) error
ReissuePartPrice4Dep Setter (已废除字段),去程部分未使用改期费用,可输入空,*或正整数,其中空表示按照航空公司规定执行,*表示不支持部分改期
func (*TaobaoAlitripItFareAddowRequest) SetReissuePrice4Dep ¶
func (r *TaobaoAlitripItFareAddowRequest) SetReissuePrice4Dep(reissuePrice4Dep string) error
ReissuePrice4Dep Setter (已废除字段),去程全部未使用改期费用,可输入格式如:200-72-300-48-1000-0-*,表示72小时前改期手续费200;48小时到72小时,改期手续费300;飞机起飞不足48小时改期手续费1000;飞机起飞后不予改期(输入*);
func (*TaobaoAlitripItFareAddowRequest) SetReissueRule ¶
func (r *TaobaoAlitripItFareAddowRequest) SetReissueRule(reissueRule string) error
ReissueRule Setter (已废除字段)改期规定,1、不可为空 2、可填写:收取20%改期费用,或者是收取500元改期费等。 3、改期规定最多为300个字符
func (*TaobaoAlitripItFareAddowRequest) SetRemark ¶
func (r *TaobaoAlitripItFareAddowRequest) SetRemark(remark string) error
Remark Setter 备注,出票备注文本
func (*TaobaoAlitripItFareAddowRequest) SetRestrictFlightNo ¶
func (r *TaobaoAlitripItFareAddowRequest) SetRestrictFlightNo(restrictFlightNo string) error
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 (*TaobaoAlitripItFareAddowRequest) SetReturnPoint ¶
func (r *TaobaoAlitripItFareAddowRequest) SetReturnPoint(returnPoint float64) error
ReturnPoint Setter 返点,1.不得为空 2.只允许填写数字,支持到小数点后两位;不用填写% 3.返点需小于100 成人价=销售票面价*(1-返点)+留钱
func (*TaobaoAlitripItFareAddowRequest) SetRuleId ¶
func (r *TaobaoAlitripItFareAddowRequest) SetRuleId(ruleId string) error
RuleId Setter 运价规则id,最大长度4
func (*TaobaoAlitripItFareAddowRequest) SetSaleAirline ¶
func (r *TaobaoAlitripItFareAddowRequest) SetSaleAirline(saleAirline string) error
SaleAirline Setter 销售航司,不同航段之间用 “,”隔开。 1、销售航司二字码; 2、如为直达;请录入一个航司二字码;如为中转,录入格式为 第一程航司,第二程航司;或者航司;若全程都一样,则录入一个航司二字代码即可 3、如果不录入,则航司默认为出票航司;
func (*TaobaoAlitripItFareAddowRequest) SetSaleDate ¶
func (r *TaobaoAlitripItFareAddowRequest) SetSaleDate(saleDate string) error
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 (*TaobaoAlitripItFareAddowRequest) SetStockMode ¶
func (r *TaobaoAlitripItFareAddowRequest) SetStockMode(stockMode string) error
StockMode Setter (后期字段,预留),库存模式,1.不可为空 2.填写为见舱或定额;默认为见舱
func (*TaobaoAlitripItFareAddowRequest) SetTariff ¶
func (r *TaobaoAlitripItFareAddowRequest) SetTariff(tariff string) error
Tariff Setter 运价tariff,最大长度3
func (*TaobaoAlitripItFareAddowRequest) SetTicketPrice ¶
func (r *TaobaoAlitripItFareAddowRequest) SetTicketPrice(ticketPrice int64) error
TicketPrice Setter 销售票面价,1.不得为空 2.价格区间为【0-999999】 3、销售票面价为10的整数倍(向下取整,如录入3002,则实际录入数值为3000)
func (*TaobaoAlitripItFareAddowRequest) SetTicketingAirline ¶
func (r *TaobaoAlitripItFareAddowRequest) SetTicketingAirline(ticketingAirline string) error
TicketingAirline Setter 出票航司,1.不可为空 2.航空公司二字码 3.只能输入一个
func (*TaobaoAlitripItFareAddowRequest) SetTransitLand ¶
func (r *TaobaoAlitripItFareAddowRequest) SetTransitLand(transitLand string) error
TransitLand Setter 中转地,多个用“,”隔开 1.不得为空 2.可以填写:机场三字码,城市码 3.最多允许100个机场三字码/城市码 4、当航程类型书写为 中转时,此处为必填
func (*TaobaoAlitripItFareAddowRequest) SetTripDatePoint4Dep ¶
func (r *TaobaoAlitripItFareAddowRequest) SetTripDatePoint4Dep(tripDatePoint4Dep string) error
TripDatePoint4Dep Setter 去程旅行日期作用点,始发航段/第一国际段/主航段/全部;默认空为 第一国际段
func (*TaobaoAlitripItFareAddowRequest) SetTripExcludeDatePoint4Dep ¶
func (r *TaobaoAlitripItFareAddowRequest) SetTripExcludeDatePoint4Dep(tripExcludeDatePoint4Dep string) error
TripExcludeDatePoint4Dep Setter 去程旅行排除日期作用点,始发航段/第一国际段/主航段/全部;默认空为 第一国际段
func (*TaobaoAlitripItFareAddowRequest) SetTripType ¶
func (r *TaobaoAlitripItFareAddowRequest) SetTripType(tripType string) error
TripType Setter 航程种类,1、默认为直达;有直达和中转两个选项;2、不填写 默认为 直达
func (*TaobaoAlitripItFareAddowRequest) SetValidDate4Dep ¶
func (r *TaobaoAlitripItFareAddowRequest) SetValidDate4Dep(validDate4Dep string) error
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 (*TaobaoAlitripItFareAddowRequest) SetVipCode ¶
func (r *TaobaoAlitripItFareAddowRequest) SetVipCode(vipCode string) error
VipCode Setter 大客户编码,文本框
func (*TaobaoAlitripItFareAddowRequest) SetWorkingHours ¶
func (r *TaobaoAlitripItFareAddowRequest) SetWorkingHours(workingHours string) error
WorkingHours Setter 工作时间,18:00FRI表示周一到周五的每天早上9点到下午6点 最多录入三个时间段用,隔开表示或的关系 可以为空,表示不限制(运价上的工作时间优先级高于设置时间界面上的时间)
type TaobaoAlitripItFareAddowResponse ¶
type TaobaoAlitripItFareAddowResponse struct { XMLName xml.Name `xml:"alitrip_it_fare_addow_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 运价id FareId int64 `json:"fare_id,omitempty" xml:"fare_id,omitempty"` // json格式的字符串,扩展属性,预留 ExtendAttributes string `json:"extend_attributes,omitempty" xml:"extend_attributes,omitempty"` }
【国际机票自有政策】单条单程添加 成功返回结果
type TaobaoAlitripItFareAddrtAPIResponse ¶
type TaobaoAlitripItFareAddrtAPIResponse struct { model.CommonResponse TaobaoAlitripItFareAddrtResponse }
【国际机票自有政策】单条往返添加 API返回值 taobao.alitrip.it.fare.addrt
自有政策往返添加接口
type TaobaoAlitripItFareAddrtRequest ¶
type TaobaoAlitripItFareAddrtRequest struct { model.Params // contains filtered or unexported fields }
【国际机票自有政策】单条往返添加 API请求 taobao.alitrip.it.fare.addrt
自有政策往返添加接口
func NewTaobaoAlitripItFareAddrtRequest ¶
func NewTaobaoAlitripItFareAddrtRequest() *TaobaoAlitripItFareAddrtRequest
初始化TaobaoAlitripItFareAddrtRequest对象
func (TaobaoAlitripItFareAddrtRequest) GetAddressOption ¶
func (r TaobaoAlitripItFareAddrtRequest) GetAddressOption() string
AddressOption Getter
func (TaobaoAlitripItFareAddrtRequest) GetAdjustMoney ¶
func (r TaobaoAlitripItFareAddrtRequest) GetAdjustMoney() int64
AdjustMoney Getter
func (TaobaoAlitripItFareAddrtRequest) GetAdultPassengerIdentity ¶
func (r TaobaoAlitripItFareAddrtRequest) GetAdultPassengerIdentity() string
AdultPassengerIdentity Getter
func (TaobaoAlitripItFareAddrtRequest) GetAdultTax ¶
func (r TaobaoAlitripItFareAddrtRequest) GetAdultTax() int64
AdultTax Getter
func (TaobaoAlitripItFareAddrtRequest) GetApiMethodName ¶
func (r TaobaoAlitripItFareAddrtRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoAlitripItFareAddrtRequest) GetApiParams ¶
func (r TaobaoAlitripItFareAddrtRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoAlitripItFareAddrtRequest) GetApplyChannel ¶
func (r TaobaoAlitripItFareAddrtRequest) GetApplyChannel() string
ApplyChannel Getter
func (TaobaoAlitripItFareAddrtRequest) GetBookingOffice ¶
func (r TaobaoAlitripItFareAddrtRequest) GetBookingOffice() string
BookingOffice Getter
func (TaobaoAlitripItFareAddrtRequest) GetBuyTicketNotice ¶
func (r TaobaoAlitripItFareAddrtRequest) GetBuyTicketNotice() string
BuyTicketNotice Getter
func (TaobaoAlitripItFareAddrtRequest) GetCabin ¶
func (r TaobaoAlitripItFareAddrtRequest) GetCabin() string
Cabin Getter
func (TaobaoAlitripItFareAddrtRequest) GetCanDepChange ¶
func (r TaobaoAlitripItFareAddrtRequest) GetCanDepChange() string
CanDepChange Getter
func (TaobaoAlitripItFareAddrtRequest) GetCanRetChange ¶
func (r TaobaoAlitripItFareAddrtRequest) GetCanRetChange() string
CanRetChange Getter
func (TaobaoAlitripItFareAddrtRequest) GetChildPrice ¶
func (r TaobaoAlitripItFareAddrtRequest) GetChildPrice() string
ChildPrice Getter
func (TaobaoAlitripItFareAddrtRequest) GetChildTax ¶
func (r TaobaoAlitripItFareAddrtRequest) GetChildTax() int64
ChildTax Getter
func (TaobaoAlitripItFareAddrtRequest) GetCodeSharingType ¶
func (r TaobaoAlitripItFareAddrtRequest) GetCodeSharingType() string
CodeSharingType Getter
func (TaobaoAlitripItFareAddrtRequest) GetCombinationFilecode ¶
func (r TaobaoAlitripItFareAddrtRequest) GetCombinationFilecode() string
CombinationFilecode Getter
func (TaobaoAlitripItFareAddrtRequest) GetCombinationOjFilecode ¶
func (r TaobaoAlitripItFareAddrtRequest) GetCombinationOjFilecode() string
CombinationOjFilecode Getter
func (TaobaoAlitripItFareAddrtRequest) GetCommodityType ¶
func (r TaobaoAlitripItFareAddrtRequest) GetCommodityType() string
CommodityType Getter
func (TaobaoAlitripItFareAddrtRequest) GetDepChangeCurrency ¶
func (r TaobaoAlitripItFareAddrtRequest) GetDepChangeCurrency() string
DepChangeCurrency Getter
func (TaobaoAlitripItFareAddrtRequest) GetDepChangeFee ¶
func (r TaobaoAlitripItFareAddrtRequest) GetDepChangeFee() string
DepChangeFee Getter
func (TaobaoAlitripItFareAddrtRequest) GetDepChangeFeeType ¶
func (r TaobaoAlitripItFareAddrtRequest) GetDepChangeFeeType() string
DepChangeFeeType Getter
func (TaobaoAlitripItFareAddrtRequest) GetDestination ¶
func (r TaobaoAlitripItFareAddrtRequest) GetDestination() string
Destination Getter
func (TaobaoAlitripItFareAddrtRequest) GetEarlyTicketingTimeLimit ¶
func (r TaobaoAlitripItFareAddrtRequest) GetEarlyTicketingTimeLimit() int64
EarlyTicketingTimeLimit Getter
func (TaobaoAlitripItFareAddrtRequest) GetExcludeDateRange4Dep ¶
func (r TaobaoAlitripItFareAddrtRequest) GetExcludeDateRange4Dep() string
ExcludeDateRange4Dep Getter
func (TaobaoAlitripItFareAddrtRequest) GetExcludeDateRange4Ret ¶
func (r TaobaoAlitripItFareAddrtRequest) GetExcludeDateRange4Ret() string
ExcludeDateRange4Ret Getter
func (TaobaoAlitripItFareAddrtRequest) GetExcludeFlightNo ¶
func (r TaobaoAlitripItFareAddrtRequest) GetExcludeFlightNo() string
ExcludeFlightNo Getter
func (TaobaoAlitripItFareAddrtRequest) GetExcludeNationality ¶
func (r TaobaoAlitripItFareAddrtRequest) GetExcludeNationality() string
ExcludeNationality Getter
func (TaobaoAlitripItFareAddrtRequest) GetExtendAttributes ¶
func (r TaobaoAlitripItFareAddrtRequest) GetExtendAttributes() string
ExtendAttributes Getter
func (TaobaoAlitripItFareAddrtRequest) GetFareDirectDestrict ¶
func (r TaobaoAlitripItFareAddrtRequest) GetFareDirectDestrict() int64
FareDirectDestrict Getter
func (TaobaoAlitripItFareAddrtRequest) GetFareSource ¶
func (r TaobaoAlitripItFareAddrtRequest) GetFareSource() string
FareSource Getter
func (TaobaoAlitripItFareAddrtRequest) GetFareTypeCode ¶
func (r TaobaoAlitripItFareAddrtRequest) GetFareTypeCode() string
FareTypeCode Getter
func (TaobaoAlitripItFareAddrtRequest) GetFarebasis ¶
func (r TaobaoAlitripItFareAddrtRequest) GetFarebasis() string
Farebasis Getter
func (TaobaoAlitripItFareAddrtRequest) GetFileCode ¶
func (r TaobaoAlitripItFareAddrtRequest) GetFileCode() string
FileCode Getter
func (TaobaoAlitripItFareAddrtRequest) GetFlightDatePoint4Dep ¶
func (r TaobaoAlitripItFareAddrtRequest) GetFlightDatePoint4Dep() string
FlightDatePoint4Dep Getter
func (TaobaoAlitripItFareAddrtRequest) GetFlightDatePoint4Ret ¶
func (r TaobaoAlitripItFareAddrtRequest) GetFlightDatePoint4Ret() string
FlightDatePoint4Ret Getter
func (TaobaoAlitripItFareAddrtRequest) GetFlightDateRestrict4Dep ¶
func (r TaobaoAlitripItFareAddrtRequest) GetFlightDateRestrict4Dep() string
FlightDateRestrict4Dep Getter
func (TaobaoAlitripItFareAddrtRequest) GetFlightDateRestrict4Ret ¶
func (r TaobaoAlitripItFareAddrtRequest) GetFlightDateRestrict4Ret() string
FlightDateRestrict4Ret Getter
func (TaobaoAlitripItFareAddrtRequest) GetGv2ChildRule ¶
func (r TaobaoAlitripItFareAddrtRequest) GetGv2ChildRule() string
Gv2ChildRule Getter
func (TaobaoAlitripItFareAddrtRequest) GetIsAllowOj ¶
func (r TaobaoAlitripItFareAddrtRequest) GetIsAllowOj() string
IsAllowOj Getter
func (TaobaoAlitripItFareAddrtRequest) GetIsCanAllRefund ¶
func (r TaobaoAlitripItFareAddrtRequest) GetIsCanAllRefund() string
IsCanAllRefund Getter
func (TaobaoAlitripItFareAddrtRequest) GetIsCanPartRefund ¶
func (r TaobaoAlitripItFareAddrtRequest) GetIsCanPartRefund() string
IsCanPartRefund Getter
func (TaobaoAlitripItFareAddrtRequest) GetIsCanRefund4Dep ¶
func (r TaobaoAlitripItFareAddrtRequest) GetIsCanRefund4Dep() string
IsCanRefund4Dep Getter
func (TaobaoAlitripItFareAddrtRequest) GetIsCanRefund4Ret ¶
func (r TaobaoAlitripItFareAddrtRequest) GetIsCanRefund4Ret() string
IsCanRefund4Ret Getter
func (TaobaoAlitripItFareAddrtRequest) GetIsCanReissue4Dep ¶
func (r TaobaoAlitripItFareAddrtRequest) GetIsCanReissue4Dep() string
IsCanReissue4Dep Getter
func (TaobaoAlitripItFareAddrtRequest) GetIsCanReissue4Ret ¶
func (r TaobaoAlitripItFareAddrtRequest) GetIsCanReissue4Ret() string
IsCanReissue4Ret Getter
func (TaobaoAlitripItFareAddrtRequest) GetIsCreatePnr ¶
func (r TaobaoAlitripItFareAddrtRequest) GetIsCreatePnr() string
IsCreatePnr Getter
func (TaobaoAlitripItFareAddrtRequest) GetIsNoShowCanRefund4Dep ¶
func (r TaobaoAlitripItFareAddrtRequest) GetIsNoShowCanRefund4Dep() string
IsNoShowCanRefund4Dep Getter
func (TaobaoAlitripItFareAddrtRequest) GetIsNoShowCanRefund4Ret ¶
func (r TaobaoAlitripItFareAddrtRequest) GetIsNoShowCanRefund4Ret() string
IsNoShowCanRefund4Ret Getter
func (TaobaoAlitripItFareAddrtRequest) GetIsNoShowCanReissue4Dep ¶
func (r TaobaoAlitripItFareAddrtRequest) GetIsNoShowCanReissue4Dep() string
IsNoShowCanReissue4Dep Getter
func (TaobaoAlitripItFareAddrtRequest) GetIsNoShowCanReissue4Ret ¶
func (r TaobaoAlitripItFareAddrtRequest) GetIsNoShowCanReissue4Ret() string
IsNoShowCanReissue4Ret Getter
func (TaobaoAlitripItFareAddrtRequest) GetIsRT ¶
func (r TaobaoAlitripItFareAddrtRequest) GetIsRT() string
IsRT Getter
func (TaobaoAlitripItFareAddrtRequest) GetIsValidatPrice ¶
func (r TaobaoAlitripItFareAddrtRequest) GetIsValidatPrice() string
IsValidatPrice Getter
func (TaobaoAlitripItFareAddrtRequest) GetLateTicketingTimeLimit ¶
func (r TaobaoAlitripItFareAddrtRequest) GetLateTicketingTimeLimit() int64
LateTicketingTimeLimit Getter
func (TaobaoAlitripItFareAddrtRequest) GetLuggageRule ¶
func (r TaobaoAlitripItFareAddrtRequest) GetLuggageRule() string
LuggageRule Getter
func (TaobaoAlitripItFareAddrtRequest) GetLuggageRule4Dep ¶
func (r TaobaoAlitripItFareAddrtRequest) GetLuggageRule4Dep() string
LuggageRule4Dep Getter
func (TaobaoAlitripItFareAddrtRequest) GetLuggageRule4Ret ¶
func (r TaobaoAlitripItFareAddrtRequest) GetLuggageRule4Ret() string
LuggageRule4Ret Getter
func (TaobaoAlitripItFareAddrtRequest) GetMaxStay ¶
func (r TaobaoAlitripItFareAddrtRequest) GetMaxStay() string
MaxStay Getter
func (TaobaoAlitripItFareAddrtRequest) GetMaxTravelPerson ¶
func (r TaobaoAlitripItFareAddrtRequest) GetMaxTravelPerson() int64
MaxTravelPerson Getter
func (TaobaoAlitripItFareAddrtRequest) GetMinStay ¶
func (r TaobaoAlitripItFareAddrtRequest) GetMinStay() string
MinStay Getter
func (TaobaoAlitripItFareAddrtRequest) GetMinTravelPerson ¶
func (r TaobaoAlitripItFareAddrtRequest) GetMinTravelPerson() int64
MinTravelPerson Getter
func (TaobaoAlitripItFareAddrtRequest) GetNationality ¶
func (r TaobaoAlitripItFareAddrtRequest) GetNationality() string
Nationality Getter
func (TaobaoAlitripItFareAddrtRequest) GetNoShowPenalty4Dep ¶
func (r TaobaoAlitripItFareAddrtRequest) GetNoShowPenalty4Dep() int64
NoShowPenalty4Dep Getter
func (TaobaoAlitripItFareAddrtRequest) GetNoShowPenalty4Ret ¶
func (r TaobaoAlitripItFareAddrtRequest) GetNoShowPenalty4Ret() int64
NoShowPenalty4Ret Getter
func (TaobaoAlitripItFareAddrtRequest) GetNoShowTimeLimit4Dep ¶
func (r TaobaoAlitripItFareAddrtRequest) GetNoShowTimeLimit4Dep() int64
NoShowTimeLimit4Dep Getter
func (TaobaoAlitripItFareAddrtRequest) GetNoShowTimeLimit4Ret ¶
func (r TaobaoAlitripItFareAddrtRequest) GetNoShowTimeLimit4Ret() int64
NoShowTimeLimit4Ret Getter
func (TaobaoAlitripItFareAddrtRequest) GetNoshowCurrency ¶
func (r TaobaoAlitripItFareAddrtRequest) GetNoshowCurrency() string
NoshowCurrency Getter
func (TaobaoAlitripItFareAddrtRequest) GetNoshowFee ¶
func (r TaobaoAlitripItFareAddrtRequest) GetNoshowFee() string
NoshowFee Getter
func (TaobaoAlitripItFareAddrtRequest) GetNoshowRestrict ¶
func (r TaobaoAlitripItFareAddrtRequest) GetNoshowRestrict() string
NoshowRestrict Getter
func (TaobaoAlitripItFareAddrtRequest) GetNoshowRule ¶
func (r TaobaoAlitripItFareAddrtRequest) GetNoshowRule() string
NoshowRule Getter
func (TaobaoAlitripItFareAddrtRequest) GetNoshowRuleType ¶
func (r TaobaoAlitripItFareAddrtRequest) GetNoshowRuleType() string
NoshowRuleType Getter
func (TaobaoAlitripItFareAddrtRequest) GetNoshowTimeRestrict ¶
func (r TaobaoAlitripItFareAddrtRequest) GetNoshowTimeRestrict() string
NoshowTimeRestrict Getter
func (TaobaoAlitripItFareAddrtRequest) GetNoshowTimeRestrictUnit ¶
func (r TaobaoAlitripItFareAddrtRequest) GetNoshowTimeRestrictUnit() string
NoshowTimeRestrictUnit Getter
func (TaobaoAlitripItFareAddrtRequest) GetOjType ¶
func (r TaobaoAlitripItFareAddrtRequest) GetOjType() string
OjType Getter
func (TaobaoAlitripItFareAddrtRequest) GetOriginLand ¶
func (r TaobaoAlitripItFareAddrtRequest) GetOriginLand() string
OriginLand Getter
func (TaobaoAlitripItFareAddrtRequest) GetOutFileCode ¶
func (r TaobaoAlitripItFareAddrtRequest) GetOutFileCode() string
OutFileCode Getter
func (TaobaoAlitripItFareAddrtRequest) GetPassengerAge ¶
func (r TaobaoAlitripItFareAddrtRequest) GetPassengerAge() string
PassengerAge Getter
func (TaobaoAlitripItFareAddrtRequest) GetProductType ¶
func (r TaobaoAlitripItFareAddrtRequest) GetProductType() string
ProductType Getter
func (TaobaoAlitripItFareAddrtRequest) GetReceipts ¶
func (r TaobaoAlitripItFareAddrtRequest) GetReceipts() string
Receipts Getter
func (TaobaoAlitripItFareAddrtRequest) GetRefundCurrencyAllUnused ¶
func (r TaobaoAlitripItFareAddrtRequest) GetRefundCurrencyAllUnused() string
RefundCurrencyAllUnused Getter
func (TaobaoAlitripItFareAddrtRequest) GetRefundCurrencyPartUnused ¶
func (r TaobaoAlitripItFareAddrtRequest) GetRefundCurrencyPartUnused() string
RefundCurrencyPartUnused Getter
func (TaobaoAlitripItFareAddrtRequest) GetRefundFeeAllUnused ¶
func (r TaobaoAlitripItFareAddrtRequest) GetRefundFeeAllUnused() string
RefundFeeAllUnused Getter
func (TaobaoAlitripItFareAddrtRequest) GetRefundFeePartUnused ¶
func (r TaobaoAlitripItFareAddrtRequest) GetRefundFeePartUnused() string
RefundFeePartUnused Getter
func (TaobaoAlitripItFareAddrtRequest) GetRefundFeeTypeAllUnused ¶
func (r TaobaoAlitripItFareAddrtRequest) GetRefundFeeTypeAllUnused() string
RefundFeeTypeAllUnused Getter
func (TaobaoAlitripItFareAddrtRequest) GetRefundFeeTypePartUnused ¶
func (r TaobaoAlitripItFareAddrtRequest) GetRefundFeeTypePartUnused() string
RefundFeeTypePartUnused Getter
func (TaobaoAlitripItFareAddrtRequest) GetRefundPartPrice4Dep ¶
func (r TaobaoAlitripItFareAddrtRequest) GetRefundPartPrice4Dep() string
RefundPartPrice4Dep Getter
func (TaobaoAlitripItFareAddrtRequest) GetRefundPartPrice4Ret ¶
func (r TaobaoAlitripItFareAddrtRequest) GetRefundPartPrice4Ret() string
RefundPartPrice4Ret Getter
func (TaobaoAlitripItFareAddrtRequest) GetRefundPrice4Dep ¶
func (r TaobaoAlitripItFareAddrtRequest) GetRefundPrice4Dep() string
RefundPrice4Dep Getter
func (TaobaoAlitripItFareAddrtRequest) GetRefundPrice4Ret ¶
func (r TaobaoAlitripItFareAddrtRequest) GetRefundPrice4Ret() string
RefundPrice4Ret Getter
func (TaobaoAlitripItFareAddrtRequest) GetRefundRule ¶
func (r TaobaoAlitripItFareAddrtRequest) GetRefundRule() string
RefundRule Getter
func (TaobaoAlitripItFareAddrtRequest) GetReissuePartPrice4Dep ¶
func (r TaobaoAlitripItFareAddrtRequest) GetReissuePartPrice4Dep() string
ReissuePartPrice4Dep Getter
func (TaobaoAlitripItFareAddrtRequest) GetReissuePartPrice4Ret ¶
func (r TaobaoAlitripItFareAddrtRequest) GetReissuePartPrice4Ret() string
ReissuePartPrice4Ret Getter
func (TaobaoAlitripItFareAddrtRequest) GetReissuePrice4Dep ¶
func (r TaobaoAlitripItFareAddrtRequest) GetReissuePrice4Dep() string
ReissuePrice4Dep Getter
func (TaobaoAlitripItFareAddrtRequest) GetReissuePrice4Ret ¶
func (r TaobaoAlitripItFareAddrtRequest) GetReissuePrice4Ret() string
ReissuePrice4Ret Getter
func (TaobaoAlitripItFareAddrtRequest) GetReissueRule ¶
func (r TaobaoAlitripItFareAddrtRequest) GetReissueRule() string
ReissueRule Getter
func (TaobaoAlitripItFareAddrtRequest) GetRemark ¶
func (r TaobaoAlitripItFareAddrtRequest) GetRemark() string
Remark Getter
func (TaobaoAlitripItFareAddrtRequest) GetRestrictFlightNo ¶
func (r TaobaoAlitripItFareAddrtRequest) GetRestrictFlightNo() string
RestrictFlightNo Getter
func (TaobaoAlitripItFareAddrtRequest) GetRetChangeCurrency ¶
func (r TaobaoAlitripItFareAddrtRequest) GetRetChangeCurrency() string
RetChangeCurrency Getter
func (TaobaoAlitripItFareAddrtRequest) GetRetChangeFee ¶
func (r TaobaoAlitripItFareAddrtRequest) GetRetChangeFee() string
RetChangeFee Getter
func (TaobaoAlitripItFareAddrtRequest) GetRetChangeFeeType ¶
func (r TaobaoAlitripItFareAddrtRequest) GetRetChangeFeeType() string
RetChangeFeeType Getter
func (TaobaoAlitripItFareAddrtRequest) GetReturnPoint ¶
func (r TaobaoAlitripItFareAddrtRequest) GetReturnPoint() float64
ReturnPoint Getter
func (TaobaoAlitripItFareAddrtRequest) GetRtCommissionFormula ¶
func (r TaobaoAlitripItFareAddrtRequest) GetRtCommissionFormula() string
RtCommissionFormula Getter
func (TaobaoAlitripItFareAddrtRequest) GetRtType ¶
func (r TaobaoAlitripItFareAddrtRequest) GetRtType() string
RtType Getter
func (TaobaoAlitripItFareAddrtRequest) GetRuleId ¶
func (r TaobaoAlitripItFareAddrtRequest) GetRuleId() string
RuleId Getter
func (TaobaoAlitripItFareAddrtRequest) GetSaleAirline ¶
func (r TaobaoAlitripItFareAddrtRequest) GetSaleAirline() string
SaleAirline Getter
func (TaobaoAlitripItFareAddrtRequest) GetSaleDate ¶
func (r TaobaoAlitripItFareAddrtRequest) GetSaleDate() string
SaleDate Getter
func (TaobaoAlitripItFareAddrtRequest) GetStockMode ¶
func (r TaobaoAlitripItFareAddrtRequest) GetStockMode() string
StockMode Getter
func (TaobaoAlitripItFareAddrtRequest) GetTariff ¶
func (r TaobaoAlitripItFareAddrtRequest) GetTariff() string
Tariff Getter
func (TaobaoAlitripItFareAddrtRequest) GetTicketPrice ¶
func (r TaobaoAlitripItFareAddrtRequest) GetTicketPrice() int64
TicketPrice Getter
func (TaobaoAlitripItFareAddrtRequest) GetTicketingAirline ¶
func (r TaobaoAlitripItFareAddrtRequest) GetTicketingAirline() string
TicketingAirline Getter
func (TaobaoAlitripItFareAddrtRequest) GetTransitLand ¶
func (r TaobaoAlitripItFareAddrtRequest) GetTransitLand() string
TransitLand Getter
func (TaobaoAlitripItFareAddrtRequest) GetTripDatePoint4Dep ¶
func (r TaobaoAlitripItFareAddrtRequest) GetTripDatePoint4Dep() string
TripDatePoint4Dep Getter
func (TaobaoAlitripItFareAddrtRequest) GetTripDatePoint4Ret ¶
func (r TaobaoAlitripItFareAddrtRequest) GetTripDatePoint4Ret() string
TripDatePoint4Ret Getter
func (TaobaoAlitripItFareAddrtRequest) GetTripExcludeDatePoint4Dep ¶
func (r TaobaoAlitripItFareAddrtRequest) GetTripExcludeDatePoint4Dep() string
TripExcludeDatePoint4Dep Getter
func (TaobaoAlitripItFareAddrtRequest) GetTripExcludeDatePoint4Ret ¶
func (r TaobaoAlitripItFareAddrtRequest) GetTripExcludeDatePoint4Ret() string
TripExcludeDatePoint4Ret Getter
func (TaobaoAlitripItFareAddrtRequest) GetTripType ¶
func (r TaobaoAlitripItFareAddrtRequest) GetTripType() string
TripType Getter
func (TaobaoAlitripItFareAddrtRequest) GetValidDate4Dep ¶
func (r TaobaoAlitripItFareAddrtRequest) GetValidDate4Dep() string
ValidDate4Dep Getter
func (TaobaoAlitripItFareAddrtRequest) GetValidDate4Ret ¶
func (r TaobaoAlitripItFareAddrtRequest) GetValidDate4Ret() string
ValidDate4Ret Getter
func (TaobaoAlitripItFareAddrtRequest) GetVipCode ¶
func (r TaobaoAlitripItFareAddrtRequest) GetVipCode() string
VipCode Getter
func (TaobaoAlitripItFareAddrtRequest) GetWorkingHours ¶
func (r TaobaoAlitripItFareAddrtRequest) GetWorkingHours() string
WorkingHours Getter
func (*TaobaoAlitripItFareAddrtRequest) SetAddressOption ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetAddressOption(addressOption string) error
AddressOption Setter 城市/机场选项,默认为城市1、可以填写:“机场",“城市”2、定义始发地/目的地/中转点,输入为机场,还是城市。3、如:此项输入机场,则始发地、目的地必须输入机场三字码
func (*TaobaoAlitripItFareAddrtRequest) SetAdjustMoney ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetAdjustMoney(adjustMoney int64) error
AdjustMoney Setter 留钱,1.0或正负数字2.-20表示返20元;20代表留20元
func (*TaobaoAlitripItFareAddrtRequest) SetAdultPassengerIdentity ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetAdultPassengerIdentity(adultPassengerIdentity string) error
AdultPassengerIdentity Setter 成人旅客身份,1.不得为空 2.普通/学生 3.当输入学生时,儿童价格项输入无效 4.当为小团产品时,此适用身份类别必须为 普通。5、后期支持劳工、移民、海员、老人、青年
func (*TaobaoAlitripItFareAddrtRequest) SetAdultTax ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetAdultTax(adultTax int64) error
AdultTax Setter (后期字段,预留),成人税费,1、整数金额(包机切位产品适用)
func (*TaobaoAlitripItFareAddrtRequest) SetApplyChannel ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetApplyChannel(applyChannel string) error
ApplyChannel Setter 运价渠道 可选listing宝贝 默认listing
func (*TaobaoAlitripItFareAddrtRequest) SetBookingOffice ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetBookingOffice(bookingOffice string) error
BookingOffice Setter 预定OFFICE,空表示默认优先级最高OFFICE,可输入OFFICE,校验必须为配置中存在的OFFICE
func (*TaobaoAlitripItFareAddrtRequest) SetBuyTicketNotice ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetBuyTicketNotice(buyTicketNotice string) error
BuyTicketNotice Setter 购票须知,非必输长度小于300字符只在退票规定不为空时才会生效
func (*TaobaoAlitripItFareAddrtRequest) SetCabin ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetCabin(cabin string) error
Cabin Setter 舱位, 用","表示航段的分割。 1、舱位代码。每段只允许录入一个舱位代码,若全程舱位一致则可以只录入一个
func (*TaobaoAlitripItFareAddrtRequest) SetCanDepChange ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetCanDepChange(canDepChange string) error
CanDepChange Setter 必填项,去程可否改期,可输入是或否
func (*TaobaoAlitripItFareAddrtRequest) SetCanRetChange ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetCanRetChange(canRetChange string) error
CanRetChange Setter 必填项,回程可否改期,可输入是或否
func (*TaobaoAlitripItFareAddrtRequest) SetChildPrice ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetChildPrice(childPrice string) error
ChildPrice Setter 儿童价,1、可不输入,空表示不适用儿童价 2、可输入大于0的正整数及百分比,输入百分比时,成人价格必须录入 例如:2000或70%。 3. 百分比计算的数值,个位向上取整 当"乘客类型"输入非“普通”(成人)时,此项输入无效。
func (*TaobaoAlitripItFareAddrtRequest) SetChildTax ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetChildTax(childTax int64) error
ChildTax Setter (后期字段,预留),儿童税费,1、整数金额(包机切位产品适用)
func (*TaobaoAlitripItFareAddrtRequest) SetCodeSharingType ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetCodeSharingType(codeSharingType string) error
CodeSharingType Setter 不录入表示不限制;选项为:仅限同集团代码共享适用;代码共享适用;不允许代码共享;不限制 默认不限制
func (*TaobaoAlitripItFareAddrtRequest) SetCombinationFilecode ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetCombinationFilecode(combinationFilecode string) error
CombinationFilecode Setter 可组文件编号, 当需要多填入多个时,请以","分隔 1、标记可组文件的编号政策信息,可填写空白; 2、如果是否1/2RT 字段为是,则此字段为必输项
func (*TaobaoAlitripItFareAddrtRequest) SetCombinationOjFilecode ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetCombinationOjFilecode(combinationOjFilecode string) error
CombinationOjFilecode Setter (后期字段,预留),可组缺口文件编号,当需要多填入多个时,请以","分隔 1、标记政策信息,可填写空白; 2、如果是否缺口 字段为是,则此字段为必输项
func (*TaobaoAlitripItFareAddrtRequest) SetCommodityType ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetCommodityType(commodityType string) error
CommodityType Setter 商品类型,可选值:普通、金牌,默认普通,非金牌卖家不得选择金牌
func (*TaobaoAlitripItFareAddrtRequest) SetDepChangeCurrency ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetDepChangeCurrency(depChangeCurrency string) error
DepChangeCurrency Setter 去程改期币种,可录入币种三字码,默认值CNY
func (*TaobaoAlitripItFareAddrtRequest) SetDepChangeFee ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetDepChangeFee(depChangeFee string) error
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 (*TaobaoAlitripItFareAddrtRequest) SetDepChangeFeeType ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetDepChangeFeeType(depChangeFeeType string) error
DepChangeFeeType Setter 去程改期费用收取方式,按每个航段收还是全程收(0:全程, 1:每个航段,默认值:全程)
func (*TaobaoAlitripItFareAddrtRequest) SetDestination ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetDestination(destination string) error
Destination Setter 目的地,多个用“,”隔开 1.不得为空 2.可以填写:机场三字码”或“城市码” 3.最多允许100个机场三字码/城市码
func (*TaobaoAlitripItFareAddrtRequest) SetEarlyTicketingTimeLimit ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetEarlyTicketingTimeLimit(earlyTicketingTimeLimit int64) error
EarlyTicketingTimeLimit Setter 提前出票时限,默认为空,代表无限制; 输入为小于等于365的正整数。 小于或等于最晚出票时限。 单位为天
func (*TaobaoAlitripItFareAddrtRequest) SetExcludeDateRange4Dep ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetExcludeDateRange4Dep(excludeDateRange4Dep string) error
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 (*TaobaoAlitripItFareAddrtRequest) SetExcludeDateRange4Ret ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetExcludeDateRange4Ret(excludeDateRange4Ret string) error
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 (*TaobaoAlitripItFareAddrtRequest) SetExcludeFlightNo ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetExcludeFlightNo(excludeFlightNo string) error
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 (*TaobaoAlitripItFareAddrtRequest) SetExcludeNationality ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetExcludeNationality(excludeNationality string) error
ExcludeNationality Setter 除外国籍,可录入多个用","隔开表示或的关系 1、可录入国家二字代码,为空表示不限制,最多录20个 *默认为空,不输入为不限制
func (*TaobaoAlitripItFareAddrtRequest) SetExtendAttributes ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetExtendAttributes(extendAttributes string) error
ExtendAttributes Setter json格式的字符串,扩展属性,预留
func (*TaobaoAlitripItFareAddrtRequest) SetFareDirectDestrict ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetFareDirectDestrict(fareDirectDestrict int64) error
FareDirectDestrict Setter 运价组合适用方向,0(或者字段不存在):不限制/1:仅作用在去程/2:仅作用在回程
func (*TaobaoAlitripItFareAddrtRequest) SetFareSource ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetFareSource(fareSource string) error
FareSource Setter (后期字段,预留),运价发布渠道,1、可填写 PC、无线、都适用 2、默认为都适用
func (*TaobaoAlitripItFareAddrtRequest) SetFareTypeCode ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetFareTypeCode(fareTypeCode string) error
FareTypeCode Setter 运价类型,最大长度3
func (*TaobaoAlitripItFareAddrtRequest) SetFarebasis ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetFarebasis(farebasis string) error
Farebasis Setter 运价基础,最大长度8
func (*TaobaoAlitripItFareAddrtRequest) SetFileCode ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetFileCode(fileCode string) error
FileCode Setter 文件编号
func (*TaobaoAlitripItFareAddrtRequest) SetFlightDatePoint4Dep ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetFlightDatePoint4Dep(flightDatePoint4Dep string) error
FlightDatePoint4Dep Setter 去程班期作用点,始发航段/第一国际段/主航段/全部;默认空为 第一国际段
func (*TaobaoAlitripItFareAddrtRequest) SetFlightDatePoint4Ret ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetFlightDatePoint4Ret(flightDatePoint4Ret string) error
FlightDatePoint4Ret Setter 回程班期作用点,始发航段/第一国际段/主航段/全部;默认空为 第一国际段
func (*TaobaoAlitripItFareAddrtRequest) SetFlightDateRestrict4Dep ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetFlightDateRestrict4Dep(flightDateRestrict4Dep string) error
FlightDateRestrict4Dep Setter 去程班期限制,1.12表示周一周二 2.12:00-14:00表示每天的12点到14点 3. 12:00FRI-12:00SAT 表示周五的中午12点至周六的中午12点
func (*TaobaoAlitripItFareAddrtRequest) SetFlightDateRestrict4Ret ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetFlightDateRestrict4Ret(flightDateRestrict4Ret string) error
FlightDateRestrict4Ret Setter 回程班期限制,1.12表示周一周二 2.12:00-14:00表示每天的12点到14点 3. 12:00FRI-12:00SAT 表示周五的中午12点至周六的中午12点
func (*TaobaoAlitripItFareAddrtRequest) SetGv2ChildRule ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetGv2ChildRule(gv2ChildRule string) error
Gv2ChildRule Setter (后期字段,预留),小团儿童计数规则,可选值:1个儿童计1个成人、2个儿童计1个成人、儿童不计
func (*TaobaoAlitripItFareAddrtRequest) SetIsAllowOj ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetIsAllowOj(isAllowOj string) error
IsAllowOj Setter (后期字段,预留),是否允许缺口,1、为是或否;默认为否
func (*TaobaoAlitripItFareAddrtRequest) SetIsCanAllRefund ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetIsCanAllRefund(isCanAllRefund string) error
IsCanAllRefund Setter 必填项,全部未使用可否退票,可输入:是,否
func (*TaobaoAlitripItFareAddrtRequest) SetIsCanPartRefund ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetIsCanPartRefund(isCanPartRefund string) error
IsCanPartRefund Setter 必填项,部分未使用可否退票,可输入:是,否
func (*TaobaoAlitripItFareAddrtRequest) SetIsCanRefund4Dep ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetIsCanRefund4Dep(isCanRefund4Dep string) error
IsCanRefund4Dep Setter (已废除字段),去程全部未使用可否退票,录入是或否
func (*TaobaoAlitripItFareAddrtRequest) SetIsCanRefund4Ret ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetIsCanRefund4Ret(isCanRefund4Ret string) error
IsCanRefund4Ret Setter (已废除字段),回程全部未使用可否退票,录入是或否
func (*TaobaoAlitripItFareAddrtRequest) SetIsCanReissue4Dep ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetIsCanReissue4Dep(isCanReissue4Dep string) error
IsCanReissue4Dep Setter (已废除字段),去程全部未使用可否改期,录入是或否
func (*TaobaoAlitripItFareAddrtRequest) SetIsCanReissue4Ret ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetIsCanReissue4Ret(isCanReissue4Ret string) error
IsCanReissue4Ret Setter (已废除字段),回程全部未使用可否改期,录入是或否
func (*TaobaoAlitripItFareAddrtRequest) SetIsCreatePnr ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetIsCreatePnr(isCreatePnr string) error
IsCreatePnr Setter (后期字段,预留),是否创建PNR,1、选项 可填写是,否.默认为是
func (*TaobaoAlitripItFareAddrtRequest) SetIsNoShowCanRefund4Dep ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetIsNoShowCanRefund4Dep(isNoShowCanRefund4Dep string) error
IsNoShowCanRefund4Dep Setter (已废除字段),去程NOSHOW能否退票,输入是或否;默认为否
func (*TaobaoAlitripItFareAddrtRequest) SetIsNoShowCanRefund4Ret ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetIsNoShowCanRefund4Ret(isNoShowCanRefund4Ret string) error
IsNoShowCanRefund4Ret Setter (已废除字段),回程NOSHOW能否退票,输入是或否;默认为否
func (*TaobaoAlitripItFareAddrtRequest) SetIsNoShowCanReissue4Dep ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetIsNoShowCanReissue4Dep(isNoShowCanReissue4Dep string) error
IsNoShowCanReissue4Dep Setter (已废除字段),去程NOSHOW能否改期,输入是或否;默认为否
func (*TaobaoAlitripItFareAddrtRequest) SetIsNoShowCanReissue4Ret ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetIsNoShowCanReissue4Ret(isNoShowCanReissue4Ret string) error
IsNoShowCanReissue4Ret Setter (已废除字段),回程NOSHOW能否改期,输入是或否;默认为否
func (*TaobaoAlitripItFareAddrtRequest) SetIsRT ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetIsRT(isRT string) error
IsRT Setter 是否1/2RT,1、请填写 是或者否;默认为否
func (*TaobaoAlitripItFareAddrtRequest) SetIsValidatPrice ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetIsValidatPrice(isValidatPrice string) error
IsValidatPrice Setter 是否校验票面价,1、可填写 是或者否;默认为否
func (*TaobaoAlitripItFareAddrtRequest) SetLateTicketingTimeLimit ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetLateTicketingTimeLimit(lateTicketingTimeLimit int64) error
LateTicketingTimeLimit Setter 最晚出票时限,默认为空,代表无限制; 输入为小于等于365的正整数。 大于或等于提前出票时限。 单位为天
func (*TaobaoAlitripItFareAddrtRequest) SetLuggageRule ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetLuggageRule(luggageRule string) error
LuggageRule Setter 行李额规定,1、不可为空2、可填写:1PC。逾重行李费用为每公斤100元3、行李额规定最多为300个字符
func (*TaobaoAlitripItFareAddrtRequest) SetLuggageRule4Dep ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetLuggageRule4Dep(luggageRule4Dep string) error
LuggageRule4Dep Setter (后期字段,预留),去程行李额规定,可输入1-23,1-23 中间用","隔开,表示第一程和第二程(中转)支持行李额为1PC,23KG。若某段为空表示该段按照航空公司规定执行,逗号不可缺少;若不提供免费行李额直接输入空
func (*TaobaoAlitripItFareAddrtRequest) SetLuggageRule4Ret ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetLuggageRule4Ret(luggageRule4Ret string) error
LuggageRule4Ret Setter (后期字段,预留),回程行李额规定,可输入1-23,1-23 中间用","隔开,表示第一程和第二程(中转)支持行李额为1PC,23KG。若某段为空表示该段按照航空公司规定执行,逗号不可缺少;若不提供免费行李额直接输入空
func (*TaobaoAlitripItFareAddrtRequest) SetMaxStay ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetMaxStay(maxStay string) error
MaxStay Setter 最长停留期,1、 默认为空,代表无限制; 2、 格式为:数字+字符/字符 3D表示3天 ; 4M表示4个月 ; SAT表示周六; 3D/SAT表示3天或者周六 3、 12M 表示一年
func (*TaobaoAlitripItFareAddrtRequest) SetMaxTravelPerson ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetMaxTravelPerson(maxTravelPerson int64) error
MaxTravelPerson Setter 最大出行人数,数字1-9
func (*TaobaoAlitripItFareAddrtRequest) SetMinStay ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetMinStay(minStay string) error
MinStay Setter 最短停留期,1、 默认为空,代表无限制; 2、 格式为:数字+字符/字符 3D表示3天 ; 4M表示4个月 ; SAT表示周六; 3D/SAT表示3天或者周六 3、 12M 表示一年
func (*TaobaoAlitripItFareAddrtRequest) SetMinTravelPerson ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetMinTravelPerson(minTravelPerson int64) error
MinTravelPerson Setter 最小出行人数,数字1-9
func (*TaobaoAlitripItFareAddrtRequest) SetNationality ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetNationality(nationality string) error
Nationality Setter 国籍,可录入多个用","隔开表示或的关系 1、可录入国家二字代码,为空表示不限制,最多录20个 *默认为空,不输入为不限制
func (*TaobaoAlitripItFareAddrtRequest) SetNoShowPenalty4Dep ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetNoShowPenalty4Dep(noShowPenalty4Dep int64) error
NoShowPenalty4Dep Setter (已废除字段),去程NOSHOW罚金,可为空,若输入则为正整数;其中空表示按航空公司规定执行
func (*TaobaoAlitripItFareAddrtRequest) SetNoShowPenalty4Ret ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetNoShowPenalty4Ret(noShowPenalty4Ret int64) error
NoShowPenalty4Ret Setter (已废除字段),回程NOSHOW罚金,可为空,若输入则为正整数;其中空表示按航空公司规定执行
func (*TaobaoAlitripItFareAddrtRequest) SetNoShowTimeLimit4Dep ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetNoShowTimeLimit4Dep(noShowTimeLimit4Dep int64) error
NoShowTimeLimit4Dep Setter (已废除字段),去程NOSHOW规定时限,输入正整数
func (*TaobaoAlitripItFareAddrtRequest) SetNoShowTimeLimit4Ret ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetNoShowTimeLimit4Ret(noShowTimeLimit4Ret int64) error
NoShowTimeLimit4Ret Setter (已废除字段),回程NOSHOW规定时限,输入正整数
func (*TaobaoAlitripItFareAddrtRequest) SetNoshowCurrency ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetNoshowCurrency(noshowCurrency string) error
NoshowCurrency Setter NOSHOW币种,可录入币种三字码,默认值CNY
func (*TaobaoAlitripItFareAddrtRequest) SetNoshowFee ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetNoshowFee(noshowFee string) error
NoshowFee Setter NOSHOW金额,只能录入整数或百分比,【NOSHOW是否有限制】为是,【NOSHOW规则】不是不可退票,不可改期时,此项为必填项
func (*TaobaoAlitripItFareAddrtRequest) SetNoshowRestrict ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetNoshowRestrict(noshowRestrict string) error
NoshowRestrict Setter 必填项,NOSHOW是否有限制,可输入是或否
func (*TaobaoAlitripItFareAddrtRequest) SetNoshowRule ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetNoshowRule(noshowRule string) error
NoshowRule Setter (已废除字段)误机罚金说明,1、不可为空 2、可填写:起飞前不得退票,不得改期 3、误机罚金说明最多为300个字符
func (*TaobaoAlitripItFareAddrtRequest) SetNoshowRuleType ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetNoshowRuleType(noshowRuleType string) error
NoshowRuleType Setter NOSHOW规则,可录入多个,多个用逗号分隔。可录入不可退票、不可改期、不可改期,不可改期
func (*TaobaoAlitripItFareAddrtRequest) SetNoshowTimeRestrict ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetNoshowTimeRestrict(noshowTimeRestrict string) error
NoshowTimeRestrict Setter NOSHOW时限,只能录入整数,【NOSHOW是否有限制】为是时,此项为必填项
func (*TaobaoAlitripItFareAddrtRequest) SetNoshowTimeRestrictUnit ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetNoshowTimeRestrictUnit(noshowTimeRestrictUnit string) error
NoshowTimeRestrictUnit Setter NOSHOW时限单位(小时/天, 默认为小时)
func (*TaobaoAlitripItFareAddrtRequest) SetOjType ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetOjType(ojType string) error
OjType Setter (后期字段,预留),缺口类型,1、可填单缺、双缺、始发地缺、目的地缺、或为空;默认为空(当允许缺口组合时,此项为必输项)
func (*TaobaoAlitripItFareAddrtRequest) SetOriginLand ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetOriginLand(originLand string) error
OriginLand Setter 始发地,多个用“,”隔开 1.不得为空 2.可以填写:机场三字码”或“城市码” 3.最多允许100个机场三字码/城市码
func (*TaobaoAlitripItFareAddrtRequest) SetOutFileCode ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetOutFileCode(outFileCode string) error
OutFileCode Setter 外部政策ID,1、自行输入的ID,建议为唯一id,有些操作可以使用此id 最多50个字符
func (*TaobaoAlitripItFareAddrtRequest) SetPassengerAge ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetPassengerAge(passengerAge string) error
PassengerAge Setter 乘客年龄,1、可录入范围如21-25表示21周岁至25周岁,1-表示1岁以上,-99表示99岁以下
func (*TaobaoAlitripItFareAddrtRequest) SetProductType ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetProductType(productType string) error
ProductType Setter (后期字段,预留),产品类型,1.不可为空 2.填写为:包机切位、申请、见舱预订;
func (*TaobaoAlitripItFareAddrtRequest) SetReceipts ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetReceipts(receipts string) error
Receipts Setter 必填项 赋值范围 境外电子凭证,旅行发票,差额行程单发票,等额行程单
func (*TaobaoAlitripItFareAddrtRequest) SetRefundCurrencyAllUnused ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetRefundCurrencyAllUnused(refundCurrencyAllUnused string) error
RefundCurrencyAllUnused Setter 全部未使用退票币种,只能录入币种三字码,默认值CNY
func (*TaobaoAlitripItFareAddrtRequest) SetRefundCurrencyPartUnused ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetRefundCurrencyPartUnused(refundCurrencyPartUnused string) error
RefundCurrencyPartUnused Setter 部分未使用退票币种,可录入币种三字码,默认值CNY
func (*TaobaoAlitripItFareAddrtRequest) SetRefundFeeAllUnused ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetRefundFeeAllUnused(refundFeeAllUnused string) error
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 (*TaobaoAlitripItFareAddrtRequest) SetRefundFeePartUnused ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetRefundFeePartUnused(refundFeePartUnused string) error
RefundFeePartUnused Setter 部分未使用退票费用,格式同【全部未使用退票费用】,【部分未使用可否退票】为是时,此项为必填项
func (*TaobaoAlitripItFareAddrtRequest) SetRefundFeeTypeAllUnused ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetRefundFeeTypeAllUnused(refundFeeTypeAllUnused string) error
RefundFeeTypeAllUnused Setter 全部未使用退票费用收取方式,按每个航段收还是全程收(0:全程, 1:每个航段,默认值:全程)
func (*TaobaoAlitripItFareAddrtRequest) SetRefundFeeTypePartUnused ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetRefundFeeTypePartUnused(refundFeeTypePartUnused string) error
RefundFeeTypePartUnused Setter 部分未使用退票费用收取方式,按每个航段收还是全程收(0:全程, 1:每个航段,默认值:全程)
func (*TaobaoAlitripItFareAddrtRequest) SetRefundPartPrice4Dep ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetRefundPartPrice4Dep(refundPartPrice4Dep string) error
RefundPartPrice4Dep Setter (已废除字段),去程部分未使用退票费用,可输入空,*或正整数,其中空表示按照航空公司规定执行,*表示不支持部分退票
func (*TaobaoAlitripItFareAddrtRequest) SetRefundPartPrice4Ret ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetRefundPartPrice4Ret(refundPartPrice4Ret string) error
RefundPartPrice4Ret Setter (已废除字段),回程部分未使用退票费用,可输入空,*或正整数,其中空表示按照航空公司规定执行,*表示不支持部分退票
func (*TaobaoAlitripItFareAddrtRequest) SetRefundPrice4Dep ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetRefundPrice4Dep(refundPrice4Dep string) error
RefundPrice4Dep Setter (已废除字段),去程全部未使用退票费用,可输入格式如:200-72-300-48-1000-0-*,表示72小时前退票手续费200;48小时到72小时,退票手续费300;飞机起飞不足48小时退票手续费1000;飞机起飞后不予退票(输入*);
func (*TaobaoAlitripItFareAddrtRequest) SetRefundPrice4Ret ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetRefundPrice4Ret(refundPrice4Ret string) error
RefundPrice4Ret Setter (已废除字段),回程全部未使用退票费用,可输入格式如:200-72-300-48-1000-0-*,表示72小时前退票手续费200;48小时到72小时,退票手续费300;飞机起飞不足48小时退票手续费1000;飞机起飞后不予退票(输入*);
func (*TaobaoAlitripItFareAddrtRequest) SetRefundRule ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetRefundRule(refundRule string) error
RefundRule Setter (已废除字段)退票规定,1、不可为空 2、可填写:收取20%退票费用,或者是收取500元退票费等。 3、退票规定最多为300个字符
func (*TaobaoAlitripItFareAddrtRequest) SetReissuePartPrice4Dep ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetReissuePartPrice4Dep(reissuePartPrice4Dep string) error
ReissuePartPrice4Dep Setter (已废除字段),去程部分未使用改期费用,可输入空,*或正整数,其中空表示按照航空公司规定执行,*表示不支持部分改期
func (*TaobaoAlitripItFareAddrtRequest) SetReissuePartPrice4Ret ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetReissuePartPrice4Ret(reissuePartPrice4Ret string) error
ReissuePartPrice4Ret Setter (已废除字段),回程部分未使用改期费用,可输入空,*或正整数,其中空表示按照航空公司规定执行,*表示不支持部分改期
func (*TaobaoAlitripItFareAddrtRequest) SetReissuePrice4Dep ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetReissuePrice4Dep(reissuePrice4Dep string) error
ReissuePrice4Dep Setter (已废除字段),去程全部未使用改期费用,可输入格式如:200-72-300-48-1000-0-*,表示72小时前改期手续费200;48小时到72小时,改期手续费300;飞机起飞不足48小时改期手续费1000;飞机起飞后不予改期(输入*);
func (*TaobaoAlitripItFareAddrtRequest) SetReissuePrice4Ret ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetReissuePrice4Ret(reissuePrice4Ret string) error
ReissuePrice4Ret Setter (已废除字段),回程全部未使用改期费用,可输入格式如:200-72-300-48-1000-0-*,表示72小时前改期手续费200;48小时到72小时,改期手续费300;飞机起飞不足48小时改期手续费1000;飞机起飞后不予改期(输入*);
func (*TaobaoAlitripItFareAddrtRequest) SetReissueRule ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetReissueRule(reissueRule string) error
ReissueRule Setter (已废除字段)改期规定,1、不可为空 2、可填写:收取20%改期费用,或者是收取500元改期费等。 3、改期规定最多为300个字符
func (*TaobaoAlitripItFareAddrtRequest) SetRemark ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetRemark(remark string) error
Remark Setter 备注,出票备注文本
func (*TaobaoAlitripItFareAddrtRequest) SetRestrictFlightNo ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetRestrictFlightNo(restrictFlightNo string) error
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 (*TaobaoAlitripItFareAddrtRequest) SetRetChangeCurrency ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetRetChangeCurrency(retChangeCurrency string) error
RetChangeCurrency Setter 回程改期币种,可输入币种三字码,默认值CN
func (*TaobaoAlitripItFareAddrtRequest) SetRetChangeFee ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetRetChangeFee(retChangeFee string) error
RetChangeFee Setter 回程改期费用,格式同【去程改期费用】,【回程可否改期】为是时为必填
func (*TaobaoAlitripItFareAddrtRequest) SetRetChangeFeeType ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetRetChangeFeeType(retChangeFeeType string) error
RetChangeFeeType Setter 回程改期费用收取方式,按每个航段收还是全程收(0:全程, 1:每个航段,默认值:全程)
func (*TaobaoAlitripItFareAddrtRequest) SetReturnPoint ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetReturnPoint(returnPoint float64) error
ReturnPoint Setter 返点,1.不得为空 2.只允许填写数字,支持到小数点后两位;不用填写% 3.返点需小于100 成人价=销售票面价*(1-返点)+留钱
func (*TaobaoAlitripItFareAddrtRequest) SetRtCommissionFormula ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetRtCommissionFormula(rtCommissionFormula string) error
RtCommissionFormula Setter 1/2RT佣金计算方式,1、各取各,取严; 默认为 取严
func (*TaobaoAlitripItFareAddrtRequest) SetRtType ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetRtType(rtType string) error
RtType Setter (后期字段,预留),1/2RT类型,当需要多填入多个时,请以","分隔 1、可填写 、旅行有效期、排除旅行有效期、班期 ;表明1/2RT 混舱计算时,取严还是各取各 2、默认值是 全部各取各
func (*TaobaoAlitripItFareAddrtRequest) SetRuleId ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetRuleId(ruleId string) error
RuleId Setter 运价规则id,最大长度4
func (*TaobaoAlitripItFareAddrtRequest) SetSaleAirline ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetSaleAirline(saleAirline string) error
SaleAirline Setter 销售航司,不同航段之间用 “,”隔开。 1、销售航司二字码; 2、如为直达;请录入一个航司二字码;如为中转,录入格式为 第一程航司,第二程航司;或者航司;若全程都一样,则录入一个航司二字代码即可 3、如果不录入,则航司默认为出票航司;
func (*TaobaoAlitripItFareAddrtRequest) SetSaleDate ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetSaleDate(saleDate string) error
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 (*TaobaoAlitripItFareAddrtRequest) SetStockMode ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetStockMode(stockMode string) error
StockMode Setter (后期字段,预留),库存模式,1.不可为空 2.填写为见舱或定额;默认为见舱
func (*TaobaoAlitripItFareAddrtRequest) SetTariff ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetTariff(tariff string) error
Tariff Setter 运价tariff,最大长度3
func (*TaobaoAlitripItFareAddrtRequest) SetTicketPrice ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetTicketPrice(ticketPrice int64) error
TicketPrice Setter 销售票面价,1.不得为空 2.价格区间为【0-999999】 3、销售票面价为10的整数倍(向下取整,如录入3002,则实际录入数值为3000)
func (*TaobaoAlitripItFareAddrtRequest) SetTicketingAirline ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetTicketingAirline(ticketingAirline string) error
TicketingAirline Setter 出票航司,1.不可为空 2.航空公司二字码 3.只能输入一个
func (*TaobaoAlitripItFareAddrtRequest) SetTransitLand ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetTransitLand(transitLand string) error
TransitLand Setter 中转地,多个用“,”隔开 1.不得为空 2.可以填写:机场三字码,城市码 3.最多允许100个机场三字码/城市码 4、当航程类型书写为 中转时,此处为必填
func (*TaobaoAlitripItFareAddrtRequest) SetTripDatePoint4Dep ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetTripDatePoint4Dep(tripDatePoint4Dep string) error
TripDatePoint4Dep Setter 去程旅行日期作用点,始发航段/第一国际段/主航段/全部;默认空为 第一国际段
func (*TaobaoAlitripItFareAddrtRequest) SetTripDatePoint4Ret ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetTripDatePoint4Ret(tripDatePoint4Ret string) error
TripDatePoint4Ret Setter 回程旅行日期作用点,始发航段/第一国际段/主航段/全部;默认空为 第一国际段
func (*TaobaoAlitripItFareAddrtRequest) SetTripExcludeDatePoint4Dep ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetTripExcludeDatePoint4Dep(tripExcludeDatePoint4Dep string) error
TripExcludeDatePoint4Dep Setter 去程旅行排除日期作用点,始发航段/第一国际段/主航段/全部;默认空为 第一国际段
func (*TaobaoAlitripItFareAddrtRequest) SetTripExcludeDatePoint4Ret ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetTripExcludeDatePoint4Ret(tripExcludeDatePoint4Ret string) error
TripExcludeDatePoint4Ret Setter 回程旅行排除日期作用点,始发航段/第一国际段/主航段/全部;默认空为 第一国际段
func (*TaobaoAlitripItFareAddrtRequest) SetTripType ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetTripType(tripType string) error
TripType Setter 航程种类,1、默认为直达;有直达和中转两个选项;2、不填写 默认为 直达
func (*TaobaoAlitripItFareAddrtRequest) SetValidDate4Dep ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetValidDate4Dep(validDate4Dep string) error
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 (*TaobaoAlitripItFareAddrtRequest) SetValidDate4Ret ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetValidDate4Ret(validDate4Ret string) error
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 (*TaobaoAlitripItFareAddrtRequest) SetVipCode ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetVipCode(vipCode string) error
VipCode Setter 大客户编码,文本框
func (*TaobaoAlitripItFareAddrtRequest) SetWorkingHours ¶
func (r *TaobaoAlitripItFareAddrtRequest) SetWorkingHours(workingHours string) error
WorkingHours Setter 工作时间,18:00FRI表示周一到周五的每天早上9点到下午6点 最多录入三个时间段用,隔开表示或的关系 可以为空,表示不限制(运价上的工作时间优先级高于设置时间界面上的时间)
type TaobaoAlitripItFareAddrtResponse ¶
type TaobaoAlitripItFareAddrtResponse struct { XMLName xml.Name `xml:"alitrip_it_fare_addrt_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 运价id FareId int64 `json:"fare_id,omitempty" xml:"fare_id,omitempty"` // json格式的字符串,扩展属性,预留 ExtendAttributes string `json:"extend_attributes,omitempty" xml:"extend_attributes,omitempty"` }
【国际机票自有政策】单条往返添加 成功返回结果
type TaobaoAlitripItFareBatchaddAPIResponse ¶
type TaobaoAlitripItFareBatchaddAPIResponse struct { model.CommonResponse TaobaoAlitripItFareBatchaddResponse }
【国际机票自有政策】批量添加 API返回值 taobao.alitrip.it.fare.batchadd
支持自有政策和销售规则批量添加,支持携程的数据格式。淘宝格式为list [object] to json string,object的属性和单条接口一致。每个接入方最多同时只能有1个处理中的导入任务,超过后直接返回失败。文件一定要zip压缩,压缩后大小不超过5M,编码格式utf-8
type TaobaoAlitripItFareBatchaddRequest ¶
type TaobaoAlitripItFareBatchaddRequest struct { model.Params // contains filtered or unexported fields }
【国际机票自有政策】批量添加 API请求 taobao.alitrip.it.fare.batchadd
支持自有政策和销售规则批量添加,支持携程的数据格式。淘宝格式为list [object] to json string,object的属性和单条接口一致。每个接入方最多同时只能有1个处理中的导入任务,超过后直接返回失败。文件一定要zip压缩,压缩后大小不超过5M,编码格式utf-8
func NewTaobaoAlitripItFareBatchaddRequest ¶
func NewTaobaoAlitripItFareBatchaddRequest() *TaobaoAlitripItFareBatchaddRequest
初始化TaobaoAlitripItFareBatchaddRequest对象
func (TaobaoAlitripItFareBatchaddRequest) GetAddType ¶
func (r TaobaoAlitripItFareBatchaddRequest) GetAddType() int64
AddType Getter
func (TaobaoAlitripItFareBatchaddRequest) GetApiMethodName ¶
func (r TaobaoAlitripItFareBatchaddRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoAlitripItFareBatchaddRequest) GetApiParams ¶
func (r TaobaoAlitripItFareBatchaddRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoAlitripItFareBatchaddRequest) GetBytes ¶
func (r TaobaoAlitripItFareBatchaddRequest) GetBytes() []*model.File
Bytes Getter
func (TaobaoAlitripItFareBatchaddRequest) GetDataType ¶
func (r TaobaoAlitripItFareBatchaddRequest) GetDataType() int64
DataType Getter
func (TaobaoAlitripItFareBatchaddRequest) GetExtendAttributes ¶
func (r TaobaoAlitripItFareBatchaddRequest) GetExtendAttributes() string
ExtendAttributes Getter
func (*TaobaoAlitripItFareBatchaddRequest) SetAddType ¶
func (r *TaobaoAlitripItFareBatchaddRequest) SetAddType(addType int64) error
AddType Setter 新增类型,1 自有政策单程 2 自有政策往返 3 销售规则
func (*TaobaoAlitripItFareBatchaddRequest) SetBytes ¶
func (r *TaobaoAlitripItFareBatchaddRequest) SetBytes(bytes []*model.File) error
Bytes Setter 文本zip压缩后的数据字节流
func (*TaobaoAlitripItFareBatchaddRequest) SetDataType ¶
func (r *TaobaoAlitripItFareBatchaddRequest) SetDataType(dataType int64) error
DataType Setter 数据格式类型,1 淘宝 2 携程
func (*TaobaoAlitripItFareBatchaddRequest) SetExtendAttributes ¶
func (r *TaobaoAlitripItFareBatchaddRequest) SetExtendAttributes(extendAttributes string) error
ExtendAttributes Setter json格式的字符串,扩展属性,预留
type TaobaoAlitripItFareBatchaddResponse ¶
type TaobaoAlitripItFareBatchaddResponse struct { XMLName xml.Name `xml:"alitrip_it_fare_batchadd_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 任务id,可以根据任务id调用querytask查询执行结果 TeskId int64 `json:"tesk_id,omitempty" xml:"tesk_id,omitempty"` // json格式的字符串,扩展属性,预留 ExtendAttributes string `json:"extend_attributes,omitempty" xml:"extend_attributes,omitempty"` }
【国际机票自有政策】批量添加 成功返回结果
type TaobaoAlitripItFareBatchdeleteAPIResponse ¶
type TaobaoAlitripItFareBatchdeleteAPIResponse struct { model.CommonResponse TaobaoAlitripItFareBatchdeleteResponse }
【国际机票自有政策】批量删除 API返回值 taobao.alitrip.it.fare.batchdelete
批量删除自有政策,单次删除最大5万,大于5万时候提示失败,需要缩小删除条件。此接口同步返回任务id,异步执行操作。每个接入方最多同时只能有10个处理中的任务,超过后直接返回失败。
type TaobaoAlitripItFareBatchdeleteRequest ¶
type TaobaoAlitripItFareBatchdeleteRequest struct { model.Params // contains filtered or unexported fields }
【国际机票自有政策】批量删除 API请求 taobao.alitrip.it.fare.batchdelete
批量删除自有政策,单次删除最大5万,大于5万时候提示失败,需要缩小删除条件。此接口同步返回任务id,异步执行操作。每个接入方最多同时只能有10个处理中的任务,超过后直接返回失败。
func NewTaobaoAlitripItFareBatchdeleteRequest ¶
func NewTaobaoAlitripItFareBatchdeleteRequest() *TaobaoAlitripItFareBatchdeleteRequest
初始化TaobaoAlitripItFareBatchdeleteRequest对象
func (TaobaoAlitripItFareBatchdeleteRequest) GetAirline ¶
func (r TaobaoAlitripItFareBatchdeleteRequest) GetAirline() string
Airline Getter
func (TaobaoAlitripItFareBatchdeleteRequest) GetApiMethodName ¶
func (r TaobaoAlitripItFareBatchdeleteRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoAlitripItFareBatchdeleteRequest) GetApiParams ¶
func (r TaobaoAlitripItFareBatchdeleteRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoAlitripItFareBatchdeleteRequest) GetArrCity ¶
func (r TaobaoAlitripItFareBatchdeleteRequest) GetArrCity() string
ArrCity Getter
func (TaobaoAlitripItFareBatchdeleteRequest) GetCabin ¶
func (r TaobaoAlitripItFareBatchdeleteRequest) GetCabin() string
Cabin Getter
func (TaobaoAlitripItFareBatchdeleteRequest) GetCanRt ¶
func (r TaobaoAlitripItFareBatchdeleteRequest) GetCanRt() bool
CanRt Getter
func (TaobaoAlitripItFareBatchdeleteRequest) GetDepCity ¶
func (r TaobaoAlitripItFareBatchdeleteRequest) GetDepCity() string
DepCity Getter
func (TaobaoAlitripItFareBatchdeleteRequest) GetEndModifyDate ¶
func (r TaobaoAlitripItFareBatchdeleteRequest) GetEndModifyDate() string
EndModifyDate Getter
func (TaobaoAlitripItFareBatchdeleteRequest) GetEndRestrictGoDate ¶
func (r TaobaoAlitripItFareBatchdeleteRequest) GetEndRestrictGoDate() string
EndRestrictGoDate Getter
func (TaobaoAlitripItFareBatchdeleteRequest) GetExtendAttributes ¶
func (r TaobaoAlitripItFareBatchdeleteRequest) GetExtendAttributes() string
ExtendAttributes Getter
func (TaobaoAlitripItFareBatchdeleteRequest) GetFareType ¶
func (r TaobaoAlitripItFareBatchdeleteRequest) GetFareType() int64
FareType Getter
func (TaobaoAlitripItFareBatchdeleteRequest) GetFileCode ¶
func (r TaobaoAlitripItFareBatchdeleteRequest) GetFileCode() string
FileCode Getter
func (TaobaoAlitripItFareBatchdeleteRequest) GetOperateSource ¶
func (r TaobaoAlitripItFareBatchdeleteRequest) GetOperateSource() string
OperateSource Getter
func (TaobaoAlitripItFareBatchdeleteRequest) GetOutId ¶
func (r TaobaoAlitripItFareBatchdeleteRequest) GetOutId() string
OutId Getter
func (TaobaoAlitripItFareBatchdeleteRequest) GetStartModifyDate ¶
func (r TaobaoAlitripItFareBatchdeleteRequest) GetStartModifyDate() string
StartModifyDate Getter
func (TaobaoAlitripItFareBatchdeleteRequest) GetStartRestrictGoDate ¶
func (r TaobaoAlitripItFareBatchdeleteRequest) GetStartRestrictGoDate() string
StartRestrictGoDate Getter
func (TaobaoAlitripItFareBatchdeleteRequest) GetStatusList ¶
func (r TaobaoAlitripItFareBatchdeleteRequest) GetStatusList() []int64
StatusList Getter
func (*TaobaoAlitripItFareBatchdeleteRequest) SetAirline ¶
func (r *TaobaoAlitripItFareBatchdeleteRequest) SetAirline(airline string) error
Airline Setter 航空公司
func (*TaobaoAlitripItFareBatchdeleteRequest) SetArrCity ¶
func (r *TaobaoAlitripItFareBatchdeleteRequest) SetArrCity(arrCity string) error
ArrCity Setter 到达城市 可传多个 AND关系
func (*TaobaoAlitripItFareBatchdeleteRequest) SetCabin ¶
func (r *TaobaoAlitripItFareBatchdeleteRequest) SetCabin(cabin string) error
Cabin Setter 舱位 可传多个 或者的关系
func (*TaobaoAlitripItFareBatchdeleteRequest) SetCanRt ¶
func (r *TaobaoAlitripItFareBatchdeleteRequest) SetCanRt(canRt bool) error
CanRt Setter 是否能够混舱
func (*TaobaoAlitripItFareBatchdeleteRequest) SetDepCity ¶
func (r *TaobaoAlitripItFareBatchdeleteRequest) SetDepCity(depCity string) error
DepCity Setter 到达城市 可传多个 AND关系
func (*TaobaoAlitripItFareBatchdeleteRequest) SetEndModifyDate ¶
func (r *TaobaoAlitripItFareBatchdeleteRequest) SetEndModifyDate(endModifyDate string) error
EndModifyDate Setter 最晚修改时间
func (*TaobaoAlitripItFareBatchdeleteRequest) SetEndRestrictGoDate ¶
func (r *TaobaoAlitripItFareBatchdeleteRequest) SetEndRestrictGoDate(endRestrictGoDate string) error
EndRestrictGoDate Setter 去程适用结束日期
func (*TaobaoAlitripItFareBatchdeleteRequest) SetExtendAttributes ¶
func (r *TaobaoAlitripItFareBatchdeleteRequest) SetExtendAttributes(extendAttributes string) error
ExtendAttributes Setter json格式的字符串,扩展属性,预留
func (*TaobaoAlitripItFareBatchdeleteRequest) SetFareType ¶
func (r *TaobaoAlitripItFareBatchdeleteRequest) SetFareType(fareType int64) error
FareType Setter 运价类型,1单程 2往返
func (*TaobaoAlitripItFareBatchdeleteRequest) SetFileCode ¶
func (r *TaobaoAlitripItFareBatchdeleteRequest) SetFileCode(fileCode string) error
FileCode Setter 文件编号
func (*TaobaoAlitripItFareBatchdeleteRequest) SetOperateSource ¶
func (r *TaobaoAlitripItFareBatchdeleteRequest) SetOperateSource(operateSource string) error
OperateSource Setter 维护方式,可选值(UI:后台界面录入;EXCEL:后台excel批量导入;API:top接口添加)
func (*TaobaoAlitripItFareBatchdeleteRequest) SetOutId ¶
func (r *TaobaoAlitripItFareBatchdeleteRequest) SetOutId(outId string) error
OutId Setter 外部政策id
func (*TaobaoAlitripItFareBatchdeleteRequest) SetStartModifyDate ¶
func (r *TaobaoAlitripItFareBatchdeleteRequest) SetStartModifyDate(startModifyDate string) error
StartModifyDate Setter 最早修改时间
func (*TaobaoAlitripItFareBatchdeleteRequest) SetStartRestrictGoDate ¶
func (r *TaobaoAlitripItFareBatchdeleteRequest) SetStartRestrictGoDate(startRestrictGoDate string) error
StartRestrictGoDate Setter 去程适用开始日期
func (*TaobaoAlitripItFareBatchdeleteRequest) SetStatusList ¶
func (r *TaobaoAlitripItFareBatchdeleteRequest) SetStatusList(statusList []int64) error
StatusList Setter 0:未发布 1:已发布 2:已过期。不传的话,默认只能删除未发布和已过期的数据
type TaobaoAlitripItFareBatchdeleteResponse ¶
type TaobaoAlitripItFareBatchdeleteResponse struct { XMLName xml.Name `xml:"alitrip_it_fare_batchdelete_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 任务id,可以根据任务id调用querytask查询执行结果 TaskId int64 `json:"task_id,omitempty" xml:"task_id,omitempty"` // json格式的字符串,扩展属性,预留 ExtendAttributes string `json:"extend_attributes,omitempty" xml:"extend_attributes,omitempty"` }
【国际机票自有政策】批量删除 成功返回结果
type TaobaoAlitripItFareDeleteAPIResponse ¶
type TaobaoAlitripItFareDeleteAPIResponse struct { model.CommonResponse TaobaoAlitripItFareDeleteResponse }
【国际机票自有政策】单条删除 API返回值 taobao.alitrip.it.fare.delete
自有政策删除接口,可以根据fareId或outId删除,根据outId删除时,如果outId不唯一,返回失败
type TaobaoAlitripItFareDeleteRequest ¶
type TaobaoAlitripItFareDeleteRequest struct { model.Params // contains filtered or unexported fields }
【国际机票自有政策】单条删除 API请求 taobao.alitrip.it.fare.delete
自有政策删除接口,可以根据fareId或outId删除,根据outId删除时,如果outId不唯一,返回失败
func NewTaobaoAlitripItFareDeleteRequest ¶
func NewTaobaoAlitripItFareDeleteRequest() *TaobaoAlitripItFareDeleteRequest
初始化TaobaoAlitripItFareDeleteRequest对象
func (TaobaoAlitripItFareDeleteRequest) GetApiMethodName ¶
func (r TaobaoAlitripItFareDeleteRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoAlitripItFareDeleteRequest) GetApiParams ¶
func (r TaobaoAlitripItFareDeleteRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoAlitripItFareDeleteRequest) GetExtendAttributes ¶
func (r TaobaoAlitripItFareDeleteRequest) GetExtendAttributes() string
ExtendAttributes Getter
func (TaobaoAlitripItFareDeleteRequest) GetFareId ¶
func (r TaobaoAlitripItFareDeleteRequest) GetFareId() int64
FareId Getter
func (TaobaoAlitripItFareDeleteRequest) GetOutId ¶
func (r TaobaoAlitripItFareDeleteRequest) GetOutId() string
OutId Getter
func (*TaobaoAlitripItFareDeleteRequest) SetExtendAttributes ¶
func (r *TaobaoAlitripItFareDeleteRequest) SetExtendAttributes(extendAttributes string) error
ExtendAttributes Setter json格式的字符串,扩展属性,预留
func (*TaobaoAlitripItFareDeleteRequest) SetFareId ¶
func (r *TaobaoAlitripItFareDeleteRequest) SetFareId(fareId int64) error
FareId Setter 运价id,单条新增成功时返回运价id,fareId和outId必填一个,fareId优先
func (*TaobaoAlitripItFareDeleteRequest) SetOutId ¶
func (r *TaobaoAlitripItFareDeleteRequest) SetOutId(outId string) error
OutId Setter 外部id,为新增时请求参数中的外部政策id
type TaobaoAlitripItFareDeleteResponse ¶
type TaobaoAlitripItFareDeleteResponse 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"` }
【国际机票自有政策】单条删除 成功返回结果
type TaobaoAlitripItFareGetAPIResponse ¶
type TaobaoAlitripItFareGetAPIResponse struct { model.CommonResponse TaobaoAlitripItFareGetResponse }
【国际机票自有政策】单条查询 API返回值 taobao.alitrip.it.fare.get
通过此接口可以查询单条政策的详情,可以根据fareId或outId查询,用户outId查询时,如果outId不唯一,只返回最新添加的一条数据
type TaobaoAlitripItFareGetRequest ¶
type TaobaoAlitripItFareGetRequest struct { model.Params // contains filtered or unexported fields }
【国际机票自有政策】单条查询 API请求 taobao.alitrip.it.fare.get
通过此接口可以查询单条政策的详情,可以根据fareId或outId查询,用户outId查询时,如果outId不唯一,只返回最新添加的一条数据
func NewTaobaoAlitripItFareGetRequest ¶
func NewTaobaoAlitripItFareGetRequest() *TaobaoAlitripItFareGetRequest
初始化TaobaoAlitripItFareGetRequest对象
func (TaobaoAlitripItFareGetRequest) GetApiMethodName ¶
func (r TaobaoAlitripItFareGetRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoAlitripItFareGetRequest) GetApiParams ¶
func (r TaobaoAlitripItFareGetRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoAlitripItFareGetRequest) GetExtendAttributes ¶
func (r TaobaoAlitripItFareGetRequest) GetExtendAttributes() string
ExtendAttributes Getter
func (TaobaoAlitripItFareGetRequest) GetFareId ¶
func (r TaobaoAlitripItFareGetRequest) GetFareId() int64
FareId Getter
func (TaobaoAlitripItFareGetRequest) GetOutId ¶
func (r TaobaoAlitripItFareGetRequest) GetOutId() string
OutId Getter
func (*TaobaoAlitripItFareGetRequest) SetExtendAttributes ¶
func (r *TaobaoAlitripItFareGetRequest) SetExtendAttributes(extendAttributes string) error
ExtendAttributes Setter json格式的字符串,扩展属性,预留
func (*TaobaoAlitripItFareGetRequest) SetFareId ¶
func (r *TaobaoAlitripItFareGetRequest) SetFareId(fareId int64) error
FareId Setter 运价id,单条新增成功时返回运价id,fareId和outId必填一个,fareId优先
func (*TaobaoAlitripItFareGetRequest) SetOutId ¶
func (r *TaobaoAlitripItFareGetRequest) SetOutId(outId string) error
OutId Setter 外部id,为新增时请求参数中的外部政策id
type TaobaoAlitripItFareGetResponse ¶
type TaobaoAlitripItFareGetResponse 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"` // 运价id FareId int64 `json:"fare_id,omitempty" xml:"fare_id,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"` // 运价类型,1单程 2往返 FareType int64 `json:"fare_type,omitempty" xml:"fare_type,omitempty"` // 0:未发布 1:已发布 2:已过期 Status int64 `json:"status,omitempty" xml:"status,omitempty"` }
【国际机票自有政策】单条查询 成功返回结果
type TaobaoAlitripItFareQuerytaskAPIResponse ¶
type TaobaoAlitripItFareQuerytaskAPIResponse struct { model.CommonResponse TaobaoAlitripItFareQuerytaskResponse }
【国际机票自有政策】批量操作结果查询 API返回值 taobao.alitrip.it.fare.querytask
批量操作同步返回任务id,后台生成异步任务,通过此接口查询批量操作的执行结果
type TaobaoAlitripItFareQuerytaskRequest ¶
type TaobaoAlitripItFareQuerytaskRequest struct { model.Params // contains filtered or unexported fields }
【国际机票自有政策】批量操作结果查询 API请求 taobao.alitrip.it.fare.querytask
批量操作同步返回任务id,后台生成异步任务,通过此接口查询批量操作的执行结果
func NewTaobaoAlitripItFareQuerytaskRequest ¶
func NewTaobaoAlitripItFareQuerytaskRequest() *TaobaoAlitripItFareQuerytaskRequest
初始化TaobaoAlitripItFareQuerytaskRequest对象
func (TaobaoAlitripItFareQuerytaskRequest) GetApiMethodName ¶
func (r TaobaoAlitripItFareQuerytaskRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoAlitripItFareQuerytaskRequest) GetApiParams ¶
func (r TaobaoAlitripItFareQuerytaskRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoAlitripItFareQuerytaskRequest) GetExtendAttributes ¶
func (r TaobaoAlitripItFareQuerytaskRequest) GetExtendAttributes() string
ExtendAttributes Getter
func (TaobaoAlitripItFareQuerytaskRequest) GetTaskId ¶
func (r TaobaoAlitripItFareQuerytaskRequest) GetTaskId() int64
TaskId Getter
func (*TaobaoAlitripItFareQuerytaskRequest) SetExtendAttributes ¶
func (r *TaobaoAlitripItFareQuerytaskRequest) SetExtendAttributes(extendAttributes string) error
ExtendAttributes Setter json格式的字符串,扩展属性,预留
func (*TaobaoAlitripItFareQuerytaskRequest) SetTaskId ¶
func (r *TaobaoAlitripItFareQuerytaskRequest) SetTaskId(taskId int64) error
TaskId Setter 任务id
type TaobaoAlitripItFareQuerytaskResponse ¶
type TaobaoAlitripItFareQuerytaskResponse struct { XMLName xml.Name `xml:"alitrip_it_fare_querytask_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 完成时间 GmtFinished string `json:"gmt_finished,omitempty" xml:"gmt_finished,omitempty"` // 成功处理条数 ProcessAmount int64 `json:"process_amount,omitempty" xml:"process_amount,omitempty"` // json格式的字符串,扩展属性,预留 ExtendAttributes string `json:"extend_attributes,omitempty" xml:"extend_attributes,omitempty"` // 任务执行失败,会返回一条失败信息。如果是导入任务,会返回每条导入失败的政策说明,最多只返回200条失败信息。 Errors []ErrorFareRow `json:"errors,omitempty" xml:"errors>error_fare_row,omitempty"` // 任务状态,1 处理中,2 处理失败,3 处理完毕 Status int64 `json:"status,omitempty" xml:"status,omitempty"` }
【国际机票自有政策】批量操作结果查询 成功返回结果
type TaobaoAlitripItFareUpdateAPIResponse ¶
type TaobaoAlitripItFareUpdateAPIResponse struct { model.CommonResponse TaobaoAlitripItFareUpdateResponse }
【国际机票自有政策】单条修改 API返回值 taobao.alitrip.it.fare.update
自有政策修改接口,可以根据fareId或outId修改,outId不唯一时,不能用outId修改。当外部政策id、出发城市、到达城市、出票航司任一有变化,或往返时是否允许混舱、文件编号、可混文件编号任一有变化,将删除老数据,产生一条新政策。
type TaobaoAlitripItFareUpdateRequest ¶
type TaobaoAlitripItFareUpdateRequest struct { model.Params // contains filtered or unexported fields }
【国际机票自有政策】单条修改 API请求 taobao.alitrip.it.fare.update
自有政策修改接口,可以根据fareId或outId修改,outId不唯一时,不能用outId修改。当外部政策id、出发城市、到达城市、出票航司任一有变化,或往返时是否允许混舱、文件编号、可混文件编号任一有变化,将删除老数据,产生一条新政策。
func NewTaobaoAlitripItFareUpdateRequest ¶
func NewTaobaoAlitripItFareUpdateRequest() *TaobaoAlitripItFareUpdateRequest
初始化TaobaoAlitripItFareUpdateRequest对象
func (TaobaoAlitripItFareUpdateRequest) GetApiMethodName ¶
func (r TaobaoAlitripItFareUpdateRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoAlitripItFareUpdateRequest) GetApiParams ¶
func (r TaobaoAlitripItFareUpdateRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoAlitripItFareUpdateRequest) GetExtendAttributes ¶
func (r TaobaoAlitripItFareUpdateRequest) GetExtendAttributes() string
ExtendAttributes Getter
func (TaobaoAlitripItFareUpdateRequest) GetFareId ¶
func (r TaobaoAlitripItFareUpdateRequest) GetFareId() int64
FareId Getter
func (TaobaoAlitripItFareUpdateRequest) GetFareJson ¶
func (r TaobaoAlitripItFareUpdateRequest) GetFareJson() string
FareJson Getter
func (TaobaoAlitripItFareUpdateRequest) GetFareType ¶
func (r TaobaoAlitripItFareUpdateRequest) GetFareType() int64
FareType Getter
func (TaobaoAlitripItFareUpdateRequest) GetOutId ¶
func (r TaobaoAlitripItFareUpdateRequest) GetOutId() string
OutId Getter
func (*TaobaoAlitripItFareUpdateRequest) SetExtendAttributes ¶
func (r *TaobaoAlitripItFareUpdateRequest) SetExtendAttributes(extendAttributes string) error
ExtendAttributes Setter json格式的字符串,扩展属性,预留
func (*TaobaoAlitripItFareUpdateRequest) SetFareId ¶
func (r *TaobaoAlitripItFareUpdateRequest) SetFareId(fareId int64) error
FareId Setter 运价id,单条新增成功时返回运价id,fareId和outId必填一个,fareId优先
func (*TaobaoAlitripItFareUpdateRequest) SetFareJson ¶
func (r *TaobaoAlitripItFareUpdateRequest) SetFareJson(fareJson string) error
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 (*TaobaoAlitripItFareUpdateRequest) SetFareType ¶
func (r *TaobaoAlitripItFareUpdateRequest) SetFareType(fareType int64) error
FareType Setter 运价类型,1单程 2往返
func (*TaobaoAlitripItFareUpdateRequest) SetOutId ¶
func (r *TaobaoAlitripItFareUpdateRequest) SetOutId(outId string) error
OutId Setter 外部id,为新增时请求参数中的外部政策id
type TaobaoAlitripItFareUpdateResponse ¶
type TaobaoAlitripItFareUpdateResponse struct { XMLName xml.Name `xml:"alitrip_it_fare_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 运价id,根据更新的内容,此id可能会重新生成 FareId int64 `json:"fare_id,omitempty" xml:"fare_id,omitempty"` // json格式的字符串,扩展属性,预留 ExtendAttributes string `json:"extend_attributes,omitempty" xml:"extend_attributes,omitempty"` }
【国际机票自有政策】单条修改 成功返回结果
type TaobaoAlitripItPolicyAddAPIResponse ¶
type TaobaoAlitripItPolicyAddAPIResponse struct { model.CommonResponse TaobaoAlitripItPolicyAddResponse }
【国际机票销售规则】单条新增 API返回值 taobao.alitrip.it.policy.add
销售规则新增,成功返回taobaoId
type TaobaoAlitripItPolicyAddRequest ¶
type TaobaoAlitripItPolicyAddRequest struct { model.Params // contains filtered or unexported fields }
【国际机票销售规则】单条新增 API请求 taobao.alitrip.it.policy.add
销售规则新增,成功返回taobaoId
func NewTaobaoAlitripItPolicyAddRequest ¶
func NewTaobaoAlitripItPolicyAddRequest() *TaobaoAlitripItPolicyAddRequest
初始化TaobaoAlitripItPolicyAddRequest对象
func (TaobaoAlitripItPolicyAddRequest) GetApiMethodName ¶
func (r TaobaoAlitripItPolicyAddRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoAlitripItPolicyAddRequest) GetApiParams ¶
func (r TaobaoAlitripItPolicyAddRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoAlitripItPolicyAddRequest) GetExtendAttributes ¶
func (r TaobaoAlitripItPolicyAddRequest) GetExtendAttributes() string
ExtendAttributes Getter
func (TaobaoAlitripItPolicyAddRequest) GetTopPolicyDo ¶
func (r TaobaoAlitripItPolicyAddRequest) GetTopPolicyDo() *TopPolicyDo
TopPolicyDo Getter
func (*TaobaoAlitripItPolicyAddRequest) SetExtendAttributes ¶
func (r *TaobaoAlitripItPolicyAddRequest) SetExtendAttributes(extendAttributes string) error
ExtendAttributes Setter 扩展字段
func (*TaobaoAlitripItPolicyAddRequest) SetTopPolicyDo ¶
func (r *TaobaoAlitripItPolicyAddRequest) SetTopPolicyDo(topPolicyDo *TopPolicyDo) error
TopPolicyDo Setter 国际机票销售规则
type TaobaoAlitripItPolicyAddResponse ¶
type TaobaoAlitripItPolicyAddResponse struct { XMLName xml.Name `xml:"alitrip_it_policy_add_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 淘宝政策id TaobaoId int64 `json:"taobao_id,omitempty" xml:"taobao_id,omitempty"` // 扩展字段 ExtendAttributes string `json:"extend_attributes,omitempty" xml:"extend_attributes,omitempty"` }
【国际机票销售规则】单条新增 成功返回结果
type TaobaoAlitripItPolicyBatchdeleteAPIResponse ¶
type TaobaoAlitripItPolicyBatchdeleteAPIResponse struct { model.CommonResponse TaobaoAlitripItPolicyBatchdeleteResponse }
【国际机票销售规则】批量删除 API返回值 taobao.alitrip.it.policy.batchdelete
批量删除销售规则,单次删除最大5万,大于5万时候提示失败,需要缩小删除条件。此接口同步返回任务id,异步执行操作。每个接入方最多同时只能有10个处理中的任务,超过后直接返回失败。
type TaobaoAlitripItPolicyBatchdeleteRequest ¶
type TaobaoAlitripItPolicyBatchdeleteRequest struct { model.Params // contains filtered or unexported fields }
【国际机票销售规则】批量删除 API请求 taobao.alitrip.it.policy.batchdelete
批量删除销售规则,单次删除最大5万,大于5万时候提示失败,需要缩小删除条件。此接口同步返回任务id,异步执行操作。每个接入方最多同时只能有10个处理中的任务,超过后直接返回失败。
func NewTaobaoAlitripItPolicyBatchdeleteRequest ¶
func NewTaobaoAlitripItPolicyBatchdeleteRequest() *TaobaoAlitripItPolicyBatchdeleteRequest
初始化TaobaoAlitripItPolicyBatchdeleteRequest对象
func (TaobaoAlitripItPolicyBatchdeleteRequest) GetAirline ¶
func (r TaobaoAlitripItPolicyBatchdeleteRequest) GetAirline() string
Airline Getter
func (TaobaoAlitripItPolicyBatchdeleteRequest) GetApiMethodName ¶
func (r TaobaoAlitripItPolicyBatchdeleteRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoAlitripItPolicyBatchdeleteRequest) GetApiParams ¶
func (r TaobaoAlitripItPolicyBatchdeleteRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoAlitripItPolicyBatchdeleteRequest) GetArrCity ¶
func (r TaobaoAlitripItPolicyBatchdeleteRequest) GetArrCity() string
ArrCity Getter
func (TaobaoAlitripItPolicyBatchdeleteRequest) GetCabin ¶
func (r TaobaoAlitripItPolicyBatchdeleteRequest) GetCabin() string
Cabin Getter
func (TaobaoAlitripItPolicyBatchdeleteRequest) GetDepCity ¶
func (r TaobaoAlitripItPolicyBatchdeleteRequest) GetDepCity() string
DepCity Getter
func (TaobaoAlitripItPolicyBatchdeleteRequest) GetPolicyId ¶
func (r TaobaoAlitripItPolicyBatchdeleteRequest) GetPolicyId() string
PolicyId Getter
func (TaobaoAlitripItPolicyBatchdeleteRequest) GetStatusList ¶
func (r TaobaoAlitripItPolicyBatchdeleteRequest) GetStatusList() []int64
StatusList Getter
func (*TaobaoAlitripItPolicyBatchdeleteRequest) SetAirline ¶
func (r *TaobaoAlitripItPolicyBatchdeleteRequest) SetAirline(airline string) error
Airline Setter 航司二字码,完整匹配
func (*TaobaoAlitripItPolicyBatchdeleteRequest) SetArrCity ¶
func (r *TaobaoAlitripItPolicyBatchdeleteRequest) SetArrCity(arrCity string) error
ArrCity Setter 到达,,完整匹配
func (*TaobaoAlitripItPolicyBatchdeleteRequest) SetCabin ¶
func (r *TaobaoAlitripItPolicyBatchdeleteRequest) SetCabin(cabin string) error
Cabin Setter 舱位,,完整匹配
func (*TaobaoAlitripItPolicyBatchdeleteRequest) SetDepCity ¶
func (r *TaobaoAlitripItPolicyBatchdeleteRequest) SetDepCity(depCity string) error
DepCity Setter 出发,,完整匹配
func (*TaobaoAlitripItPolicyBatchdeleteRequest) SetPolicyId ¶
func (r *TaobaoAlitripItPolicyBatchdeleteRequest) SetPolicyId(policyId string) error
PolicyId Setter 产品id,,完整匹配
func (*TaobaoAlitripItPolicyBatchdeleteRequest) SetStatusList ¶
func (r *TaobaoAlitripItPolicyBatchdeleteRequest) SetStatusList(statusList []int64) error
StatusList Setter 0:未发布 1:已发布 2:已过期。不传的话,默认只能删除未发布和已过期的数据
type TaobaoAlitripItPolicyBatchdeleteResponse ¶
type TaobaoAlitripItPolicyBatchdeleteResponse struct { XMLName xml.Name `xml:"alitrip_it_policy_batchdelete_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 任务id TaskId int64 `json:"task_id,omitempty" xml:"task_id,omitempty"` // 扩展字段 ExtendAttributes string `json:"extend_attributes,omitempty" xml:"extend_attributes,omitempty"` }
【国际机票销售规则】批量删除 成功返回结果
type TaobaoAlitripItPolicyDeleteAPIResponse ¶
type TaobaoAlitripItPolicyDeleteAPIResponse struct { model.CommonResponse TaobaoAlitripItPolicyDeleteResponse }
【国际机票销售规则】单条删除 API返回值 taobao.alitrip.it.policy.delete
销售规则删除接口,可以根据taobaoId或outId删除,根据outId删除时,如果outId不唯一,返回失败
type TaobaoAlitripItPolicyDeleteRequest ¶
type TaobaoAlitripItPolicyDeleteRequest struct { model.Params // contains filtered or unexported fields }
【国际机票销售规则】单条删除 API请求 taobao.alitrip.it.policy.delete
销售规则删除接口,可以根据taobaoId或outId删除,根据outId删除时,如果outId不唯一,返回失败
func NewTaobaoAlitripItPolicyDeleteRequest ¶
func NewTaobaoAlitripItPolicyDeleteRequest() *TaobaoAlitripItPolicyDeleteRequest
初始化TaobaoAlitripItPolicyDeleteRequest对象
func (TaobaoAlitripItPolicyDeleteRequest) GetApiMethodName ¶
func (r TaobaoAlitripItPolicyDeleteRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoAlitripItPolicyDeleteRequest) GetApiParams ¶
func (r TaobaoAlitripItPolicyDeleteRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoAlitripItPolicyDeleteRequest) GetExtendAttributes ¶
func (r TaobaoAlitripItPolicyDeleteRequest) GetExtendAttributes() string
ExtendAttributes Getter
func (TaobaoAlitripItPolicyDeleteRequest) GetOutId ¶
func (r TaobaoAlitripItPolicyDeleteRequest) GetOutId() string
OutId Getter
func (TaobaoAlitripItPolicyDeleteRequest) GetTaobaoId ¶
func (r TaobaoAlitripItPolicyDeleteRequest) GetTaobaoId() int64
TaobaoId Getter
func (*TaobaoAlitripItPolicyDeleteRequest) SetExtendAttributes ¶
func (r *TaobaoAlitripItPolicyDeleteRequest) SetExtendAttributes(extendAttributes string) error
ExtendAttributes Setter 扩展字段
func (*TaobaoAlitripItPolicyDeleteRequest) SetOutId ¶
func (r *TaobaoAlitripItPolicyDeleteRequest) SetOutId(outId string) error
OutId Setter 接入方产品id
func (*TaobaoAlitripItPolicyDeleteRequest) SetTaobaoId ¶
func (r *TaobaoAlitripItPolicyDeleteRequest) SetTaobaoId(taobaoId int64) error
TaobaoId Setter 淘宝政策id
type TaobaoAlitripItPolicyDeleteResponse ¶
type TaobaoAlitripItPolicyDeleteResponse 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"` }
【国际机票销售规则】单条删除 成功返回结果
type TaobaoAlitripItPolicyGetAPIResponse ¶
type TaobaoAlitripItPolicyGetAPIResponse struct { model.CommonResponse TaobaoAlitripItPolicyGetResponse }
【国际机票销售规则】单条查询 API返回值 taobao.alitrip.it.policy.get
通过此接口可以查询单条销售规则的详情,可以根据taobaoId或outId查询,用户outId查询时,如果outId不唯一,只返回最新添加的一条数据。taobaoId为新增成功时候返回的唯一id,outId为新增时的policy_id(产品编号)
type TaobaoAlitripItPolicyGetRequest ¶
type TaobaoAlitripItPolicyGetRequest struct { model.Params // contains filtered or unexported fields }
【国际机票销售规则】单条查询 API请求 taobao.alitrip.it.policy.get
通过此接口可以查询单条销售规则的详情,可以根据taobaoId或outId查询,用户outId查询时,如果outId不唯一,只返回最新添加的一条数据。taobaoId为新增成功时候返回的唯一id,outId为新增时的policy_id(产品编号)
func NewTaobaoAlitripItPolicyGetRequest ¶
func NewTaobaoAlitripItPolicyGetRequest() *TaobaoAlitripItPolicyGetRequest
初始化TaobaoAlitripItPolicyGetRequest对象
func (TaobaoAlitripItPolicyGetRequest) GetApiMethodName ¶
func (r TaobaoAlitripItPolicyGetRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoAlitripItPolicyGetRequest) GetApiParams ¶
func (r TaobaoAlitripItPolicyGetRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoAlitripItPolicyGetRequest) GetExtendAttributes ¶
func (r TaobaoAlitripItPolicyGetRequest) GetExtendAttributes() string
ExtendAttributes Getter
func (TaobaoAlitripItPolicyGetRequest) GetOutId ¶
func (r TaobaoAlitripItPolicyGetRequest) GetOutId() string
OutId Getter
func (TaobaoAlitripItPolicyGetRequest) GetTaobaoId ¶
func (r TaobaoAlitripItPolicyGetRequest) GetTaobaoId() int64
TaobaoId Getter
func (*TaobaoAlitripItPolicyGetRequest) SetExtendAttributes ¶
func (r *TaobaoAlitripItPolicyGetRequest) SetExtendAttributes(extendAttributes string) error
ExtendAttributes Setter 预留扩展字段
func (*TaobaoAlitripItPolicyGetRequest) SetOutId ¶
func (r *TaobaoAlitripItPolicyGetRequest) SetOutId(outId string) error
OutId Setter 接入方产品编号
func (*TaobaoAlitripItPolicyGetRequest) SetTaobaoId ¶
func (r *TaobaoAlitripItPolicyGetRequest) SetTaobaoId(taobaoId int64) error
TaobaoId Setter 淘宝政策id
type TaobaoAlitripItPolicyGetResponse ¶
type TaobaoAlitripItPolicyGetResponse struct { XMLName xml.Name `xml:"alitrip_it_policy_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 淘宝政策id TaobaoId int64 `json:"taobao_id,omitempty" xml:"taobao_id,omitempty"` // 政策状态,0-未发布,1-已发布,2-已过期 Status int64 `json:"status,omitempty" xml:"status,omitempty"` // 扩展字段 ExtendAttributes string `json:"extend_attributes,omitempty" xml:"extend_attributes,omitempty"` // 政策信息 PolicyDo *TopPolicyDo `json:"policy_do,omitempty" xml:"policy_do,omitempty"` }
【国际机票销售规则】单条查询 成功返回结果
type TaobaoAlitripItPolicyUpdateAPIResponse ¶
type TaobaoAlitripItPolicyUpdateAPIResponse struct { model.CommonResponse TaobaoAlitripItPolicyUpdateResponse }
【国际机票销售规则】单条更新 API返回值 taobao.alitrip.it.policy.update
销售规则更新接口,可以根据taobaoId或outId修改,outId不唯一时,不能用outId修改。
type TaobaoAlitripItPolicyUpdateRequest ¶
type TaobaoAlitripItPolicyUpdateRequest struct { model.Params // contains filtered or unexported fields }
【国际机票销售规则】单条更新 API请求 taobao.alitrip.it.policy.update
销售规则更新接口,可以根据taobaoId或outId修改,outId不唯一时,不能用outId修改。
func NewTaobaoAlitripItPolicyUpdateRequest ¶
func NewTaobaoAlitripItPolicyUpdateRequest() *TaobaoAlitripItPolicyUpdateRequest
初始化TaobaoAlitripItPolicyUpdateRequest对象
func (TaobaoAlitripItPolicyUpdateRequest) GetApiMethodName ¶
func (r TaobaoAlitripItPolicyUpdateRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoAlitripItPolicyUpdateRequest) GetApiParams ¶
func (r TaobaoAlitripItPolicyUpdateRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoAlitripItPolicyUpdateRequest) GetExtendAttributes ¶
func (r TaobaoAlitripItPolicyUpdateRequest) GetExtendAttributes() string
ExtendAttributes Getter
func (TaobaoAlitripItPolicyUpdateRequest) GetOutId ¶
func (r TaobaoAlitripItPolicyUpdateRequest) GetOutId() string
OutId Getter
func (TaobaoAlitripItPolicyUpdateRequest) GetTaobaoId ¶
func (r TaobaoAlitripItPolicyUpdateRequest) GetTaobaoId() int64
TaobaoId Getter
func (TaobaoAlitripItPolicyUpdateRequest) GetTopPolicyDo ¶
func (r TaobaoAlitripItPolicyUpdateRequest) GetTopPolicyDo() *TopPolicyDo
TopPolicyDo Getter
func (*TaobaoAlitripItPolicyUpdateRequest) SetExtendAttributes ¶
func (r *TaobaoAlitripItPolicyUpdateRequest) SetExtendAttributes(extendAttributes string) error
ExtendAttributes Setter 扩展字段
func (*TaobaoAlitripItPolicyUpdateRequest) SetOutId ¶
func (r *TaobaoAlitripItPolicyUpdateRequest) SetOutId(outId string) error
OutId Setter 接入方产品id
func (*TaobaoAlitripItPolicyUpdateRequest) SetTaobaoId ¶
func (r *TaobaoAlitripItPolicyUpdateRequest) SetTaobaoId(taobaoId int64) error
TaobaoId Setter 淘宝政策id
func (*TaobaoAlitripItPolicyUpdateRequest) SetTopPolicyDo ¶
func (r *TaobaoAlitripItPolicyUpdateRequest) SetTopPolicyDo(topPolicyDo *TopPolicyDo) error
TopPolicyDo Setter 国际机票销售规则
type TaobaoAlitripItPolicyUpdateResponse ¶
type TaobaoAlitripItPolicyUpdateResponse struct { XMLName xml.Name `xml:"alitrip_it_policy_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 淘宝政策id TaobaoId int64 `json:"taobao_id,omitempty" xml:"taobao_id,omitempty"` // 扩展字段 ExtendAttributes string `json:"extend_attributes,omitempty" xml:"extend_attributes,omitempty"` }
【国际机票销售规则】单条更新 成功返回结果
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/2RT组合销售规则,允许、不允许空表示:不允许 IsSupportRt string `json:"is_support_rt,omitempty" xml:"is_support_rt,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"` // (已废除字段)退票规定,非必输长度小于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"` // 商品类型,非必输;默认为普通可填写为金牌或普通 ProductType string `json:"product_type,omitempty" xml:"product_type,omitempty"` // 不同航司联运,非必输;可输入允许或不允许,空表示不允许 IsAllowUnionAirline string `json:"is_allow_union_airline,omitempty" xml:"is_allow_union_airline,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"` // 渠道名称,非必输,不同的接入方可选值不一样 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"` // 回程可否改期,可输入是或否 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"` // 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"` // 开票大客户编码,最大长度50 VipCode string `json:"vip_code,omitempty" xml:"vip_code,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"` // 是否适用小团,可选值是、否。空表示不限 Gv2ChildRule string `json:"gv2_child_rule,omitempty" xml:"gv2_child_rule,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
Source Files ¶
- ErrorFareRow.go
- TaobaoAlitripItFareAddowRequest.go
- TaobaoAlitripItFareAddowResponse.go
- TaobaoAlitripItFareAddrtRequest.go
- TaobaoAlitripItFareAddrtResponse.go
- TaobaoAlitripItFareBatchaddRequest.go
- TaobaoAlitripItFareBatchaddResponse.go
- TaobaoAlitripItFareBatchdeleteRequest.go
- TaobaoAlitripItFareBatchdeleteResponse.go
- TaobaoAlitripItFareDeleteRequest.go
- TaobaoAlitripItFareDeleteResponse.go
- TaobaoAlitripItFareGetRequest.go
- TaobaoAlitripItFareGetResponse.go
- TaobaoAlitripItFareQuerytaskRequest.go
- TaobaoAlitripItFareQuerytaskResponse.go
- TaobaoAlitripItFareUpdateRequest.go
- TaobaoAlitripItFareUpdateResponse.go
- TaobaoAlitripItPolicyAddRequest.go
- TaobaoAlitripItPolicyAddResponse.go
- TaobaoAlitripItPolicyBatchdeleteRequest.go
- TaobaoAlitripItPolicyBatchdeleteResponse.go
- TaobaoAlitripItPolicyDeleteRequest.go
- TaobaoAlitripItPolicyDeleteResponse.go
- TaobaoAlitripItPolicyGetRequest.go
- TaobaoAlitripItPolicyGetResponse.go
- TaobaoAlitripItPolicyUpdateRequest.go
- TaobaoAlitripItPolicyUpdateResponse.go
- TopPolicyDo.go