axintrade

package
v1.2.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 11, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package axintrade 包含阿信-交易API相关结构体

https://open.taobao.com/API.htm?docType=2&docId=55695

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArrivalTimeDto added in v1.2.8

type ArrivalTimeDto struct {
	// 小时房可入住的最早时间
	CheckInStart string `json:"check_in_start,omitempty" xml:"check_in_start,omitempty"`
	// 小时房最晚离店时间
	LastLeaveTime string `json:"last_leave_time,omitempty" xml:"last_leave_time,omitempty"`
	// 连住时长
	Hourage int64 `json:"hourage,omitempty" xml:"hourage,omitempty"`
}

ArrivalTimeDto 结构体

type AttractionPackageDto added in v1.2.5

type AttractionPackageDto struct {
	// 产品价格
	Prices []ProductPriceDto `json:"prices,omitempty" xml:"prices>product_price_dto,omitempty"`
	// 产品库存
	Inventories []ProductInventoryDto `json:"inventories,omitempty" xml:"inventories>product_inventory_dto,omitempty"`
	// 套餐酒店产品信息
	HotelRates []PackageHotelRateDto `json:"hotel_rates,omitempty" xml:"hotel_rates>package_hotel_rate_dto,omitempty"`
	// 套餐门票产品信息
	TicketInfos []PackageTicketInfoDto `json:"ticket_infos,omitempty" xml:"ticket_infos>package_ticket_info_dto,omitempty"`
	// 餐饮信息
	CateringInfos []PackageCateringInfoDto `json:"catering_infos,omitempty" xml:"catering_infos>package_catering_info_dto,omitempty"`
	// 其他信息
	OtherProducts []PackageOtherProductDto `json:"other_products,omitempty" xml:"other_products>package_other_product_dto,omitempty"`
	// 酒店使用须知
	HotelPolicies []PackageHotelPolicyDto `json:"hotel_policies,omitempty" xml:"hotel_policies>package_hotel_policy_dto,omitempty"`
	// 门票使用须知
	TicketPolicies []PackageTicketPolicyDto `json:"ticket_policies,omitempty" xml:"ticket_policies>package_ticket_policy_dto,omitempty"`
	// 餐饮使用规则
	CateringPolicies []PackageCateringPolicyDto `json:"catering_policies,omitempty" xml:"catering_policies>package_catering_policy_dto,omitempty"`
	// 其他产品使用须知
	OtherPolicies []PackageCateringPolicyDto `json:"other_policies,omitempty" xml:"other_policies>package_catering_policy_dto,omitempty"`
	// 套餐名称
	PackageName string `json:"package_name,omitempty" xml:"package_name,omitempty"`
	// 套餐描述
	PackageDesc string `json:"package_desc,omitempty" xml:"package_desc,omitempty"`
	// 费用不包含
	CostNotInclude string `json:"cost_not_include,omitempty" xml:"cost_not_include,omitempty"`
	// 酒景套餐ID
	ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// 退改规则
	RefundPolicy *PackageRefundPolicyDto `json:"refund_policy,omitempty" xml:"refund_policy,omitempty"`
	// 预定规则
	BookingPolicy *BookingPolicyDto `json:"booking_policy,omitempty" xml:"booking_policy,omitempty"`
	// 限购规则
	LimitPolicy *LimitPolicyDto `json:"limit_policy,omitempty" xml:"limit_policy,omitempty"`
	// 游客规则
	TouristPolicy *TouristPolicyDto `json:"tourist_policy,omitempty" xml:"tourist_policy,omitempty"`
	// 套餐位置信息
	AreaInfo *ProductAreaInfoDto `json:"area_info,omitempty" xml:"area_info,omitempty"`
}

AttractionPackageDto 结构体

type AxinFundConfirmResDto

type AxinFundConfirmResDto struct {
	// 外部订单号
	OuterOrderId string `json:"outer_order_id,omitempty" xml:"outer_order_id,omitempty"`
	// 结算金额
	SettleAmount int64 `json:"settle_amount,omitempty" xml:"settle_amount,omitempty"`
}

AxinFundConfirmResDto 结构体

type AxinFundCreateDto

type AxinFundCreateDto struct {
	// 支付方支付宝账号id
	PayerAlipayId string `json:"payer_alipay_id,omitempty" xml:"payer_alipay_id,omitempty"`
	// 支付方账号
	PayerAccount string `json:"payer_account,omitempty" xml:"payer_account,omitempty"`
	// 支付方昵称
	PayerNick string `json:"payer_nick,omitempty" xml:"payer_nick,omitempty"`
	// 订单ID
	OuterOrderId string `json:"outer_order_id,omitempty" xml:"outer_order_id,omitempty"`
	// 收款方支付宝账号id
	ReceiverAlipayId string `json:"receiver_alipay_id,omitempty" xml:"receiver_alipay_id,omitempty"`
	// 收款方账号
	ReceiverAccount string `json:"receiver_account,omitempty" xml:"receiver_account,omitempty"`
	// 收款方昵称
	ReceiverNick string `json:"receiver_nick,omitempty" xml:"receiver_nick,omitempty"`
	// 二级商户smid
	Smid string `json:"smid,omitempty" xml:"smid,omitempty"`
	// 交易方式
	TradeType string `json:"trade_type,omitempty" xml:"trade_type,omitempty"`
	// 请求版本号,用于幂等校验
	ReqVersion string `json:"req_version,omitempty" xml:"req_version,omitempty"`
	// 扩展属性,json格式
	Attributes string `json:"attributes,omitempty" xml:"attributes,omitempty"`
	// 支付宝回调地址
	NotifyUrl string `json:"notify_url,omitempty" xml:"notify_url,omitempty"`
	// 商品标题、交易标题、订单关键字等
	Subject string `json:"subject,omitempty" xml:"subject,omitempty"`
	// 付款方式
	PayType int64 `json:"pay_type,omitempty" xml:"pay_type,omitempty"`
	// 收付款账号类型
	AccountType int64 `json:"account_type,omitempty" xml:"account_type,omitempty"`
	// 正向资金单ID,仅在逆向资金单上使用
	PayFundId int64 `json:"pay_fund_id,omitempty" xml:"pay_fund_id,omitempty"`
	// 付款来源,默认105直付通
	TradeSource int64 `json:"trade_source,omitempty" xml:"trade_source,omitempty"`
	// 付款金额总额,单位分
	PayFee int64 `json:"pay_fee,omitempty" xml:"pay_fee,omitempty"`
	// 买家实名信息
	ExtUserInfo *ExtUserInfoDto `json:"ext_user_info,omitempty" xml:"ext_user_info,omitempty"`
	// 交易渠道,1-借记,2-贷记
	TradeChannel int64 `json:"trade_channel,omitempty" xml:"trade_channel,omitempty"`
}

AxinFundCreateDto 结构体

type AxinFundCreateResDto

type AxinFundCreateResDto struct {
	// 支付宝返回的拼接串
	AlipayBody string `json:"alipay_body,omitempty" xml:"alipay_body,omitempty"`
	// 阿信支付宝账号appID
	AppId string `json:"app_id,omitempty" xml:"app_id,omitempty"`
	// 资金单ID
	FundId string `json:"fund_id,omitempty" xml:"fund_id,omitempty"`
	// 商户原始订单号,最大长度限制32位
	MerchantOrderNo string `json:"merchant_order_no,omitempty" xml:"merchant_order_no,omitempty"`
	// 商户订单号,由商家自定义
	OutTradeNo string `json:"out_trade_no,omitempty" xml:"out_trade_no,omitempty"`
	// 收款支付宝账号对应的支付宝唯一用户号
	SellerId string `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
	// 该笔订单的资金总额,单位为RMB-Yuan
	TotalAmount string `json:"total_amount,omitempty" xml:"total_amount,omitempty"`
	// 该交易在支付宝系统中的交易流水号
	TradeNo string `json:"trade_no,omitempty" xml:"trade_no,omitempty"`
}

AxinFundCreateResDto 结构体

type AxinFundDto

type AxinFundDto struct {
	// 有效资金单列表
	FundList []AxinFundDto `json:"fund_list,omitempty" xml:"fund_list>axin_fund_dto,omitempty"`
	// 支付宝交易号
	AlipayOrderId string `json:"alipay_order_id,omitempty" xml:"alipay_order_id,omitempty"`
	// 支付宝外部商户号
	AlipayOuterId string `json:"alipay_outer_id,omitempty" xml:"alipay_outer_id,omitempty"`
	// 扩展属性
	Attributes string `json:"attributes,omitempty" xml:"attributes,omitempty"`
	// 订单ID
	OuterOrderId string `json:"outer_order_id,omitempty" xml:"outer_order_id,omitempty"`
	// 支付订单号(即tp订单号或支付宝流水号)
	PayOrderId string `json:"pay_order_id,omitempty" xml:"pay_order_id,omitempty"`
	// 付款时间
	PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"`
	// 支付方账号
	PayerAccount string `json:"payer_account,omitempty" xml:"payer_account,omitempty"`
	// 付款方账号id
	PayerAlipayId string `json:"payer_alipay_id,omitempty" xml:"payer_alipay_id,omitempty"`
	// 支付方昵称
	PayerNick string `json:"payer_nick,omitempty" xml:"payer_nick,omitempty"`
	// 收款方账号
	ReceiverAccount string `json:"receiver_account,omitempty" xml:"receiver_account,omitempty"`
	// 收款方账号id
	ReceiverAlipayId string `json:"receiver_alipay_id,omitempty" xml:"receiver_alipay_id,omitempty"`
	// 收款方昵称
	ReceiverNick string `json:"receiver_nick,omitempty" xml:"receiver_nick,omitempty"`
	// 请求版本号
	ReqVersion string `json:"req_version,omitempty" xml:"req_version,omitempty"`
	// 二级商户smid
	Smid string `json:"smid,omitempty" xml:"smid,omitempty"`
	// 已支付总金额
	TotalPayedAmount int64 `json:"total_payed_amount,omitempty" xml:"total_payed_amount,omitempty"`
	// 主键
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 付款金额总额
	PayFee int64 `json:"pay_fee,omitempty" xml:"pay_fee,omitempty"`
	// 正向资金单ID,仅在逆向资金单上使用
	PayFundId int64 `json:"pay_fund_id,omitempty" xml:"pay_fund_id,omitempty"`
	// 付款方式
	PayType int64 `json:"pay_type,omitempty" xml:"pay_type,omitempty"`
	// 支付方账号类型
	PayerAccountType int64 `json:"payer_account_type,omitempty" xml:"payer_account_type,omitempty"`
	// 支付方淘宝ID
	PayerTid int64 `json:"payer_tid,omitempty" xml:"payer_tid,omitempty"`
	// 收款方账号类型
	ReceiverAccountType int64 `json:"receiver_account_type,omitempty" xml:"receiver_account_type,omitempty"`
	// 收款方淘宝ID
	ReceiverTid int64 `json:"receiver_tid,omitempty" xml:"receiver_tid,omitempty"`
	// 资金单状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 付款来源
	TradeSource int64 `json:"trade_source,omitempty" xml:"trade_source,omitempty"`
	// 交易方式
	TradeType int64 `json:"trade_type,omitempty" xml:"trade_type,omitempty"`
}

AxinFundDto 结构体

type AxinFundListQueryDto

type AxinFundListQueryDto struct {
	// 资金单类型
	FundStatus []string `json:"fund_status,omitempty" xml:"fund_status>string,omitempty"`
	// 外部订单号
	OuterOrderId string `json:"outer_order_id,omitempty" xml:"outer_order_id,omitempty"`
}

AxinFundListQueryDto 结构体

type AxinFundUpdateDto

type AxinFundUpdateDto struct {
	// 请求版本号,用于幂等校验
	ReqVersion string `json:"req_version,omitempty" xml:"req_version,omitempty"`
	// 扩展属性
	Attributes string `json:"attributes,omitempty" xml:"attributes,omitempty"`
	// 支付宝交易号
	AlipayOrderId string `json:"alipay_order_id,omitempty" xml:"alipay_order_id,omitempty"`
	// 订单ID
	OuterOrderId string `json:"outer_order_id,omitempty" xml:"outer_order_id,omitempty"`
	// 状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 资金单ID
	FundId int64 `json:"fund_id,omitempty" xml:"fund_id,omitempty"`
}

AxinFundUpdateDto 结构体

type AxinPayCheckSignDto

type AxinPayCheckSignDto struct {
	// 业务场景
	BizScene string `json:"biz_scene,omitempty" xml:"biz_scene,omitempty"`
	// 验签数据
	Data string `json:"data,omitempty" xml:"data,omitempty"`
}

AxinPayCheckSignDto 结构体

type AxinPayImgUploadDto

type AxinPayImgUploadDto struct {
	// 文件名
	FileName string `json:"file_name,omitempty" xml:"file_name,omitempty"`
	// 图片类型
	ImageType string `json:"image_type,omitempty" xml:"image_type,omitempty"`
}

AxinPayImgUploadDto 结构体

type AxinPayImgUploadResDto added in v1.2.0

type AxinPayImgUploadResDto struct {
	// 图片id
	ImgId string `json:"img_id,omitempty" xml:"img_id,omitempty"`
}

AxinPayImgUploadResDto 结构体

type AxinPayRegisterAddress

type AxinPayRegisterAddress struct {
	// 详细地址
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// 区县编码
	DistrictCode string `json:"district_code,omitempty" xml:"district_code,omitempty"`
	// 城市code
	CityCode string `json:"city_code,omitempty" xml:"city_code,omitempty"`
	// 省code
	ProvinceCode string `json:"province_code,omitempty" xml:"province_code,omitempty"`
	// 国家code
	CountryCode string `json:"country_code,omitempty" xml:"country_code,omitempty"`
}

AxinPayRegisterAddress 结构体

type AxinPayRegisterAuditDto

type AxinPayRegisterAuditDto struct {
	// 商户code
	ExternalId string `json:"external_id,omitempty" xml:"external_id,omitempty"`
	// 备注
	Memo string `json:"memo,omitempty" xml:"memo,omitempty"`
	// 支付平台入驻申请单号
	PayPlatformApplyOrder string `json:"pay_platform_apply_order,omitempty" xml:"pay_platform_apply_order,omitempty"`
	// 支付入驻域申请单号
	PayRegisterOrderNo string `json:"pay_register_order_no,omitempty" xml:"pay_register_order_no,omitempty"`
	// 拒绝原因code
	RejectReasonCode string `json:"reject_reason_code,omitempty" xml:"reject_reason_code,omitempty"`
	// 拒绝原因描述
	RejectReasonDesc string `json:"reject_reason_desc,omitempty" xml:"reject_reason_desc,omitempty"`
	// 支付平台商家编码,smid
	PayMerchantCode string `json:"pay_merchant_code,omitempty" xml:"pay_merchant_code,omitempty"`
	// 审核结果
	AuditResult bool `json:"audit_result,omitempty" xml:"audit_result,omitempty"`
}

AxinPayRegisterAuditDto 结构体

type AxinPayRegisterCreateDto

