Documentation ¶
Overview ¶
Package traveltrade 包含度假&门票-交易管理API相关结构体
Index ¶
- type AlitripTravelBookinfoQueryAPIRequest
- func (r AlitripTravelBookinfoQueryAPIRequest) GetApiMethodName() string
- func (r AlitripTravelBookinfoQueryAPIRequest) GetApiParams(params url.Values)
- func (r AlitripTravelBookinfoQueryAPIRequest) GetBookinfoId() int64
- func (r AlitripTravelBookinfoQueryAPIRequest) GetRawParams() model.Params
- func (r *AlitripTravelBookinfoQueryAPIRequest) SetBookinfoId(_bookinfoId int64) error
- type AlitripTravelBookinfoQueryAPIResponse
- type AlitripTravelBookinfoQueryAPIResponseModel
- type AlitripTravelBookinfoQueryModule
- type AlitripTravelBookinfosSearchAPIRequest
- func (r AlitripTravelBookinfosSearchAPIRequest) GetApiMethodName() string
- func (r AlitripTravelBookinfosSearchAPIRequest) GetApiParams(params url.Values)
- func (r AlitripTravelBookinfosSearchAPIRequest) GetApplyTimeEnd() string
- func (r AlitripTravelBookinfosSearchAPIRequest) GetApplyTimeStart() string
- func (r AlitripTravelBookinfosSearchAPIRequest) GetCurrentPage() int64
- func (r AlitripTravelBookinfosSearchAPIRequest) GetPageSize() int64
- func (r AlitripTravelBookinfosSearchAPIRequest) GetRawParams() model.Params
- func (r *AlitripTravelBookinfosSearchAPIRequest) SetApplyTimeEnd(_applyTimeEnd string) error
- func (r *AlitripTravelBookinfosSearchAPIRequest) SetApplyTimeStart(_applyTimeStart string) error
- func (r *AlitripTravelBookinfosSearchAPIRequest) SetCurrentPage(_currentPage int64) error
- func (r *AlitripTravelBookinfosSearchAPIRequest) SetPageSize(_pageSize int64) error
- type AlitripTravelBookinfosSearchAPIResponse
- type AlitripTravelBookinfosSearchAPIResponseModel
- type AlitripTravelHotelticketOrderCreateAPIRequest
- func (r AlitripTravelHotelticketOrderCreateAPIRequest) GetApiMethodName() string
- func (r AlitripTravelHotelticketOrderCreateAPIRequest) GetApiParams(params url.Values)
- func (r AlitripTravelHotelticketOrderCreateAPIRequest) GetExtendParams() string
- func (r AlitripTravelHotelticketOrderCreateAPIRequest) GetFailMsg() string
- func (r AlitripTravelHotelticketOrderCreateAPIRequest) GetFliggyOrderId() string
- func (r AlitripTravelHotelticketOrderCreateAPIRequest) GetOrderId() string
- func (r AlitripTravelHotelticketOrderCreateAPIRequest) GetRawParams() model.Params
- func (r AlitripTravelHotelticketOrderCreateAPIRequest) GetStatus() int64
- func (r AlitripTravelHotelticketOrderCreateAPIRequest) GetVouchers() *HotelTicketVoucherDto
- func (r *AlitripTravelHotelticketOrderCreateAPIRequest) SetExtendParams(_extendParams string) error
- func (r *AlitripTravelHotelticketOrderCreateAPIRequest) SetFailMsg(_failMsg string) error
- func (r *AlitripTravelHotelticketOrderCreateAPIRequest) SetFliggyOrderId(_fliggyOrderId string) error
- func (r *AlitripTravelHotelticketOrderCreateAPIRequest) SetOrderId(_orderId string) error
- func (r *AlitripTravelHotelticketOrderCreateAPIRequest) SetStatus(_status int64) error
- func (r *AlitripTravelHotelticketOrderCreateAPIRequest) SetVouchers(_vouchers *HotelTicketVoucherDto) error
- type AlitripTravelHotelticketOrderCreateAPIResponse
- type AlitripTravelHotelticketOrderCreateAPIResponseModel
- type AlitripTravelHotelticketOrderRefundAPIRequest
- func (r AlitripTravelHotelticketOrderRefundAPIRequest) GetApiMethodName() string
- func (r AlitripTravelHotelticketOrderRefundAPIRequest) GetApiParams(params url.Values)
- func (r AlitripTravelHotelticketOrderRefundAPIRequest) GetFailMsg() string
- func (r AlitripTravelHotelticketOrderRefundAPIRequest) GetFliggyOrderId() string
- func (r AlitripTravelHotelticketOrderRefundAPIRequest) GetOrderId() string
- func (r AlitripTravelHotelticketOrderRefundAPIRequest) GetRawParams() model.Params
- func (r AlitripTravelHotelticketOrderRefundAPIRequest) GetStatus() int64
- func (r *AlitripTravelHotelticketOrderRefundAPIRequest) SetFailMsg(_failMsg string) error
- func (r *AlitripTravelHotelticketOrderRefundAPIRequest) SetFliggyOrderId(_fliggyOrderId string) error
- func (r *AlitripTravelHotelticketOrderRefundAPIRequest) SetOrderId(_orderId string) error
- func (r *AlitripTravelHotelticketOrderRefundAPIRequest) SetStatus(_status int64) error
- type AlitripTravelHotelticketOrderRefundAPIResponse
- type AlitripTravelHotelticketOrderRefundAPIResponseModel
- type AlitripTravelHotelticketOrderVerifyAPIRequest
- func (r AlitripTravelHotelticketOrderVerifyAPIRequest) GetApiMethodName() string
- func (r AlitripTravelHotelticketOrderVerifyAPIRequest) GetApiParams(params url.Values)
- func (r AlitripTravelHotelticketOrderVerifyAPIRequest) GetExtendParams() string
- func (r AlitripTravelHotelticketOrderVerifyAPIRequest) GetFliggyOrderId() string
- func (r AlitripTravelHotelticketOrderVerifyAPIRequest) GetOrderId() string
- func (r AlitripTravelHotelticketOrderVerifyAPIRequest) GetRawParams() model.Params
- func (r AlitripTravelHotelticketOrderVerifyAPIRequest) GetVouchers() *HotelTicketVerifyVoucherDto
- func (r *AlitripTravelHotelticketOrderVerifyAPIRequest) SetExtendParams(_extendParams string) error
- func (r *AlitripTravelHotelticketOrderVerifyAPIRequest) SetFliggyOrderId(_fliggyOrderId string) error
- func (r *AlitripTravelHotelticketOrderVerifyAPIRequest) SetOrderId(_orderId string) error
- func (r *AlitripTravelHotelticketOrderVerifyAPIRequest) SetVouchers(_vouchers *HotelTicketVerifyVoucherDto) error
- type AlitripTravelHotelticketOrderVerifyAPIResponse
- type AlitripTravelHotelticketOrderVerifyAPIResponseModel
- type AlitripTravelHotelticketProductProductupdateAPIRequest
- func (r AlitripTravelHotelticketProductProductupdateAPIRequest) GetAccessKey() string
- func (r AlitripTravelHotelticketProductProductupdateAPIRequest) GetApiMethodName() string
- func (r AlitripTravelHotelticketProductProductupdateAPIRequest) GetApiParams(params url.Values)
- func (r AlitripTravelHotelticketProductProductupdateAPIRequest) GetProductUpdates() *ProductUpdateDto
- func (r AlitripTravelHotelticketProductProductupdateAPIRequest) GetRawParams() model.Params
- func (r *AlitripTravelHotelticketProductProductupdateAPIRequest) SetAccessKey(_accessKey string) error
- func (r *AlitripTravelHotelticketProductProductupdateAPIRequest) SetProductUpdates(_productUpdates *ProductUpdateDto) error
- type AlitripTravelHotelticketProductProductupdateAPIResponse
- type AlitripTravelHotelticketProductProductupdateAPIResponseModel
- type AlitripTravelHotelticketProductProductupdatepushAPIRequest
- func (r AlitripTravelHotelticketProductProductupdatepushAPIRequest) GetAccessKey() string
- func (r AlitripTravelHotelticketProductProductupdatepushAPIRequest) GetApiMethodName() string
- func (r AlitripTravelHotelticketProductProductupdatepushAPIRequest) GetApiParams(params url.Values)
- func (r AlitripTravelHotelticketProductProductupdatepushAPIRequest) GetProductUpdates() *ProductUpdatePushDto
- func (r AlitripTravelHotelticketProductProductupdatepushAPIRequest) GetRawParams() model.Params
- func (r *AlitripTravelHotelticketProductProductupdatepushAPIRequest) SetAccessKey(_accessKey string) error
- func (r *AlitripTravelHotelticketProductProductupdatepushAPIRequest) SetProductUpdates(_productUpdates *ProductUpdatePushDto) error
- type AlitripTravelHotelticketProductProductupdatepushAPIResponse
- type AlitripTravelHotelticketProductProductupdatepushAPIResponseModel
- type AlitripTravelTradeCloseAPIRequest
- func (r AlitripTravelTradeCloseAPIRequest) GetApiMethodName() string
- func (r AlitripTravelTradeCloseAPIRequest) GetApiParams(params url.Values)
- func (r AlitripTravelTradeCloseAPIRequest) GetCloseReason() string
- func (r AlitripTravelTradeCloseAPIRequest) GetRawParams() model.Params
- func (r AlitripTravelTradeCloseAPIRequest) GetReasonDesc() string
- func (r AlitripTravelTradeCloseAPIRequest) GetSubOrderId() int64
- func (r *AlitripTravelTradeCloseAPIRequest) SetCloseReason(_closeReason string) error
- func (r *AlitripTravelTradeCloseAPIRequest) SetReasonDesc(_reasonDesc string) error
- func (r *AlitripTravelTradeCloseAPIRequest) SetSubOrderId(_subOrderId int64) error
- type AlitripTravelTradeCloseAPIResponse
- type AlitripTravelTradeCloseAPIResponseModel
- type AlitripTravelTradeDeliverAPIRequest
- func (r AlitripTravelTradeDeliverAPIRequest) GetApiMethodName() string
- func (r AlitripTravelTradeDeliverAPIRequest) GetApiParams(params url.Values)
- func (r AlitripTravelTradeDeliverAPIRequest) GetRawParams() model.Params
- func (r AlitripTravelTradeDeliverAPIRequest) GetSubOrderId() int64
- func (r *AlitripTravelTradeDeliverAPIRequest) SetSubOrderId(_subOrderId int64) error
- type AlitripTravelTradeDeliverAPIResponse
- type AlitripTravelTradeDeliverAPIResponseModel
- type AlitripTravelTradeQueryAPIRequest
- func (r AlitripTravelTradeQueryAPIRequest) GetApiMethodName() string
- func (r AlitripTravelTradeQueryAPIRequest) GetApiParams(params url.Values)
- func (r AlitripTravelTradeQueryAPIRequest) GetOrderId() int64
- func (r AlitripTravelTradeQueryAPIRequest) GetRawParams() model.Params
- func (r *AlitripTravelTradeQueryAPIRequest) SetOrderId(_orderId int64) error
- type AlitripTravelTradeQueryAPIResponse
- type AlitripTravelTradeQueryAPIResponseModel
- type AlitripTravelTradeServiceinfoWriteAPIRequest
- func (r AlitripTravelTradeServiceinfoWriteAPIRequest) GetApiMethodName() string
- func (r AlitripTravelTradeServiceinfoWriteAPIRequest) GetApiParams(params url.Values)
- func (r AlitripTravelTradeServiceinfoWriteAPIRequest) GetRawParams() model.Params
- func (r AlitripTravelTradeServiceinfoWriteAPIRequest) GetSubTcOrderId() int64
- func (r AlitripTravelTradeServiceinfoWriteAPIRequest) GetTipValue() string
- func (r *AlitripTravelTradeServiceinfoWriteAPIRequest) SetSubTcOrderId(_subTcOrderId int64) error
- func (r *AlitripTravelTradeServiceinfoWriteAPIRequest) SetTipValue(_tipValue string) error
- type AlitripTravelTradeServiceinfoWriteAPIResponse
- type AlitripTravelTradeServiceinfoWriteAPIResponseModel
- type AlitripTravelTradeServiceinfoWriteResultSet
- type AlitripTravelTradeTemplateQueryAPIRequest
- func (r AlitripTravelTradeTemplateQueryAPIRequest) GetApiMethodName() string
- func (r AlitripTravelTradeTemplateQueryAPIRequest) GetApiParams(params url.Values)
- func (r AlitripTravelTradeTemplateQueryAPIRequest) GetIsNew() bool
- func (r AlitripTravelTradeTemplateQueryAPIRequest) GetOrderId() int64
- func (r AlitripTravelTradeTemplateQueryAPIRequest) GetRawParams() model.Params
- func (r *AlitripTravelTradeTemplateQueryAPIRequest) SetIsNew(_isNew bool) error
- func (r *AlitripTravelTradeTemplateQueryAPIRequest) SetOrderId(_orderId int64) error
- type AlitripTravelTradeTemplateQueryAPIResponse
- type AlitripTravelTradeTemplateQueryAPIResponseModel
- type AlitripTravelTradeTemplateQueryResultSet
- type AlitripTravelTradesSearchAPIRequest
- func (r AlitripTravelTradesSearchAPIRequest) GetApiMethodName() string
- func (r AlitripTravelTradesSearchAPIRequest) GetApiParams(params url.Values)
- func (r AlitripTravelTradesSearchAPIRequest) GetCategory() int64
- func (r AlitripTravelTradesSearchAPIRequest) GetCurrentPage() int64
- func (r AlitripTravelTradesSearchAPIRequest) GetEndCreatedTime() string
- func (r AlitripTravelTradesSearchAPIRequest) GetItemId() int64
- func (r AlitripTravelTradesSearchAPIRequest) GetOrderStatus() int64
- func (r AlitripTravelTradesSearchAPIRequest) GetPageSize() int64
- func (r AlitripTravelTradesSearchAPIRequest) GetRawParams() model.Params
- func (r AlitripTravelTradesSearchAPIRequest) GetStartCreatedTime() string
- func (r *AlitripTravelTradesSearchAPIRequest) SetCategory(_category int64) error
- func (r *AlitripTravelTradesSearchAPIRequest) SetCurrentPage(_currentPage int64) error
- func (r *AlitripTravelTradesSearchAPIRequest) SetEndCreatedTime(_endCreatedTime string) error
- func (r *AlitripTravelTradesSearchAPIRequest) SetItemId(_itemId int64) error
- func (r *AlitripTravelTradesSearchAPIRequest) SetOrderStatus(_orderStatus int64) error
- func (r *AlitripTravelTradesSearchAPIRequest) SetPageSize(_pageSize int64) error
- func (r *AlitripTravelTradesSearchAPIRequest) SetStartCreatedTime(_startCreatedTime string) error
- type AlitripTravelTradesSearchAPIResponse
- type AlitripTravelTradesSearchAPIResponseModel
- type AlitripTravelVisaApplicantUpdateAPIRequest
- func (r AlitripTravelVisaApplicantUpdateAPIRequest) GetApiMethodName() string
- func (r AlitripTravelVisaApplicantUpdateAPIRequest) GetApiParams(params url.Values)
- func (r AlitripTravelVisaApplicantUpdateAPIRequest) GetApplicantInfos() []NormalVisaApplicantInfo
- func (r AlitripTravelVisaApplicantUpdateAPIRequest) GetApplicantOp() *NormalVisaApplicantOperation
- func (r AlitripTravelVisaApplicantUpdateAPIRequest) GetDocumentInfos() []NormalVisaDocumentInfo
- func (r AlitripTravelVisaApplicantUpdateAPIRequest) GetFileBytes() *model.File
- func (r AlitripTravelVisaApplicantUpdateAPIRequest) GetFlightBookingFormBytes() *model.File
- func (r AlitripTravelVisaApplicantUpdateAPIRequest) GetFlightBookingFormType() string
- func (r AlitripTravelVisaApplicantUpdateAPIRequest) GetHotelBookingFormBytes() *model.File
- func (r AlitripTravelVisaApplicantUpdateAPIRequest) GetHotelBookingFormType() string
- func (r AlitripTravelVisaApplicantUpdateAPIRequest) GetOperType() int64
- func (r AlitripTravelVisaApplicantUpdateAPIRequest) GetPassportBytes() *model.File
- func (r AlitripTravelVisaApplicantUpdateAPIRequest) GetPassportType() string
- func (r AlitripTravelVisaApplicantUpdateAPIRequest) GetPhotoBytes() *model.File
- func (r AlitripTravelVisaApplicantUpdateAPIRequest) GetPhotoType() string
- func (r AlitripTravelVisaApplicantUpdateAPIRequest) GetRawParams() model.Params
- func (r AlitripTravelVisaApplicantUpdateAPIRequest) GetSubOrderId() string
- func (r *AlitripTravelVisaApplicantUpdateAPIRequest) SetApplicantInfos(_applicantInfos []NormalVisaApplicantInfo) error
- func (r *AlitripTravelVisaApplicantUpdateAPIRequest) SetApplicantOp(_applicantOp *NormalVisaApplicantOperation) error
- func (r *AlitripTravelVisaApplicantUpdateAPIRequest) SetDocumentInfos(_documentInfos []NormalVisaDocumentInfo) error
- func (r *AlitripTravelVisaApplicantUpdateAPIRequest) SetFileBytes(_fileBytes *model.File) error
- func (r *AlitripTravelVisaApplicantUpdateAPIRequest) SetFlightBookingFormBytes(_flightBookingFormBytes *model.File) error
- func (r *AlitripTravelVisaApplicantUpdateAPIRequest) SetFlightBookingFormType(_flightBookingFormType string) error
- func (r *AlitripTravelVisaApplicantUpdateAPIRequest) SetHotelBookingFormBytes(_hotelBookingFormBytes *model.File) error
- func (r *AlitripTravelVisaApplicantUpdateAPIRequest) SetHotelBookingFormType(_hotelBookingFormType string) error
- func (r *AlitripTravelVisaApplicantUpdateAPIRequest) SetOperType(_operType int64) error
- func (r *AlitripTravelVisaApplicantUpdateAPIRequest) SetPassportBytes(_passportBytes *model.File) error
- func (r *AlitripTravelVisaApplicantUpdateAPIRequest) SetPassportType(_passportType string) error
- func (r *AlitripTravelVisaApplicantUpdateAPIRequest) SetPhotoBytes(_photoBytes *model.File) error
- func (r *AlitripTravelVisaApplicantUpdateAPIRequest) SetPhotoType(_photoType string) error
- func (r *AlitripTravelVisaApplicantUpdateAPIRequest) SetSubOrderId(_subOrderId string) error
- type AlitripTravelVisaApplicantUpdateAPIResponse
- type AlitripTravelVisaApplicantUpdateAPIResponseModel
- type BuyItemInfo
- type BuyerInfo
- type FirstResult
- type HotelTicketVerifyVoucherDto
- type HotelTicketVoucherDto
- type MemoCreate
- type MemoUpdate
- type NormalVisaApplicantInfo
- type NormalVisaApplicantOperation
- type NormalVisaAppointmentInfo
- type NormalVisaDocumentInfo
- type NormalVisaETAInfo
- type NormalVisaLogisticsInfo
- type NormalVisaSubDocumentInfo
- type OrderTemplateInfo
- type OrderTipFormInfo
- type OrderTipInfoResult
- type OrderTipOptionInfo
- type OrderTipRuleInfo
- type PayInfo
- type ProductPriceStockDto
- type ProductSessionDto
- type ProductUpdateDto
- type ProductUpdatePushDto
- type PromotionDetail
- type ScoreDetail
- type SellerInfo
- type SubOrderInfo
- type TaobaoAlitripTravelTradeMemoAddAPIRequest
- func (r TaobaoAlitripTravelTradeMemoAddAPIRequest) GetApiMethodName() string
- func (r TaobaoAlitripTravelTradeMemoAddAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoAlitripTravelTradeMemoAddAPIRequest) GetFlag() int64
- func (r TaobaoAlitripTravelTradeMemoAddAPIRequest) GetMemo() string
- func (r TaobaoAlitripTravelTradeMemoAddAPIRequest) GetRawParams() model.Params
- func (r TaobaoAlitripTravelTradeMemoAddAPIRequest) GetTid() int64
- func (r *TaobaoAlitripTravelTradeMemoAddAPIRequest) SetFlag(_flag int64) error
- func (r *TaobaoAlitripTravelTradeMemoAddAPIRequest) SetMemo(_memo string) error
- func (r *TaobaoAlitripTravelTradeMemoAddAPIRequest) SetTid(_tid int64) error
- type TaobaoAlitripTravelTradeMemoAddAPIResponse
- type TaobaoAlitripTravelTradeMemoAddAPIResponseModel
- type TaobaoAlitripTravelTradeMemoUpdateAPIRequest
- func (r TaobaoAlitripTravelTradeMemoUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoAlitripTravelTradeMemoUpdateAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoAlitripTravelTradeMemoUpdateAPIRequest) GetFlag() int64
- func (r TaobaoAlitripTravelTradeMemoUpdateAPIRequest) GetMemo() string
- func (r TaobaoAlitripTravelTradeMemoUpdateAPIRequest) GetRawParams() model.Params
- func (r TaobaoAlitripTravelTradeMemoUpdateAPIRequest) GetReset() bool
- func (r TaobaoAlitripTravelTradeMemoUpdateAPIRequest) GetTid() int64
- func (r *TaobaoAlitripTravelTradeMemoUpdateAPIRequest) SetFlag(_flag int64) error
- func (r *TaobaoAlitripTravelTradeMemoUpdateAPIRequest) SetMemo(_memo string) error
- func (r *TaobaoAlitripTravelTradeMemoUpdateAPIRequest) SetReset(_reset bool) error
- func (r *TaobaoAlitripTravelTradeMemoUpdateAPIRequest) SetTid(_tid int64) error
- type TaobaoAlitripTravelTradeMemoUpdateAPIResponse
- type TaobaoAlitripTravelTradeMemoUpdateAPIResponseModel
- type TaobaoTravelTicketOrderRefundAPIRequest
- func (r TaobaoTravelTicketOrderRefundAPIRequest) GetApiMethodName() string
- func (r TaobaoTravelTicketOrderRefundAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoTravelTicketOrderRefundAPIRequest) GetOrderId() int64
- func (r TaobaoTravelTicketOrderRefundAPIRequest) GetRawParams() model.Params
- func (r TaobaoTravelTicketOrderRefundAPIRequest) GetRefundBatchNo() string
- func (r TaobaoTravelTicketOrderRefundAPIRequest) GetRefundFailureReason() string
- func (r TaobaoTravelTicketOrderRefundAPIRequest) GetRefundNum() int64
- func (r TaobaoTravelTicketOrderRefundAPIRequest) GetRefundStatus() int64
- func (r *TaobaoTravelTicketOrderRefundAPIRequest) SetOrderId(_orderId int64) error
- func (r *TaobaoTravelTicketOrderRefundAPIRequest) SetRefundBatchNo(_refundBatchNo string) error
- func (r *TaobaoTravelTicketOrderRefundAPIRequest) SetRefundFailureReason(_refundFailureReason string) error
- func (r *TaobaoTravelTicketOrderRefundAPIRequest) SetRefundNum(_refundNum int64) error
- func (r *TaobaoTravelTicketOrderRefundAPIRequest) SetRefundStatus(_refundStatus int64) error
- type TaobaoTravelTicketOrderRefundAPIResponse
- type TaobaoTravelTicketOrderRefundAPIResponseModel
- type TaobaoTravelTicketOrderVerifyAPIRequest
- func (r TaobaoTravelTicketOrderVerifyAPIRequest) GetApiMethodName() string
- func (r TaobaoTravelTicketOrderVerifyAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoTravelTicketOrderVerifyAPIRequest) GetCheckNum() int64
- func (r TaobaoTravelTicketOrderVerifyAPIRequest) GetConfirmCode() string
- func (r TaobaoTravelTicketOrderVerifyAPIRequest) GetOrderId() int64
- func (r TaobaoTravelTicketOrderVerifyAPIRequest) GetOutOrderId() string
- func (r TaobaoTravelTicketOrderVerifyAPIRequest) GetRawParams() model.Params
- func (r TaobaoTravelTicketOrderVerifyAPIRequest) GetReturnNum() int64
- func (r TaobaoTravelTicketOrderVerifyAPIRequest) GetTotalNum() int64
- func (r TaobaoTravelTicketOrderVerifyAPIRequest) GetVoucherInfos() []VoucherInfoDto
- func (r TaobaoTravelTicketOrderVerifyAPIRequest) GetWriteOffType() int64
- func (r *TaobaoTravelTicketOrderVerifyAPIRequest) SetCheckNum(_checkNum int64) error
- func (r *TaobaoTravelTicketOrderVerifyAPIRequest) SetConfirmCode(_confirmCode string) error
- func (r *TaobaoTravelTicketOrderVerifyAPIRequest) SetOrderId(_orderId int64) error
- func (r *TaobaoTravelTicketOrderVerifyAPIRequest) SetOutOrderId(_outOrderId string) error
- func (r *TaobaoTravelTicketOrderVerifyAPIRequest) SetReturnNum(_returnNum int64) error
- func (r *TaobaoTravelTicketOrderVerifyAPIRequest) SetTotalNum(_totalNum int64) error
- func (r *TaobaoTravelTicketOrderVerifyAPIRequest) SetVoucherInfos(_voucherInfos []VoucherInfoDto) error
- func (r *TaobaoTravelTicketOrderVerifyAPIRequest) SetWriteOffType(_writeOffType int64) error
- type TaobaoTravelTicketOrderVerifyAPIResponse
- type TaobaoTravelTicketOrderVerifyAPIResponseModel
- type TopTripBookInfoResult
- type TopTripOrderResult
- type TravellerInfo
- type TravellerInfos
- type VoucherInfoDto
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlitripTravelBookinfoQueryAPIRequest ¶ added in v1.2.0
type AlitripTravelBookinfoQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripTravelBookinfoQueryAPIRequest 飞猪度假-订单二次预约查询接口 API请求 alitrip.travel.bookinfo.query
飞猪度假订单二次预约详情查询接口
func NewAlitripTravelBookinfoQueryRequest ¶
func NewAlitripTravelBookinfoQueryRequest() *AlitripTravelBookinfoQueryAPIRequest
NewAlitripTravelBookinfoQueryRequest 初始化AlitripTravelBookinfoQueryAPIRequest对象
func (AlitripTravelBookinfoQueryAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlitripTravelBookinfoQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripTravelBookinfoQueryAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlitripTravelBookinfoQueryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripTravelBookinfoQueryAPIRequest) GetBookinfoId ¶ added in v1.2.0
func (r AlitripTravelBookinfoQueryAPIRequest) GetBookinfoId() int64
GetBookinfoId BookinfoId Getter
func (AlitripTravelBookinfoQueryAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripTravelBookinfoQueryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitripTravelBookinfoQueryAPIRequest) SetBookinfoId ¶ added in v1.2.0
func (r *AlitripTravelBookinfoQueryAPIRequest) SetBookinfoId(_bookinfoId int64) error
SetBookinfoId is BookinfoId Setter 预定信息id
type AlitripTravelBookinfoQueryAPIResponse ¶
type AlitripTravelBookinfoQueryAPIResponse struct { model.CommonResponse AlitripTravelBookinfoQueryAPIResponseModel }
AlitripTravelBookinfoQueryAPIResponse 飞猪度假-订单二次预约查询接口 API返回值 alitrip.travel.bookinfo.query
飞猪度假订单二次预约详情查询接口
type AlitripTravelBookinfoQueryAPIResponseModel ¶ added in v1.2.0
type AlitripTravelBookinfoQueryAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_travel_bookinfo_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 交易预定结果对象 FirstResult *TopTripBookInfoResult `json:"first_result,omitempty" xml:"first_result,omitempty"` }
AlitripTravelBookinfoQueryAPIResponseModel is 飞猪度假-订单二次预约查询接口 成功返回结果
type AlitripTravelBookinfoQueryModule ¶
type AlitripTravelBookinfoQueryModule struct { // 出行人信息 TravellerInfos []TravellerInfos `json:"traveller_infos,omitempty" xml:"traveller_infos>traveller_infos,omitempty"` // 时段结束时间 EndPeriod string `json:"end_period,omitempty" xml:"end_period,omitempty"` // 买家昵称 BuyerNick string `json:"buyer_nick,omitempty" xml:"buyer_nick,omitempty"` // 付款时间 PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"` // 时段开始时间 StartPeriod string `json:"start_period,omitempty" xml:"start_period,omitempty"` // 修改时间 ModifyTime string `json:"modify_time,omitempty" xml:"modify_time,omitempty"` // 预约单项备注 BookCellRemark string `json:"book_cell_remark,omitempty" xml:"book_cell_remark,omitempty"` // 买家申请时间 ApplyTime string `json:"apply_time,omitempty" xml:"apply_time,omitempty"` // 预约出发日期 BookedTravelTime string `json:"booked_travel_time,omitempty" xml:"booked_travel_time,omitempty"` // 下单时间 OrderCreateTime string `json:"order_create_time,omitempty" xml:"order_create_time,omitempty"` // 预约记录对应的保险保单数据记录ID TravelInsAppyId string `json:"travel_ins_appy_id,omitempty" xml:"travel_ins_appy_id,omitempty"` // 商品标题 ItemTitle string `json:"item_title,omitempty" xml:"item_title,omitempty"` // 卖家审批时间 ProcessTime string `json:"process_time,omitempty" xml:"process_time,omitempty"` // 预约单项名称(子套餐名称) BookCellName string `json:"book_cell_name,omitempty" xml:"book_cell_name,omitempty"` // 预约返程时间 BookedTravelReturnTime string `json:"booked_travel_return_time,omitempty" xml:"booked_travel_return_time,omitempty"` // 卖家昵称 SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"` // 下单时间 CreateTime string `json:"create_time,omitempty" xml:"create_time,omitempty"` // 扩展属性(json结构,其中outerIdSKU=商家编码) Features string `json:"features,omitempty" xml:"features,omitempty"` // TC子订单号 SubTcOrderId int64 `json:"sub_tc_order_id,omitempty" xml:"sub_tc_order_id,omitempty"` // 预约次数 BookNum int64 `json:"book_num,omitempty" xml:"book_num,omitempty"` // 预约订单ID BookOrderId int64 `json:"book_order_id,omitempty" xml:"book_order_id,omitempty"` // skuId SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"` // 商品ID ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"` // 业务类型 BizType int64 `json:"biz_type,omitempty" xml:"biz_type,omitempty"` // 预约ID(主键) BookInfoId int64 `json:"book_info_id,omitempty" xml:"book_info_id,omitempty"` // TC主订单号 TcOrderId int64 `json:"tc_order_id,omitempty" xml:"tc_order_id,omitempty"` // 预约单项ID(子套餐ID) BookCellId int64 `json:"book_cell_id,omitempty" xml:"book_cell_id,omitempty"` // 申请状态 BookStatus int64 `json:"book_status,omitempty" xml:"book_status,omitempty"` // 是否仅更新bookId字段 OnlyUpateBookId bool `json:"only_upate_book_id,omitempty" xml:"only_upate_book_id,omitempty"` }
AlitripTravelBookinfoQueryModule 结构体
type AlitripTravelBookinfosSearchAPIRequest ¶ added in v1.2.0
type AlitripTravelBookinfosSearchAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripTravelBookinfosSearchAPIRequest 飞猪度假-订单预定信息列表搜索接口 API请求 alitrip.travel.bookinfos.search
查询订单预定信息列表
func NewAlitripTravelBookinfosSearchRequest ¶
func NewAlitripTravelBookinfosSearchRequest() *AlitripTravelBookinfosSearchAPIRequest
NewAlitripTravelBookinfosSearchRequest 初始化AlitripTravelBookinfosSearchAPIRequest对象
func (AlitripTravelBookinfosSearchAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlitripTravelBookinfosSearchAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripTravelBookinfosSearchAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlitripTravelBookinfosSearchAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripTravelBookinfosSearchAPIRequest) GetApplyTimeEnd ¶ added in v1.2.0
func (r AlitripTravelBookinfosSearchAPIRequest) GetApplyTimeEnd() string
GetApplyTimeEnd ApplyTimeEnd Getter
func (AlitripTravelBookinfosSearchAPIRequest) GetApplyTimeStart ¶ added in v1.2.0
func (r AlitripTravelBookinfosSearchAPIRequest) GetApplyTimeStart() string
GetApplyTimeStart ApplyTimeStart Getter
func (AlitripTravelBookinfosSearchAPIRequest) GetCurrentPage ¶ added in v1.2.0
func (r AlitripTravelBookinfosSearchAPIRequest) GetCurrentPage() int64
GetCurrentPage CurrentPage Getter
func (AlitripTravelBookinfosSearchAPIRequest) GetPageSize ¶ added in v1.2.0
func (r AlitripTravelBookinfosSearchAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (AlitripTravelBookinfosSearchAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripTravelBookinfosSearchAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitripTravelBookinfosSearchAPIRequest) SetApplyTimeEnd ¶ added in v1.2.0
func (r *AlitripTravelBookinfosSearchAPIRequest) SetApplyTimeEnd(_applyTimeEnd string) error
SetApplyTimeEnd is ApplyTimeEnd Setter 申请时间_结束,精确到分钟
func (*AlitripTravelBookinfosSearchAPIRequest) SetApplyTimeStart ¶ added in v1.2.0
func (r *AlitripTravelBookinfosSearchAPIRequest) SetApplyTimeStart(_applyTimeStart string) error
SetApplyTimeStart is ApplyTimeStart Setter 申请时间_开始,精确到分钟
func (*AlitripTravelBookinfosSearchAPIRequest) SetCurrentPage ¶ added in v1.2.0
func (r *AlitripTravelBookinfosSearchAPIRequest) SetCurrentPage(_currentPage int64) error
SetCurrentPage is CurrentPage Setter 当前页
func (*AlitripTravelBookinfosSearchAPIRequest) SetPageSize ¶ added in v1.2.0
func (r *AlitripTravelBookinfosSearchAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 页面大小,最大支持的页面大小为100。如查询旅行购订单,则最大支持的页面大小为30
type AlitripTravelBookinfosSearchAPIResponse ¶
type AlitripTravelBookinfosSearchAPIResponse struct { model.CommonResponse AlitripTravelBookinfosSearchAPIResponseModel }
AlitripTravelBookinfosSearchAPIResponse 飞猪度假-订单预定信息列表搜索接口 API返回值 alitrip.travel.bookinfos.search
查询订单预定信息列表
type AlitripTravelBookinfosSearchAPIResponseModel ¶ added in v1.2.0
type AlitripTravelBookinfosSearchAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_travel_bookinfos_search_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 订单及预约id映射列表 OrderBookInfoList []FirstResult `json:"order_book_info_list,omitempty" xml:"order_book_info_list>first_result,omitempty"` // 错误信息 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // true或false IsSuccess string `json:"is_success,omitempty" xml:"is_success,omitempty"` // 总数 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` }
AlitripTravelBookinfosSearchAPIResponseModel is 飞猪度假-订单预定信息列表搜索接口 成功返回结果
type AlitripTravelHotelticketOrderCreateAPIRequest ¶ added in v1.2.5
type AlitripTravelHotelticketOrderCreateAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripTravelHotelticketOrderCreateAPIRequest 创单(支付订单)通知 API请求 alitrip.travel.hotelticket.order.create
创单(支付订单)通知
func NewAlitripTravelHotelticketOrderCreateRequest ¶ added in v1.2.5
func NewAlitripTravelHotelticketOrderCreateRequest() *AlitripTravelHotelticketOrderCreateAPIRequest
NewAlitripTravelHotelticketOrderCreateRequest 初始化AlitripTravelHotelticketOrderCreateAPIRequest对象
func (AlitripTravelHotelticketOrderCreateAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r AlitripTravelHotelticketOrderCreateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripTravelHotelticketOrderCreateAPIRequest) GetApiParams ¶ added in v1.2.5
func (r AlitripTravelHotelticketOrderCreateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripTravelHotelticketOrderCreateAPIRequest) GetExtendParams ¶ added in v1.2.5
func (r AlitripTravelHotelticketOrderCreateAPIRequest) GetExtendParams() string
GetExtendParams ExtendParams Getter
func (AlitripTravelHotelticketOrderCreateAPIRequest) GetFailMsg ¶ added in v1.2.5
func (r AlitripTravelHotelticketOrderCreateAPIRequest) GetFailMsg() string
GetFailMsg FailMsg Getter
func (AlitripTravelHotelticketOrderCreateAPIRequest) GetFliggyOrderId ¶ added in v1.2.5
func (r AlitripTravelHotelticketOrderCreateAPIRequest) GetFliggyOrderId() string
GetFliggyOrderId FliggyOrderId Getter
func (AlitripTravelHotelticketOrderCreateAPIRequest) GetOrderId ¶ added in v1.2.5
func (r AlitripTravelHotelticketOrderCreateAPIRequest) GetOrderId() string
GetOrderId OrderId Getter
func (AlitripTravelHotelticketOrderCreateAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripTravelHotelticketOrderCreateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlitripTravelHotelticketOrderCreateAPIRequest) GetStatus ¶ added in v1.2.5
func (r AlitripTravelHotelticketOrderCreateAPIRequest) GetStatus() int64
GetStatus Status Getter
func (AlitripTravelHotelticketOrderCreateAPIRequest) GetVouchers ¶ added in v1.2.5
func (r AlitripTravelHotelticketOrderCreateAPIRequest) GetVouchers() *HotelTicketVoucherDto
GetVouchers Vouchers Getter
func (*AlitripTravelHotelticketOrderCreateAPIRequest) SetExtendParams ¶ added in v1.2.5
func (r *AlitripTravelHotelticketOrderCreateAPIRequest) SetExtendParams(_extendParams string) error
SetExtendParams is ExtendParams Setter 扩展参数 支持的key: ["hotelName" : "酒店名称", "roomName" : "房型名称", "productName" : "产品名称", "desc" : "描述"] value字符长度不超过100
func (*AlitripTravelHotelticketOrderCreateAPIRequest) SetFailMsg ¶ added in v1.2.5
func (r *AlitripTravelHotelticketOrderCreateAPIRequest) SetFailMsg(_failMsg string) error
SetFailMsg is FailMsg Setter 创单出票失败原因信息
func (*AlitripTravelHotelticketOrderCreateAPIRequest) SetFliggyOrderId ¶ added in v1.2.5
func (r *AlitripTravelHotelticketOrderCreateAPIRequest) SetFliggyOrderId(_fliggyOrderId string) error
SetFliggyOrderId is FliggyOrderId Setter 飞猪订单号
func (*AlitripTravelHotelticketOrderCreateAPIRequest) SetOrderId ¶ added in v1.2.5
func (r *AlitripTravelHotelticketOrderCreateAPIRequest) SetOrderId(_orderId string) error
SetOrderId is OrderId Setter 系统商订单号
func (*AlitripTravelHotelticketOrderCreateAPIRequest) SetStatus ¶ added in v1.2.5
func (r *AlitripTravelHotelticketOrderCreateAPIRequest) SetStatus(_status int64) error
SetStatus is Status Setter 创单结果状态 1:创单出票成功, 2:创单出票失败
func (*AlitripTravelHotelticketOrderCreateAPIRequest) SetVouchers ¶ added in v1.2.5
func (r *AlitripTravelHotelticketOrderCreateAPIRequest) SetVouchers(_vouchers *HotelTicketVoucherDto) error
SetVouchers is Vouchers Setter 凭证信息 无数据时传空集合
type AlitripTravelHotelticketOrderCreateAPIResponse ¶ added in v1.2.5
type AlitripTravelHotelticketOrderCreateAPIResponse struct { model.CommonResponse AlitripTravelHotelticketOrderCreateAPIResponseModel }
AlitripTravelHotelticketOrderCreateAPIResponse 创单(支付订单)通知 API返回值 alitrip.travel.hotelticket.order.create
创单(支付订单)通知
type AlitripTravelHotelticketOrderCreateAPIResponseModel ¶ added in v1.2.5
type AlitripTravelHotelticketOrderCreateAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_travel_hotelticket_order_create_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
AlitripTravelHotelticketOrderCreateAPIResponseModel is 创单(支付订单)通知 成功返回结果
type AlitripTravelHotelticketOrderRefundAPIRequest ¶ added in v1.2.5
type AlitripTravelHotelticketOrderRefundAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripTravelHotelticketOrderRefundAPIRequest 退款结结果通知 API请求 alitrip.travel.hotelticket.order.refund
退款结果通知
func NewAlitripTravelHotelticketOrderRefundRequest ¶ added in v1.2.5
func NewAlitripTravelHotelticketOrderRefundRequest() *AlitripTravelHotelticketOrderRefundAPIRequest
NewAlitripTravelHotelticketOrderRefundRequest 初始化AlitripTravelHotelticketOrderRefundAPIRequest对象
func (AlitripTravelHotelticketOrderRefundAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r AlitripTravelHotelticketOrderRefundAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripTravelHotelticketOrderRefundAPIRequest) GetApiParams ¶ added in v1.2.5
func (r AlitripTravelHotelticketOrderRefundAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripTravelHotelticketOrderRefundAPIRequest) GetFailMsg ¶ added in v1.2.5
func (r AlitripTravelHotelticketOrderRefundAPIRequest) GetFailMsg() string
GetFailMsg FailMsg Getter
func (AlitripTravelHotelticketOrderRefundAPIRequest) GetFliggyOrderId ¶ added in v1.2.5
func (r AlitripTravelHotelticketOrderRefundAPIRequest) GetFliggyOrderId() string
GetFliggyOrderId FliggyOrderId Getter
func (AlitripTravelHotelticketOrderRefundAPIRequest) GetOrderId ¶ added in v1.2.5
func (r AlitripTravelHotelticketOrderRefundAPIRequest) GetOrderId() string
GetOrderId OrderId Getter
func (AlitripTravelHotelticketOrderRefundAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripTravelHotelticketOrderRefundAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlitripTravelHotelticketOrderRefundAPIRequest) GetStatus ¶ added in v1.2.5
func (r AlitripTravelHotelticketOrderRefundAPIRequest) GetStatus() int64
GetStatus Status Getter
func (*AlitripTravelHotelticketOrderRefundAPIRequest) SetFailMsg ¶ added in v1.2.5
func (r *AlitripTravelHotelticketOrderRefundAPIRequest) SetFailMsg(_failMsg string) error
SetFailMsg is FailMsg Setter 退款失败原因
func (*AlitripTravelHotelticketOrderRefundAPIRequest) SetFliggyOrderId ¶ added in v1.2.5
func (r *AlitripTravelHotelticketOrderRefundAPIRequest) SetFliggyOrderId(_fliggyOrderId string) error
SetFliggyOrderId is FliggyOrderId Setter 飞猪订单号
func (*AlitripTravelHotelticketOrderRefundAPIRequest) SetOrderId ¶ added in v1.2.5
func (r *AlitripTravelHotelticketOrderRefundAPIRequest) SetOrderId(_orderId string) error
SetOrderId is OrderId Setter 系统商订单号
func (*AlitripTravelHotelticketOrderRefundAPIRequest) SetStatus ¶ added in v1.2.5
func (r *AlitripTravelHotelticketOrderRefundAPIRequest) SetStatus(_status int64) error
SetStatus is Status Setter 退款结果状态 1:退款成功 2:退款失败
type AlitripTravelHotelticketOrderRefundAPIResponse ¶ added in v1.2.5
type AlitripTravelHotelticketOrderRefundAPIResponse struct { model.CommonResponse AlitripTravelHotelticketOrderRefundAPIResponseModel }
AlitripTravelHotelticketOrderRefundAPIResponse 退款结结果通知 API返回值 alitrip.travel.hotelticket.order.refund
退款结果通知
type AlitripTravelHotelticketOrderRefundAPIResponseModel ¶ added in v1.2.5
type AlitripTravelHotelticketOrderRefundAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_travel_hotelticket_order_refund_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
AlitripTravelHotelticketOrderRefundAPIResponseModel is 退款结结果通知 成功返回结果
type AlitripTravelHotelticketOrderVerifyAPIRequest ¶ added in v1.2.5
type AlitripTravelHotelticketOrderVerifyAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripTravelHotelticketOrderVerifyAPIRequest 订单核销通知 API请求 alitrip.travel.hotelticket.order.verify
订单核销通知
func NewAlitripTravelHotelticketOrderVerifyRequest ¶ added in v1.2.5
func NewAlitripTravelHotelticketOrderVerifyRequest() *AlitripTravelHotelticketOrderVerifyAPIRequest
NewAlitripTravelHotelticketOrderVerifyRequest 初始化AlitripTravelHotelticketOrderVerifyAPIRequest对象
func (AlitripTravelHotelticketOrderVerifyAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r AlitripTravelHotelticketOrderVerifyAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripTravelHotelticketOrderVerifyAPIRequest) GetApiParams ¶ added in v1.2.5
func (r AlitripTravelHotelticketOrderVerifyAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripTravelHotelticketOrderVerifyAPIRequest) GetExtendParams ¶ added in v1.2.5
func (r AlitripTravelHotelticketOrderVerifyAPIRequest) GetExtendParams() string
GetExtendParams ExtendParams Getter
func (AlitripTravelHotelticketOrderVerifyAPIRequest) GetFliggyOrderId ¶ added in v1.2.5
func (r AlitripTravelHotelticketOrderVerifyAPIRequest) GetFliggyOrderId() string
GetFliggyOrderId FliggyOrderId Getter
func (AlitripTravelHotelticketOrderVerifyAPIRequest) GetOrderId ¶ added in v1.2.5
func (r AlitripTravelHotelticketOrderVerifyAPIRequest) GetOrderId() string
GetOrderId OrderId Getter
func (AlitripTravelHotelticketOrderVerifyAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripTravelHotelticketOrderVerifyAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlitripTravelHotelticketOrderVerifyAPIRequest) GetVouchers ¶ added in v1.2.5
func (r AlitripTravelHotelticketOrderVerifyAPIRequest) GetVouchers() *HotelTicketVerifyVoucherDto
GetVouchers Vouchers Getter
func (*AlitripTravelHotelticketOrderVerifyAPIRequest) SetExtendParams ¶ added in v1.2.5
func (r *AlitripTravelHotelticketOrderVerifyAPIRequest) SetExtendParams(_extendParams string) error
SetExtendParams is ExtendParams Setter 扩展参数
func (*AlitripTravelHotelticketOrderVerifyAPIRequest) SetFliggyOrderId ¶ added in v1.2.5
func (r *AlitripTravelHotelticketOrderVerifyAPIRequest) SetFliggyOrderId(_fliggyOrderId string) error
SetFliggyOrderId is FliggyOrderId Setter 飞猪订单号
func (*AlitripTravelHotelticketOrderVerifyAPIRequest) SetOrderId ¶ added in v1.2.5
func (r *AlitripTravelHotelticketOrderVerifyAPIRequest) SetOrderId(_orderId string) error
SetOrderId is OrderId Setter 系统商订单号
func (*AlitripTravelHotelticketOrderVerifyAPIRequest) SetVouchers ¶ added in v1.2.5
func (r *AlitripTravelHotelticketOrderVerifyAPIRequest) SetVouchers(_vouchers *HotelTicketVerifyVoucherDto) error
SetVouchers is Vouchers Setter 凭证信息
type AlitripTravelHotelticketOrderVerifyAPIResponse ¶ added in v1.2.5
type AlitripTravelHotelticketOrderVerifyAPIResponse struct { model.CommonResponse AlitripTravelHotelticketOrderVerifyAPIResponseModel }
AlitripTravelHotelticketOrderVerifyAPIResponse 订单核销通知 API返回值 alitrip.travel.hotelticket.order.verify
订单核销通知
type AlitripTravelHotelticketOrderVerifyAPIResponseModel ¶ added in v1.2.5
type AlitripTravelHotelticketOrderVerifyAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_travel_hotelticket_order_verify_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
AlitripTravelHotelticketOrderVerifyAPIResponseModel is 订单核销通知 成功返回结果
type AlitripTravelHotelticketProductProductupdateAPIRequest ¶ added in v1.2.5
type AlitripTravelHotelticketProductProductupdateAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripTravelHotelticketProductProductupdateAPIRequest 产品批量变更通知 API请求 alitrip.travel.hotelticket.product.productupdate
产品批量变更通知
func NewAlitripTravelHotelticketProductProductupdateRequest ¶ added in v1.2.5
func NewAlitripTravelHotelticketProductProductupdateRequest() *AlitripTravelHotelticketProductProductupdateAPIRequest
NewAlitripTravelHotelticketProductProductupdateRequest 初始化AlitripTravelHotelticketProductProductupdateAPIRequest对象
func (AlitripTravelHotelticketProductProductupdateAPIRequest) GetAccessKey ¶ added in v1.2.5
func (r AlitripTravelHotelticketProductProductupdateAPIRequest) GetAccessKey() string
GetAccessKey AccessKey Getter
func (AlitripTravelHotelticketProductProductupdateAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r AlitripTravelHotelticketProductProductupdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripTravelHotelticketProductProductupdateAPIRequest) GetApiParams ¶ added in v1.2.5
func (r AlitripTravelHotelticketProductProductupdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripTravelHotelticketProductProductupdateAPIRequest) GetProductUpdates ¶ added in v1.2.5
func (r AlitripTravelHotelticketProductProductupdateAPIRequest) GetProductUpdates() *ProductUpdateDto
GetProductUpdates ProductUpdates Getter
func (AlitripTravelHotelticketProductProductupdateAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripTravelHotelticketProductProductupdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitripTravelHotelticketProductProductupdateAPIRequest) SetAccessKey ¶ added in v1.2.5
func (r *AlitripTravelHotelticketProductProductupdateAPIRequest) SetAccessKey(_accessKey string) error
SetAccessKey is AccessKey Setter 系统商分配给飞猪卖家的账号
func (*AlitripTravelHotelticketProductProductupdateAPIRequest) SetProductUpdates ¶ added in v1.2.5
func (r *AlitripTravelHotelticketProductProductupdateAPIRequest) SetProductUpdates(_productUpdates *ProductUpdateDto) error
SetProductUpdates is ProductUpdates Setter 变更的产品信息
type AlitripTravelHotelticketProductProductupdateAPIResponse ¶ added in v1.2.5
type AlitripTravelHotelticketProductProductupdateAPIResponse struct { model.CommonResponse AlitripTravelHotelticketProductProductupdateAPIResponseModel }
AlitripTravelHotelticketProductProductupdateAPIResponse 产品批量变更通知 API返回值 alitrip.travel.hotelticket.product.productupdate
产品批量变更通知
type AlitripTravelHotelticketProductProductupdateAPIResponseModel ¶ added in v1.2.5
type AlitripTravelHotelticketProductProductupdateAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_travel_hotelticket_product_productupdate_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
AlitripTravelHotelticketProductProductupdateAPIResponseModel is 产品批量变更通知 成功返回结果
type AlitripTravelHotelticketProductProductupdatepushAPIRequest ¶ added in v1.2.5
type AlitripTravelHotelticketProductProductupdatepushAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripTravelHotelticketProductProductupdatepushAPIRequest 产品批量变更推送通知 API请求 alitrip.travel.hotelticket.product.productupdatepush
产品批量变更推送通知
func NewAlitripTravelHotelticketProductProductupdatepushRequest ¶ added in v1.2.5
func NewAlitripTravelHotelticketProductProductupdatepushRequest() *AlitripTravelHotelticketProductProductupdatepushAPIRequest
NewAlitripTravelHotelticketProductProductupdatepushRequest 初始化AlitripTravelHotelticketProductProductupdatepushAPIRequest对象
func (AlitripTravelHotelticketProductProductupdatepushAPIRequest) GetAccessKey ¶ added in v1.2.5
func (r AlitripTravelHotelticketProductProductupdatepushAPIRequest) GetAccessKey() string
GetAccessKey AccessKey Getter
func (AlitripTravelHotelticketProductProductupdatepushAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r AlitripTravelHotelticketProductProductupdatepushAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripTravelHotelticketProductProductupdatepushAPIRequest) GetApiParams ¶ added in v1.2.5
func (r AlitripTravelHotelticketProductProductupdatepushAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripTravelHotelticketProductProductupdatepushAPIRequest) GetProductUpdates ¶ added in v1.2.5
func (r AlitripTravelHotelticketProductProductupdatepushAPIRequest) GetProductUpdates() *ProductUpdatePushDto
GetProductUpdates ProductUpdates Getter
func (AlitripTravelHotelticketProductProductupdatepushAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripTravelHotelticketProductProductupdatepushAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitripTravelHotelticketProductProductupdatepushAPIRequest) SetAccessKey ¶ added in v1.2.5
func (r *AlitripTravelHotelticketProductProductupdatepushAPIRequest) SetAccessKey(_accessKey string) error
SetAccessKey is AccessKey Setter 系统商分配给飞猪卖家的账号
func (*AlitripTravelHotelticketProductProductupdatepushAPIRequest) SetProductUpdates ¶ added in v1.2.5
func (r *AlitripTravelHotelticketProductProductupdatepushAPIRequest) SetProductUpdates(_productUpdates *ProductUpdatePushDto) error
SetProductUpdates is ProductUpdates Setter 变更的产品信息
type AlitripTravelHotelticketProductProductupdatepushAPIResponse ¶ added in v1.2.5
type AlitripTravelHotelticketProductProductupdatepushAPIResponse struct { model.CommonResponse AlitripTravelHotelticketProductProductupdatepushAPIResponseModel }
AlitripTravelHotelticketProductProductupdatepushAPIResponse 产品批量变更推送通知 API返回值 alitrip.travel.hotelticket.product.productupdatepush
产品批量变更推送通知
type AlitripTravelHotelticketProductProductupdatepushAPIResponseModel ¶ added in v1.2.5
type AlitripTravelHotelticketProductProductupdatepushAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_travel_hotelticket_product_productupdatepush_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
AlitripTravelHotelticketProductProductupdatepushAPIResponseModel is 产品批量变更推送通知 成功返回结果
type AlitripTravelTradeCloseAPIRequest ¶ added in v1.2.0
type AlitripTravelTradeCloseAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripTravelTradeCloseAPIRequest 飞猪度假-订单关闭接口(快速退款) API请求 alitrip.travel.trade.close
卖家关单(快速退款接口),不支持二次预约商品的订单
func NewAlitripTravelTradeCloseRequest ¶
func NewAlitripTravelTradeCloseRequest() *AlitripTravelTradeCloseAPIRequest
NewAlitripTravelTradeCloseRequest 初始化AlitripTravelTradeCloseAPIRequest对象
func (AlitripTravelTradeCloseAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlitripTravelTradeCloseAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripTravelTradeCloseAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlitripTravelTradeCloseAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripTravelTradeCloseAPIRequest) GetCloseReason ¶ added in v1.2.0
func (r AlitripTravelTradeCloseAPIRequest) GetCloseReason() string
GetCloseReason CloseReason Getter
func (AlitripTravelTradeCloseAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripTravelTradeCloseAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlitripTravelTradeCloseAPIRequest) GetReasonDesc ¶ added in v1.2.0
func (r AlitripTravelTradeCloseAPIRequest) GetReasonDesc() string
GetReasonDesc ReasonDesc Getter
func (AlitripTravelTradeCloseAPIRequest) GetSubOrderId ¶ added in v1.2.0
func (r AlitripTravelTradeCloseAPIRequest) GetSubOrderId() int64
GetSubOrderId SubOrderId Getter
func (*AlitripTravelTradeCloseAPIRequest) SetCloseReason ¶ added in v1.2.0
func (r *AlitripTravelTradeCloseAPIRequest) SetCloseReason(_closeReason string) error
SetCloseReason is CloseReason Setter 交易关闭原因
func (*AlitripTravelTradeCloseAPIRequest) SetReasonDesc ¶ added in v1.2.0
func (r *AlitripTravelTradeCloseAPIRequest) SetReasonDesc(_reasonDesc string) error
SetReasonDesc is ReasonDesc Setter 订单关闭原因描述
func (*AlitripTravelTradeCloseAPIRequest) SetSubOrderId ¶ added in v1.2.0
func (r *AlitripTravelTradeCloseAPIRequest) SetSubOrderId(_subOrderId int64) error
SetSubOrderId is SubOrderId Setter 子订单编号
type AlitripTravelTradeCloseAPIResponse ¶
type AlitripTravelTradeCloseAPIResponse struct { model.CommonResponse AlitripTravelTradeCloseAPIResponseModel }
AlitripTravelTradeCloseAPIResponse 飞猪度假-订单关闭接口(快速退款) API返回值 alitrip.travel.trade.close
卖家关单(快速退款接口),不支持二次预约商品的订单
type AlitripTravelTradeCloseAPIResponseModel ¶ added in v1.2.0
type AlitripTravelTradeCloseAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_travel_trade_close_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 交易关闭是否成功 FirstResult bool `json:"first_result,omitempty" xml:"first_result,omitempty"` }
AlitripTravelTradeCloseAPIResponseModel is 飞猪度假-订单关闭接口(快速退款) 成功返回结果
type AlitripTravelTradeDeliverAPIRequest ¶ added in v1.2.0
type AlitripTravelTradeDeliverAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripTravelTradeDeliverAPIRequest 飞猪度假-订单发货接口 API请求 alitrip.travel.trade.deliver
航旅度假无需物流普通商品发货接口(不支持二次预约商品),只支持子订单级别发货
func NewAlitripTravelTradeDeliverRequest ¶
func NewAlitripTravelTradeDeliverRequest() *AlitripTravelTradeDeliverAPIRequest
NewAlitripTravelTradeDeliverRequest 初始化AlitripTravelTradeDeliverAPIRequest对象
func (AlitripTravelTradeDeliverAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlitripTravelTradeDeliverAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripTravelTradeDeliverAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlitripTravelTradeDeliverAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripTravelTradeDeliverAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripTravelTradeDeliverAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlitripTravelTradeDeliverAPIRequest) GetSubOrderId ¶ added in v1.2.0
func (r AlitripTravelTradeDeliverAPIRequest) GetSubOrderId() int64
GetSubOrderId SubOrderId Getter
func (*AlitripTravelTradeDeliverAPIRequest) SetSubOrderId ¶ added in v1.2.0
func (r *AlitripTravelTradeDeliverAPIRequest) SetSubOrderId(_subOrderId int64) error
SetSubOrderId is SubOrderId Setter 子订单id
type AlitripTravelTradeDeliverAPIResponse ¶
type AlitripTravelTradeDeliverAPIResponse struct { model.CommonResponse AlitripTravelTradeDeliverAPIResponseModel }
AlitripTravelTradeDeliverAPIResponse 飞猪度假-订单发货接口 API返回值 alitrip.travel.trade.deliver
航旅度假无需物流普通商品发货接口(不支持二次预约商品),只支持子订单级别发货
type AlitripTravelTradeDeliverAPIResponseModel ¶ added in v1.2.0
type AlitripTravelTradeDeliverAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_travel_trade_deliver_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 发货是否成功 FirstResult bool `json:"first_result,omitempty" xml:"first_result,omitempty"` }
AlitripTravelTradeDeliverAPIResponseModel is 飞猪度假-订单发货接口 成功返回结果
type AlitripTravelTradeQueryAPIRequest ¶ added in v1.2.0
type AlitripTravelTradeQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripTravelTradeQueryAPIRequest 飞猪度假-订单详情查询接口 API请求 alitrip.travel.trade.query
飞猪度假订单详情查询接口
func NewAlitripTravelTradeQueryRequest ¶
func NewAlitripTravelTradeQueryRequest() *AlitripTravelTradeQueryAPIRequest
NewAlitripTravelTradeQueryRequest 初始化AlitripTravelTradeQueryAPIRequest对象
func (AlitripTravelTradeQueryAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlitripTravelTradeQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripTravelTradeQueryAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlitripTravelTradeQueryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripTravelTradeQueryAPIRequest) GetOrderId ¶ added in v1.2.0
func (r AlitripTravelTradeQueryAPIRequest) GetOrderId() int64
GetOrderId OrderId Getter
func (AlitripTravelTradeQueryAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripTravelTradeQueryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitripTravelTradeQueryAPIRequest) SetOrderId ¶ added in v1.2.0
func (r *AlitripTravelTradeQueryAPIRequest) SetOrderId(_orderId int64) error
SetOrderId is OrderId Setter 主订单id
type AlitripTravelTradeQueryAPIResponse ¶
type AlitripTravelTradeQueryAPIResponse struct { model.CommonResponse AlitripTravelTradeQueryAPIResponseModel }
AlitripTravelTradeQueryAPIResponse 飞猪度假-订单详情查询接口 API返回值 alitrip.travel.trade.query
飞猪度假订单详情查询接口
type AlitripTravelTradeQueryAPIResponseModel ¶ added in v1.2.0
type AlitripTravelTradeQueryAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_travel_trade_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 交易主订单详情 FirstResult *TopTripOrderResult `json:"first_result,omitempty" xml:"first_result,omitempty"` }
AlitripTravelTradeQueryAPIResponseModel is 飞猪度假-订单详情查询接口 成功返回结果
type AlitripTravelTradeServiceinfoWriteAPIRequest ¶ added in v1.2.0
type AlitripTravelTradeServiceinfoWriteAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripTravelTradeServiceinfoWriteAPIRequest 订单服务信息写入接口 API请求 alitrip.travel.trade.serviceinfo.write
订单服务信息写入接口
func NewAlitripTravelTradeServiceinfoWriteRequest ¶
func NewAlitripTravelTradeServiceinfoWriteRequest() *AlitripTravelTradeServiceinfoWriteAPIRequest
NewAlitripTravelTradeServiceinfoWriteRequest 初始化AlitripTravelTradeServiceinfoWriteAPIRequest对象
func (AlitripTravelTradeServiceinfoWriteAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlitripTravelTradeServiceinfoWriteAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripTravelTradeServiceinfoWriteAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlitripTravelTradeServiceinfoWriteAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripTravelTradeServiceinfoWriteAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripTravelTradeServiceinfoWriteAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlitripTravelTradeServiceinfoWriteAPIRequest) GetSubTcOrderId ¶ added in v1.2.0
func (r AlitripTravelTradeServiceinfoWriteAPIRequest) GetSubTcOrderId() int64
GetSubTcOrderId SubTcOrderId Getter
func (AlitripTravelTradeServiceinfoWriteAPIRequest) GetTipValue ¶ added in v1.2.0
func (r AlitripTravelTradeServiceinfoWriteAPIRequest) GetTipValue() string
GetTipValue TipValue Getter
func (*AlitripTravelTradeServiceinfoWriteAPIRequest) SetSubTcOrderId ¶ added in v1.2.0
func (r *AlitripTravelTradeServiceinfoWriteAPIRequest) SetSubTcOrderId(_subTcOrderId int64) error
SetSubTcOrderId is SubTcOrderId Setter 对应的订单信息
func (*AlitripTravelTradeServiceinfoWriteAPIRequest) SetTipValue ¶ added in v1.2.0
func (r *AlitripTravelTradeServiceinfoWriteAPIRequest) SetTipValue(_tipValue string) error
SetTipValue is TipValue Setter 根据模版要求传递对应的订单服务信息,当涉及多值时,用英文分号隔开";",目前api暂时不支持文件上传,只支持链接;链接必须外网能访问
type AlitripTravelTradeServiceinfoWriteAPIResponse ¶
type AlitripTravelTradeServiceinfoWriteAPIResponse struct { model.CommonResponse AlitripTravelTradeServiceinfoWriteAPIResponseModel }
AlitripTravelTradeServiceinfoWriteAPIResponse 订单服务信息写入接口 API返回值 alitrip.travel.trade.serviceinfo.write
订单服务信息写入接口
type AlitripTravelTradeServiceinfoWriteAPIResponseModel ¶ added in v1.2.0
type AlitripTravelTradeServiceinfoWriteAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_travel_trade_serviceinfo_write_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *AlitripTravelTradeServiceinfoWriteResultSet `json:"result,omitempty" xml:"result,omitempty"` }
AlitripTravelTradeServiceinfoWriteAPIResponseModel is 订单服务信息写入接口 成功返回结果
type AlitripTravelTradeServiceinfoWriteResultSet ¶
type AlitripTravelTradeServiceinfoWriteResultSet struct { // 错误码信息 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 错误详细信息 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 是否操作成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` // 订单标注服务信息是否成功 Error bool `json:"error,omitempty" xml:"error,omitempty"` }
AlitripTravelTradeServiceinfoWriteResultSet 结构体
type AlitripTravelTradeTemplateQueryAPIRequest ¶ added in v1.2.0
type AlitripTravelTradeTemplateQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripTravelTradeTemplateQueryAPIRequest 订单服务详情模版查询 API请求 alitrip.travel.trade.template.query
通过订单ID获取标注模版信息,商家可以根据模版来填充行业信息
func NewAlitripTravelTradeTemplateQueryRequest ¶
func NewAlitripTravelTradeTemplateQueryRequest() *AlitripTravelTradeTemplateQueryAPIRequest
NewAlitripTravelTradeTemplateQueryRequest 初始化AlitripTravelTradeTemplateQueryAPIRequest对象
func (AlitripTravelTradeTemplateQueryAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlitripTravelTradeTemplateQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripTravelTradeTemplateQueryAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlitripTravelTradeTemplateQueryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripTravelTradeTemplateQueryAPIRequest) GetIsNew ¶ added in v1.2.0
func (r AlitripTravelTradeTemplateQueryAPIRequest) GetIsNew() bool
GetIsNew IsNew Getter
func (AlitripTravelTradeTemplateQueryAPIRequest) GetOrderId ¶ added in v1.2.0
func (r AlitripTravelTradeTemplateQueryAPIRequest) GetOrderId() int64
GetOrderId OrderId Getter
func (AlitripTravelTradeTemplateQueryAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripTravelTradeTemplateQueryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitripTravelTradeTemplateQueryAPIRequest) SetIsNew ¶ added in v1.2.0
func (r *AlitripTravelTradeTemplateQueryAPIRequest) SetIsNew(_isNew bool) error
SetIsNew is IsNew Setter 是否取最新的模版
func (*AlitripTravelTradeTemplateQueryAPIRequest) SetOrderId ¶ added in v1.2.0
func (r *AlitripTravelTradeTemplateQueryAPIRequest) SetOrderId(_orderId int64) error
SetOrderId is OrderId Setter 淘宝平台订单ID
type AlitripTravelTradeTemplateQueryAPIResponse ¶
type AlitripTravelTradeTemplateQueryAPIResponse struct { model.CommonResponse AlitripTravelTradeTemplateQueryAPIResponseModel }
AlitripTravelTradeTemplateQueryAPIResponse 订单服务详情模版查询 API返回值 alitrip.travel.trade.template.query
通过订单ID获取标注模版信息,商家可以根据模版来填充行业信息
type AlitripTravelTradeTemplateQueryAPIResponseModel ¶ added in v1.2.0
type AlitripTravelTradeTemplateQueryAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_travel_trade_template_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 订单服务标注模版获取结果 Result *AlitripTravelTradeTemplateQueryResultSet `json:"result,omitempty" xml:"result,omitempty"` }
AlitripTravelTradeTemplateQueryAPIResponseModel is 订单服务详情模版查询 成功返回结果
type AlitripTravelTradeTemplateQueryResultSet ¶
type AlitripTravelTradeTemplateQueryResultSet struct { // 订单服务标注模版获取结果详情 FirstResult *OrderTipInfoResult `json:"first_result,omitempty" xml:"first_result,omitempty"` }
AlitripTravelTradeTemplateQueryResultSet 结构体
type AlitripTravelTradesSearchAPIRequest ¶ added in v1.2.0
type AlitripTravelTradesSearchAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripTravelTradesSearchAPIRequest 飞猪度假-订单列表搜索接口 API请求 alitrip.travel.trades.search
订单列表搜索接口:以订单创建、结束时间、订单状态为搜索条件,搜索过滤出满足条件的卖家订单列表。
func NewAlitripTravelTradesSearchRequest ¶
func NewAlitripTravelTradesSearchRequest() *AlitripTravelTradesSearchAPIRequest
NewAlitripTravelTradesSearchRequest 初始化AlitripTravelTradesSearchAPIRequest对象
func (AlitripTravelTradesSearchAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlitripTravelTradesSearchAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripTravelTradesSearchAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlitripTravelTradesSearchAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripTravelTradesSearchAPIRequest) GetCategory ¶ added in v1.2.0
func (r AlitripTravelTradesSearchAPIRequest) GetCategory() int64
GetCategory Category Getter
func (AlitripTravelTradesSearchAPIRequest) GetCurrentPage ¶ added in v1.2.0
func (r AlitripTravelTradesSearchAPIRequest) GetCurrentPage() int64
GetCurrentPage CurrentPage Getter
func (AlitripTravelTradesSearchAPIRequest) GetEndCreatedTime ¶ added in v1.2.0
func (r AlitripTravelTradesSearchAPIRequest) GetEndCreatedTime() string
GetEndCreatedTime EndCreatedTime Getter
func (AlitripTravelTradesSearchAPIRequest) GetItemId ¶ added in v1.2.9
func (r AlitripTravelTradesSearchAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (AlitripTravelTradesSearchAPIRequest) GetOrderStatus ¶ added in v1.2.0
func (r AlitripTravelTradesSearchAPIRequest) GetOrderStatus() int64
GetOrderStatus OrderStatus Getter
func (AlitripTravelTradesSearchAPIRequest) GetPageSize ¶ added in v1.2.0
func (r AlitripTravelTradesSearchAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (AlitripTravelTradesSearchAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripTravelTradesSearchAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlitripTravelTradesSearchAPIRequest) GetStartCreatedTime ¶ added in v1.2.0
func (r AlitripTravelTradesSearchAPIRequest) GetStartCreatedTime() string
GetStartCreatedTime StartCreatedTime Getter
func (*AlitripTravelTradesSearchAPIRequest) SetCategory ¶ added in v1.2.0
func (r *AlitripTravelTradesSearchAPIRequest) SetCategory(_category int64) error
SetCategory is Category Setter 类目筛选, 1、旅行购,旅行购定制专用字段,表示搜索旅行购订单。
func (*AlitripTravelTradesSearchAPIRequest) SetCurrentPage ¶ added in v1.2.0
func (r *AlitripTravelTradesSearchAPIRequest) SetCurrentPage(_currentPage int64) error
SetCurrentPage is CurrentPage Setter 当前页
func (*AlitripTravelTradesSearchAPIRequest) SetEndCreatedTime ¶ added in v1.2.0
func (r *AlitripTravelTradesSearchAPIRequest) SetEndCreatedTime(_endCreatedTime string) error
SetEndCreatedTime is EndCreatedTime Setter 订单创建 结束时间
func (*AlitripTravelTradesSearchAPIRequest) SetItemId ¶ added in v1.2.9
func (r *AlitripTravelTradesSearchAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品ID
func (*AlitripTravelTradesSearchAPIRequest) SetOrderStatus ¶ added in v1.2.0
func (r *AlitripTravelTradesSearchAPIRequest) SetOrderStatus(_orderStatus int64) error
SetOrderStatus is OrderStatus Setter 订单状态 过滤。1-等待买家付款,2-等待卖家发货(买家已付款),3-等待买家确认收货,4-交易关闭(买家发起的退款),6-交易成功,8-交易关闭(订单超时 自动关单)
func (*AlitripTravelTradesSearchAPIRequest) SetPageSize ¶ added in v1.2.0
func (r *AlitripTravelTradesSearchAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 页面大小,最大支持的页面大小为100。如查询旅行购订单,则最大支持的页面大小为30
func (*AlitripTravelTradesSearchAPIRequest) SetStartCreatedTime ¶ added in v1.2.0
func (r *AlitripTravelTradesSearchAPIRequest) SetStartCreatedTime(_startCreatedTime string) error
SetStartCreatedTime is StartCreatedTime Setter 订单创建 开始时间
type AlitripTravelTradesSearchAPIResponse ¶
type AlitripTravelTradesSearchAPIResponse struct { model.CommonResponse AlitripTravelTradesSearchAPIResponseModel }
AlitripTravelTradesSearchAPIResponse 飞猪度假-订单列表搜索接口 API返回值 alitrip.travel.trades.search
订单列表搜索接口:以订单创建、结束时间、订单状态为搜索条件,搜索过滤出满足条件的卖家订单列表。
type AlitripTravelTradesSearchAPIResponseModel ¶ added in v1.2.0
type AlitripTravelTradesSearchAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_travel_trades_search_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 主订单id列表(Long类型) OrderList []int64 `json:"order_list,omitempty" xml:"order_list>int64,omitempty"` // 主订单id列表(string类型) OrderStringList []string `json:"order_string_list,omitempty" xml:"order_string_list>string,omitempty"` // 本次搜索包含的订单总数,用于分页控制 TotalOrders int64 `json:"total_orders,omitempty" xml:"total_orders,omitempty"` }
AlitripTravelTradesSearchAPIResponseModel is 飞猪度假-订单列表搜索接口 成功返回结果
type AlitripTravelVisaApplicantUpdateAPIRequest ¶ added in v1.2.0
type AlitripTravelVisaApplicantUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripTravelVisaApplicantUpdateAPIRequest 飞猪度假-普通签证-申请人进度推进接口 API请求 alitrip.travel.visa.applicant.update
普通签证订单的申请人进度推进接口,用于商家代用户填写申请人基本信息 或 推进单个申请人的签证进度。
func NewAlitripTravelVisaApplicantUpdateRequest ¶
func NewAlitripTravelVisaApplicantUpdateRequest() *AlitripTravelVisaApplicantUpdateAPIRequest
NewAlitripTravelVisaApplicantUpdateRequest 初始化AlitripTravelVisaApplicantUpdateAPIRequest对象
func (AlitripTravelVisaApplicantUpdateAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlitripTravelVisaApplicantUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripTravelVisaApplicantUpdateAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlitripTravelVisaApplicantUpdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripTravelVisaApplicantUpdateAPIRequest) GetApplicantInfos ¶ added in v1.2.0
func (r AlitripTravelVisaApplicantUpdateAPIRequest) GetApplicantInfos() []NormalVisaApplicantInfo
GetApplicantInfos ApplicantInfos Getter
func (AlitripTravelVisaApplicantUpdateAPIRequest) GetApplicantOp ¶ added in v1.2.0
func (r AlitripTravelVisaApplicantUpdateAPIRequest) GetApplicantOp() *NormalVisaApplicantOperation
GetApplicantOp ApplicantOp Getter
func (AlitripTravelVisaApplicantUpdateAPIRequest) GetDocumentInfos ¶ added in v1.2.0
func (r AlitripTravelVisaApplicantUpdateAPIRequest) GetDocumentInfos() []NormalVisaDocumentInfo
GetDocumentInfos DocumentInfos Getter
func (AlitripTravelVisaApplicantUpdateAPIRequest) GetFileBytes ¶ added in v1.2.0
func (r AlitripTravelVisaApplicantUpdateAPIRequest) GetFileBytes() *model.File
GetFileBytes FileBytes Getter
func (AlitripTravelVisaApplicantUpdateAPIRequest) GetFlightBookingFormBytes ¶ added in v1.2.0
func (r AlitripTravelVisaApplicantUpdateAPIRequest) GetFlightBookingFormBytes() *model.File
GetFlightBookingFormBytes FlightBookingFormBytes Getter
func (AlitripTravelVisaApplicantUpdateAPIRequest) GetFlightBookingFormType ¶ added in v1.2.0
func (r AlitripTravelVisaApplicantUpdateAPIRequest) GetFlightBookingFormType() string
GetFlightBookingFormType FlightBookingFormType Getter
func (AlitripTravelVisaApplicantUpdateAPIRequest) GetHotelBookingFormBytes ¶ added in v1.2.0
func (r AlitripTravelVisaApplicantUpdateAPIRequest) GetHotelBookingFormBytes() *model.File
GetHotelBookingFormBytes HotelBookingFormBytes Getter
func (AlitripTravelVisaApplicantUpdateAPIRequest) GetHotelBookingFormType ¶ added in v1.2.0
func (r AlitripTravelVisaApplicantUpdateAPIRequest) GetHotelBookingFormType() string
GetHotelBookingFormType HotelBookingFormType Getter
func (AlitripTravelVisaApplicantUpdateAPIRequest) GetOperType ¶ added in v1.2.0
func (r AlitripTravelVisaApplicantUpdateAPIRequest) GetOperType() int64
GetOperType OperType Getter
func (AlitripTravelVisaApplicantUpdateAPIRequest) GetPassportBytes ¶ added in v1.2.0
func (r AlitripTravelVisaApplicantUpdateAPIRequest) GetPassportBytes() *model.File
GetPassportBytes PassportBytes Getter
func (AlitripTravelVisaApplicantUpdateAPIRequest) GetPassportType ¶ added in v1.2.0
func (r AlitripTravelVisaApplicantUpdateAPIRequest) GetPassportType() string
GetPassportType PassportType Getter
func (AlitripTravelVisaApplicantUpdateAPIRequest) GetPhotoBytes ¶ added in v1.2.0
func (r AlitripTravelVisaApplicantUpdateAPIRequest) GetPhotoBytes() *model.File
GetPhotoBytes PhotoBytes Getter
func (AlitripTravelVisaApplicantUpdateAPIRequest) GetPhotoType ¶ added in v1.2.0
func (r AlitripTravelVisaApplicantUpdateAPIRequest) GetPhotoType() string
GetPhotoType PhotoType Getter
func (AlitripTravelVisaApplicantUpdateAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripTravelVisaApplicantUpdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlitripTravelVisaApplicantUpdateAPIRequest) GetSubOrderId ¶ added in v1.2.0
func (r AlitripTravelVisaApplicantUpdateAPIRequest) GetSubOrderId() string
GetSubOrderId SubOrderId Getter
func (*AlitripTravelVisaApplicantUpdateAPIRequest) SetApplicantInfos ¶ added in v1.2.0
func (r *AlitripTravelVisaApplicantUpdateAPIRequest) SetApplicantInfos(_applicantInfos []NormalVisaApplicantInfo) error
SetApplicantInfos is ApplicantInfos Setter 特殊必填,申请人基本信息(证件号,姓名,手机号)列表。当operType为1或2或4时必填
func (*AlitripTravelVisaApplicantUpdateAPIRequest) SetApplicantOp ¶ added in v1.2.0
func (r *AlitripTravelVisaApplicantUpdateAPIRequest) SetApplicantOp(_applicantOp *NormalVisaApplicantOperation) error
SetApplicantOp is ApplicantOp Setter 特殊必填,签证申请人进度推进操作(目前只支持对单个申请人状态进行推进)。当operType为3时必填
func (*AlitripTravelVisaApplicantUpdateAPIRequest) SetDocumentInfos ¶ added in v1.2.0
func (r *AlitripTravelVisaApplicantUpdateAPIRequest) SetDocumentInfos(_documentInfos []NormalVisaDocumentInfo) error
SetDocumentInfos is DocumentInfos Setter 特殊必填,更多材料
func (*AlitripTravelVisaApplicantUpdateAPIRequest) SetFileBytes ¶ added in v1.2.0
func (r *AlitripTravelVisaApplicantUpdateAPIRequest) SetFileBytes(_fileBytes *model.File) error
SetFileBytes is FileBytes Setter 特殊必填,pdf文件字节流。用于上传电子签pdf结果 或者 预约面试信pdf文件。
func (*AlitripTravelVisaApplicantUpdateAPIRequest) SetFlightBookingFormBytes ¶ added in v1.2.0
func (r *AlitripTravelVisaApplicantUpdateAPIRequest) SetFlightBookingFormBytes(_flightBookingFormBytes *model.File) error
SetFlightBookingFormBytes is FlightBookingFormBytes Setter 特殊必填,文件字节流,用于上传机票预订,必须和flightBookingFormType同时传
func (*AlitripTravelVisaApplicantUpdateAPIRequest) SetFlightBookingFormType ¶ added in v1.2.0
func (r *AlitripTravelVisaApplicantUpdateAPIRequest) SetFlightBookingFormType(_flightBookingFormType string) error
SetFlightBookingFormType is FlightBookingFormType Setter 机票预订文件类型
func (*AlitripTravelVisaApplicantUpdateAPIRequest) SetHotelBookingFormBytes ¶ added in v1.2.0
func (r *AlitripTravelVisaApplicantUpdateAPIRequest) SetHotelBookingFormBytes(_hotelBookingFormBytes *model.File) error
SetHotelBookingFormBytes is HotelBookingFormBytes Setter 特殊必填,文件字节流,用于上传酒店预订,必须和hotelBookingFormType同时传
func (*AlitripTravelVisaApplicantUpdateAPIRequest) SetHotelBookingFormType ¶ added in v1.2.0
func (r *AlitripTravelVisaApplicantUpdateAPIRequest) SetHotelBookingFormType(_hotelBookingFormType string) error
SetHotelBookingFormType is HotelBookingFormType Setter 酒店预订文件类型
func (*AlitripTravelVisaApplicantUpdateAPIRequest) SetOperType ¶ added in v1.2.0
func (r *AlitripTravelVisaApplicantUpdateAPIRequest) SetOperType(_operType int64) error
SetOperType is OperType Setter 必填,操作类型。1-上传新申请人基本信息(商家代填申请人),2-更新已有申请人基本信息,3-更新已有申请人的签证进度,4-商家代传申请人信息和材料(使馆直连订单)
func (*AlitripTravelVisaApplicantUpdateAPIRequest) SetPassportBytes ¶ added in v1.2.0
func (r *AlitripTravelVisaApplicantUpdateAPIRequest) SetPassportBytes(_passportBytes *model.File) error
SetPassportBytes is PassportBytes Setter 特殊必填,文件字节流,用于上传护照,必须和passportType同时传
func (*AlitripTravelVisaApplicantUpdateAPIRequest) SetPassportType ¶ added in v1.2.0
func (r *AlitripTravelVisaApplicantUpdateAPIRequest) SetPassportType(_passportType string) error
SetPassportType is PassportType Setter 护照文件类型
func (*AlitripTravelVisaApplicantUpdateAPIRequest) SetPhotoBytes ¶ added in v1.2.0
func (r *AlitripTravelVisaApplicantUpdateAPIRequest) SetPhotoBytes(_photoBytes *model.File) error
SetPhotoBytes is PhotoBytes Setter 特殊必填,文件字节流,用于上传证件照,必须和photoType同时传
func (*AlitripTravelVisaApplicantUpdateAPIRequest) SetPhotoType ¶ added in v1.2.0
func (r *AlitripTravelVisaApplicantUpdateAPIRequest) SetPhotoType(_photoType string) error
SetPhotoType is PhotoType Setter 证件照文件类型
func (*AlitripTravelVisaApplicantUpdateAPIRequest) SetSubOrderId ¶ added in v1.2.0
func (r *AlitripTravelVisaApplicantUpdateAPIRequest) SetSubOrderId(_subOrderId string) error
SetSubOrderId is SubOrderId Setter 必填,子订单id
type AlitripTravelVisaApplicantUpdateAPIResponse ¶
type AlitripTravelVisaApplicantUpdateAPIResponse struct { model.CommonResponse AlitripTravelVisaApplicantUpdateAPIResponseModel }
AlitripTravelVisaApplicantUpdateAPIResponse 飞猪度假-普通签证-申请人进度推进接口 API返回值 alitrip.travel.visa.applicant.update
普通签证订单的申请人进度推进接口,用于商家代用户填写申请人基本信息 或 推进单个申请人的签证进度。
type AlitripTravelVisaApplicantUpdateAPIResponseModel ¶ added in v1.2.0
type AlitripTravelVisaApplicantUpdateAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_travel_visa_applicant_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 该订单上已经上传的申请人列表信息 Applicants []NormalVisaApplicantInfo `json:"applicants,omitempty" xml:"applicants>normal_visa_applicant_info,omitempty"` // 申请人状态更新是否成功 UpdateResult bool `json:"update_result,omitempty" xml:"update_result,omitempty"` }
AlitripTravelVisaApplicantUpdateAPIResponseModel is 飞猪度假-普通签证-申请人进度推进接口 成功返回结果
type BuyItemInfo ¶
type BuyItemInfo struct { // 商品类目相关的扩展信息(不再推荐使用,建议使用category_ext_infos_json替代)。KV对形式,多个KV对以英文封号分隔,k1:v1;k2:v2。各类目支持的枚举key详见:https://open.alitrip.com/docs/doc.htm?docType=1&articleId=107548 CategoryExtInfos string `json:"category_ext_infos,omitempty" xml:"category_ext_infos,omitempty"` // 商品标题 ItemTitle string `json:"item_title,omitempty" xml:"item_title,omitempty"` // 商家自定义的商品编码 OutProductId string `json:"out_product_id,omitempty" xml:"out_product_id,omitempty"` // sku_id对应的商家自定义sku编码(即商品上套餐的外部商家编码) OutSkuId string `json:"out_sku_id,omitempty" xml:"out_sku_id,omitempty"` // 用户所购买的Sku信息。包含商品套餐名称(对于门票商品即指票种),出游人群信息等 SkuProperties string `json:"sku_properties,omitempty" xml:"sku_properties,omitempty"` // 出行结束日期,如果没有出行结束日期,则该值为空。(对于wifi/电话卡商品 指激活/租用结束日期;对于流量充值商品 指结束使用日期) TripEndDate string `json:"trip_end_date,omitempty" xml:"trip_end_date,omitempty"` // 出行开始日期。(对于wifi/电话卡商品 指激活/租用日期;对于门票商品 指入园日期;对于流量充值商品 指开始使用日期) TripStartDate string `json:"trip_start_date,omitempty" xml:"trip_start_date,omitempty"` // 商品图片 ItemImage string `json:"item_image,omitempty" xml:"item_image,omitempty"` // 商品类目相关的扩展信息,JSON格式。各类目支持的枚举key详见:https://open.alitrip.com/docs/doc.htm?docType=1&articleId=107548 CategoryExtInfosJson string `json:"category_ext_infos_json,omitempty" xml:"category_ext_infos_json,omitempty"` // 场次开始时间 FsEndTime string `json:"fs_end_time,omitempty" xml:"fs_end_time,omitempty"` // 场次结束时间 FsStartTime string `json:"fs_start_time,omitempty" xml:"fs_start_time,omitempty"` // 商品所属叶子类目id CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"` // 商品id ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"` // 购买的数量 Num int64 `json:"num,omitempty" xml:"num,omitempty"` // 商品价格 Price int64 `json:"price,omitempty" xml:"price,omitempty"` // 用户所购买的商品上sku的id SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"` }
BuyItemInfo 结构体
type BuyerInfo ¶
type BuyerInfo struct { // 买家邮件地址 BuyerEmail string `json:"buyer_email,omitempty" xml:"buyer_email,omitempty"` // 买家留言 BuyerMessage string `json:"buyer_message,omitempty" xml:"buyer_message,omitempty"` // 买家昵称 BuyerNick string `json:"buyer_nick,omitempty" xml:"buyer_nick,omitempty"` // 买家联系方式 BuyerPhone string `json:"buyer_phone,omitempty" xml:"buyer_phone,omitempty"` // 买家是否已评价 BuyerRate bool `json:"buyer_rate,omitempty" xml:"buyer_rate,omitempty"` }
BuyerInfo 结构体
type FirstResult ¶
type FirstResult struct { // 预约订单ID BookOrderId int64 `json:"book_order_id,omitempty" xml:"book_order_id,omitempty"` // TC子订单号 SubTcOrderId int64 `json:"sub_tc_order_id,omitempty" xml:"sub_tc_order_id,omitempty"` // 预约ID(主键) BookInfoId int64 `json:"book_info_id,omitempty" xml:"book_info_id,omitempty"` // TC主订单号 TcOrderId int64 `json:"tc_order_id,omitempty" xml:"tc_order_id,omitempty"` }
FirstResult 结构体
type HotelTicketVerifyVoucherDto ¶ added in v1.2.5
type HotelTicketVerifyVoucherDto struct { // 凭证码 Code string `json:"code,omitempty" xml:"code,omitempty"` // 使用时间:yyyy-MM-dd HH:mm:ss UseDate string `json:"use_date,omitempty" xml:"use_date,omitempty"` // 证件号 CertificateId string `json:"certificate_id,omitempty" xml:"certificate_id,omitempty"` // 凭证类型 1:票码, 2:券码 Type int64 `json:"type,omitempty" xml:"type,omitempty"` // 票或券 核销使用数量 UsageNums int64 `json:"usage_nums,omitempty" xml:"usage_nums,omitempty"` // 业务类型:1:门票, 2:酒店 BizType int64 `json:"biz_type,omitempty" xml:"biz_type,omitempty"` }
HotelTicketVerifyVoucherDto 结构体
type HotelTicketVoucherDto ¶ added in v1.2.5
type HotelTicketVoucherDto struct { // 凭证码 Code string `json:"code,omitempty" xml:"code,omitempty"` // 证件号 CertificateId string `json:"certificate_id,omitempty" xml:"certificate_id,omitempty"` // 二维码图片链接 Url string `json:"url,omitempty" xml:"url,omitempty"` // 每张票或券可使用次数(如针对一码多刷,往返索道3张票1个码,每张票可使用次数为2,则该码可以刷6次 AvailableNums int64 `json:"available_nums,omitempty" xml:"available_nums,omitempty"` // 凭证类型 1:票码, 2:券码 Type int64 `json:"type,omitempty" xml:"type,omitempty"` // 已使用次数 UsageNums int64 `json:"usage_nums,omitempty" xml:"usage_nums,omitempty"` // 业务类型:1:门票, 2:酒店 BizType int64 `json:"biz_type,omitempty" xml:"biz_type,omitempty"` // 凭证 可用/不可用 CanUse bool `json:"can_use,omitempty" xml:"can_use,omitempty"` }
HotelTicketVoucherDto 结构体
type MemoCreate ¶
type MemoCreate struct { // 备注添加时间 Created string `json:"created,omitempty" xml:"created,omitempty"` // 交易ID Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"` }
MemoCreate 结构体
type MemoUpdate ¶
type MemoUpdate struct { // 关闭订单时间 Modified string `json:"modified,omitempty" xml:"modified,omitempty"` // 交易ID Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"` }
MemoUpdate 结构体
type NormalVisaApplicantInfo ¶
type NormalVisaApplicantInfo struct { // 可选,申请人ID。更新申请人基本信息时必填,新增申请人信息时不用填 ApplyId string `json:"apply_id,omitempty" xml:"apply_id,omitempty"` // 姓,新增申请人时必填 Surname string `json:"surname,omitempty" xml:"surname,omitempty"` // 名,新增申请人时必填 GivenName string `json:"given_name,omitempty" xml:"given_name,omitempty"` // 手机号,新增申请人时必填 Mobile string `json:"mobile,omitempty" xml:"mobile,omitempty"` // 证件号(护照、入台证等),新增申请人时必填 CertNo string `json:"cert_no,omitempty" xml:"cert_no,omitempty"` // 办理人中文全名 ApplyNameCn string `json:"apply_name_cn,omitempty" xml:"apply_name_cn,omitempty"` // 办理人身份类型(8-在职人员,9-自由职业,10-在校学生,11-退休人员,12-学龄年儿童,13-所有申请者,14-单个成年人,15-随行直系亲属,16-在读学生) UserType int64 `json:"user_type,omitempty" xml:"user_type,omitempty"` }
NormalVisaApplicantInfo 结构体
type NormalVisaApplicantOperation ¶
type NormalVisaApplicantOperation struct { // 签证需补充材料(即状态为1012)时必填,0:护照,1:证件照,2:申请表,3:身份证,4:户口本,5:暂住证,6:在职收入证明,7:营业执照,8:组织机构代码证,9:结婚证,10:个人信息处理同意书,11:退休证,12:保险订单,13:在读证明,14:机票预订证明,15:酒店预订证明,16:财力证明,17:房产证,18:汽车驾驶证,19:社保缴纳记录,20:学校准假证明,21:儿童出生医学证明,22:未成年人亲属关系证明,23:其他材料,24:银行存款证明,25:学生证,26:其他材料2,27:其他材料3,28:居住证,29:车辆登记证,34:保险声明,36:出行同意书,38:职业证明,39:以往申根签证页 NeedModifyDocTypes []string `json:"need_modify_doc_types,omitempty" xml:"need_modify_doc_types>string,omitempty"` // 必填,申请人ID ApplyId string `json:"apply_id,omitempty" xml:"apply_id,omitempty"` // 可选,备注 Remark string `json:"remark,omitempty" xml:"remark,omitempty"` // 代填申请人信息。字段注释:1.sex(性别),值:M/F;2.nationality(国籍),值:CHN(中国大陆),HKG(中国香港),MAC(中国澳门),USA(美国),CAN(加拿大) ApplicantFormDataJson string `json:"applicant_form_data_json,omitempty" xml:"applicant_form_data_json,omitempty"` // 特殊必填,上传该申请人 电子签结果。当该签证为电子签证且status值为1006(已收到签证结果)时 必填 EtaInfo *NormalVisaETAInfo `json:"eta_info,omitempty" xml:"eta_info,omitempty"` // 特殊必填,上传该申请人 签证结果寄回物流信息。当status值为1013(已寄回结果)时,必填 LogisticsInfo *NormalVisaLogisticsInfo `json:"logistics_info,omitempty" xml:"logistics_info,omitempty"` // 必填,申请人状态推进,本次操作需要推进到的目标状态。具体状态值枚举及推进流程详见:https://open.alitrip.com/docs/doc.htm?spm=a21tt.7629140.0.0.fYvMkZ&docType=1&articleId=108046&previewCode=9D5F931C2254C7B3FE16B8DB7F9CECB4 Status int64 `json:"status,omitempty" xml:"status,omitempty"` // 特殊必填,上传该申请人 预约面试信息。当status值为1007(已预约面试)时 必填 AppointmentInfo *NormalVisaAppointmentInfo `json:"appointment_info,omitempty" xml:"appointment_info,omitempty"` }
NormalVisaApplicantOperation 结构体
type NormalVisaAppointmentInfo ¶
type NormalVisaAppointmentInfo struct { // 必填,预约面试信pdf文件名称。具体的pdf文件字节流信息请设置到父级参数的 fileBytes字段!!! BookFileName string `json:"book_file_name,omitempty" xml:"book_file_name,omitempty"` // 必填,预约时间,格式:yyyy-MM-dd hh:mm:ss BookTime string `json:"book_time,omitempty" xml:"book_time,omitempty"` // 必填,预约地点 BookPlace string `json:"book_place,omitempty" xml:"book_place,omitempty"` }
NormalVisaAppointmentInfo 结构体
type NormalVisaDocumentInfo ¶
type NormalVisaDocumentInfo struct { // 特殊必填,上传子材料,如上传护照封面 SubDocumentInfos []NormalVisaSubDocumentInfo `json:"sub_document_infos,omitempty" xml:"sub_document_infos>normal_visa_sub_document_info,omitempty"` // 文件类型 FileType string `json:"file_type,omitempty" xml:"file_type,omitempty"` // base64编码的文件内容 FileContent string `json:"file_content,omitempty" xml:"file_content,omitempty"` // 文档编号,0:护照,1:证件照,2:申请表,3:身份证,4:户口本,5:暂住证,6:在职收入证明,7:营业执照,8:组织机构代码证,9:结婚证,10:个人信息处理同意书,11:退休证,12:保险订单,13:在读证明,14:机票预订证明,15:酒店预订证明,16:财力证明,17:房产证,18:汽车驾驶证,19:社保缴纳记录,20:学校准假证明,21:儿童出生医学证明,22:未成年人亲属关系证明,23:其他材料,24:银行存款证明,25:学生证,26:其他材料2,27:其他材料3,28:居住证,29:车辆登记证,34:保险声明,36:出行同意书,38:职业证明,39:以往申根签证页 DocType int64 `json:"doc_type,omitempty" xml:"doc_type,omitempty"` }
NormalVisaDocumentInfo 结构体
type NormalVisaETAInfo ¶ added in v1.2.8
type NormalVisaETAInfo struct { // 必填,电子签pdf文件名称。具体的pdf文件字节流信息请设置到父级参数的 fileBytes字段!!! FileName string `json:"file_name,omitempty" xml:"file_name,omitempty"` }
NormalVisaETAInfo 结构体
type NormalVisaLogisticsInfo ¶
type NormalVisaLogisticsInfo struct { // 必填,物流号 PostNumber string `json:"post_number,omitempty" xml:"post_number,omitempty"` // 必填,物流公司编码 PostCompanyCode string `json:"post_company_code,omitempty" xml:"post_company_code,omitempty"` // 必填,物流公司名称 PostCompanyName string `json:"post_company_name,omitempty" xml:"post_company_name,omitempty"` // 选填,物流联系人手机号(顺丰物流需要) ConcatPhone string `json:"concat_phone,omitempty" xml:"concat_phone,omitempty"` }
NormalVisaLogisticsInfo 结构体
type NormalVisaSubDocumentInfo ¶
type NormalVisaSubDocumentInfo struct { // 文件类型 FileType string `json:"file_type,omitempty" xml:"file_type,omitempty"` // base64编码的文件内容 FileContent string `json:"file_content,omitempty" xml:"file_content,omitempty"` // 子材料文档编号,10001:护照封面,10002:护照首页,11401:去程机票,11402:返程机票 DocType int64 `json:"doc_type,omitempty" xml:"doc_type,omitempty"` }
NormalVisaSubDocumentInfo 结构体
type OrderTemplateInfo ¶
type OrderTemplateInfo struct { // 填充字段列表 ModelList []OrderTipFormInfo `json:"model_list,omitempty" xml:"model_list>order_tip_form_info,omitempty"` // 模版对应的类目ID CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"` // 模版对应ID TemplateId int64 `json:"template_id,omitempty" xml:"template_id,omitempty"` // 模版对应版本 Version int64 `json:"version,omitempty" xml:"version,omitempty"` }
OrderTemplateInfo 结构体
type OrderTipFormInfo ¶
type OrderTipFormInfo struct { // 字段可接收数据类型 AcceptTypes []string `json:"accept_types,omitempty" xml:"accept_types>string,omitempty"` // 选择项, 当type = select / selects 的时候存在 Options []OrderTipOptionInfo `json:"options,omitempty" xml:"options>order_tip_option_info,omitempty"` // 字段对应的值,多选值 Values []string `json:"values,omitempty" xml:"values>string,omitempty"` // 字段具体描述 Desc string `json:"desc,omitempty" xml:"desc,omitempty"` // 字段中文名称 Title string `json:"title,omitempty" xml:"title,omitempty"` // 字段属性名,在做服务信息回传时需要用到的KEY Name string `json:"name,omitempty" xml:"name,omitempty"` // 字段对应的值,单选值 Value string `json:"value,omitempty" xml:"value,omitempty"` // 最大数量 (如最大文件上传数量, 最大图片上传数量等) MaxNum int64 `json:"max_num,omitempty" xml:"max_num,omitempty"` // 字段匹配规则 Rule *OrderTipRuleInfo `json:"rule,omitempty" xml:"rule,omitempty"` }
OrderTipFormInfo 结构体
type OrderTipInfoResult ¶
type OrderTipInfoResult struct { // 查看模版链接 ViewTemplateUrl string `json:"view_template_url,omitempty" xml:"view_template_url,omitempty"` // 模版详情 TemplateInfo *OrderTemplateInfo `json:"template_info,omitempty" xml:"template_info,omitempty"` // 是否是最新的模版,如果订单没有标注模版,则默认取最新的模版数据;如果订单有标注模版,则取对应的模版信息; IsNew bool `json:"is_new,omitempty" xml:"is_new,omitempty"` }
OrderTipInfoResult 结构体
type OrderTipOptionInfo ¶
type OrderTipOptionInfo struct { // select对应的text值 Text string `json:"text,omitempty" xml:"text,omitempty"` // select对应的value值 Value string `json:"value,omitempty" xml:"value,omitempty"` }
OrderTipOptionInfo 结构体
type OrderTipRuleInfo ¶
type OrderTipRuleInfo struct { // 字段描述 Msg string `json:"msg,omitempty" xml:"msg,omitempty"` // 字段正则表达式,字段值必须和正则匹配,否则上传服务信息会报错 Regex string `json:"regex,omitempty" xml:"regex,omitempty"` // 字段是否必须 Require bool `json:"require,omitempty" xml:"require,omitempty"` }
OrderTipRuleInfo 结构体
type PayInfo ¶
type PayInfo struct { // 支付宝交易号 AlipayNo string `json:"alipay_no,omitempty" xml:"alipay_no,omitempty"` // 订单付款时间 PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"` // 分阶段付款的订单状态,目前有三返回状态FRONT_NOPAID_FINAL_NOPAID(定金未付尾款未付),FRONT_PAID_FINAL_NOPAID(定金已付尾款未付),FRONT_PAID_FINAL_PAID(定金和尾款都付) StepTradeStatus string `json:"step_trade_status,omitempty" xml:"step_trade_status,omitempty"` // 系统优惠金额(如打折,VIP,满就送等),精确到2位小数,单位:分。 DiscountFee int64 `json:"discount_fee,omitempty" xml:"discount_fee,omitempty"` // 卖家实际收到的支付宝打款金额(由于子订单可以部分确认收货,这个金额会随着子订单的确认收货而不断增加,交易成功后等于买家实付款减去退款金额)。精确到2位小数;单位:分 ReceivedPayment int64 `json:"received_payment,omitempty" xml:"received_payment,omitempty"` // 分阶段付款的已付金额 StepPaidFee int64 `json:"step_paid_fee,omitempty" xml:"step_paid_fee,omitempty"` }
PayInfo 结构体
type ProductPriceStockDto ¶ added in v1.2.5
type ProductPriceStockDto struct { // 场次价库信息 Sessions []ProductSessionDto `json:"sessions,omitempty" xml:"sessions>product_session_dto,omitempty"` // 日期。yyyy-MM-dd Date string `json:"date,omitempty" xml:"date,omitempty"` // 库存 Stock int64 `json:"stock,omitempty" xml:"stock,omitempty"` // 产品结算单价。单位:分 WholesalePrice int64 `json:"wholesale_price,omitempty" xml:"wholesale_price,omitempty"` // 产品销售单价。单位:分 RetailPrice int64 `json:"retail_price,omitempty" xml:"retail_price,omitempty"` // 是否可售卖;true:可售卖 CanSell bool `json:"can_sell,omitempty" xml:"can_sell,omitempty"` }
ProductPriceStockDto 结构体
type ProductSessionDto ¶ added in v1.2.5
type ProductSessionDto struct { // 开始时间。HH:mm StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"` // 场次ID SessionId string `json:"session_id,omitempty" xml:"session_id,omitempty"` // 结束时间。HH:mm EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"` // 场次库存 Stock int64 `json:"stock,omitempty" xml:"stock,omitempty"` // 产品场次结算单价。单位:分 WholesalePrice int64 `json:"wholesale_price,omitempty" xml:"wholesale_price,omitempty"` // 产品场次销售单价。单位:分 RetailPrice int64 `json:"retail_price,omitempty" xml:"retail_price,omitempty"` }
ProductSessionDto 结构体
type ProductUpdateDto ¶ added in v1.2.5
type ProductUpdateDto struct { // 场次ID信息 SessionIds []string `json:"session_ids,omitempty" xml:"session_ids>string,omitempty"` // 扩展参数 ExtendParams string `json:"extend_params,omitempty" xml:"extend_params,omitempty"` // 系统商商品码 ProductId string `json:"product_id,omitempty" xml:"product_id,omitempty"` // 产品变更开始时间 yyyy-MM-dd StartDate string `json:"start_date,omitempty" xml:"start_date,omitempty"` // 产品变更结束时间 yyyy-MM-dd EndDate string `json:"end_date,omitempty" xml:"end_date,omitempty"` // 产品变更通知类型 1:价格,2:库存,3:价库 NotifyType int64 `json:"notify_type,omitempty" xml:"notify_type,omitempty"` }
ProductUpdateDto 结构体
type ProductUpdatePushDto ¶ added in v1.2.5
type ProductUpdatePushDto struct { // 日历价格库存信息 日历价格库存信息 PriceStocks []ProductPriceStockDto `json:"price_stocks,omitempty" xml:"price_stocks>product_price_stock_dto,omitempty"` // 系统商商品码 ProductId string `json:"product_id,omitempty" xml:"product_id,omitempty"` // 床型ID BedId string `json:"bed_id,omitempty" xml:"bed_id,omitempty"` // 酒店ID HotelId string `json:"hotel_id,omitempty" xml:"hotel_id,omitempty"` // 房型ID RoomId string `json:"room_id,omitempty" xml:"room_id,omitempty"` // 扩展参数 ExtendParams string `json:"extend_params,omitempty" xml:"extend_params,omitempty"` // 产品变更通知类型 1:价格,2:库存,3:价库 NotifyType int64 `json:"notify_type,omitempty" xml:"notify_type,omitempty"` // 模式 默认值1;1:普通日历/预约商品(非通兑和非任选) Mode int64 `json:"mode,omitempty" xml:"mode,omitempty"` }
ProductUpdatePushDto 结构体
type PromotionDetail ¶
type PromotionDetail struct { // 优惠金额(免运费、限时打折时为空),单位:分 DiscountFee string `json:"discount_fee,omitempty" xml:"discount_fee,omitempty"` // 优惠活动的描述 PromotionDesc string `json:"promotion_desc,omitempty" xml:"promotion_desc,omitempty"` // 优惠id,(由营销工具id、优惠活动id和优惠详情id组成,结构为:营销工具id-优惠活动id_优惠详情id,如mjs-123024_211143) PromotionId string `json:"promotion_id,omitempty" xml:"promotion_id,omitempty"` // 优惠信息的名称 PromotionName string `json:"promotion_name,omitempty" xml:"promotion_name,omitempty"` // 交易的主订单或子订单号 Id int64 `json:"id,omitempty" xml:"id,omitempty"` }
PromotionDetail 结构体
type ScoreDetail ¶
type ScoreDetail struct { // 评价内容 Content string `json:"content,omitempty" xml:"content,omitempty"` // 评价分数 Score string `json:"score,omitempty" xml:"score,omitempty"` // 评价维度 DimensionName string `json:"dimension_name,omitempty" xml:"dimension_name,omitempty"` }
ScoreDetail 结构体
type SellerInfo ¶
type SellerInfo struct { // 卖家邮件地址 SellerEmail string `json:"seller_email,omitempty" xml:"seller_email,omitempty"` // 卖家备注 SellerMemo string `json:"seller_memo,omitempty" xml:"seller_memo,omitempty"` // 卖家姓名 SellerName string `json:"seller_name,omitempty" xml:"seller_name,omitempty"` // 卖家昵称 SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"` // 卖家联系方式 SellerPhone string `json:"seller_phone,omitempty" xml:"seller_phone,omitempty"` // 卖家店铺名称 SellerShop string `json:"seller_shop,omitempty" xml:"seller_shop,omitempty"` // 卖家备注旗帜(与淘宝网上订单的卖家备注旗帜对应,只有卖家才能查看该字段)红、黄、绿、蓝、紫 分别对应 1、2、3、4、5 SellerFlag int64 `json:"seller_flag,omitempty" xml:"seller_flag,omitempty"` // 卖家是否可以对订单进行评价 SellerCanRate bool `json:"seller_can_rate,omitempty" xml:"seller_can_rate,omitempty"` // 卖家是否已评价。可选值:true(已评价),false(未评价) SellerRate bool `json:"seller_rate,omitempty" xml:"seller_rate,omitempty"` }
SellerInfo 结构体
type SubOrderInfo ¶
type SubOrderInfo struct { // 出行人信息 Travellers []TravellerInfo `json:"travellers,omitempty" xml:"travellers>traveller_info,omitempty"` // 子订单交易结束时间。交易成功时间(更新交易状态为成功的同时更新)/确认收货时间或者交易关闭时间 EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"` // 子订单超时自动关单(卖家未能及时发货)时间 ExpireTime string `json:"expire_time,omitempty" xml:"expire_time,omitempty"` // 子订单扩展属性。KV对结构。每个KV对间使用分号隔开。如:k1:v1;k2:v2 ExtendAttributes string `json:"extend_attributes,omitempty" xml:"extend_attributes,omitempty"` // 退款状态。WAIT_SELLER_AGREE(买家已经申请退款,等待卖家同意);WAIT_BUYER_RETURN_GOODS(卖家已经同意退款,等待买家退货);WAIT_SELLER_CONFIRM_GOODS(买家已经退货,等待卖家确认收货);SELLER_REFUSE_BUYER(卖家拒绝退款);CLOSED(退款关闭);SUCCESS(退款成功) RefundStatus string `json:"refund_status,omitempty" xml:"refund_status,omitempty"` // 子订单状态 Status string `json:"status,omitempty" xml:"status,omitempty"` // string类型子订单id SubOrderIdString string `json:"sub_order_id_string,omitempty" xml:"sub_order_id_string,omitempty"` // 订单处理时间 精确到秒 ProcessTime string `json:"process_time,omitempty" xml:"process_time,omitempty"` // 卖家手工调整金额,单位:分 AdjustFee int64 `json:"adjust_fee,omitempty" xml:"adjust_fee,omitempty"` // 订单所属业务类型。0-未知,1-度假(自由行,跟团游),2-普通签证,3-门票,4-wifi,7-当地玩乐,9-邮轮,10-用车,12-电话卡,17-流量充值,18-港澳签注,20-旅行租赁 BizType int64 `json:"biz_type,omitempty" xml:"biz_type,omitempty"` // 购买的商品信息(商品、sku信息,单价、数量、出行日期等信息) BuyItemInfo *BuyItemInfo `json:"buy_item_info,omitempty" xml:"buy_item_info,omitempty"` // 联系人/取件人信息。通用联系人信息,没有配置度假出行人模板的商品订单(如wifi电话卡等类目),从这里获取联系人或取件人信息 Contactor *TravellerInfo `json:"contactor,omitempty" xml:"contactor,omitempty"` // 子订单优惠金额(如打折,VIP,满就送等),不包含带资优惠(如红包、旅行券)。单位:分 DiscountFee int64 `json:"discount_fee,omitempty" xml:"discount_fee,omitempty"` // 订单类型。1、普通订单,2、二次确认订单,3、二次预约订单 OrderType int64 `json:"order_type,omitempty" xml:"order_type,omitempty"` // 买家实付金额。单位:分 Payment int64 `json:"payment,omitempty" xml:"payment,omitempty"` // 子订单退款编号。如果子订单没有发生退款,则该值为空 RefundId int64 `json:"refund_id,omitempty" xml:"refund_id,omitempty"` // 子订单id SubOrderId int64 `json:"sub_order_id,omitempty" xml:"sub_order_id,omitempty"` // 应付金额(商品价格 * 商品数量 + 手工调整金额 - 子订单优惠金额),大于等于payment,因为可能包含了带资优惠(如红包、旅行券)。单位:分 TotalFee int64 `json:"total_fee,omitempty" xml:"total_fee,omitempty"` // 二次确认状态,1、待商家确认 2、确认不通过 3、确认通过 4、过期未确认 5、买家申请退款成功 6、票号验证 ConfirmStatus int64 `json:"confirm_status,omitempty" xml:"confirm_status,omitempty"` }
SubOrderInfo 结构体
type TaobaoAlitripTravelTradeMemoAddAPIRequest ¶ added in v1.2.0
type TaobaoAlitripTravelTradeMemoAddAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoAlitripTravelTradeMemoAddAPIRequest 添加一笔交易备注 API请求 taobao.alitrip.travel.trade.memo.add
对一笔交易添加备注
func NewTaobaoAlitripTravelTradeMemoAddRequest ¶
func NewTaobaoAlitripTravelTradeMemoAddRequest() *TaobaoAlitripTravelTradeMemoAddAPIRequest
NewTaobaoAlitripTravelTradeMemoAddRequest 初始化TaobaoAlitripTravelTradeMemoAddAPIRequest对象
func (TaobaoAlitripTravelTradeMemoAddAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoAlitripTravelTradeMemoAddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoAlitripTravelTradeMemoAddAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoAlitripTravelTradeMemoAddAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoAlitripTravelTradeMemoAddAPIRequest) GetFlag ¶ added in v1.2.0
func (r TaobaoAlitripTravelTradeMemoAddAPIRequest) GetFlag() int64
GetFlag Flag Getter
func (TaobaoAlitripTravelTradeMemoAddAPIRequest) GetMemo ¶ added in v1.2.0
func (r TaobaoAlitripTravelTradeMemoAddAPIRequest) GetMemo() string
GetMemo Memo Getter
func (TaobaoAlitripTravelTradeMemoAddAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoAlitripTravelTradeMemoAddAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoAlitripTravelTradeMemoAddAPIRequest) GetTid ¶ added in v1.2.0
func (r TaobaoAlitripTravelTradeMemoAddAPIRequest) GetTid() int64
GetTid Tid Getter
func (*TaobaoAlitripTravelTradeMemoAddAPIRequest) SetFlag ¶ added in v1.2.0
func (r *TaobaoAlitripTravelTradeMemoAddAPIRequest) SetFlag(_flag int64) error
SetFlag is Flag Setter 交易备注旗帜,可选值为:0(灰色), 1(红色), 2(黄色), 3(绿色), 4(蓝色), 5(粉红色),默认值为0
func (*TaobaoAlitripTravelTradeMemoAddAPIRequest) SetMemo ¶ added in v1.2.0
func (r *TaobaoAlitripTravelTradeMemoAddAPIRequest) SetMemo(_memo string) error
SetMemo is Memo Setter 交易备注。最大长度: 1000个字节
func (*TaobaoAlitripTravelTradeMemoAddAPIRequest) SetTid ¶ added in v1.2.0
func (r *TaobaoAlitripTravelTradeMemoAddAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 交易ID
type TaobaoAlitripTravelTradeMemoAddAPIResponse ¶
type TaobaoAlitripTravelTradeMemoAddAPIResponse struct { model.CommonResponse TaobaoAlitripTravelTradeMemoAddAPIResponseModel }
TaobaoAlitripTravelTradeMemoAddAPIResponse 添加一笔交易备注 API返回值 taobao.alitrip.travel.trade.memo.add
对一笔交易添加备注
type TaobaoAlitripTravelTradeMemoAddAPIResponseModel ¶ added in v1.2.0
type TaobaoAlitripTravelTradeMemoAddAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_travel_trade_memo_add_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 交易添加备注返回值 MemoAdd *MemoCreate `json:"memo_add,omitempty" xml:"memo_add,omitempty"` }
TaobaoAlitripTravelTradeMemoAddAPIResponseModel is 添加一笔交易备注 成功返回结果
type TaobaoAlitripTravelTradeMemoUpdateAPIRequest ¶ added in v1.2.0
type TaobaoAlitripTravelTradeMemoUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoAlitripTravelTradeMemoUpdateAPIRequest 修改一笔交易备注 API请求 taobao.alitrip.travel.trade.memo.update
更新一笔交易备注
func NewTaobaoAlitripTravelTradeMemoUpdateRequest ¶
func NewTaobaoAlitripTravelTradeMemoUpdateRequest() *TaobaoAlitripTravelTradeMemoUpdateAPIRequest
NewTaobaoAlitripTravelTradeMemoUpdateRequest 初始化TaobaoAlitripTravelTradeMemoUpdateAPIRequest对象
func (TaobaoAlitripTravelTradeMemoUpdateAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoAlitripTravelTradeMemoUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoAlitripTravelTradeMemoUpdateAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoAlitripTravelTradeMemoUpdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoAlitripTravelTradeMemoUpdateAPIRequest) GetFlag ¶ added in v1.2.0
func (r TaobaoAlitripTravelTradeMemoUpdateAPIRequest) GetFlag() int64
GetFlag Flag Getter
func (TaobaoAlitripTravelTradeMemoUpdateAPIRequest) GetMemo ¶ added in v1.2.0
func (r TaobaoAlitripTravelTradeMemoUpdateAPIRequest) GetMemo() string
GetMemo Memo Getter
func (TaobaoAlitripTravelTradeMemoUpdateAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoAlitripTravelTradeMemoUpdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoAlitripTravelTradeMemoUpdateAPIRequest) GetReset ¶ added in v1.2.0
func (r TaobaoAlitripTravelTradeMemoUpdateAPIRequest) GetReset() bool
GetReset Reset Getter
func (TaobaoAlitripTravelTradeMemoUpdateAPIRequest) GetTid ¶ added in v1.2.0
func (r TaobaoAlitripTravelTradeMemoUpdateAPIRequest) GetTid() int64
GetTid Tid Getter
func (*TaobaoAlitripTravelTradeMemoUpdateAPIRequest) SetFlag ¶ added in v1.2.0
func (r *TaobaoAlitripTravelTradeMemoUpdateAPIRequest) SetFlag(_flag int64) error
SetFlag is Flag Setter 交易备注旗帜,可选值为:0(灰色), 1(红色), 2(黄色), 3(绿色), 4(蓝色), 5(粉红色),默认值为0
func (*TaobaoAlitripTravelTradeMemoUpdateAPIRequest) SetMemo ¶ added in v1.2.0
func (r *TaobaoAlitripTravelTradeMemoUpdateAPIRequest) SetMemo(_memo string) error
SetMemo is Memo Setter 交易备注。最大长度: 1000个字节
func (*TaobaoAlitripTravelTradeMemoUpdateAPIRequest) SetReset ¶ added in v1.2.0
func (r *TaobaoAlitripTravelTradeMemoUpdateAPIRequest) SetReset(_reset bool) error
SetReset is Reset Setter 是否对memo的值置空若为true,则不管传入的memo字段的值是否为空,都将会对已有的memo值清空,慎用;若用false,则会根据memo是否为空来修改memo的值:若memo为空则忽略对已有memo字段的修改,若memo非空,则使用新传入的memo覆盖已有的memo的值
func (*TaobaoAlitripTravelTradeMemoUpdateAPIRequest) SetTid ¶ added in v1.2.0
func (r *TaobaoAlitripTravelTradeMemoUpdateAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 交易ID
type TaobaoAlitripTravelTradeMemoUpdateAPIResponse ¶
type TaobaoAlitripTravelTradeMemoUpdateAPIResponse struct { model.CommonResponse TaobaoAlitripTravelTradeMemoUpdateAPIResponseModel }
TaobaoAlitripTravelTradeMemoUpdateAPIResponse 修改一笔交易备注 API返回值 taobao.alitrip.travel.trade.memo.update
更新一笔交易备注
type TaobaoAlitripTravelTradeMemoUpdateAPIResponseModel ¶ added in v1.2.0
type TaobaoAlitripTravelTradeMemoUpdateAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_travel_trade_memo_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 修改交易备注返回值 MemoUpdate *MemoUpdate `json:"memo_update,omitempty" xml:"memo_update,omitempty"` }
TaobaoAlitripTravelTradeMemoUpdateAPIResponseModel is 修改一笔交易备注 成功返回结果
type TaobaoTravelTicketOrderRefundAPIRequest ¶ added in v1.2.0
type TaobaoTravelTicketOrderRefundAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTravelTicketOrderRefundAPIRequest 飞猪门票退票结果通知 API请求 taobao.travel.ticket.order.refund
门票系统商通过TOP接口通知飞猪门票是否退票成功,以及退票数量。
func NewTaobaoTravelTicketOrderRefundRequest ¶
func NewTaobaoTravelTicketOrderRefundRequest() *TaobaoTravelTicketOrderRefundAPIRequest
NewTaobaoTravelTicketOrderRefundRequest 初始化TaobaoTravelTicketOrderRefundAPIRequest对象
func (TaobaoTravelTicketOrderRefundAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTravelTicketOrderRefundAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTravelTicketOrderRefundAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTravelTicketOrderRefundAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTravelTicketOrderRefundAPIRequest) GetOrderId ¶ added in v1.2.0
func (r TaobaoTravelTicketOrderRefundAPIRequest) GetOrderId() int64
GetOrderId OrderId Getter
func (TaobaoTravelTicketOrderRefundAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoTravelTicketOrderRefundAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoTravelTicketOrderRefundAPIRequest) GetRefundBatchNo ¶ added in v1.2.5
func (r TaobaoTravelTicketOrderRefundAPIRequest) GetRefundBatchNo() string
GetRefundBatchNo RefundBatchNo Getter
func (TaobaoTravelTicketOrderRefundAPIRequest) GetRefundFailureReason ¶ added in v1.2.0
func (r TaobaoTravelTicketOrderRefundAPIRequest) GetRefundFailureReason() string
GetRefundFailureReason RefundFailureReason Getter
func (TaobaoTravelTicketOrderRefundAPIRequest) GetRefundNum ¶ added in v1.2.5
func (r TaobaoTravelTicketOrderRefundAPIRequest) GetRefundNum() int64
GetRefundNum RefundNum Getter
func (TaobaoTravelTicketOrderRefundAPIRequest) GetRefundStatus ¶ added in v1.2.0
func (r TaobaoTravelTicketOrderRefundAPIRequest) GetRefundStatus() int64
GetRefundStatus RefundStatus Getter
func (*TaobaoTravelTicketOrderRefundAPIRequest) SetOrderId ¶ added in v1.2.0
func (r *TaobaoTravelTicketOrderRefundAPIRequest) SetOrderId(_orderId int64) error
SetOrderId is OrderId Setter 下单时订单ID
func (*TaobaoTravelTicketOrderRefundAPIRequest) SetRefundBatchNo ¶ added in v1.2.5
func (r *TaobaoTravelTicketOrderRefundAPIRequest) SetRefundBatchNo(_refundBatchNo string) error
SetRefundBatchNo is RefundBatchNo Setter 退票的批次号
func (*TaobaoTravelTicketOrderRefundAPIRequest) SetRefundFailureReason ¶ added in v1.2.0
func (r *TaobaoTravelTicketOrderRefundAPIRequest) SetRefundFailureReason(_refundFailureReason string) error
SetRefundFailureReason is RefundFailureReason Setter 退票失败理由
func (*TaobaoTravelTicketOrderRefundAPIRequest) SetRefundNum ¶ added in v1.2.5
func (r *TaobaoTravelTicketOrderRefundAPIRequest) SetRefundNum(_refundNum int64) error
SetRefundNum is RefundNum Setter 退票数量
func (*TaobaoTravelTicketOrderRefundAPIRequest) SetRefundStatus ¶ added in v1.2.0
func (r *TaobaoTravelTicketOrderRefundAPIRequest) SetRefundStatus(_refundStatus int64) error
SetRefundStatus is RefundStatus Setter 退票结果;1: 退票成功;2: 退票失败
type TaobaoTravelTicketOrderRefundAPIResponse ¶
type TaobaoTravelTicketOrderRefundAPIResponse struct { model.CommonResponse TaobaoTravelTicketOrderRefundAPIResponseModel }
TaobaoTravelTicketOrderRefundAPIResponse 飞猪门票退票结果通知 API返回值 taobao.travel.ticket.order.refund
门票系统商通过TOP接口通知飞猪门票是否退票成功,以及退票数量。
type TaobaoTravelTicketOrderRefundAPIResponseModel ¶ added in v1.2.0
type TaobaoTravelTicketOrderRefundAPIResponseModel struct { XMLName xml.Name `xml:"travel_ticket_order_refund_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 系统自动生成 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
TaobaoTravelTicketOrderRefundAPIResponseModel is 飞猪门票退票结果通知 成功返回结果
type TaobaoTravelTicketOrderVerifyAPIRequest ¶ added in v1.2.0
type TaobaoTravelTicketOrderVerifyAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoTravelTicketOrderVerifyAPIRequest 飞猪门票核销通知 API请求 taobao.travel.ticket.order.verify
系统商通过TOP接口调用通知飞猪门票核销情况
func NewTaobaoTravelTicketOrderVerifyRequest ¶
func NewTaobaoTravelTicketOrderVerifyRequest() *TaobaoTravelTicketOrderVerifyAPIRequest
NewTaobaoTravelTicketOrderVerifyRequest 初始化TaobaoTravelTicketOrderVerifyAPIRequest对象
func (TaobaoTravelTicketOrderVerifyAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TaobaoTravelTicketOrderVerifyAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoTravelTicketOrderVerifyAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TaobaoTravelTicketOrderVerifyAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoTravelTicketOrderVerifyAPIRequest) GetCheckNum ¶ added in v1.2.5
func (r TaobaoTravelTicketOrderVerifyAPIRequest) GetCheckNum() int64
GetCheckNum CheckNum Getter
func (TaobaoTravelTicketOrderVerifyAPIRequest) GetConfirmCode ¶ added in v1.2.5
func (r TaobaoTravelTicketOrderVerifyAPIRequest) GetConfirmCode() string
GetConfirmCode ConfirmCode Getter
func (TaobaoTravelTicketOrderVerifyAPIRequest) GetOrderId ¶ added in v1.2.0
func (r TaobaoTravelTicketOrderVerifyAPIRequest) GetOrderId() int64
GetOrderId OrderId Getter
func (TaobaoTravelTicketOrderVerifyAPIRequest) GetOutOrderId ¶ added in v1.2.0
func (r TaobaoTravelTicketOrderVerifyAPIRequest) GetOutOrderId() string
GetOutOrderId OutOrderId Getter
func (TaobaoTravelTicketOrderVerifyAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoTravelTicketOrderVerifyAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoTravelTicketOrderVerifyAPIRequest) GetReturnNum ¶ added in v1.2.5
func (r TaobaoTravelTicketOrderVerifyAPIRequest) GetReturnNum() int64
GetReturnNum ReturnNum Getter
func (TaobaoTravelTicketOrderVerifyAPIRequest) GetTotalNum ¶ added in v1.2.5
func (r TaobaoTravelTicketOrderVerifyAPIRequest) GetTotalNum() int64
GetTotalNum TotalNum Getter
func (TaobaoTravelTicketOrderVerifyAPIRequest) GetVoucherInfos ¶ added in v1.2.0
func (r TaobaoTravelTicketOrderVerifyAPIRequest) GetVoucherInfos() []VoucherInfoDto
GetVoucherInfos VoucherInfos Getter
func (TaobaoTravelTicketOrderVerifyAPIRequest) GetWriteOffType ¶ added in v1.2.0
func (r TaobaoTravelTicketOrderVerifyAPIRequest) GetWriteOffType() int64
GetWriteOffType WriteOffType Getter
func (*TaobaoTravelTicketOrderVerifyAPIRequest) SetCheckNum ¶ added in v1.2.5
func (r *TaobaoTravelTicketOrderVerifyAPIRequest) SetCheckNum(_checkNum int64) error
SetCheckNum is CheckNum Setter 核销次数
func (*TaobaoTravelTicketOrderVerifyAPIRequest) SetConfirmCode ¶ added in v1.2.5
func (r *TaobaoTravelTicketOrderVerifyAPIRequest) SetConfirmCode(_confirmCode string) error
SetConfirmCode is ConfirmCode Setter (新接入使用voucher_infos)用户短信会收到的确认号
func (*TaobaoTravelTicketOrderVerifyAPIRequest) SetOrderId ¶ added in v1.2.0
func (r *TaobaoTravelTicketOrderVerifyAPIRequest) SetOrderId(_orderId int64) error
SetOrderId is OrderId Setter 下单订单ID
func (*TaobaoTravelTicketOrderVerifyAPIRequest) SetOutOrderId ¶ added in v1.2.0
func (r *TaobaoTravelTicketOrderVerifyAPIRequest) SetOutOrderId(_outOrderId string) error
SetOutOrderId is OutOrderId Setter 外部订单ID
func (*TaobaoTravelTicketOrderVerifyAPIRequest) SetReturnNum ¶ added in v1.2.5
func (r *TaobaoTravelTicketOrderVerifyAPIRequest) SetReturnNum(_returnNum int64) error
SetReturnNum is ReturnNum Setter 门票取消数量
func (*TaobaoTravelTicketOrderVerifyAPIRequest) SetTotalNum ¶ added in v1.2.5
func (r *TaobaoTravelTicketOrderVerifyAPIRequest) SetTotalNum(_totalNum int64) error
SetTotalNum is TotalNum Setter 门票总共允许核销次数
func (*TaobaoTravelTicketOrderVerifyAPIRequest) SetVoucherInfos ¶ added in v1.2.0
func (r *TaobaoTravelTicketOrderVerifyAPIRequest) SetVoucherInfos(_voucherInfos []VoucherInfoDto) error
SetVoucherInfos is VoucherInfos Setter 使用凭证信息
func (*TaobaoTravelTicketOrderVerifyAPIRequest) SetWriteOffType ¶ added in v1.2.0
func (r *TaobaoTravelTicketOrderVerifyAPIRequest) SetWriteOffType(_writeOffType int64) error
SetWriteOffType is WriteOffType Setter 供应商核销回调类型:0表示使用本次核销数量(常规),1表示使用总核销数量(已使用+本次)
type TaobaoTravelTicketOrderVerifyAPIResponse ¶
type TaobaoTravelTicketOrderVerifyAPIResponse struct { model.CommonResponse TaobaoTravelTicketOrderVerifyAPIResponseModel }
TaobaoTravelTicketOrderVerifyAPIResponse 飞猪门票核销通知 API返回值 taobao.travel.ticket.order.verify
系统商通过TOP接口调用通知飞猪门票核销情况
type TaobaoTravelTicketOrderVerifyAPIResponseModel ¶ added in v1.2.0
type TaobaoTravelTicketOrderVerifyAPIResponseModel struct { XMLName xml.Name `xml:"travel_ticket_order_verify_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 成功状态true or false IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
TaobaoTravelTicketOrderVerifyAPIResponseModel is 飞猪门票核销通知 成功返回结果
type TopTripBookInfoResult ¶
type TopTripBookInfoResult struct { // 交易预定详情 Module *AlitripTravelBookinfoQueryModule `json:"module,omitempty" xml:"module,omitempty"` }
TopTripBookInfoResult 结构体
type TopTripOrderResult ¶
type TopTripOrderResult struct { // 主、子订单优惠信息 PromotionDetails []PromotionDetail `json:"promotion_details,omitempty" xml:"promotion_details>promotion_detail,omitempty"` // 主订单包含的各个子订单信息 SubOrders []SubOrderInfo `json:"sub_orders,omitempty" xml:"sub_orders>sub_order_info,omitempty"` // 评价对象 ScoreDetails []ScoreDetail `json:"score_details,omitempty" xml:"score_details>score_detail,omitempty"` // 订单创建时间 CreatedTime string `json:"created_time,omitempty" xml:"created_time,omitempty"` // 交易结束时间。交易成功时间(更新交易状态为成功的同时更新)/确认收货时间或者交易关闭时间 EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"` // 订单修改时间 ModifiedTime string `json:"modified_time,omitempty" xml:"modified_time,omitempty"` // 主订单状态。交易状态。可选值: TRADE_NO_CREATE_PAY(没有创建支付宝交易);WAIT_BUYER_PAY(等待买家付款);SELLER_CONSIGNED_PART(卖家部分发货);WAIT_SELLER_SEND_GOODS(等待卖家发货,即:买家已付款);WAIT_BUYER_CONFIRM_GOODS(等待买家确认收货,即:卖家已发货);TRADE_FINISHED(交易成功);TRADE_CLOSED(付款以后用户退款成功,交易自动关闭);TRADE_CLOSED_BY_TAOBAO(付款以前,卖家或买家主动关闭交易);PAY_PENDING(国际信用卡支付付款确认中); Status string `json:"status,omitempty" xml:"status,omitempty"` // 交易类型列表,fixed(一口价);auction(拍卖);guarantee_trade(一口价、拍卖);auto_delivery(自动发货);cod(货到付款);external_trade(统一外部交易);instant_trade(即时交易);b2c_cod(大商家货到付款);nopaid(即时到帐);eticket(电子凭证订单);step(分阶段付款) Type string `json:"type,omitempty" xml:"type,omitempty"` // string类型订单id OrderIdString string `json:"order_id_string,omitempty" xml:"order_id_string,omitempty"` // 取消原因 CancelReason string `json:"cancel_reason,omitempty" xml:"cancel_reason,omitempty"` // 评价xxxx RateContent string `json:"rate_content,omitempty" xml:"rate_content,omitempty"` // 买家信息 BuyerInfo *BuyerInfo `json:"buyer_info,omitempty" xml:"buyer_info,omitempty"` // 主订单id OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"` // 主订单支付信息 PayInfo *PayInfo `json:"pay_info,omitempty" xml:"pay_info,omitempty"` // 卖家信息 SellerInfo *SellerInfo `json:"seller_info,omitempty" xml:"seller_info,omitempty"` // 订单邮费,需要邮寄的实体商品才有 PostFee int64 `json:"post_fee,omitempty" xml:"post_fee,omitempty"` // 该笔订单是否押金合并支付订单(即该主订单是否已包含押金订单金额) OrderWithDepo bool `json:"order_with_depo,omitempty" xml:"order_with_depo,omitempty"` }
TopTripOrderResult 结构体
type TravellerInfo ¶
type TravellerInfo struct { // 出生日期,格式yyyy-mm-dd Birthday string `json:"birthday,omitempty" xml:"birthday,omitempty"` // 证件号码 CredentialNo string `json:"credential_no,omitempty" xml:"credential_no,omitempty"` // 联系电子邮箱 Email string `json:"email,omitempty" xml:"email,omitempty"` // 预留,KV对形式,商家自定义的个性化出行人信息。目前支持的Key列表如下:overseaPhoneNumber(国外手机号),emergencyPhoneNumber(紧急联系方式),memo(备注) ExtendAttributes string `json:"extend_attributes,omitempty" xml:"extend_attributes,omitempty"` // 证件签发国 IssueCountry string `json:"issue_country,omitempty" xml:"issue_country,omitempty"` // 证件签发地 IssuePlace string `json:"issue_place,omitempty" xml:"issue_place,omitempty"` // 姓名 Name string `json:"name,omitempty" xml:"name,omitempty"` // 姓名(拼音) NamePinyin string `json:"name_pinyin,omitempty" xml:"name_pinyin,omitempty"` // 国籍 Nationality string `json:"nationality,omitempty" xml:"nationality,omitempty"` // 联系电话 Phone string `json:"phone,omitempty" xml:"phone,omitempty"` // 具体收件地址(对于需要物流的实物商品) PostAddress string `json:"post_address,omitempty" xml:"post_address,omitempty"` // 收件区域 PostArea string `json:"post_area,omitempty" xml:"post_area,omitempty"` // 收件市(对于需要物流的实物商品) PostCity string `json:"post_city,omitempty" xml:"post_city,omitempty"` // 收件省(对于需要物流的实物商品) PostProvince string `json:"post_province,omitempty" xml:"post_province,omitempty"` // 证件有效期 ValidDate string `json:"valid_date,omitempty" xml:"valid_date,omitempty"` // 姓(拼音) SurnamePinyin string `json:"surname_pinyin,omitempty" xml:"surname_pinyin,omitempty"` // 名(拼音) GivenNamePinyin string `json:"given_name_pinyin,omitempty" xml:"given_name_pinyin,omitempty"` // 预留,暂时无用 ExtendAttributesJson string `json:"extend_attributes_json,omitempty" xml:"extend_attributes_json,omitempty"` // 证件类型。0:身份证 1:护照 2:学生证3:军官证 4:回乡证 5:台胞证 6:港澳通行证 10:警官证 11:士兵证 12:台湾通行证 CredentialType int64 `json:"credential_type,omitempty" xml:"credential_type,omitempty"` // 性别。0-男,1-女 Sex int64 `json:"sex,omitempty" xml:"sex,omitempty"` }
TravellerInfo 结构体
type TravellerInfos ¶
type TravellerInfos struct { // 证件签发日期 IssuedDate string `json:"issued_date,omitempty" xml:"issued_date,omitempty"` // 拼音姓 LastName string `json:"last_name,omitempty" xml:"last_name,omitempty"` // 1: 出行管理 2: 二次预约 4: 二次确认 8: 电子合同 16:电子凭证 32:自定义出行人 64:门票 BizType string `json:"biz_type,omitempty" xml:"biz_type,omitempty"` // 子订单ID SubTcOrderId string `json:"sub_tc_order_id,omitempty" xml:"sub_tc_order_id,omitempty"` // 子订单ID TcOrderId string `json:"tc_order_id,omitempty" xml:"tc_order_id,omitempty"` // 出行人姓名 TravellerName string `json:"traveller_name,omitempty" xml:"traveller_name,omitempty"` // 买家备注 BuyerRemark string `json:"buyer_remark,omitempty" xml:"buyer_remark,omitempty"` // 修改时间 ModifyTime string `json:"modify_time,omitempty" xml:"modify_time,omitempty"` // 类型 出行人(签署人)为0或空,联系人为1 PersonType string `json:"person_type,omitempty" xml:"person_type,omitempty"` // sku Sku string `json:"sku,omitempty" xml:"sku,omitempty"` // 证件号码 CredentialsCode string `json:"credentials_code,omitempty" xml:"credentials_code,omitempty"` // 根据子订单ID列表查询 SubTcOrderIds string `json:"sub_tc_order_ids,omitempty" xml:"sub_tc_order_ids,omitempty"` // 姓名的拼音,格式为:xing/ming,中间以“/”分隔 TravellerNamePinyin string `json:"traveller_name_pinyin,omitempty" xml:"traveller_name_pinyin,omitempty"` // 用户是通过哪个终端填写 TerminalType string `json:"terminal_type,omitempty" xml:"terminal_type,omitempty"` // 拼音名 FirstName string `json:"first_name,omitempty" xml:"first_name,omitempty"` // 商品ID ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"` // 国籍 Nationality string `json:"nationality,omitempty" xml:"nationality,omitempty"` // 创建时间 CreateTime string `json:"create_time,omitempty" xml:"create_time,omitempty"` // 证件签发国 IssuedCountry string `json:"issued_country,omitempty" xml:"issued_country,omitempty"` // 电话 Telphone string `json:"telphone,omitempty" xml:"telphone,omitempty"` // 自定义出行人的时候的json格式 TravellerJson string `json:"traveller_json,omitempty" xml:"traveller_json,omitempty"` // 预约ID BookInfoId int64 `json:"book_info_id,omitempty" xml:"book_info_id,omitempty"` // 证件类型 CredentialsType int64 `json:"credentials_type,omitempty" xml:"credentials_type,omitempty"` // 是否仅更新bookId字段 OnlyUpateBookId bool `json:"only_upate_book_id,omitempty" xml:"only_upate_book_id,omitempty"` }
TravellerInfos 结构体
type VoucherInfoDto ¶
type VoucherInfoDto struct { // 用户短信会收到的确认号 ConfirmCode string `json:"confirm_code,omitempty" xml:"confirm_code,omitempty"` // 凭证使用时间,格式:yyyy-MM-dd HH:mm:ss UsedDate string `json:"used_date,omitempty" xml:"used_date,omitempty"` // 凭证使用次数 UsedQuantity int64 `json:"used_quantity,omitempty" xml:"used_quantity,omitempty"` }
VoucherInfoDto 结构体
Source Files ¶
- AlitripTravelBookinfoQueryAPIRequest.go
- AlitripTravelBookinfoQueryAPIResponse.go
- AlitripTravelBookinfoQueryModule.go
- AlitripTravelBookinfosSearchAPIRequest.go
- AlitripTravelBookinfosSearchAPIResponse.go
- AlitripTravelHotelticketOrderCreateAPIRequest.go
- AlitripTravelHotelticketOrderCreateAPIResponse.go
- AlitripTravelHotelticketOrderRefundAPIRequest.go
- AlitripTravelHotelticketOrderRefundAPIResponse.go
- AlitripTravelHotelticketOrderVerifyAPIRequest.go
- AlitripTravelHotelticketOrderVerifyAPIResponse.go
- AlitripTravelHotelticketProductProductupdateAPIRequest.go
- AlitripTravelHotelticketProductProductupdateAPIResponse.go
- AlitripTravelHotelticketProductProductupdatepushAPIRequest.go
- AlitripTravelHotelticketProductProductupdatepushAPIResponse.go
- AlitripTravelTradeCloseAPIRequest.go
- AlitripTravelTradeCloseAPIResponse.go
- AlitripTravelTradeDeliverAPIRequest.go
- AlitripTravelTradeDeliverAPIResponse.go
- AlitripTravelTradeQueryAPIRequest.go
- AlitripTravelTradeQueryAPIResponse.go
- AlitripTravelTradeServiceinfoWriteAPIRequest.go
- AlitripTravelTradeServiceinfoWriteAPIResponse.go
- AlitripTravelTradeServiceinfoWriteResultSet.go
- AlitripTravelTradeTemplateQueryAPIRequest.go
- AlitripTravelTradeTemplateQueryAPIResponse.go
- AlitripTravelTradeTemplateQueryResultSet.go
- AlitripTravelTradesSearchAPIRequest.go
- AlitripTravelTradesSearchAPIResponse.go
- AlitripTravelVisaApplicantUpdateAPIRequest.go
- AlitripTravelVisaApplicantUpdateAPIResponse.go
- BuyItemInfo.go
- BuyerInfo.go
- FirstResult.go
- HotelTicketVerifyVoucherDto.go
- HotelTicketVoucherDto.go
- MemoCreate.go
- MemoUpdate.go
- NormalVisaApplicantInfo.go
- NormalVisaApplicantOperation.go
- NormalVisaAppointmentInfo.go
- NormalVisaDocumentInfo.go
- NormalVisaETAInfo.go
- NormalVisaLogisticsInfo.go
- NormalVisaSubDocumentInfo.go
- OrderTemplateInfo.go
- OrderTipFormInfo.go
- OrderTipInfoResult.go
- OrderTipOptionInfo.go
- OrderTipRuleInfo.go
- PayInfo.go
- ProductPriceStockDto.go
- ProductSessionDto.go
- ProductUpdateDto.go
- ProductUpdatePushDto.go
- PromotionDetail.go
- ScoreDetail.go
- SellerInfo.go
- SubOrderInfo.go
- TaobaoAlitripTravelTradeMemoAddAPIRequest.go
- TaobaoAlitripTravelTradeMemoAddAPIResponse.go
- TaobaoAlitripTravelTradeMemoUpdateAPIRequest.go
- TaobaoAlitripTravelTradeMemoUpdateAPIResponse.go
- TaobaoTravelTicketOrderRefundAPIRequest.go
- TaobaoTravelTicketOrderRefundAPIResponse.go
- TaobaoTravelTicketOrderVerifyAPIRequest.go
- TaobaoTravelTicketOrderVerifyAPIResponse.go
- TopTripBookInfoResult.go
- TopTripOrderResult.go
- TravellerInfo.go
- TravellerInfos.go
- VoucherInfoDto.go
- doc.go