type AxinPayRegisterCreateDto struct {
	// 站点信息
	Sites []AxinPayRegisterSiteInfo `json:"sites,omitempty" xml:"sites>axin_pay_register_site_info,omitempty"`
	// 商户使用服务
	Service []string `json:"service,omitempty" xml:"service>string,omitempty"`
	// 行业资格证
	Qualifications []AxinPayRegisterQualification `json:"qualifications,omitempty" xml:"qualifications>axin_pay_register_qualification,omitempty"`
	// 法人身份证
	LegalCertType string `json:"legal_cert_type,omitempty" xml:"legal_cert_type,omitempty"`
	// 结算支付宝账号
	AlipayLogonId string `json:"alipay_logon_id,omitempty" xml:"alipay_logon_id,omitempty"`
	// 联系人电话
	ContactPhone string `json:"contact_phone,omitempty" xml:"contact_phone,omitempty"`
	// 联系人名字
	ContactName string `json:"contact_name,omitempty" xml:"contact_name,omitempty"`
	// 客服电话
	ServicePhone string `json:"service_phone,omitempty" xml:"service_phone,omitempty"`
	// 法人身份证反面url
	LegalCertFrontImage string `json:"legal_cert_front_image,omitempty" xml:"legal_cert_front_image,omitempty"`
	// 法人身份证件号
	LegalCertNo string `json:"legal_cert_no,omitempty" xml:"legal_cert_no,omitempty"`
	// 法人名称
	LegalName string `json:"legal_name,omitempty" xml:"legal_name,omitempty"`
	// 商户证件图片url
	CertImage string `json:"cert_image,omitempty" xml:"cert_image,omitempty"`
	// 商户证件类型
	CertType string `json:"cert_type,omitempty" xml:"cert_type,omitempty"`
	// 商户证件编号
	CertNo string `json:"cert_no,omitempty" xml:"cert_no,omitempty"`
	// 商户类别码mcc
	Mcc string `json:"mcc,omitempty" xml:"mcc,omitempty"`
	// 商户类型
	MerchantType string `json:"merchant_type,omitempty" xml:"merchant_type,omitempty"`
	// 商户别名
	AliasName string `json:"alias_name,omitempty" xml:"alias_name,omitempty"`
	// 商户名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 商户编号
	ExternalId string `json:"external_id,omitempty" xml:"external_id,omitempty"`
	// 法人身份证反面url
	LegalCertBackImage string `json:"legal_cert_back_image,omitempty" xml:"legal_cert_back_image,omitempty"`
	// 支付宝签约账号
	BindingAlipayLogonId string `json:"binding_alipay_logon_id,omitempty" xml:"binding_alipay_logon_id,omitempty"`
	// 营业地址
	BusinessAddress *AxinPayRegisterAddress `json:"business_address,omitempty" xml:"business_address,omitempty"`
}

AxinPayRegisterCreateDto 结构体

type AxinPayRegisterCreateResDto

type AxinPayRegisterCreateResDto struct {
	// 支付宝返回的申请单号
	ApplyOrderId string `json:"apply_order_id,omitempty" xml:"apply_order_id,omitempty"`
	// 支付平台申请单号
	PayRegisterOrderNo string `json:"pay_register_order_no,omitempty" xml:"pay_register_order_no,omitempty"`
}

AxinPayRegisterCreateResDto 结构体

type AxinPayRegisterQualification

type AxinPayRegisterQualification struct {
	// 行业资格证图片ID
	ImageId string `json:"image_id,omitempty" xml:"image_id,omitempty"`
	// 类型
	Type string `json:"type,omitempty" xml:"type,omitempty"`
}

AxinPayRegisterQualification 结构体

type AxinPayRegisterSiteInfo

type AxinPayRegisterSiteInfo struct {
	// 站点地址
	SiteUrl string `json:"site_url,omitempty" xml:"site_url,omitempty"`
	// 网站名称
	SiteName string `json:"site_name,omitempty" xml:"site_name,omitempty"`
	// 网站:01APP : 02服务窗:03公众号:04其他:05支付宝小程序:06
	SiteType string `json:"site_type,omitempty" xml:"site_type,omitempty"`
}

AxinPayRegisterSiteInfo 结构体

type AxinRefundCreateDto

type AxinRefundCreateDto struct {
	// 扩展字段(k:v结构)
	Attributes string `json:"attributes,omitempty" xml:"attributes,omitempty"`
	// 退款说明
	RefundExplanation string `json:"refund_explanation,omitempty" xml:"refund_explanation,omitempty"`
	// 退款原因
	RefundReason string `json:"refund_reason,omitempty" xml:"refund_reason,omitempty"`
	// 请求版本号,用于幂等校验
	ReqVersion string `json:"req_version,omitempty" xml:"req_version,omitempty"`
	// 外部订单号
	OuterOrderId string `json:"outer_order_id,omitempty" xml:"outer_order_id,omitempty"`
	// 退款金额
	RefundFee int64 `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"`
}

AxinRefundCreateDto 结构体

type AxinRefundCreateResDto

type AxinRefundCreateResDto struct {
	// 请求版本号,用于幂等校验
	ReqVersion string `json:"req_version,omitempty" xml:"req_version,omitempty"`
	// 外部订单号
	OuterOrderId string `json:"outer_order_id,omitempty" xml:"outer_order_id,omitempty"`
	// 实退金额
	ActualFee int64 `json:"actual_fee,omitempty" xml:"actual_fee,omitempty"`
	// 退款金额
	RefundFee int64 `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"`
}

AxinRefundCreateResDto 结构体

type BaseResultApiDto added in v1.2.5

type BaseResultApiDto struct {
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 返回素材id
	Data *HotelOrderRefundResApiDto `json:"data,omitempty" xml:"data,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

BaseResultApiDto 结构体

type BaseResultDto

type BaseResultDto struct {
	// 错误code
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误描述
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 信息提示
	InfoMsg string `json:"info_msg,omitempty" xml:"info_msg,omitempty"`
	// 是否处理审核结果成功
	Data bool `json:"data,omitempty" xml:"data,omitempty"`
	// 是否需要重试
	NeedRetry bool `json:"need_retry,omitempty" xml:"need_retry,omitempty"`
	// 是否调用成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

BaseResultDto 结构体

type BigDecimal added in v1.2.5

type BigDecimal struct {
}

BigDecimal 结构体

type Board added in v1.2.5

type Board struct {
	// 餐食类型
	BoardType int64 `json:"board_type,omitempty" xml:"board_type,omitempty"`
	// 餐食份数
	BoardNum int64 `json:"board_num,omitempty" xml:"board_num,omitempty"`
}

Board 结构体

type BoardDto added in v1.2.5

type BoardDto struct {
	// 餐食数量
	BoardNum int64 `json:"board_num,omitempty" xml:"board_num,omitempty"`
	// 餐食种类
	BoardType int64 `json:"board_type,omitempty" xml:"board_type,omitempty"`
}

BoardDto 结构体

type BookingPolicyDto added in v1.2.5

type BookingPolicyDto struct {
	// 提前预订时间
	AdvanceBookingTime string `json:"advance_booking_time,omitempty" xml:"advance_booking_time,omitempty"`
	// 提前预定天数
	AdvanceBookingDays int64 `json:"advance_booking_days,omitempty" xml:"advance_booking_days,omitempty"`
	// 出票后多少小时可用
	ValidHourLimit int64 `json:"valid_hour_limit,omitempty" xml:"valid_hour_limit,omitempty"`
	// 出票后多少分钟可用
	ValidMinuteLimit int64 `json:"valid_minute_limit,omitempty" xml:"valid_minute_limit,omitempty"`
	// 是否需要选择指定日期
	IsSpecifyTime bool `json:"is_specify_time,omitempty" xml:"is_specify_time,omitempty"`
}

BookingPolicyDto 结构体

type CancelPolicyDto added in v1.2.5

type CancelPolicyDto struct {
	// 详细规则
	PolicyInfoList []CancelPolicyInfoDto `json:"policy_info_list,omitempty" xml:"policy_info_list>cancel_policy_info_dto,omitempty"`
	// 取消政策类型
	CancelPolicyType int64 `json:"cancel_policy_type,omitempty" xml:"cancel_policy_type,omitempty"`
}

CancelPolicyDto 结构体

type CancelPolicyInfoDto added in v1.2.5

type CancelPolicyInfoDto struct {
	// 提前小时
	Hour int64 `json:"hour,omitempty" xml:"hour,omitempty"`
	// 规则对应的值,可能是百分比、数值等
	Value int64 `json:"value,omitempty" xml:"value,omitempty"`
}

CancelPolicyInfoDto 结构体

type ConditionRefundPolicyDto added in v1.2.5

type ConditionRefundPolicyDto struct {
	// 条件退类型
	ConditionRefundType int64 `json:"condition_refund_type,omitempty" xml:"condition_refund_type,omitempty"`
	// 允许退款的最后时间点天数
	Days int64 `json:"days,omitempty" xml:"days,omitempty"`
	// 允许退款的最后的时间点小时
	Hours int64 `json:"hours,omitempty" xml:"hours,omitempty"`
	// 允许退款的最后的时间点分钟
	Minutes int64 `json:"minutes,omitempty" xml:"minutes,omitempty"`
	// 退款手续费金额,单位分
	ChargeAmount int64 `json:"charge_amount,omitempty" xml:"charge_amount,omitempty"`
	// 退款手续费比例
	Percent int64 `json:"percent,omitempty" xml:"percent,omitempty"`
}

ConditionRefundPolicyDto 结构体

type ContactInfoApiDto added in v1.2.5

type ContactInfoApiDto struct {
	// 联系人邮箱
	ContactEmail string `json:"contact_email,omitempty" xml:"contact_email,omitempty"`
	// 联系人手机号
	ContactMobile string `json:"contact_mobile,omitempty" xml:"contact_mobile,omitempty"`
	// 联系人姓名
	ContactName string `json:"contact_name,omitempty" xml:"contact_name,omitempty"`
	// 联系人固定电话
	ContactTel string `json:"contact_tel,omitempty" xml:"contact_tel,omitempty"`
}

ContactInfoApiDto 结构体

type CustomerDto added in v1.2.5

type CustomerDto struct {
	// 姓名
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 英文名
	FirstName string `json:"first_name,omitempty" xml:"first_name,omitempty"`
	// 英文姓
	LastName string `json:"last_name,omitempty" xml:"last_name,omitempty"`
	// 入住人类型1. 成人 2. 儿童
	CustomerType int64 `json:"customer_type,omitempty" xml:"customer_type,omitempty"`
}

CustomerDto 结构体

type DailyInfo added in v1.2.5

type DailyInfo struct {
	// 日期
	Date string `json:"date,omitempty" xml:"date,omitempty"`
	// 价格,单位为分
	CnyPrice int64 `json:"cny_price,omitempty" xml:"cny_price,omitempty"`
	// 餐食
	BoardDTO *BoardDto `json:"board_d_t_o,omitempty" xml:"board_d_t_o,omitempty"`
	// 原币种价格
	Price int64 `json:"price,omitempty" xml:"price,omitempty"`
}

DailyInfo 结构体

type DailyPriceInfoDto added in v1.2.5

type DailyPriceInfoDto struct {
	// 日期
	Date string `json:"date,omitempty" xml:"date,omitempty"`
	// 餐食
	Board *Board `json:"board,omitempty" xml:"board,omitempty"`
	// 房间价格(人民币元)
	CnyPrice int64 `json:"cny_price,omitempty" xml:"cny_price,omitempty"`
	// 原币种金额
	Price int64 `json:"price,omitempty" xml:"price,omitempty"`
}

DailyPriceInfoDto 结构体

type ExtUserInfoDto

type ExtUserInfoDto struct {
	// 指定买家支付宝实名证件号
	ExtUserCertNo string `json:"ext_user_cert_no,omitempty" xml:"ext_user_cert_no,omitempty"`
	// 指定买家支付宝实名证件类型
	ExtUserCertType string `json:"ext_user_cert_type,omitempty" xml:"ext_user_cert_type,omitempty"`
	// 指定买家支付宝实名姓名
	ExtUserName string `json:"ext_user_name,omitempty" xml:"ext_user_name,omitempty"`
}

ExtUserInfoDto 结构体

type HotelArrivalTime added in v1.2.5

type HotelArrivalTime struct {
	// 最晚到店时间
	LatestArrivalTime string `json:"latest_arrival_time,omitempty" xml:"latest_arrival_time,omitempty"`
	// 最早到店时间
	EarliestArrivalTime string `json:"earliest_arrival_time,omitempty" xml:"earliest_arrival_time,omitempty"`
}

HotelArrivalTime 结构体

type HotelInfo added in v1.2.5

type HotelInfo struct {
	// 酒店联系电话
	HotelTel string `json:"hotel_tel,omitempty" xml:"hotel_tel,omitempty"`
	// 酒店地址
	HotelAddress string `json:"hotel_address,omitempty" xml:"hotel_address,omitempty"`
	// 酒店名称
	HotelName string `json:"hotel_name,omitempty" xml:"hotel_name,omitempty"`
	// 酒店id
	Shid int64 `json:"shid,omitempty" xml:"shid,omitempty"`
}

HotelInfo 结构体

type HotelOrderQueryRes added in v1.2.5

type HotelOrderQueryRes struct {
	// 每日价格信息
	DailyInfoList []DailyInfo `json:"daily_info_list,omitempty" xml:"daily_info_list>daily_info,omitempty"`
	// 订单状态描述
	StatusDesc string `json:"status_desc,omitempty" xml:"status_desc,omitempty"`
	// 外部订单号
	OuterOrderId string `json:"outer_order_id,omitempty" xml:"outer_order_id,omitempty"`
	// 飞猪订单号
	FliggyOrderId string `json:"fliggy_order_id,omitempty" xml:"fliggy_order_id,omitempty"`
	// 币种
	CurrencyCode string `json:"currency_code,omitempty" xml:"currency_code,omitempty"`
	// 酒店信息
	HotelInfo *HotelInfo `json:"hotel_info,omitempty" xml:"hotel_info,omitempty"`
	// 房间信息
	RoomInfo *RoomInfo `json:"room_info,omitempty" xml:"room_info,omitempty"`
	// 订单履约信息
	OrderFulfillInfo *OrderFulfillInfo `json:"order_fulfill_info,omitempty" xml:"order_fulfill_info,omitempty"`
	// 实际支付总金额,单位为分
	ActualTotalFee int64 `json:"actual_total_fee,omitempty" xml:"actual_total_fee,omitempty"`
	// 状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 采购单id
	PurchaseOrderId int64 `json:"purchase_order_id,omitempty" xml:"purchase_order_id,omitempty"`
	// 退款金额,单位为分(产生退款时不为空)
	RefundFee int64 `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"`
	// 支付id
	PayId int64 `json:"pay_id,omitempty" xml:"pay_id,omitempty"`
	// 汇率
	ExchangeRate *BigDecimal `json:"exchange_rate,omitempty" xml:"exchange_rate,omitempty"`
	// 实际支付原币种金额
	OriginActualTotalFee int64 `json:"origin_actual_total_fee,omitempty" xml:"origin_actual_total_fee,omitempty"`
}

HotelOrderQueryRes 结构体

type HotelOrderRefundResApiDto added in v1.2.5

type HotelOrderRefundResApiDto struct {
	// 退款单号
	RefundOrderId int64 `json:"refund_order_id,omitempty" xml:"refund_order_id,omitempty"`
	// 退款金额
	RefundFee int64 `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"`
}

HotelOrderRefundResApiDto 结构体

type HotelOrderValidateRes added in v1.2.5

type HotelOrderValidateRes struct {
	// 创建订单需要的key
	CreateKey string `json:"create_key,omitempty" xml:"create_key,omitempty"`
	// 后返佣金费率
	CommissionFeeRate string `json:"commission_fee_rate,omitempty" xml:"commission_fee_rate,omitempty"`
	// 资源标签
	ResourceTag string `json:"resource_tag,omitempty" xml:"resource_tag,omitempty"`
	// 分销模式 FP-底价模式 SP-卖家模式
	DistributeMode string `json:"distribute_mode,omitempty" xml:"distribute_mode,omitempty"`
	// 售卖政策
	RatePlanInfo *RatePlanInfoApiDto `json:"rate_plan_info,omitempty" xml:"rate_plan_info,omitempty"`
	// 售卖政策id
	RatePlanId int64 `json:"rate_plan_id,omitempty" xml:"rate_plan_id,omitempty"`
	// 优惠总金额,单位为分
	PromotionTotalPrice int64 `json:"promotion_total_price,omitempty" xml:"promotion_total_price,omitempty"`
	// 1-订单金额酒店开票,分销商开返佣发票 2-订单金额阿信开票,分销商不开票 3-订单金额无票,分销商开返佣发票
	InvoicingMode int64 `json:"invoicing_mode,omitempty" xml:"invoicing_mode,omitempty"`
}

HotelOrderValidateRes 结构体

type HotelRateDto added in v1.2.5

type HotelRateDto struct {
	// 酒店名称
	HotelName string `json:"hotel_name,omitempty" xml:"hotel_name,omitempty"`
	// 房型名称
	RoomName string `json:"room_name,omitempty" xml:"room_name,omitempty"`
}

HotelRateDto 结构体

type LimitPolicyDto added in v1.2.5

type LimitPolicyDto struct {
	// 下单开始时间
	OrderStartDate string `json:"order_start_date,omitempty" xml:"order_start_date,omitempty"`
	// 下单结束时间
	OrderEndDate string `json:"order_end_date,omitempty" xml:"order_end_date,omitempty"`
	// 限购类型
	LimitType int64 `json:"limit_type,omitempty" xml:"limit_type,omitempty"`
	// 限购模式类型
	LimitMode int64 `json:"limit_mode,omitempty" xml:"limit_mode,omitempty"`
	// 限购数量类型
	LimitAmountType int64 `json:"limit_amount_type,omitempty" xml:"limit_amount_type,omitempty"`
	// 限购周期
	LimitRangeType int64 `json:"limit_range_type,omitempty" xml:"limit_range_type,omitempty"`
	// 限购数量
	LimitAmount int64 `json:"limit_amount,omitempty" xml:"limit_amount,omitempty"`
	// 订单最小限购数量
	MinAmount int64 `json:"min_amount,omitempty" xml:"min_amount,omitempty"`
	// 订单最大限购数量
	MaxAmount int64 `json:"max_amount,omitempty" xml:"max_amount,omitempty"`
	// 是否限购
	IsLimit bool `json:"is_limit,omitempty" xml:"is_limit,omitempty"`
}

LimitPolicyDto 结构体

type OrderFulfillInfo added in v1.2.5

type OrderFulfillInfo struct {
	// 离店时间
	CheckOut string `json:"check_out,omitempty" xml:"check_out,omitempty"`
	// 入住时间
	CheckIn string `json:"check_in,omitempty" xml:"check_in,omitempty"`
	// 最晚到店时间
	LateArriveTime string `json:"late_arrive_time,omitempty" xml:"late_arrive_time,omitempty"`
	// 酒店确认号
	ConfirmCode string `json:"confirm_code,omitempty" xml:"confirm_code,omitempty"`
	// 小时房已选入住时间
	CheckInTime string `json:"check_in_time,omitempty" xml:"check_in_time,omitempty"`
	// 小时房已选离店时间
	CheckOutTime string `json:"check_out_time,omitempty" xml:"check_out_time,omitempty"`
	// 房间数量
	RoomNumber int64 `json:"room_number,omitempty" xml:"room_number,omitempty"`
	// 小时房连住时长
	Hourage int64 `json:"hourage,omitempty" xml:"hourage,omitempty"`
	// 是否小时房
	HourRoom bool `json:"hour_room,omitempty" xml:"hour_room,omitempty"`
}

OrderFulfillInfo 结构体

type PackageApiResDto added in v1.2.5

type PackageApiResDto struct {
	// 产品id列表
	ProductIds []int64 `json:"product_ids,omitempty" xml:"product_ids>int64,omitempty"`
	// 总条数
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
	// 当前页数
	PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"`
	// 分页大小
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
}

PackageApiResDto 结构体

type PackageCateringInfoDto added in v1.2.5

type PackageCateringInfoDto struct {
	// 餐饮名称
	CateringName string `json:"catering_name,omitempty" xml:"catering_name,omitempty"`
	// 餐饮份数为其他时,其他说明
	CateringRemark string `json:"catering_remark,omitempty" xml:"catering_remark,omitempty"`
	// 备注
	Remark string `json:"remark,omitempty" xml:"remark,omitempty"`
	// 餐饮类型
	CateringType int64 `json:"catering_type,omitempty" xml:"catering_type,omitempty"`
	// 餐饮份数类型
	CateringNumType int64 `json:"catering_num_type,omitempty" xml:"catering_num_type,omitempty"`
	// 餐饮份数
	CateringNum int64 `json:"catering_num,omitempty" xml:"catering_num,omitempty"`
}

PackageCateringInfoDto 结构体

type PackageCateringPolicyDto added in v1.2.5

type PackageCateringPolicyDto struct {
	// 餐饮使用规则名称
	CateringRuleName string `json:"catering_rule_name,omitempty" xml:"catering_rule_name,omitempty"`
	// 就餐开始时间
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 就餐截止时间
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 就餐方式
	CateringWay string `json:"catering_way,omitempty" xml:"catering_way,omitempty"`
	// 餐饮规则非结构化描述
	CateringDescription string `json:"catering_description,omitempty" xml:"catering_description,omitempty"`
	// 其他产品使用规则名称
	OtherRuleName string `json:"other_rule_name,omitempty" xml:"other_rule_name,omitempty"`
	// 其他产品非结构化描述
	OtherDescription string `json:"other_description,omitempty" xml:"other_description,omitempty"`
}

PackageCateringPolicyDto 结构体

type PackageHotelPolicyDto added in v1.2.5

type PackageHotelPolicyDto struct {
	// 入住方式
	CheckInTypes []string `json:"check_in_types,omitempty" xml:"check_in_types>string,omitempty"`
	// 入住时间
	CheckInTime string `json:"check_in_time,omitempty" xml:"check_in_time,omitempty"`
	// 离店时间
	CheckOutTime string `json:"check_out_time,omitempty" xml:"check_out_time,omitempty"`
	// 入住方式其他说明
	CheckInTypeRemark string `json:"check_in_type_remark,omitempty" xml:"check_in_type_remark,omitempty"`
	// 备注
	Remark string `json:"remark,omitempty" xml:"remark,omitempty"`
}

PackageHotelPolicyDto 结构体

type PackageHotelRateDto added in v1.2.5

type PackageHotelRateDto struct {
	// 酒店床型名称
	BedType string `json:"bed_type,omitempty" xml:"bed_type,omitempty"`
	// 酒店rate信息
	HotelRate *HotelRateDto `json:"hotel_rate,omitempty" xml:"hotel_rate,omitempty"`
	// 酒店间夜数
	RoomNightNum int64 `json:"room_night_num,omitempty" xml:"room_night_num,omitempty"`
	// 成人数
	AdultNum int64 `json:"adult_num,omitempty" xml:"adult_num,omitempty"`
	// 儿童数
	ChildrenNum int64 `json:"children_num,omitempty" xml:"children_num,omitempty"`
}

PackageHotelRateDto 结构体

type PackageOtherProductDto added in v1.2.5

type PackageOtherProductDto struct {
	// 其他产品名称
	OtherName string `json:"other_name,omitempty" xml:"other_name,omitempty"`
	// 备注
	Remark string `json:"remark,omitempty" xml:"remark,omitempty"`
	// 其他产品id
	OtherId int64 `json:"other_id,omitempty" xml:"other_id,omitempty"`
}

PackageOtherProductDto 结构体

type PackageRefundPolicyDto added in v1.2.5

type PackageRefundPolicyDto struct {
	// 条件退改规则
	ConditionRefundPolicies []ConditionRefundPolicyDto `json:"condition_refund_policies,omitempty" xml:"condition_refund_policies>condition_refund_policy_dto,omitempty"`
	// 退款类型
	RefundType int64 `json:"refund_type,omitempty" xml:"refund_type,omitempty"`
}

PackageRefundPolicyDto 结构体

type PackageTicketInfoDto added in v1.2.5

type PackageTicketInfoDto struct {
	// 门票产品信息
	TicketInfo *TicketInfoDto `json:"ticket_info,omitempty" xml:"ticket_info,omitempty"`
	// 门票张数
	TicketNum int64 `json:"ticket_num,omitempty" xml:"ticket_num,omitempty"`
}

PackageTicketInfoDto 结构体

type PackageTicketPolicyDto added in v1.2.5

type PackageTicketPolicyDto struct {
	// 使用规则名称
	TicketRuleName string `json:"ticket_rule_name,omitempty" xml:"ticket_rule_name,omitempty"`
	// 门票使用非结构化描述
	TicketDescription string `json:"ticket_description,omitempty" xml:"ticket_description,omitempty"`
	// 门票使用规则备注信息
	Remark string `json:"remark,omitempty" xml:"remark,omitempty"`
}

PackageTicketPolicyDto 结构体

type ProductAreaInfoDto added in v1.2.5

type ProductAreaInfoDto struct {
	// 省份名称
	ProvinceName string `json:"province_name,omitempty" xml:"province_name,omitempty"`
	// 城市名称
	CityName string `json:"city_name,omitempty" xml:"city_name,omitempty"`
	// 地区名称
	DistrictName string `json:"district_name,omitempty" xml:"district_name,omitempty"`
	// 经度
	Longitude string `json:"longitude,omitempty" xml:"longitude,omitempty"`
	// 纬度
	Latitude string `json:"latitude,omitempty" xml:"latitude,omitempty"`
	// 省份id
	ProvinceId int64 `json:"province_id,omitempty" xml:"province_id,omitempty"`
	// 城市id
	CityId int64 `json:"city_id,omitempty" xml:"city_id,omitempty"`
	// 地区id
	DistrictId int64 `json:"district_id,omitempty" xml:"district_id,omitempty"`
}

ProductAreaInfoDto 结构体

type ProductInventoryDto added in v1.2.5

type ProductInventoryDto struct {
	// 日期 格式yyyy-MM-dd
	Date string `json:"date,omitempty" xml:"date,omitempty"`
	// 库存数量
	InvCount int64 `json:"inv_count,omitempty" xml:"inv_count,omitempty"`
}

ProductInventoryDto 结构体

type ProductPriceDto added in v1.2.5

type ProductPriceDto struct {
	// 日期 格式yyyy-MM-dd
	Date string `json:"date,omitempty" xml:"date,omitempty"`
	// 价格,单位为分
	Price int64 `json:"price,omitempty" xml:"price,omitempty"`
}

ProductPriceDto 结构体

type RatePlanInfoApiDto added in v1.2.5

type RatePlanInfoApiDto struct {
	// 每间房rate信息
	RateUnitList []RateUnitDto `json:"rate_unit_list,omitempty" xml:"rate_unit_list>rate_unit_dto,omitempty"`
	// 最晚到店时间
	LatestCheckOutTime string `json:"latest_check_out_time,omitempty" xml:"latest_check_out_time,omitempty"`
	// 总房价
	TotalRoomPrice string `json:"total_room_price,omitempty" xml:"total_room_price,omitempty"`
	// 床型描述
	BedTypeDesc string `json:"bed_type_desc,omitempty" xml:"bed_type_desc,omitempty"`
	// 最早可以办理入住时间
	EarliestCheckInTime string `json:"earliest_check_in_time,omitempty" xml:"earliest_check_in_time,omitempty"`
	// 币种
	CurrencyCode string `json:"currency_code,omitempty" xml:"currency_code,omitempty"`
	// 最大订购数量
	MaxBookingNum int64 `json:"max_booking_num,omitempty" xml:"max_booking_num,omitempty"`
	// 每间房最大可入住人数
	MaxOccupancyNum int64 `json:"max_occupancy_num,omitempty" xml:"max_occupancy_num,omitempty"`
	// 取消政策
	CancelPolicy *CancelPolicyDto `json:"cancel_policy,omitempty" xml:"cancel_policy,omitempty"`
	// 最大库存量
	MaxInventory int64 `json:"max_inventory,omitempty" xml:"max_inventory,omitempty"`
	// 人民币总金额
	CnyTotalPrice int64 `json:"cny_total_price,omitempty" xml:"cny_total_price,omitempty"`
	// 汇率
	ExchangeRate *BigDecimal `json:"exchange_rate,omitempty" xml:"exchange_rate,omitempty"`
	// 0-全日房, 1-小时房
	RpType int64 `json:"rp_type,omitempty" xml:"rp_type,omitempty"`
	// 小时房到店时间&连住时长
	ArrivalTime *ArrivalTimeDto `json:"arrival_time,omitempty" xml:"arrival_time,omitempty"`
	// 是否即时确认
	InstantConfirm bool `json:"instant_confirm,omitempty" xml:"instant_confirm,omitempty"`
}

RatePlanInfoApiDto 结构体

type RateUnitDto added in v1.2.5

type RateUnitDto struct {
	// 房间价格
	DailyPriceInfoList []DailyPriceInfoDto `json:"daily_price_info_list,omitempty" xml:"daily_price_info_list>daily_price_info_dto,omitempty"`
}

RateUnitDto 结构体

type RoomInfo added in v1.2.5

type RoomInfo struct {
	// 房型设施
	RoomFacilityList []string `json:"room_facility_list,omitempty" xml:"room_facility_list>string,omitempty"`
	// 房型名称
	RoomName string `json:"room_name,omitempty" xml:"room_name,omitempty"`
}

RoomInfo 结构体

type TaobaoAlitripAxinTransFundAddAPIRequest added in v1.2.0

type TaobaoAlitripAxinTransFundAddAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoAlitripAxinTransFundAddAPIRequest 创建资金单接口 API请求 taobao.alitrip.axin.trans.fund.add

创建资金单

func NewTaobaoAlitripAxinTransFundAddRequest

func NewTaobaoAlitripAxinTransFundAddRequest() *TaobaoAlitripAxinTransFundAddAPIRequest

NewTaobaoAlitripAxinTransFundAddRequest 初始化TaobaoAlitripAxinTransFundAddAPIRequest对象

func (TaobaoAlitripAxinTransFundAddAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoAlitripAxinTransFundAddAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAlitripAxinTransFundAddAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoAlitripAxinTransFundAddAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAlitripAxinTransFundAddAPIRequest) GetAxinFundCreateDTO added in v1.2.0

GetAxinFundCreateDTO AxinFundCreateDTO Getter

func (TaobaoAlitripAxinTransFundAddAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoAlitripAxinTransFundAddAPIRequest) SetAxinFundCreateDTO added in v1.2.0

func (r *TaobaoAlitripAxinTransFundAddAPIRequest) SetAxinFundCreateDTO(_axinFundCreateDTO *AxinFundCreateDto) error

SetAxinFundCreateDTO is AxinFundCreateDTO Setter 创建资金单接口入参

type TaobaoAlitripAxinTransFundAddAPIResponse

type TaobaoAlitripAxinTransFundAddAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripAxinTransFundAddAPIResponseModel
}

TaobaoAlitripAxinTransFundAddAPIResponse 创建资金单接口 API返回值 taobao.alitrip.axin.trans.fund.add

创建资金单

type TaobaoAlitripAxinTransFundAddAPIResponseModel added in v1.2.0

type TaobaoAlitripAxinTransFundAddAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_axin_trans_fund_add_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *TaobaoAlitripAxinTransFundAddResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoAlitripAxinTransFundAddAPIResponseModel is 创建资金单接口 成功返回结果

type TaobaoAlitripAxinTransFundAddResult

type TaobaoAlitripAxinTransFundAddResult struct {
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 接口提示信息
	InfoMsg string `json:"info_msg,omitempty" xml:"info_msg,omitempty"`
	// 返回素材id
	Data *AxinFundCreateResDto `json:"data,omitempty" xml:"data,omitempty"`
	// 是否需要重试
	NeedRetry bool `json:"need_retry,omitempty" xml:"need_retry,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoAlitripAxinTransFundAddResult 结构体

type TaobaoAlitripAxinTransFundConfirmAPIRequest added in v1.2.0

type TaobaoAlitripAxinTransFundConfirmAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoAlitripAxinTransFundConfirmAPIRequest 确认资金单 API请求 taobao.alitrip.axin.trans.fund.confirm

通过外部订单号进行资金结算

func NewTaobaoAlitripAxinTransFundConfirmRequest

func NewTaobaoAlitripAxinTransFundConfirmRequest() *TaobaoAlitripAxinTransFundConfirmAPIRequest

NewTaobaoAlitripAxinTransFundConfirmRequest 初始化TaobaoAlitripAxinTransFundConfirmAPIRequest对象

func (TaobaoAlitripAxinTransFundConfirmAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAlitripAxinTransFundConfirmAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAlitripAxinTransFundConfirmAPIRequest) GetOuterOrderId added in v1.2.0

GetOuterOrderId OuterOrderId Getter

func (TaobaoAlitripAxinTransFundConfirmAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoAlitripAxinTransFundConfirmAPIRequest) SetOuterOrderId added in v1.2.0

func (r *TaobaoAlitripAxinTransFundConfirmAPIRequest) SetOuterOrderId(_outerOrderId string) error

SetOuterOrderId is OuterOrderId Setter 外部订单编号

type TaobaoAlitripAxinTransFundConfirmAPIResponse

type TaobaoAlitripAxinTransFundConfirmAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripAxinTransFundConfirmAPIResponseModel
}

TaobaoAlitripAxinTransFundConfirmAPIResponse 确认资金单 API返回值 taobao.alitrip.axin.trans.fund.confirm

通过外部订单号进行资金结算

type TaobaoAlitripAxinTransFundConfirmAPIResponseModel added in v1.2.0

type TaobaoAlitripAxinTransFundConfirmAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_axin_trans_fund_confirm_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 简单数据类型出参,用于测试top接入流程
	Result *TaobaoAlitripAxinTransFundConfirmResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoAlitripAxinTransFundConfirmAPIResponseModel is 确认资金单 成功返回结果

type TaobaoAlitripAxinTransFundConfirmResult

type TaobaoAlitripAxinTransFundConfirmResult struct {
	// 描述信息
	InfoMsg string `json:"info_msg,omitempty" xml:"info_msg,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误描述
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 接口出参
	Data *AxinFundConfirmResDto `json:"data,omitempty" xml:"data,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 是否需要重试
	NeedRetry bool `json:"need_retry,omitempty" xml:"need_retry,omitempty"`
}

TaobaoAlitripAxinTransFundConfirmResult 结构体

type TaobaoAlitripAxinTransFundQueryByOrderAPIRequest added in v1.2.0

type TaobaoAlitripAxinTransFundQueryByOrderAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoAlitripAxinTransFundQueryByOrderAPIRequest 通过外部订单ID查询所有资金单 API请求 taobao.alitrip.axin.trans.fund.query.by.order

阿信供销平台-通过外部订单ID查询所有资金单

func NewTaobaoAlitripAxinTransFundQueryByOrderRequest

func NewTaobaoAlitripAxinTransFundQueryByOrderRequest() *TaobaoAlitripAxinTransFundQueryByOrderAPIRequest

NewTaobaoAlitripAxinTransFundQueryByOrderRequest 初始化TaobaoAlitripAxinTransFundQueryByOrderAPIRequest对象

func (TaobaoAlitripAxinTransFundQueryByOrderAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAlitripAxinTransFundQueryByOrderAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAlitripAxinTransFundQueryByOrderAPIRequest) GetParamAxinFundListQueryDTO added in v1.2.0

GetParamAxinFundListQueryDTO ParamAxinFundListQueryDTO Getter

func (TaobaoAlitripAxinTransFundQueryByOrderAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoAlitripAxinTransFundQueryByOrderAPIRequest) SetParamAxinFundListQueryDTO added in v1.2.0

func (r *TaobaoAlitripAxinTransFundQueryByOrderAPIRequest) SetParamAxinFundListQueryDTO(_paramAxinFundListQueryDTO *AxinFundListQueryDto) error

SetParamAxinFundListQueryDTO is ParamAxinFundListQueryDTO Setter 入参

type TaobaoAlitripAxinTransFundQueryByOrderAPIResponse

type TaobaoAlitripAxinTransFundQueryByOrderAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripAxinTransFundQueryByOrderAPIResponseModel
}

TaobaoAlitripAxinTransFundQueryByOrderAPIResponse 通过外部订单ID查询所有资金单 API返回值 taobao.alitrip.axin.trans.fund.query.by.order

阿信供销平台-通过外部订单ID查询所有资金单

type TaobaoAlitripAxinTransFundQueryByOrderAPIResponseModel added in v1.2.0

type TaobaoAlitripAxinTransFundQueryByOrderAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_axin_trans_fund_query_by_order_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *TaobaoAlitripAxinTransFundQueryByOrderResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoAlitripAxinTransFundQueryByOrderAPIResponseModel is 通过外部订单ID查询所有资金单 成功返回结果

type TaobaoAlitripAxinTransFundQueryByOrderResult

type TaobaoAlitripAxinTransFundQueryByOrderResult struct {
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 描述信息
	InfoMsg string `json:"info_msg,omitempty" xml:"info_msg,omitempty"`
	// 出参
	Data *AxinFundDto `json:"data,omitempty" xml:"data,omitempty"`
	// 是否需要重试
	NeedRetry bool `json:"need_retry,omitempty" xml:"need_retry,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoAlitripAxinTransFundQueryByOrderResult 结构体

type TaobaoAlitripAxinTransFundUpdateAPIRequest added in v1.2.0

type TaobaoAlitripAxinTransFundUpdateAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoAlitripAxinTransFundUpdateAPIRequest 修改资金单接口 API请求 taobao.alitrip.axin.trans.fund.update

阿信供销平台-修改资金单接口

func NewTaobaoAlitripAxinTransFundUpdateRequest

func NewTaobaoAlitripAxinTransFundUpdateRequest() *TaobaoAlitripAxinTransFundUpdateAPIRequest

NewTaobaoAlitripAxinTransFundUpdateRequest 初始化TaobaoAlitripAxinTransFundUpdateAPIRequest对象

func (TaobaoAlitripAxinTransFundUpdateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAlitripAxinTransFundUpdateAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoAlitripAxinTransFundUpdateAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAlitripAxinTransFundUpdateAPIRequest) GetAxinFundUpdateDTO added in v1.2.0

GetAxinFundUpdateDTO AxinFundUpdateDTO Getter

func (TaobaoAlitripAxinTransFundUpdateAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoAlitripAxinTransFundUpdateAPIRequest) SetAxinFundUpdateDTO added in v1.2.0

func (r *TaobaoAlitripAxinTransFundUpdateAPIRequest) SetAxinFundUpdateDTO(_axinFundUpdateDTO *AxinFundUpdateDto) error

SetAxinFundUpdateDTO is AxinFundUpdateDTO Setter 更新资金单接口入参

type TaobaoAlitripAxinTransFundUpdateAPIResponse

type TaobaoAlitripAxinTransFundUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripAxinTransFundUpdateAPIResponseModel
}

TaobaoAlitripAxinTransFundUpdateAPIResponse 修改资金单接口 API返回值 taobao.alitrip.axin.trans.fund.update

阿信供销平台-修改资金单接口

type TaobaoAlitripAxinTransFundUpdateAPIResponseModel added in v1.2.0

type TaobaoAlitripAxinTransFundUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_axin_trans_fund_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *TaobaoAlitripAxinTransFundUpdateResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoAlitripAxinTransFundUpdateAPIResponseModel is 修改资金单接口 成功返回结果

type TaobaoAlitripAxinTransFundUpdateResult

type TaobaoAlitripAxinTransFundUpdateResult struct {
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 提示信息
	InfoMsg string `json:"info_msg,omitempty" xml:"info_msg,omitempty"`
	// 成功数量
	Data int64 `json:"data,omitempty" xml:"data,omitempty"`
	// 是否需要重试
	NeedRetry bool `json:"need_retry,omitempty" xml:"need_retry,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoAlitripAxinTransFundUpdateResult 结构体

type TaobaoAlitripAxinTransPayImgUploadAPIRequest added in v1.2.0

type TaobaoAlitripAxinTransPayImgUploadAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoAlitripAxinTransPayImgUploadAPIRequest 上传图片到支付宝图片空间接口 API请求 taobao.alitrip.axin.trans.pay.img.upload

阿信供销平台-上传图片到支付宝图片空间接口

func NewTaobaoAlitripAxinTransPayImgUploadRequest

func NewTaobaoAlitripAxinTransPayImgUploadRequest() *TaobaoAlitripAxinTransPayImgUploadAPIRequest

NewTaobaoAlitripAxinTransPayImgUploadRequest 初始化TaobaoAlitripAxinTransPayImgUploadAPIRequest对象

func (TaobaoAlitripAxinTransPayImgUploadAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAlitripAxinTransPayImgUploadAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAlitripAxinTransPayImgUploadAPIRequest) GetAxinPayImgUploadDTO added in v1.2.0

GetAxinPayImgUploadDTO AxinPayImgUploadDTO Getter

func (TaobaoAlitripAxinTransPayImgUploadAPIRequest) GetImgContents added in v1.2.0

GetImgContents ImgContents Getter

func (TaobaoAlitripAxinTransPayImgUploadAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoAlitripAxinTransPayImgUploadAPIRequest) SetAxinPayImgUploadDTO added in v1.2.0

func (r *TaobaoAlitripAxinTransPayImgUploadAPIRequest) SetAxinPayImgUploadDTO(_axinPayImgUploadDTO *AxinPayImgUploadDto) error

SetAxinPayImgUploadDTO is AxinPayImgUploadDTO Setter 上传图片到支付宝图片空间接口入参

func (*TaobaoAlitripAxinTransPayImgUploadAPIRequest) SetImgContents added in v1.2.0

func (r *TaobaoAlitripAxinTransPayImgUploadAPIRequest) SetImgContents(_imgContents *model.File) error

SetImgContents is ImgContents Setter 图片字节流

type TaobaoAlitripAxinTransPayImgUploadAPIResponse

type TaobaoAlitripAxinTransPayImgUploadAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripAxinTransPayImgUploadAPIResponseModel
}

TaobaoAlitripAxinTransPayImgUploadAPIResponse 上传图片到支付宝图片空间接口 API返回值 taobao.alitrip.axin.trans.pay.img.upload

阿信供销平台-上传图片到支付宝图片空间接口

type TaobaoAlitripAxinTransPayImgUploadAPIResponseModel added in v1.2.0

type TaobaoAlitripAxinTransPayImgUploadAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_axin_trans_pay_img_upload_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *TaobaoAlitripAxinTransPayImgUploadResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoAlitripAxinTransPayImgUploadAPIResponseModel is 上传图片到支付宝图片空间接口 成功返回结果

type TaobaoAlitripAxinTransPayImgUploadResult

type TaobaoAlitripAxinTransPayImgUploadResult struct {
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 提示信息
	InfoMsg string `json:"info_msg,omitempty" xml:"info_msg,omitempty"`
	// 返回素材id
	Data *AxinPayImgUploadResDto `json:"data,omitempty" xml:"data,omitempty"`
	// 是否需要重试
	NeedRetry bool `json:"need_retry,omitempty" xml:"need_retry,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoAlitripAxinTransPayImgUploadResult 结构体

type TaobaoAlitripAxinTransPayRegisterAuditAPIRequest added in v1.2.0

type TaobaoAlitripAxinTransPayRegisterAuditAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoAlitripAxinTransPayRegisterAuditAPIRequest 阿信支付入驻审核通知 API请求 taobao.alitrip.axin.trans.pay.register.audit

阿信支付入驻审核通知

func NewTaobaoAlitripAxinTransPayRegisterAuditRequest

func NewTaobaoAlitripAxinTransPayRegisterAuditRequest() *TaobaoAlitripAxinTransPayRegisterAuditAPIRequest

NewTaobaoAlitripAxinTransPayRegisterAuditRequest 初始化TaobaoAlitripAxinTransPayRegisterAuditAPIRequest对象

func (TaobaoAlitripAxinTransPayRegisterAuditAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAlitripAxinTransPayRegisterAuditAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAlitripAxinTransPayRegisterAuditAPIRequest) GetAxinPayRegisterAuditDto added in v1.2.0

GetAxinPayRegisterAuditDto AxinPayRegisterAuditDto Getter

func (TaobaoAlitripAxinTransPayRegisterAuditAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoAlitripAxinTransPayRegisterAuditAPIRequest) SetAxinPayRegisterAuditDto added in v1.2.0

func (r *TaobaoAlitripAxinTransPayRegisterAuditAPIRequest) SetAxinPayRegisterAuditDto(_axinPayRegisterAuditDto *AxinPayRegisterAuditDto) error

SetAxinPayRegisterAuditDto is AxinPayRegisterAuditDto Setter 支付入驻审核对象

type TaobaoAlitripAxinTransPayRegisterAuditAPIResponse

type TaobaoAlitripAxinTransPayRegisterAuditAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripAxinTransPayRegisterAuditAPIResponseModel
}

TaobaoAlitripAxinTransPayRegisterAuditAPIResponse 阿信支付入驻审核通知 API返回值 taobao.alitrip.axin.trans.pay.register.audit

阿信支付入驻审核通知

type TaobaoAlitripAxinTransPayRegisterAuditAPIResponseModel added in v1.2.0

type TaobaoAlitripAxinTransPayRegisterAuditAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_axin_trans_pay_register_audit_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果
	Result *BaseResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoAlitripAxinTransPayRegisterAuditAPIResponseModel is 阿信支付入驻审核通知 成功返回结果

type TaobaoAlitripAxinTransPayRegisterCreateAPIRequest added in v1.2.0

type TaobaoAlitripAxinTransPayRegisterCreateAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoAlitripAxinTransPayRegisterCreateAPIRequest 提交支付服务开通 API请求 taobao.alitrip.axin.trans.pay.register.create

阿信供销平台-提交支付服务开通接口

func NewTaobaoAlitripAxinTransPayRegisterCreateRequest

func NewTaobaoAlitripAxinTransPayRegisterCreateRequest() *TaobaoAlitripAxinTransPayRegisterCreateAPIRequest

NewTaobaoAlitripAxinTransPayRegisterCreateRequest 初始化TaobaoAlitripAxinTransPayRegisterCreateAPIRequest对象

func (TaobaoAlitripAxinTransPayRegisterCreateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAlitripAxinTransPayRegisterCreateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAlitripAxinTransPayRegisterCreateAPIRequest) GetCreateDTO added in v1.2.0

GetCreateDTO CreateDTO Getter

func (TaobaoAlitripAxinTransPayRegisterCreateAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoAlitripAxinTransPayRegisterCreateAPIRequest) SetCreateDTO added in v1.2.0

SetCreateDTO is CreateDTO Setter 提交支付服务开通接口入参

type TaobaoAlitripAxinTransPayRegisterCreateAPIResponse

type TaobaoAlitripAxinTransPayRegisterCreateAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripAxinTransPayRegisterCreateAPIResponseModel
}

TaobaoAlitripAxinTransPayRegisterCreateAPIResponse 提交支付服务开通 API返回值 taobao.alitrip.axin.trans.pay.register.create

阿信供销平台-提交支付服务开通接口

type TaobaoAlitripAxinTransPayRegisterCreateAPIResponseModel added in v1.2.0

type TaobaoAlitripAxinTransPayRegisterCreateAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_axin_trans_pay_register_create_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *TaobaoAlitripAxinTransPayRegisterCreateResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoAlitripAxinTransPayRegisterCreateAPIResponseModel is 提交支付服务开通 成功返回结果

type TaobaoAlitripAxinTransPayRegisterCreateResult

type TaobaoAlitripAxinTransPayRegisterCreateResult struct {
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 描述信息
	InfoMsg string `json:"info_msg,omitempty" xml:"info_msg,omitempty"`
	// 返回素材id
	Data *AxinPayRegisterCreateResDto `json:"data,omitempty" xml:"data,omitempty"`
	// 是否需要重试
	NeedRetry bool `json:"need_retry,omitempty" xml:"need_retry,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoAlitripAxinTransPayRegisterCreateResult 结构体

type TaobaoAlitripAxinTransPayRegisterReapplyAPIRequest added in v1.2.0

type TaobaoAlitripAxinTransPayRegisterReapplyAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoAlitripAxinTransPayRegisterReapplyAPIRequest 阿信支付入驻重新申请 API请求 taobao.alitrip.axin.trans.pay.register.reapply

阿信支付入驻重新申请 用于支付平台驳回,商户提交时的业务场景

func NewTaobaoAlitripAxinTransPayRegisterReapplyRequest

func NewTaobaoAlitripAxinTransPayRegisterReapplyRequest() *TaobaoAlitripAxinTransPayRegisterReapplyAPIRequest

NewTaobaoAlitripAxinTransPayRegisterReapplyRequest 初始化TaobaoAlitripAxinTransPayRegisterReapplyAPIRequest对象

func (TaobaoAlitripAxinTransPayRegisterReapplyAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAlitripAxinTransPayRegisterReapplyAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAlitripAxinTransPayRegisterReapplyAPIRequest) GetAxinPayRegisterCreateDTO added in v1.2.0

GetAxinPayRegisterCreateDTO AxinPayRegisterCreateDTO Getter

func (TaobaoAlitripAxinTransPayRegisterReapplyAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoAlitripAxinTransPayRegisterReapplyAPIRequest) SetAxinPayRegisterCreateDTO added in v1.2.0

func (r *TaobaoAlitripAxinTransPayRegisterReapplyAPIRequest) SetAxinPayRegisterCreateDTO(_axinPayRegisterCreateDTO *AxinPayRegisterCreateDto) error

SetAxinPayRegisterCreateDTO is AxinPayRegisterCreateDTO Setter 阿信支付入驻重新申请参数

type TaobaoAlitripAxinTransPayRegisterReapplyAPIResponse

type TaobaoAlitripAxinTransPayRegisterReapplyAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripAxinTransPayRegisterReapplyAPIResponseModel
}

TaobaoAlitripAxinTransPayRegisterReapplyAPIResponse 阿信支付入驻重新申请 API返回值 taobao.alitrip.axin.trans.pay.register.reapply

阿信支付入驻重新申请 用于支付平台驳回,商户提交时的业务场景

type TaobaoAlitripAxinTransPayRegisterReapplyAPIResponseModel added in v1.2.0

type TaobaoAlitripAxinTransPayRegisterReapplyAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_axin_trans_pay_register_reapply_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果对象
	Result *BaseResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoAlitripAxinTransPayRegisterReapplyAPIResponseModel is 阿信支付入驻重新申请 成功返回结果

type TaobaoAlitripAxinTransPaySignCheckAPIRequest added in v1.2.0

type TaobaoAlitripAxinTransPaySignCheckAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoAlitripAxinTransPaySignCheckAPIRequest 阿信支付宝验签服务 API请求 taobao.alitrip.axin.trans.pay.sign.check

阿信支付宝验签服务

func NewTaobaoAlitripAxinTransPaySignCheckRequest

func NewTaobaoAlitripAxinTransPaySignCheckRequest() *TaobaoAlitripAxinTransPaySignCheckAPIRequest

NewTaobaoAlitripAxinTransPaySignCheckRequest 初始化TaobaoAlitripAxinTransPaySignCheckAPIRequest对象

func (TaobaoAlitripAxinTransPaySignCheckAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAlitripAxinTransPaySignCheckAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAlitripAxinTransPaySignCheckAPIRequest) GetAxinPayCheckSignDto added in v1.2.0

GetAxinPayCheckSignDto AxinPayCheckSignDto Getter

func (TaobaoAlitripAxinTransPaySignCheckAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoAlitripAxinTransPaySignCheckAPIRequest) SetAxinPayCheckSignDto added in v1.2.0

func (r *TaobaoAlitripAxinTransPaySignCheckAPIRequest) SetAxinPayCheckSignDto(_axinPayCheckSignDto *AxinPayCheckSignDto) error

SetAxinPayCheckSignDto is AxinPayCheckSignDto Setter 验签对象

type TaobaoAlitripAxinTransPaySignCheckAPIResponse

type TaobaoAlitripAxinTransPaySignCheckAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripAxinTransPaySignCheckAPIResponseModel
}

TaobaoAlitripAxinTransPaySignCheckAPIResponse 阿信支付宝验签服务 API返回值 taobao.alitrip.axin.trans.pay.sign.check

阿信支付宝验签服务

type TaobaoAlitripAxinTransPaySignCheckAPIResponseModel added in v1.2.0

type TaobaoAlitripAxinTransPaySignCheckAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_axin_trans_pay_sign_check_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果对象
	Result *BaseResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoAlitripAxinTransPaySignCheckAPIResponseModel is 阿信支付宝验签服务 成功返回结果

type TaobaoAlitripAxinTransRefundCreateAPIRequest added in v1.2.0

type TaobaoAlitripAxinTransRefundCreateAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoAlitripAxinTransRefundCreateAPIRequest 阿信创建退款单 API请求 taobao.alitrip.axin.trans.refund.create

阿信供销平台-创建退款单服务

func NewTaobaoAlitripAxinTransRefundCreateRequest

func NewTaobaoAlitripAxinTransRefundCreateRequest() *TaobaoAlitripAxinTransRefundCreateAPIRequest

NewTaobaoAlitripAxinTransRefundCreateRequest 初始化TaobaoAlitripAxinTransRefundCreateAPIRequest对象

func (TaobaoAlitripAxinTransRefundCreateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAlitripAxinTransRefundCreateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAlitripAxinTransRefundCreateAPIRequest) GetAxinRefundCreateDTO added in v1.2.0

GetAxinRefundCreateDTO AxinRefundCreateDTO Getter

func (TaobaoAlitripAxinTransRefundCreateAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoAlitripAxinTransRefundCreateAPIRequest) SetAxinRefundCreateDTO added in v1.2.0

func (r *TaobaoAlitripAxinTransRefundCreateAPIRequest) SetAxinRefundCreateDTO(_axinRefundCreateDTO *AxinRefundCreateDto) error

SetAxinRefundCreateDTO is AxinRefundCreateDTO Setter 阿信创建退款单入参

type TaobaoAlitripAxinTransRefundCreateAPIResponse

type TaobaoAlitripAxinTransRefundCreateAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripAxinTransRefundCreateAPIResponseModel
}

TaobaoAlitripAxinTransRefundCreateAPIResponse 阿信创建退款单 API返回值 taobao.alitrip.axin.trans.refund.create

阿信供销平台-创建退款单服务

type TaobaoAlitripAxinTransRefundCreateAPIResponseModel added in v1.2.0

type TaobaoAlitripAxinTransRefundCreateAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_axin_trans_refund_create_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *TaobaoAlitripAxinTransRefundCreateResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoAlitripAxinTransRefundCreateAPIResponseModel is 阿信创建退款单 成功返回结果

type TaobaoAlitripAxinTransRefundCreateResult

type TaobaoAlitripAxinTransRefundCreateResult struct {
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 提示信息
	InfoMsg string `json:"info_msg,omitempty" xml:"info_msg,omitempty"`
	// 返回素材id
	Data *AxinRefundCreateResDto `json:"data,omitempty" xml:"data,omitempty"`
	// 是否需要重试
	NeedRetry bool `json:"need_retry,omitempty" xml:"need_retry,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoAlitripAxinTransRefundCreateResult 结构体

type TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest added in v1.2.5

type TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest 酒店分销订单创建服务-阿信 API请求 taobao.alitrip.travel.axin.hotel.order.create

提供酒店分销订单创建服务

func NewTaobaoAlitripTravelAxinHotelOrderCreateRequest added in v1.2.5

func NewTaobaoAlitripTravelAxinHotelOrderCreateRequest() *TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest

NewTaobaoAlitripTravelAxinHotelOrderCreateRequest 初始化TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest对象

func (TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) GetCheckIn added in v1.2.5

GetCheckIn CheckIn Getter

func (TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) GetCheckOut added in v1.2.5

GetCheckOut CheckOut Getter

func (TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) GetCityCode added in v1.2.5

GetCityCode CityCode Getter

func (TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) GetCreateKey added in v1.2.5

GetCreateKey CreateKey Getter

func (TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) GetCurrencyCode added in v1.2.5

GetCurrencyCode CurrencyCode Getter

func (TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) GetCustomers added in v1.2.5

GetCustomers Customers Getter

func (TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) GetDistributorTid added in v1.2.5

GetDistributorTid DistributorTid Getter

func (TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) GetHotelArrivalTime added in v1.2.5

GetHotelArrivalTime HotelArrivalTime Getter

func (TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) GetHotelContact added in v1.2.5

GetHotelContact HotelContact Getter

func (TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) GetHotelName added in v1.2.5

GetHotelName HotelName Getter

func (TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) GetItemId added in v1.2.5

GetItemId ItemId Getter

func (TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) GetNumberOfAdultsPerRoom added in v1.2.5

func (r TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) GetNumberOfAdultsPerRoom() int64

GetNumberOfAdultsPerRoom NumberOfAdultsPerRoom Getter

func (TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) GetOuterOrderId added in v1.2.5

GetOuterOrderId OuterOrderId Getter

func (TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) GetPromotionTotalPrice added in v1.2.5

func (r TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) GetPromotionTotalPrice() int64

GetPromotionTotalPrice PromotionTotalPrice Getter

func (TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) GetRatePlanId added in v1.2.5

GetRatePlanId RatePlanId Getter

func (TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) GetRemark added in v1.2.5

GetRemark Remark Getter

func (TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) GetResourceChannel added in v1.2.5

GetResourceChannel ResourceChannel Getter

func (TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) GetRoomNumber added in v1.2.5

GetRoomNumber RoomNumber Getter

func (TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) GetShid added in v1.2.5

GetShid Shid Getter

func (TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) GetSrid added in v1.2.5

GetSrid Srid Getter

func (TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) GetTotalCnyRoomPrice added in v1.2.5

GetTotalCnyRoomPrice TotalCnyRoomPrice Getter

func (TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) GetTotalRoomPrice added in v1.2.5

GetTotalRoomPrice TotalRoomPrice Getter

func (*TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) SetCheckIn added in v1.2.5

SetCheckIn is CheckIn Setter 入住日期

func (*TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) SetCheckOut added in v1.2.5

SetCheckOut is CheckOut Setter 离店日期

func (*TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) SetCityCode added in v1.2.5

SetCityCode is CityCode Setter 城市代码

func (*TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) SetCreateKey added in v1.2.5

SetCreateKey is CreateKey Setter 订单验证返回的key

func (*TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) SetCurrencyCode added in v1.2.5

func (r *TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) SetCurrencyCode(_currencyCode string) error

SetCurrencyCode is CurrencyCode Setter 币种

func (*TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) SetCustomers added in v1.2.5

SetCustomers is Customers Setter 入住人信息

func (*TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) SetDistributorTid added in v1.2.5

func (r *TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) SetDistributorTid(_distributorTid int64) error

SetDistributorTid is DistributorTid Setter 分销商ID

func (*TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) SetHotelArrivalTime added in v1.2.5

func (r *TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) SetHotelArrivalTime(_hotelArrivalTime *HotelArrivalTime) error

SetHotelArrivalTime is HotelArrivalTime Setter 到店时间

func (*TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) SetHotelContact added in v1.2.5

SetHotelContact is HotelContact Setter 联系人信息

func (*TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) SetHotelName added in v1.2.5

SetHotelName is HotelName Setter 酒店名称

func (*TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) SetItemId added in v1.2.5

SetItemId is ItemId Setter 商品id

func (*TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) SetNumberOfAdultsPerRoom added in v1.2.5

func (r *TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) SetNumberOfAdultsPerRoom(_numberOfAdultsPerRoom int64) error

SetNumberOfAdultsPerRoom is NumberOfAdultsPerRoom Setter 每间房入住人数

func (*TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) SetOuterOrderId added in v1.2.5

func (r *TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) SetOuterOrderId(_outerOrderId string) error

SetOuterOrderId is OuterOrderId Setter 外部订单号

func (*TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) SetPromotionTotalPrice added in v1.2.5

func (r *TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) SetPromotionTotalPrice(_promotionTotalPrice int64) error

SetPromotionTotalPrice is PromotionTotalPrice Setter 总优惠金额

func (*TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) SetRatePlanId added in v1.2.5

func (r *TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) SetRatePlanId(_ratePlanId int64) error

SetRatePlanId is RatePlanId Setter 售卖政策id

func (*TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) SetRemark added in v1.2.5

SetRemark is Remark Setter 备注

func (*TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) SetResourceChannel added in v1.2.5

func (r *TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) SetResourceChannel(_resourceChannel string) error

SetResourceChannel is ResourceChannel Setter 资源渠道

func (*TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) SetRoomNumber added in v1.2.5

func (r *TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) SetRoomNumber(_roomNumber int64) error

SetRoomNumber is RoomNumber Setter 房间数

func (*TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) SetShid added in v1.2.5

SetShid is Shid Setter 标准酒店id

func (*TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) SetSrid added in v1.2.5

SetSrid is Srid Setter 标准房型ID

func (*TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) SetTotalCnyRoomPrice added in v1.2.5

func (r *TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) SetTotalCnyRoomPrice(_totalCnyRoomPrice int64) error

SetTotalCnyRoomPrice is TotalCnyRoomPrice Setter 人民币总价格

func (*TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) SetTotalRoomPrice added in v1.2.5

func (r *TaobaoAlitripTravelAxinHotelOrderCreateAPIRequest) SetTotalRoomPrice(_totalRoomPrice int64) error

SetTotalRoomPrice is TotalRoomPrice Setter 总房价(单位分)

type TaobaoAlitripTravelAxinHotelOrderCreateAPIResponse added in v1.2.5

type TaobaoAlitripTravelAxinHotelOrderCreateAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripTravelAxinHotelOrderCreateAPIResponseModel
}

TaobaoAlitripTravelAxinHotelOrderCreateAPIResponse 酒店分销订单创建服务-阿信 API返回值 taobao.alitrip.travel.axin.hotel.order.create

提供酒店分销订单创建服务

type TaobaoAlitripTravelAxinHotelOrderCreateAPIResponseModel added in v1.2.5

type TaobaoAlitripTravelAxinHotelOrderCreateAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_travel_axin_hotel_order_create_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *TaobaoAlitripTravelAxinHotelOrderCreateResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoAlitripTravelAxinHotelOrderCreateAPIResponseModel is 酒店分销订单创建服务-阿信 成功返回结果

type TaobaoAlitripTravelAxinHotelOrderCreateResult added in v1.2.5

type TaobaoAlitripTravelAxinHotelOrderCreateResult struct {
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 阿信订单id
	Data int64 `json:"data,omitempty" xml:"data,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoAlitripTravelAxinHotelOrderCreateResult 结构体

type TaobaoAlitripTravelAxinHotelOrderDetailAPIRequest added in v1.2.5

type TaobaoAlitripTravelAxinHotelOrderDetailAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoAlitripTravelAxinHotelOrderDetailAPIRequest 阿信酒店分销-订单详情接口 API请求 taobao.alitrip.travel.axin.hotel.order.detail

阿信酒店订单详情的读取接口

func NewTaobaoAlitripTravelAxinHotelOrderDetailRequest added in v1.2.5

func NewTaobaoAlitripTravelAxinHotelOrderDetailRequest() *TaobaoAlitripTravelAxinHotelOrderDetailAPIRequest

NewTaobaoAlitripTravelAxinHotelOrderDetailRequest 初始化TaobaoAlitripTravelAxinHotelOrderDetailAPIRequest对象

func (TaobaoAlitripTravelAxinHotelOrderDetailAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAlitripTravelAxinHotelOrderDetailAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAlitripTravelAxinHotelOrderDetailAPIRequest) GetDistributorTid added in v1.2.5

GetDistributorTid DistributorTid Getter

func (TaobaoAlitripTravelAxinHotelOrderDetailAPIRequest) GetOuterOrderId added in v1.2.5

GetOuterOrderId OuterOrderId Getter

func (TaobaoAlitripTravelAxinHotelOrderDetailAPIRequest) GetPurSubOrderId added in v1.2.5

GetPurSubOrderId PurSubOrderId Getter

func (TaobaoAlitripTravelAxinHotelOrderDetailAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoAlitripTravelAxinHotelOrderDetailAPIRequest) GetResourceChannel added in v1.2.5

GetResourceChannel ResourceChannel Getter

func (*TaobaoAlitripTravelAxinHotelOrderDetailAPIRequest) SetDistributorTid added in v1.2.5

func (r *TaobaoAlitripTravelAxinHotelOrderDetailAPIRequest) SetDistributorTid(_distributorTid int64) error

SetDistributorTid is DistributorTid Setter 分销商id

func (*TaobaoAlitripTravelAxinHotelOrderDetailAPIRequest) SetOuterOrderId added in v1.2.5

func (r *TaobaoAlitripTravelAxinHotelOrderDetailAPIRequest) SetOuterOrderId(_outerOrderId string) error

SetOuterOrderId is OuterOrderId Setter 外部订单id

func (*TaobaoAlitripTravelAxinHotelOrderDetailAPIRequest) SetPurSubOrderId added in v1.2.5

func (r *TaobaoAlitripTravelAxinHotelOrderDetailAPIRequest) SetPurSubOrderId(_purSubOrderId int64) error

SetPurSubOrderId is PurSubOrderId Setter 采购单id

func (*TaobaoAlitripTravelAxinHotelOrderDetailAPIRequest) SetResourceChannel added in v1.2.5

func (r *TaobaoAlitripTravelAxinHotelOrderDetailAPIRequest) SetResourceChannel(_resourceChannel string) error

SetResourceChannel is ResourceChannel Setter 资源渠道

type TaobaoAlitripTravelAxinHotelOrderDetailAPIResponse added in v1.2.5

type TaobaoAlitripTravelAxinHotelOrderDetailAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripTravelAxinHotelOrderDetailAPIResponseModel
}

TaobaoAlitripTravelAxinHotelOrderDetailAPIResponse 阿信酒店分销-订单详情接口 API返回值 taobao.alitrip.travel.axin.hotel.order.detail

阿信酒店订单详情的读取接口

type TaobaoAlitripTravelAxinHotelOrderDetailAPIResponseModel added in v1.2.5

type TaobaoAlitripTravelAxinHotelOrderDetailAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_travel_axin_hotel_order_detail_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *TaobaoAlitripTravelAxinHotelOrderDetailResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoAlitripTravelAxinHotelOrderDetailAPIResponseModel is 阿信酒店分销-订单详情接口 成功返回结果

type TaobaoAlitripTravelAxinHotelOrderDetailResult added in v1.2.5

type TaobaoAlitripTravelAxinHotelOrderDetailResult struct {
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 返回参数
	Data *HotelOrderQueryRes `json:"data,omitempty" xml:"data,omitempty"`
	// 成功与否
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoAlitripTravelAxinHotelOrderDetailResult 结构体

type TaobaoAlitripTravelAxinHotelOrderPayAPIRequest added in v1.2.5

type TaobaoAlitripTravelAxinHotelOrderPayAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoAlitripTravelAxinHotelOrderPayAPIRequest 阿信酒店分销订单支付 API请求 taobao.alitrip.travel.axin.hotel.order.pay

阿信酒店分销订单支付

func NewTaobaoAlitripTravelAxinHotelOrderPayRequest added in v1.2.5

func NewTaobaoAlitripTravelAxinHotelOrderPayRequest() *TaobaoAlitripTravelAxinHotelOrderPayAPIRequest

NewTaobaoAlitripTravelAxinHotelOrderPayRequest 初始化TaobaoAlitripTravelAxinHotelOrderPayAPIRequest对象

func (TaobaoAlitripTravelAxinHotelOrderPayAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAlitripTravelAxinHotelOrderPayAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAlitripTravelAxinHotelOrderPayAPIRequest) GetDistributorTid added in v1.2.5

GetDistributorTid DistributorTid Getter

func (TaobaoAlitripTravelAxinHotelOrderPayAPIRequest) GetPurchaseOrderId added in v1.2.5

GetPurchaseOrderId PurchaseOrderId Getter

func (TaobaoAlitripTravelAxinHotelOrderPayAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoAlitripTravelAxinHotelOrderPayAPIRequest) SetDistributorTid added in v1.2.5

func (r *TaobaoAlitripTravelAxinHotelOrderPayAPIRequest) SetDistributorTid(_distributorTid int64) error

SetDistributorTid is DistributorTid Setter 分销商id

func (*TaobaoAlitripTravelAxinHotelOrderPayAPIRequest) SetPurchaseOrderId added in v1.2.5

func (r *TaobaoAlitripTravelAxinHotelOrderPayAPIRequest) SetPurchaseOrderId(_purchaseOrderId int64) error

SetPurchaseOrderId is PurchaseOrderId Setter 采购单号

type TaobaoAlitripTravelAxinHotelOrderPayAPIResponse added in v1.2.5

type TaobaoAlitripTravelAxinHotelOrderPayAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripTravelAxinHotelOrderPayAPIResponseModel
}

TaobaoAlitripTravelAxinHotelOrderPayAPIResponse 阿信酒店分销订单支付 API返回值 taobao.alitrip.travel.axin.hotel.order.pay

阿信酒店分销订单支付

type TaobaoAlitripTravelAxinHotelOrderPayAPIResponseModel added in v1.2.5

type TaobaoAlitripTravelAxinHotelOrderPayAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_travel_axin_hotel_order_pay_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *TaobaoAlitripTravelAxinHotelOrderPayResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoAlitripTravelAxinHotelOrderPayAPIResponseModel is 阿信酒店分销订单支付 成功返回结果

type TaobaoAlitripTravelAxinHotelOrderPayResult added in v1.2.5

type TaobaoAlitripTravelAxinHotelOrderPayResult struct {
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 支付id
	Data int64 `json:"data,omitempty" xml:"data,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoAlitripTravelAxinHotelOrderPayResult 结构体

type TaobaoAlitripTravelAxinHotelOrderRefundAPIRequest added in v1.2.5

type TaobaoAlitripTravelAxinHotelOrderRefundAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoAlitripTravelAxinHotelOrderRefundAPIRequest 阿信酒店分销订单退款API API请求 taobao.alitrip.travel.axin.hotel.order.refund

阿信酒店分销订单退款

func NewTaobaoAlitripTravelAxinHotelOrderRefundRequest added in v1.2.5

func NewTaobaoAlitripTravelAxinHotelOrderRefundRequest() *TaobaoAlitripTravelAxinHotelOrderRefundAPIRequest

NewTaobaoAlitripTravelAxinHotelOrderRefundRequest 初始化TaobaoAlitripTravelAxinHotelOrderRefundAPIRequest对象

func (TaobaoAlitripTravelAxinHotelOrderRefundAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAlitripTravelAxinHotelOrderRefundAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAlitripTravelAxinHotelOrderRefundAPIRequest) GetDistributorTid added in v1.2.5

GetDistributorTid DistributorTid Getter

func (TaobaoAlitripTravelAxinHotelOrderRefundAPIRequest) GetPurchaseOrderId added in v1.2.5

GetPurchaseOrderId PurchaseOrderId Getter

func (TaobaoAlitripTravelAxinHotelOrderRefundAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoAlitripTravelAxinHotelOrderRefundAPIRequest) GetReason added in v1.2.5

GetReason Reason Getter

func (TaobaoAlitripTravelAxinHotelOrderRefundAPIRequest) GetRemark added in v1.2.5

GetRemark Remark Getter

func (TaobaoAlitripTravelAxinHotelOrderRefundAPIRequest) GetResourceChannel added in v1.2.5

GetResourceChannel ResourceChannel Getter

func (*TaobaoAlitripTravelAxinHotelOrderRefundAPIRequest) SetDistributorTid added in v1.2.5

func (r *TaobaoAlitripTravelAxinHotelOrderRefundAPIRequest) SetDistributorTid(_distributorTid int64) error

SetDistributorTid is DistributorTid Setter 分销商id

func (*TaobaoAlitripTravelAxinHotelOrderRefundAPIRequest) SetPurchaseOrderId added in v1.2.5

func (r *TaobaoAlitripTravelAxinHotelOrderRefundAPIRequest) SetPurchaseOrderId(_purchaseOrderId int64) error

SetPurchaseOrderId is PurchaseOrderId Setter 采购单号

func (*TaobaoAlitripTravelAxinHotelOrderRefundAPIRequest) SetReason added in v1.2.5

SetReason is Reason Setter 退款原因

func (*TaobaoAlitripTravelAxinHotelOrderRefundAPIRequest) SetRemark added in v1.2.5

SetRemark is Remark Setter 备注

func (*TaobaoAlitripTravelAxinHotelOrderRefundAPIRequest) SetResourceChannel added in v1.2.5

func (r *TaobaoAlitripTravelAxinHotelOrderRefundAPIRequest) SetResourceChannel(_resourceChannel string) error

SetResourceChannel is ResourceChannel Setter 资源渠道

type TaobaoAlitripTravelAxinHotelOrderRefundAPIResponse added in v1.2.5

type TaobaoAlitripTravelAxinHotelOrderRefundAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripTravelAxinHotelOrderRefundAPIResponseModel
}

TaobaoAlitripTravelAxinHotelOrderRefundAPIResponse 阿信酒店分销订单退款API API返回值 taobao.alitrip.travel.axin.hotel.order.refund

阿信酒店分销订单退款

type TaobaoAlitripTravelAxinHotelOrderRefundAPIResponseModel added in v1.2.5

type TaobaoAlitripTravelAxinHotelOrderRefundAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_travel_axin_hotel_order_refund_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *BaseResultApiDto `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoAlitripTravelAxinHotelOrderRefundAPIResponseModel is 阿信酒店分销订单退款API 成功返回结果

type TaobaoAlitripTravelAxinHotelOrderValidateAPIRequest added in v1.2.5

type TaobaoAlitripTravelAxinHotelOrderValidateAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoAlitripTravelAxinHotelOrderValidateAPIRequest 阿信酒店订单数据校验 API请求 taobao.alitrip.travel.axin.hotel.order.validate

阿信酒店订单下单前的数据校验,包括酒店、房型、售卖政策、入离日期等参数的校验

func NewTaobaoAlitripTravelAxinHotelOrderValidateRequest added in v1.2.5

func NewTaobaoAlitripTravelAxinHotelOrderValidateRequest() *TaobaoAlitripTravelAxinHotelOrderValidateAPIRequest

NewTaobaoAlitripTravelAxinHotelOrderValidateRequest 初始化TaobaoAlitripTravelAxinHotelOrderValidateAPIRequest对象

func (TaobaoAlitripTravelAxinHotelOrderValidateAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAlitripTravelAxinHotelOrderValidateAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAlitripTravelAxinHotelOrderValidateAPIRequest) GetCheckIn added in v1.2.5

GetCheckIn CheckIn Getter

func (TaobaoAlitripTravelAxinHotelOrderValidateAPIRequest) GetCheckOut added in v1.2.5

GetCheckOut CheckOut Getter

func (TaobaoAlitripTravelAxinHotelOrderValidateAPIRequest) GetDistributorTid added in v1.2.5

GetDistributorTid DistributorTid Getter

func (TaobaoAlitripTravelAxinHotelOrderValidateAPIRequest) GetInvokeScene added in v1.2.5

GetInvokeScene InvokeScene Getter

func (TaobaoAlitripTravelAxinHotelOrderValidateAPIRequest) GetItemId added in v1.2.5

GetItemId ItemId Getter

func (TaobaoAlitripTravelAxinHotelOrderValidateAPIRequest) GetNumberOfAdultsPerRoom added in v1.2.5

func (r TaobaoAlitripTravelAxinHotelOrderValidateAPIRequest) GetNumberOfAdultsPerRoom() string

GetNumberOfAdultsPerRoom NumberOfAdultsPerRoom Getter

func (TaobaoAlitripTravelAxinHotelOrderValidateAPIRequest) GetRateId added in v1.2.5

GetRateId RateId Getter

func (TaobaoAlitripTravelAxinHotelOrderValidateAPIRequest) GetRatePlanId added in v1.2.5

GetRatePlanId RatePlanId Getter

func (TaobaoAlitripTravelAxinHotelOrderValidateAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoAlitripTravelAxinHotelOrderValidateAPIRequest) GetResourceChannel added in v1.2.5

GetResourceChannel ResourceChannel Getter

func (TaobaoAlitripTravelAxinHotelOrderValidateAPIRequest) GetRoomNumber added in v1.2.5

GetRoomNumber RoomNumber Getter

func (TaobaoAlitripTravelAxinHotelOrderValidateAPIRequest) GetShid added in v1.2.5

GetShid Shid Getter

func (TaobaoAlitripTravelAxinHotelOrderValidateAPIRequest) GetSrid added in v1.2.5

GetSrid Srid Getter

func (TaobaoAlitripTravelAxinHotelOrderValidateAPIRequest) GetTotalFee added in v1.2.5

GetTotalFee TotalFee Getter

func (*TaobaoAlitripTravelAxinHotelOrderValidateAPIRequest) SetCheckIn added in v1.2.5

SetCheckIn is CheckIn Setter 入住日期

func (*TaobaoAlitripTravelAxinHotelOrderValidateAPIRequest) SetCheckOut added in v1.2.5

SetCheckOut is CheckOut Setter 离店日期

func (*TaobaoAlitripTravelAxinHotelOrderValidateAPIRequest) SetDistributorTid added in v1.2.5

func (r *TaobaoAlitripTravelAxinHotelOrderValidateAPIRequest) SetDistributorTid(_distributorTid int64) error

SetDistributorTid is DistributorTid Setter 分销商id

func (*TaobaoAlitripTravelAxinHotelOrderValidateAPIRequest) SetInvokeScene added in v1.2.5

func (r *TaobaoAlitripTravelAxinHotelOrderValidateAPIRequest) SetInvokeScene(_invokeScene string) error

SetInvokeScene is InvokeScene Setter NORMAL-正常场景,SPECIAL-特殊场景

func (*TaobaoAlitripTravelAxinHotelOrderValidateAPIRequest) SetItemId added in v1.2.5

SetItemId is ItemId Setter 商品id

func (*TaobaoAlitripTravelAxinHotelOrderValidateAPIRequest) SetNumberOfAdultsPerRoom added in v1.2.5

func (r *TaobaoAlitripTravelAxinHotelOrderValidateAPIRequest) SetNumberOfAdultsPerRoom(_numberOfAdultsPerRoom string) error

SetNumberOfAdultsPerRoom is NumberOfAdultsPerRoom Setter 每间房入住人数

func (*TaobaoAlitripTravelAxinHotelOrderValidateAPIRequest) SetRateId added in v1.2.5

SetRateId is RateId Setter rate_id

func (*TaobaoAlitripTravelAxinHotelOrderValidateAPIRequest) SetRatePlanId added in v1.2.5

func (r *TaobaoAlitripTravelAxinHotelOrderValidateAPIRequest) SetRatePlanId(_ratePlanId int64) error

SetRatePlanId is RatePlanId Setter rpid

func (*TaobaoAlitripTravelAxinHotelOrderValidateAPIRequest) SetResourceChannel added in v1.2.5

func (r *TaobaoAlitripTravelAxinHotelOrderValidateAPIRequest) SetResourceChannel(_resourceChannel string) error

SetResourceChannel is ResourceChannel Setter 资源渠道

func (*TaobaoAlitripTravelAxinHotelOrderValidateAPIRequest) SetRoomNumber added in v1.2.5

func (r *TaobaoAlitripTravelAxinHotelOrderValidateAPIRequest) SetRoomNumber(_roomNumber int64) error

SetRoomNumber is RoomNumber Setter 房间数

func (*TaobaoAlitripTravelAxinHotelOrderValidateAPIRequest) SetShid added in v1.2.5

SetShid is Shid Setter 酒店id

func (*TaobaoAlitripTravelAxinHotelOrderValidateAPIRequest) SetSrid added in v1.2.5

SetSrid is Srid Setter 房型id

func (*TaobaoAlitripTravelAxinHotelOrderValidateAPIRequest) SetTotalFee added in v1.2.5

SetTotalFee is TotalFee Setter 总价

type TaobaoAlitripTravelAxinHotelOrderValidateAPIResponse added in v1.2.5

type TaobaoAlitripTravelAxinHotelOrderValidateAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripTravelAxinHotelOrderValidateAPIResponseModel
}

TaobaoAlitripTravelAxinHotelOrderValidateAPIResponse 阿信酒店订单数据校验 API返回值 taobao.alitrip.travel.axin.hotel.order.validate

阿信酒店订单下单前的数据校验,包括酒店、房型、售卖政策、入离日期等参数的校验

type TaobaoAlitripTravelAxinHotelOrderValidateAPIResponseModel added in v1.2.5

type TaobaoAlitripTravelAxinHotelOrderValidateAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_travel_axin_hotel_order_validate_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 出参
	Result *BaseResultApiDto `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoAlitripTravelAxinHotelOrderValidateAPIResponseModel is 阿信酒店订单数据校验 成功返回结果

type TaobaoAlitripTravelAxinHotelticketOrderCreateorderAPIRequest added in v1.2.5

type TaobaoAlitripTravelAxinHotelticketOrderCreateorderAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoAlitripTravelAxinHotelticketOrderCreateorderAPIRequest 阿信度假业务创单并支付接口 API请求 taobao.alitrip.travel.axin.hotelticket.order.createorder

阿信度假业务创单并支付接口

func NewTaobaoAlitripTravelAxinHotelticketOrderCreateorderRequest added in v1.2.5

func NewTaobaoAlitripTravelAxinHotelticketOrderCreateorderRequest() *TaobaoAlitripTravelAxinHotelticketOrderCreateorderAPIRequest

NewTaobaoAlitripTravelAxinHotelticketOrderCreateorderRequest 初始化TaobaoAlitripTravelAxinHotelticketOrderCreateorderAPIRequest对象

func (TaobaoAlitripTravelAxinHotelticketOrderCreateorderAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAlitripTravelAxinHotelticketOrderCreateorderAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAlitripTravelAxinHotelticketOrderCreateorderAPIRequest) GetBizLine added in v1.2.5

GetBizLine BizLine Getter

func (TaobaoAlitripTravelAxinHotelticketOrderCreateorderAPIRequest) GetBuyAmount added in v1.2.5

GetBuyAmount BuyAmount Getter

func (TaobaoAlitripTravelAxinHotelticketOrderCreateorderAPIRequest) GetContactInfo added in v1.2.5

GetContactInfo ContactInfo Getter

func (TaobaoAlitripTravelAxinHotelticketOrderCreateorderAPIRequest) GetDistributorTid added in v1.2.5

GetDistributorTid DistributorTid Getter

func (TaobaoAlitripTravelAxinHotelticketOrderCreateorderAPIRequest) GetOuterOrderId added in v1.2.5

GetOuterOrderId OuterOrderId Getter

func (TaobaoAlitripTravelAxinHotelticketOrderCreateorderAPIRequest) GetProductId added in v1.2.5

GetProductId ProductId Getter

func (TaobaoAlitripTravelAxinHotelticketOrderCreateorderAPIRequest) GetProductPrice added in v1.2.5

GetProductPrice ProductPrice Getter

func (TaobaoAlitripTravelAxinHotelticketOrderCreateorderAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoAlitripTravelAxinHotelticketOrderCreateorderAPIRequest) GetServiceEndTime added in v1.2.5

GetServiceEndTime ServiceEndTime Getter

func (TaobaoAlitripTravelAxinHotelticketOrderCreateorderAPIRequest) GetServiceStartTime added in v1.2.5

GetServiceStartTime ServiceStartTime Getter

func (TaobaoAlitripTravelAxinHotelticketOrderCreateorderAPIRequest) GetTotalPrice added in v1.2.5

GetTotalPrice TotalPrice Getter

func (TaobaoAlitripTravelAxinHotelticketOrderCreateorderAPIRequest) GetTravelerInfoList added in v1.2.5

GetTravelerInfoList TravelerInfoList Getter

func (TaobaoAlitripTravelAxinHotelticketOrderCreateorderAPIRequest) GetUseTime added in v1.2.5

GetUseTime UseTime Getter

func (*TaobaoAlitripTravelAxinHotelticketOrderCreateorderAPIRequest) SetBizLine added in v1.2.5

SetBizLine is BizLine Setter 产品线

func (*TaobaoAlitripTravelAxinHotelticketOrderCreateorderAPIRequest) SetBuyAmount added in v1.2.5

SetBuyAmount is BuyAmount Setter 购买数量

func (*TaobaoAlitripTravelAxinHotelticketOrderCreateorderAPIRequest) SetContactInfo added in v1.2.5

SetContactInfo is ContactInfo Setter 联系人信息

func (*TaobaoAlitripTravelAxinHotelticketOrderCreateorderAPIRequest) SetDistributorTid added in v1.2.5

func (r *TaobaoAlitripTravelAxinHotelticketOrderCreateorderAPIRequest) SetDistributorTid(_distributorTid int64) error

SetDistributorTid is DistributorTid Setter 分销商ID(淘系)

func (*TaobaoAlitripTravelAxinHotelticketOrderCreateorderAPIRequest) SetOuterOrderId added in v1.2.5

SetOuterOrderId is OuterOrderId Setter 分销商订单号

func (*TaobaoAlitripTravelAxinHotelticketOrderCreateorderAPIRequest) SetProductId added in v1.2.5

SetProductId is ProductId Setter 产品id

func (*TaobaoAlitripTravelAxinHotelticketOrderCreateorderAPIRequest) SetProductPrice added in v1.2.5

SetProductPrice is ProductPrice Setter 产品单价

func (*TaobaoAlitripTravelAxinHotelticketOrderCreateorderAPIRequest) SetServiceEndTime added in v1.2.5

func (r *TaobaoAlitripTravelAxinHotelticketOrderCreateorderAPIRequest) SetServiceEndTime(_serviceEndTime string) error

SetServiceEndTime is ServiceEndTime Setter 结束日期 格式: yyyy-MM-dd

func (*TaobaoAlitripTravelAxinHotelticketOrderCreateorderAPIRequest) SetServiceStartTime added in v1.2.5

func (r *TaobaoAlitripTravelAxinHotelticketOrderCreateorderAPIRequest) SetServiceStartTime(_serviceStartTime string) error

SetServiceStartTime is ServiceStartTime Setter 出行日期 格式: yyyy-MM-dd

func (*TaobaoAlitripTravelAxinHotelticketOrderCreateorderAPIRequest) SetTotalPrice added in v1.2.5

SetTotalPrice is TotalPrice Setter 订单总金额,单位为分

func (*TaobaoAlitripTravelAxinHotelticketOrderCreateorderAPIRequest) SetTravelerInfoList added in v1.2.5

func (r *TaobaoAlitripTravelAxinHotelticketOrderCreateorderAPIRequest) SetTravelerInfoList(_travelerInfoList *TravelerDto) error

SetTravelerInfoList is TravelerInfoList Setter 出行人信息

func (*TaobaoAlitripTravelAxinHotelticketOrderCreateorderAPIRequest) SetUseTime added in v1.2.5

SetUseTime is UseTime Setter 门票游玩日期 只能选择出行和结束之间日期 格式: yyyy-MM-dd

type TaobaoAlitripTravelAxinHotelticketOrderCreateorderAPIResponse added in v1.2.5

type TaobaoAlitripTravelAxinHotelticketOrderCreateorderAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripTravelAxinHotelticketOrderCreateorderAPIResponseModel
}

TaobaoAlitripTravelAxinHotelticketOrderCreateorderAPIResponse 阿信度假业务创单并支付接口 API返回值 taobao.alitrip.travel.axin.hotelticket.order.createorder

阿信度假业务创单并支付接口

type TaobaoAlitripTravelAxinHotelticketOrderCreateorderAPIResponseModel added in v1.2.5

type TaobaoAlitripTravelAxinHotelticketOrderCreateorderAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_travel_axin_hotelticket_order_createorder_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果返回类
	Result *BaseResultApiDto `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoAlitripTravelAxinHotelticketOrderCreateorderAPIResponseModel is 阿信度假业务创单并支付接口 成功返回结果

type TaobaoAlitripTravelAxinHotelticketOrderQueryAPIRequest added in v1.2.5

type TaobaoAlitripTravelAxinHotelticketOrderQueryAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoAlitripTravelAxinHotelticketOrderQueryAPIRequest 阿信度假交易订单查询接口 API请求 taobao.alitrip.travel.axin.hotelticket.order.query

阿信度假交易订单查询接口

func NewTaobaoAlitripTravelAxinHotelticketOrderQueryRequest added in v1.2.5

func NewTaobaoAlitripTravelAxinHotelticketOrderQueryRequest() *TaobaoAlitripTravelAxinHotelticketOrderQueryAPIRequest

NewTaobaoAlitripTravelAxinHotelticketOrderQueryRequest 初始化TaobaoAlitripTravelAxinHotelticketOrderQueryAPIRequest对象

func (TaobaoAlitripTravelAxinHotelticketOrderQueryAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAlitripTravelAxinHotelticketOrderQueryAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAlitripTravelAxinHotelticketOrderQueryAPIRequest) GetDistributorTid added in v1.2.5

GetDistributorTid DistributorTid Getter

func (TaobaoAlitripTravelAxinHotelticketOrderQueryAPIRequest) GetPurchaseSubOrderId added in v1.2.5

GetPurchaseSubOrderId PurchaseSubOrderId Getter

func (TaobaoAlitripTravelAxinHotelticketOrderQueryAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoAlitripTravelAxinHotelticketOrderQueryAPIRequest) SetDistributorTid added in v1.2.5

func (r *TaobaoAlitripTravelAxinHotelticketOrderQueryAPIRequest) SetDistributorTid(_distributorTid int64) error

SetDistributorTid is DistributorTid Setter 分销商id

func (*TaobaoAlitripTravelAxinHotelticketOrderQueryAPIRequest) SetPurchaseSubOrderId added in v1.2.5

func (r *TaobaoAlitripTravelAxinHotelticketOrderQueryAPIRequest) SetPurchaseSubOrderId(_purchaseSubOrderId int64) error

SetPurchaseSubOrderId is PurchaseSubOrderId Setter 采购单id

type TaobaoAlitripTravelAxinHotelticketOrderQueryAPIResponse added in v1.2.5

type TaobaoAlitripTravelAxinHotelticketOrderQueryAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripTravelAxinHotelticketOrderQueryAPIResponseModel
}

TaobaoAlitripTravelAxinHotelticketOrderQueryAPIResponse 阿信度假交易订单查询接口 API返回值 taobao.alitrip.travel.axin.hotelticket.order.query

阿信度假交易订单查询接口

type TaobaoAlitripTravelAxinHotelticketOrderQueryAPIResponseModel added in v1.2.5

type TaobaoAlitripTravelAxinHotelticketOrderQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_travel_axin_hotelticket_order_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回对象
	Result *BaseResultApiDto `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoAlitripTravelAxinHotelticketOrderQueryAPIResponseModel is 阿信度假交易订单查询接口 成功返回结果

type TaobaoAlitripTravelAxinHotelticketOrderValidateAPIRequest added in v1.2.5

type TaobaoAlitripTravelAxinHotelticketOrderValidateAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoAlitripTravelAxinHotelticketOrderValidateAPIRequest 阿信度假业务交易试单接口 API请求 taobao.alitrip.travel.axin.hotelticket.order.validate

阿信度假业务交易试单接口

func NewTaobaoAlitripTravelAxinHotelticketOrderValidateRequest added in v1.2.5

func NewTaobaoAlitripTravelAxinHotelticketOrderValidateRequest() *TaobaoAlitripTravelAxinHotelticketOrderValidateAPIRequest

NewTaobaoAlitripTravelAxinHotelticketOrderValidateRequest 初始化TaobaoAlitripTravelAxinHotelticketOrderValidateAPIRequest对象

func (TaobaoAlitripTravelAxinHotelticketOrderValidateAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAlitripTravelAxinHotelticketOrderValidateAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAlitripTravelAxinHotelticketOrderValidateAPIRequest) GetBizLine added in v1.2.5

GetBizLine BizLine Getter

func (TaobaoAlitripTravelAxinHotelticketOrderValidateAPIRequest) GetBuyAmount added in v1.2.5

GetBuyAmount BuyAmount Getter

func (TaobaoAlitripTravelAxinHotelticketOrderValidateAPIRequest) GetContactInfo added in v1.2.5

GetContactInfo ContactInfo Getter

func (TaobaoAlitripTravelAxinHotelticketOrderValidateAPIRequest) GetDistributorTid added in v1.2.5

GetDistributorTid DistributorTid Getter

func (TaobaoAlitripTravelAxinHotelticketOrderValidateAPIRequest) GetProductId added in v1.2.5

GetProductId ProductId Getter

func (TaobaoAlitripTravelAxinHotelticketOrderValidateAPIRequest) GetProductPrice added in v1.2.5

GetProductPrice ProductPrice Getter

func (TaobaoAlitripTravelAxinHotelticketOrderValidateAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoAlitripTravelAxinHotelticketOrderValidateAPIRequest) GetServiceEndTime added in v1.2.5

GetServiceEndTime ServiceEndTime Getter

func (TaobaoAlitripTravelAxinHotelticketOrderValidateAPIRequest) GetServiceStartTime added in v1.2.5

GetServiceStartTime ServiceStartTime Getter

func (TaobaoAlitripTravelAxinHotelticketOrderValidateAPIRequest) GetTotalPrice added in v1.2.5

GetTotalPrice TotalPrice Getter

func (TaobaoAlitripTravelAxinHotelticketOrderValidateAPIRequest) GetTravelerInfoList added in v1.2.5

GetTravelerInfoList TravelerInfoList Getter

func (TaobaoAlitripTravelAxinHotelticketOrderValidateAPIRequest) GetUseTime added in v1.2.5

GetUseTime UseTime Getter

func (*TaobaoAlitripTravelAxinHotelticketOrderValidateAPIRequest) SetBizLine added in v1.2.5

SetBizLine is BizLine Setter 产品线

func (*TaobaoAlitripTravelAxinHotelticketOrderValidateAPIRequest) SetBuyAmount added in v1.2.5

SetBuyAmount is BuyAmount Setter 购买数量

func (*TaobaoAlitripTravelAxinHotelticketOrderValidateAPIRequest) SetContactInfo added in v1.2.5

SetContactInfo is ContactInfo Setter 联系人信息

func (*TaobaoAlitripTravelAxinHotelticketOrderValidateAPIRequest) SetDistributorTid added in v1.2.5

func (r *TaobaoAlitripTravelAxinHotelticketOrderValidateAPIRequest) SetDistributorTid(_distributorTid int64) error

SetDistributorTid is DistributorTid Setter 分销商ID

func (*TaobaoAlitripTravelAxinHotelticketOrderValidateAPIRequest) SetProductId added in v1.2.5

SetProductId is ProductId Setter 产品ID

func (*TaobaoAlitripTravelAxinHotelticketOrderValidateAPIRequest) SetProductPrice added in v1.2.5

func (r *TaobaoAlitripTravelAxinHotelticketOrderValidateAPIRequest) SetProductPrice(_productPrice int64) error

SetProductPrice is ProductPrice Setter 产品单价,单位为分

func (*TaobaoAlitripTravelAxinHotelticketOrderValidateAPIRequest) SetServiceEndTime added in v1.2.5

func (r *TaobaoAlitripTravelAxinHotelticketOrderValidateAPIRequest) SetServiceEndTime(_serviceEndTime string) error

SetServiceEndTime is ServiceEndTime Setter 结束日期

func (*TaobaoAlitripTravelAxinHotelticketOrderValidateAPIRequest) SetServiceStartTime added in v1.2.5

func (r *TaobaoAlitripTravelAxinHotelticketOrderValidateAPIRequest) SetServiceStartTime(_serviceStartTime string) error

SetServiceStartTime is ServiceStartTime Setter 出行日期

func (*TaobaoAlitripTravelAxinHotelticketOrderValidateAPIRequest) SetTotalPrice added in v1.2.5

SetTotalPrice is TotalPrice Setter 订单总金额,单位为分

func (*TaobaoAlitripTravelAxinHotelticketOrderValidateAPIRequest) SetTravelerInfoList added in v1.2.5

func (r *TaobaoAlitripTravelAxinHotelticketOrderValidateAPIRequest) SetTravelerInfoList(_travelerInfoList *TravelerDto) error

SetTravelerInfoList is TravelerInfoList Setter 出行人信息

func (*TaobaoAlitripTravelAxinHotelticketOrderValidateAPIRequest) SetUseTime added in v1.2.5

SetUseTime is UseTime Setter 门票游玩日期 只能选择出行和结束之间日期

type TaobaoAlitripTravelAxinHotelticketOrderValidateAPIResponse added in v1.2.5

type TaobaoAlitripTravelAxinHotelticketOrderValidateAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripTravelAxinHotelticketOrderValidateAPIResponseModel
}

TaobaoAlitripTravelAxinHotelticketOrderValidateAPIResponse 阿信度假业务交易试单接口 API返回值 taobao.alitrip.travel.axin.hotelticket.order.validate

阿信度假业务交易试单接口

type TaobaoAlitripTravelAxinHotelticketOrderValidateAPIResponseModel added in v1.2.5

type TaobaoAlitripTravelAxinHotelticketOrderValidateAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_travel_axin_hotelticket_order_validate_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果返回类
	Result *BaseResultApiDto `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoAlitripTravelAxinHotelticketOrderValidateAPIResponseModel is 阿信度假业务交易试单接口 成功返回结果

type TaobaoAlitripTravelAxinHotelticketProductDetailAPIRequest added in v1.2.5

type TaobaoAlitripTravelAxinHotelticketProductDetailAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoAlitripTravelAxinHotelticketProductDetailAPIRequest 阿信酒景套餐产品详情查询 API请求 taobao.alitrip.travel.axin.hotelticket.product.detail

阿信酒景套餐产品详情查询

func NewTaobaoAlitripTravelAxinHotelticketProductDetailRequest added in v1.2.5

func NewTaobaoAlitripTravelAxinHotelticketProductDetailRequest() *TaobaoAlitripTravelAxinHotelticketProductDetailAPIRequest

NewTaobaoAlitripTravelAxinHotelticketProductDetailRequest 初始化TaobaoAlitripTravelAxinHotelticketProductDetailAPIRequest对象

func (TaobaoAlitripTravelAxinHotelticketProductDetailAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAlitripTravelAxinHotelticketProductDetailAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAlitripTravelAxinHotelticketProductDetailAPIRequest) GetDistributorTid added in v1.2.5

GetDistributorTid DistributorTid Getter

func (TaobaoAlitripTravelAxinHotelticketProductDetailAPIRequest) GetProductId added in v1.2.5

GetProductId ProductId Getter

func (TaobaoAlitripTravelAxinHotelticketProductDetailAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoAlitripTravelAxinHotelticketProductDetailAPIRequest) SetDistributorTid added in v1.2.5

func (r *TaobaoAlitripTravelAxinHotelticketProductDetailAPIRequest) SetDistributorTid(_distributorTid int64) error

SetDistributorTid is DistributorTid Setter 分销商id

func (*TaobaoAlitripTravelAxinHotelticketProductDetailAPIRequest) SetProductId added in v1.2.5

SetProductId is ProductId Setter 产品id

type TaobaoAlitripTravelAxinHotelticketProductDetailAPIResponse added in v1.2.5

type TaobaoAlitripTravelAxinHotelticketProductDetailAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripTravelAxinHotelticketProductDetailAPIResponseModel
}

TaobaoAlitripTravelAxinHotelticketProductDetailAPIResponse 阿信酒景套餐产品详情查询 API返回值 taobao.alitrip.travel.axin.hotelticket.product.detail

阿信酒景套餐产品详情查询

type TaobaoAlitripTravelAxinHotelticketProductDetailAPIResponseModel added in v1.2.5

type TaobaoAlitripTravelAxinHotelticketProductDetailAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_travel_axin_hotelticket_product_detail_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *BaseResultApiDto `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoAlitripTravelAxinHotelticketProductDetailAPIResponseModel is 阿信酒景套餐产品详情查询 成功返回结果

type TaobaoAlitripTravelAxinHotelticketProductListAPIRequest added in v1.2.5

type TaobaoAlitripTravelAxinHotelticketProductListAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoAlitripTravelAxinHotelticketProductListAPIRequest 阿信酒景套餐产品列表查询 API请求 taobao.alitrip.travel.axin.hotelticket.product.list

阿信酒景套餐产品列表查询

func NewTaobaoAlitripTravelAxinHotelticketProductListRequest added in v1.2.5

func NewTaobaoAlitripTravelAxinHotelticketProductListRequest() *TaobaoAlitripTravelAxinHotelticketProductListAPIRequest

NewTaobaoAlitripTravelAxinHotelticketProductListRequest 初始化TaobaoAlitripTravelAxinHotelticketProductListAPIRequest对象

func (TaobaoAlitripTravelAxinHotelticketProductListAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAlitripTravelAxinHotelticketProductListAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAlitripTravelAxinHotelticketProductListAPIRequest) GetDistributorTid added in v1.2.5

GetDistributorTid DistributorTid Getter

func (TaobaoAlitripTravelAxinHotelticketProductListAPIRequest) GetPageNo added in v1.2.5

GetPageNo PageNo Getter

func (TaobaoAlitripTravelAxinHotelticketProductListAPIRequest) GetPageSize added in v1.2.5

GetPageSize PageSize Getter

func (TaobaoAlitripTravelAxinHotelticketProductListAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoAlitripTravelAxinHotelticketProductListAPIRequest) SetDistributorTid added in v1.2.5

func (r *TaobaoAlitripTravelAxinHotelticketProductListAPIRequest) SetDistributorTid(_distributorTid int64) error

SetDistributorTid is DistributorTid Setter 分销商id

func (*TaobaoAlitripTravelAxinHotelticketProductListAPIRequest) SetPageNo added in v1.2.5

SetPageNo is PageNo Setter 当前页数

func (*TaobaoAlitripTravelAxinHotelticketProductListAPIRequest) SetPageSize added in v1.2.5

SetPageSize is PageSize Setter 分页大小

type TaobaoAlitripTravelAxinHotelticketProductListAPIResponse added in v1.2.5

type TaobaoAlitripTravelAxinHotelticketProductListAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripTravelAxinHotelticketProductListAPIResponseModel
}

TaobaoAlitripTravelAxinHotelticketProductListAPIResponse 阿信酒景套餐产品列表查询 API返回值 taobao.alitrip.travel.axin.hotelticket.product.list

阿信酒景套餐产品列表查询

type TaobaoAlitripTravelAxinHotelticketProductListAPIResponseModel added in v1.2.5

type TaobaoAlitripTravelAxinHotelticketProductListAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_travel_axin_hotelticket_product_list_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回参数
	Result *BaseResultApiDto `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoAlitripTravelAxinHotelticketProductListAPIResponseModel is 阿信酒景套餐产品列表查询 成功返回结果

type TaobaoAlitripTravelAxinHotelticketRefundOrderrefundAPIRequest added in v1.2.5

type TaobaoAlitripTravelAxinHotelticketRefundOrderrefundAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoAlitripTravelAxinHotelticketRefundOrderrefundAPIRequest 阿信度假业务申请退款 API请求 taobao.alitrip.travel.axin.hotelticket.refund.orderrefund

阿信度假业务申请退款

func NewTaobaoAlitripTravelAxinHotelticketRefundOrderrefundRequest added in v1.2.5

func NewTaobaoAlitripTravelAxinHotelticketRefundOrderrefundRequest() *TaobaoAlitripTravelAxinHotelticketRefundOrderrefundAPIRequest

NewTaobaoAlitripTravelAxinHotelticketRefundOrderrefundRequest 初始化TaobaoAlitripTravelAxinHotelticketRefundOrderrefundAPIRequest对象

func (TaobaoAlitripTravelAxinHotelticketRefundOrderrefundAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoAlitripTravelAxinHotelticketRefundOrderrefundAPIRequest) GetApiParams added in v1.2.5

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoAlitripTravelAxinHotelticketRefundOrderrefundAPIRequest) GetDistributorTid added in v1.2.5

GetDistributorTid DistributorTid Getter

func (TaobaoAlitripTravelAxinHotelticketRefundOrderrefundAPIRequest) GetPurchaseSubOrderId added in v1.2.5

GetPurchaseSubOrderId PurchaseSubOrderId Getter

func (TaobaoAlitripTravelAxinHotelticketRefundOrderrefundAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoAlitripTravelAxinHotelticketRefundOrderrefundAPIRequest) GetReason added in v1.2.5

GetReason Reason Getter

func (TaobaoAlitripTravelAxinHotelticketRefundOrderrefundAPIRequest) GetRemark added in v1.2.5

GetRemark Remark Getter

func (*TaobaoAlitripTravelAxinHotelticketRefundOrderrefundAPIRequest) SetDistributorTid added in v1.2.5

func (r *TaobaoAlitripTravelAxinHotelticketRefundOrderrefundAPIRequest) SetDistributorTid(_distributorTid int64) error

SetDistributorTid is DistributorTid Setter 分销商ID

func (*TaobaoAlitripTravelAxinHotelticketRefundOrderrefundAPIRequest) SetPurchaseSubOrderId added in v1.2.5

func (r *TaobaoAlitripTravelAxinHotelticketRefundOrderrefundAPIRequest) SetPurchaseSubOrderId(_purchaseSubOrderId int64) error

SetPurchaseSubOrderId is PurchaseSubOrderId Setter 采购单号

func (*TaobaoAlitripTravelAxinHotelticketRefundOrderrefundAPIRequest) SetReason added in v1.2.5

SetReason is Reason Setter 退款原因

func (*TaobaoAlitripTravelAxinHotelticketRefundOrderrefundAPIRequest) SetRemark added in v1.2.5

SetRemark is Remark Setter 备注

type TaobaoAlitripTravelAxinHotelticketRefundOrderrefundAPIResponse added in v1.2.5

type TaobaoAlitripTravelAxinHotelticketRefundOrderrefundAPIResponse struct {
	model.CommonResponse
	TaobaoAlitripTravelAxinHotelticketRefundOrderrefundAPIResponseModel
}

TaobaoAlitripTravelAxinHotelticketRefundOrderrefundAPIResponse 阿信度假业务申请退款 API返回值 taobao.alitrip.travel.axin.hotelticket.refund.orderrefund

阿信度假业务申请退款

type TaobaoAlitripTravelAxinHotelticketRefundOrderrefundAPIResponseModel added in v1.2.5

type TaobaoAlitripTravelAxinHotelticketRefundOrderrefundAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_travel_axin_hotelticket_refund_orderrefund_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果返回类
	Result *BaseResultApiDto `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoAlitripTravelAxinHotelticketRefundOrderrefundAPIResponseModel is 阿信度假业务申请退款 成功返回结果

type TicketInfoDto added in v1.2.5

type TicketInfoDto struct {
	// 景区名称
	ScenicName string `json:"scenic_name,omitempty" xml:"scenic_name,omitempty"`
	// 收费项目名称
	SpuName string `json:"spu_name,omitempty" xml:"spu_name,omitempty"`
	// 票种名称
	TicketKindName string `json:"ticket_kind_name,omitempty" xml:"ticket_kind_name,omitempty"`
	// 场次名称
	SessionName string `json:"session_name,omitempty" xml:"session_name,omitempty"`
	// 区域名称
	RegionName string `json:"region_name,omitempty" xml:"region_name,omitempty"`
}

TicketInfoDto 结构体

type TopOrderCreateApiResDto added in v1.2.5

type TopOrderCreateApiResDto struct {
	// 采购单号
	PurchaseSubOrderId int64 `json:"purchase_sub_order_id,omitempty" xml:"purchase_sub_order_id,omitempty"`
}

TopOrderCreateApiResDto 结构体

type TopOrderDetailApiResDto added in v1.2.5

type TopOrderDetailApiResDto struct {
	// 分销商订单号
	OuterOrderId string `json:"outer_order_id,omitempty" xml:"outer_order_id,omitempty"`
	// 订单状态名称
	OrderStatusDesc string `json:"order_status_desc,omitempty" xml:"order_status_desc,omitempty"`
	// 创建订单时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 确认码信息(若有)
	ConfirmInfo string `json:"confirm_info,omitempty" xml:"confirm_info,omitempty"`
	// 产品名称
	ProductName string `json:"product_name,omitempty" xml:"product_name,omitempty"`
	// 产品描述
	ProductDescription string `json:"product_description,omitempty" xml:"product_description,omitempty"`
	// 出行日期
	ServiceStartTime string `json:"service_start_time,omitempty" xml:"service_start_time,omitempty"`
	// 结束日期
	ServiceEndTime string `json:"service_end_time,omitempty" xml:"service_end_time,omitempty"`
	// 游玩日期(若有)
	UseTime string `json:"use_time,omitempty" xml:"use_time,omitempty"`
	// 采购单号
	PurchaseSubOrderId int64 `json:"purchase_sub_order_id,omitempty" xml:"purchase_sub_order_id,omitempty"`
	// 订单状态
	OrderStatus int64 `json:"order_status,omitempty" xml:"order_status,omitempty"`
	// 产品单价,单位为分
	ProductPrice int64 `json:"product_price,omitempty" xml:"product_price,omitempty"`
	// 订单总金额,单位为分
	TotalPrice int64 `json:"total_price,omitempty" xml:"total_price,omitempty"`
	// 退款金额,单位为分
	RefundFee int64 `json:"refund_fee,omitempty" xml:"refund_fee,omitempty"`
	// 支付ID(若有)
	FundOrderId int64 `json:"fund_order_id,omitempty" xml:"fund_order_id,omitempty"`
	// 产品ID
	ProductId int64 `json:"product_id,omitempty" xml:"product_id,omitempty"`
	// 购买数量
	BuyAmount int64 `json:"buy_amount,omitempty" xml:"buy_amount,omitempty"`
}

TopOrderDetailApiResDto 结构体

type TouristPolicyDto added in v1.2.5

type TouristPolicyDto struct {
	// 游客信息填写字段
	FieldTypes []string `json:"field_types,omitempty" xml:"field_types>string,omitempty"`
	// 证件类型
	CertificatesTypes []string `json:"certificates_types,omitempty" xml:"certificates_types>string,omitempty"`
}

TouristPolicyDto 结构体

type TravelerDto added in v1.2.5

type TravelerDto struct {
	// 姓名
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 联系人手机号
	Mobile string `json:"mobile,omitempty" xml:"mobile,omitempty"`
	// 联系人邮箱
	Email string `json:"email,omitempty" xml:"email,omitempty"`
	// 联系人证件号
	Certificates string `json:"certificates,omitempty" xml:"certificates,omitempty"`
	// 联系人证件类型
	CertificatesType int64 `json:"certificates_type,omitempty" xml:"certificates_type,omitempty"`
}

TravelerDto 结构体

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL