nrt

package
v1.2.8 Latest Latest
Warning

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

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

Documentation

Overview

Package nrt 包含零售终端API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlibabaRetailDeviceVendingRegisterAPIRequest added in v1.2.0

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

AlibabaRetailDeviceVendingRegisterAPIRequest 贩卖机设备注册 API请求 alibaba.retail.device.vending.register

贩卖机注册

func NewAlibabaRetailDeviceVendingRegisterRequest

func NewAlibabaRetailDeviceVendingRegisterRequest() *AlibabaRetailDeviceVendingRegisterAPIRequest

NewAlibabaRetailDeviceVendingRegisterRequest 初始化AlibabaRetailDeviceVendingRegisterAPIRequest对象

func (AlibabaRetailDeviceVendingRegisterAPIRequest) GetAddress added in v1.2.0

GetAddress Address Getter

func (AlibabaRetailDeviceVendingRegisterAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaRetailDeviceVendingRegisterAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaRetailDeviceVendingRegisterAPIRequest) GetBizCode added in v1.2.0

GetBizCode BizCode Getter

func (AlibabaRetailDeviceVendingRegisterAPIRequest) GetDeviceModel added in v1.2.0

GetDeviceModel DeviceModel Getter

func (AlibabaRetailDeviceVendingRegisterAPIRequest) GetDeviceName added in v1.2.0

GetDeviceName DeviceName Getter

func (AlibabaRetailDeviceVendingRegisterAPIRequest) GetDeviceSn added in v1.2.0

GetDeviceSn DeviceSn Getter

func (AlibabaRetailDeviceVendingRegisterAPIRequest) GetDeviceUuid added in v1.2.0

GetDeviceUuid DeviceUuid Getter

func (AlibabaRetailDeviceVendingRegisterAPIRequest) GetFloor added in v1.2.0

GetFloor Floor Getter

func (AlibabaRetailDeviceVendingRegisterAPIRequest) GetLayer added in v1.2.0

GetLayer Layer Getter

func (AlibabaRetailDeviceVendingRegisterAPIRequest) GetLocation added in v1.2.0

GetLocation Location Getter

func (AlibabaRetailDeviceVendingRegisterAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaRetailDeviceVendingRegisterAPIRequest) GetScene added in v1.2.0

GetScene Scene Getter

func (AlibabaRetailDeviceVendingRegisterAPIRequest) GetSiteName added in v1.2.0

GetSiteName SiteName Getter

func (*AlibabaRetailDeviceVendingRegisterAPIRequest) SetAddress added in v1.2.0

SetAddress is Address Setter 设备地址

func (*AlibabaRetailDeviceVendingRegisterAPIRequest) SetBizCode added in v1.2.0

SetBizCode is BizCode Setter 业务编码,联系对接人申请

func (*AlibabaRetailDeviceVendingRegisterAPIRequest) SetDeviceModel added in v1.2.0

func (r *AlibabaRetailDeviceVendingRegisterAPIRequest) SetDeviceModel(_deviceModel string) error

SetDeviceModel is DeviceModel Setter 设备类型

func (*AlibabaRetailDeviceVendingRegisterAPIRequest) SetDeviceName added in v1.2.0

func (r *AlibabaRetailDeviceVendingRegisterAPIRequest) SetDeviceName(_deviceName string) error

SetDeviceName is DeviceName Setter 设备名称

func (*AlibabaRetailDeviceVendingRegisterAPIRequest) SetDeviceSn added in v1.2.0

func (r *AlibabaRetailDeviceVendingRegisterAPIRequest) SetDeviceSn(_deviceSn string) error

SetDeviceSn is DeviceSn Setter 对接过阿里atm传入

func (*AlibabaRetailDeviceVendingRegisterAPIRequest) SetDeviceUuid added in v1.2.0

func (r *AlibabaRetailDeviceVendingRegisterAPIRequest) SetDeviceUuid(_deviceUuid string) error

SetDeviceUuid is DeviceUuid Setter 外部设备编号

func (*AlibabaRetailDeviceVendingRegisterAPIRequest) SetFloor added in v1.2.0

SetFloor is Floor Setter 楼栋信息。如果不传系统会根据address传入计算,为确保准确性请传入并确保address完整

func (*AlibabaRetailDeviceVendingRegisterAPIRequest) SetLayer added in v1.2.0

SetLayer is Layer Setter 层。如果不传系统会根据address传入计算,为确保准确性请传入并确保address完整

func (*AlibabaRetailDeviceVendingRegisterAPIRequest) SetLocation added in v1.2.0

func (r *AlibabaRetailDeviceVendingRegisterAPIRequest) SetLocation(_location string) error

SetLocation is Location Setter 室内地址描述。如果不传系统会根据address传入计算,为确保准确性请传入并确保address完整

func (*AlibabaRetailDeviceVendingRegisterAPIRequest) SetScene added in v1.2.0

SetScene is Scene Setter COMMUNITY:小区,SCHOOL:学校,OFFICE:写字楼,SHOPPING_MALL:商场,AIRPORT:机场,SUBWAY:地铁,HOSPITAL:医院,PLAYGROUNDS:游乐场所,FACTORY:工厂,VIEWPOINT:旅游景点,OTHERS:其他

func (*AlibabaRetailDeviceVendingRegisterAPIRequest) SetSiteName added in v1.2.0

func (r *AlibabaRetailDeviceVendingRegisterAPIRequest) SetSiteName(_siteName string) error

SetSiteName is SiteName Setter 场地名称,根据场地类型来,如:学校名称,商场名称。如果不传系统会根据address传入计算,为确保准确性请传入并确保address完整

type AlibabaRetailDeviceVendingRegisterAPIResponse

type AlibabaRetailDeviceVendingRegisterAPIResponse struct {
	model.CommonResponse
	AlibabaRetailDeviceVendingRegisterAPIResponseModel
}

AlibabaRetailDeviceVendingRegisterAPIResponse 贩卖机设备注册 API返回值 alibaba.retail.device.vending.register

贩卖机注册

type AlibabaRetailDeviceVendingRegisterAPIResponseModel added in v1.2.0

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

AlibabaRetailDeviceVendingRegisterAPIResponseModel is 贩卖机设备注册 成功返回结果

type AlibabaRetailDeviceVendingRegisterResultDo

type AlibabaRetailDeviceVendingRegisterResultDo struct {
	// 错误码
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 测试
	Msg string `json:"msg,omitempty" xml:"msg,omitempty"`
	// 数据
	Data *DeviceDto `json:"data,omitempty" xml:"data,omitempty"`
	// 是否成功
	Succ bool `json:"succ,omitempty" xml:"succ,omitempty"`
}

AlibabaRetailDeviceVendingRegisterResultDo 结构体

type AlibabaRetailVendingRoadItemSyncAPIRequest added in v1.2.0

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

AlibabaRetailVendingRoadItemSyncAPIRequest 贩卖机库存商品同步 API请求 alibaba.retail.vending.road.item.sync

贩卖机库存商品同步

func NewAlibabaRetailVendingRoadItemSyncRequest

func NewAlibabaRetailVendingRoadItemSyncRequest() *AlibabaRetailVendingRoadItemSyncAPIRequest

NewAlibabaRetailVendingRoadItemSyncRequest 初始化AlibabaRetailVendingRoadItemSyncAPIRequest对象

func (AlibabaRetailVendingRoadItemSyncAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaRetailVendingRoadItemSyncAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaRetailVendingRoadItemSyncAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaRetailVendingRoadItemSyncAPIRequest) GetRoadItemSync added in v1.2.0

GetRoadItemSync RoadItemSync Getter

func (*AlibabaRetailVendingRoadItemSyncAPIRequest) SetRoadItemSync added in v1.2.0

func (r *AlibabaRetailVendingRoadItemSyncAPIRequest) SetRoadItemSync(_roadItemSync *RoadItemSyncDto) error

SetRoadItemSync is RoadItemSync Setter 入参

type AlibabaRetailVendingRoadItemSyncAPIResponse

type AlibabaRetailVendingRoadItemSyncAPIResponse struct {
	model.CommonResponse
	AlibabaRetailVendingRoadItemSyncAPIResponseModel
}

AlibabaRetailVendingRoadItemSyncAPIResponse 贩卖机库存商品同步 API返回值 alibaba.retail.vending.road.item.sync

贩卖机库存商品同步

type AlibabaRetailVendingRoadItemSyncAPIResponseModel added in v1.2.0

type AlibabaRetailVendingRoadItemSyncAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_retail_vending_road_item_sync_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误码
	ECode string `json:"e_code,omitempty" xml:"e_code,omitempty"`
	// 错误消息
	EMsg string `json:"e_msg,omitempty" xml:"e_msg,omitempty"`
	// 成功标识
	Succ bool `json:"succ,omitempty" xml:"succ,omitempty"`
	// 是否成功
	Data bool `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabaRetailVendingRoadItemSyncAPIResponseModel is 贩卖机库存商品同步 成功返回结果

type CategoryPropDto

type CategoryPropDto struct {
	// 属性名
	PropertyName string `json:"property_name,omitempty" xml:"property_name,omitempty"`
	// 值名
	ValueText string `json:"value_text,omitempty" xml:"value_text,omitempty"`
	// 属性ID
	PropertyId int64 `json:"property_id,omitempty" xml:"property_id,omitempty"`
	// 值ID
	ValueId int64 `json:"value_id,omitempty" xml:"value_id,omitempty"`
}

CategoryPropDto 结构体

type ChannelDto added in v1.2.5

type ChannelDto struct {
	// 渠道编码
	ChannelCode string `json:"channel_code,omitempty" xml:"channel_code,omitempty"`
	// 渠道名称
	ChannelName string `json:"channel_name,omitempty" xml:"channel_name,omitempty"`
}

ChannelDto 结构体

type CouponTemplateDto

type CouponTemplateDto struct {
	// 圈选商品列表
	ItemIds []int64 `json:"item_ids,omitempty" xml:"item_ids>int64,omitempty"`
	// 圈选卖场列表
	MallIds []int64 `json:"mall_ids,omitempty" xml:"mall_ids>int64,omitempty"`
	// 圈选门店列表
	StoreIds []int64 `json:"store_ids,omitempty" xml:"store_ids>int64,omitempty"`
	// 渠道
	Channel string `json:"channel,omitempty" xml:"channel,omitempty"`
	// 券名称
	CouponName string `json:"coupon_name,omitempty" xml:"coupon_name,omitempty"`
	// 创建钉钉ID
	Creator string `json:"creator,omitempty" xml:"creator,omitempty"`
	// 修改钉钉ID
	ModifiedBy string `json:"modified_by,omitempty" xml:"modified_by,omitempty"`
	// 发放结束时间yyyy-MM-dd HH:mm:ss
	SendEndTime string `json:"send_end_time,omitempty" xml:"send_end_time,omitempty"`
	// 发放开始时间yyyy-MM-dd HH:mm:ss
	SendStartTime string `json:"send_start_time,omitempty" xml:"send_start_time,omitempty"`
	// 使用结束时间:yyyy-MM-dd HH:mm:ss
	UseEndTime string `json:"use_end_time,omitempty" xml:"use_end_time,omitempty"`
	// 使用开始时间:yyyy-MM-dd HH:mm:ss
	UseStartTime string `json:"use_start_time,omitempty" xml:"use_start_time,omitempty"`
	// 发券code
	Uuid string `json:"uuid,omitempty" xml:"uuid,omitempty"`
	// 券type
	CouponType int64 `json:"coupon_type,omitempty" xml:"coupon_type,omitempty"`
	// 面额
	Discount int64 `json:"discount,omitempty" xml:"discount,omitempty"`
	// 券模板ID
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 门槛
	StartFee int64 `json:"start_fee,omitempty" xml:"start_fee,omitempty"`
	// 状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 领取后可以使用的相对时间,秒或天为单位
	UseTime int64 `json:"use_time,omitempty" xml:"use_time,omitempty"`
	// 使用时间类型
	UseTimeType int64 `json:"use_time_type,omitempty" xml:"use_time_type,omitempty"`
	// 版本号
	Version int64 `json:"version,omitempty" xml:"version,omitempty"`
	// 卖家ID
	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
	// 券模板ID
	CouponTemplateId int64 `json:"coupon_template_id,omitempty" xml:"coupon_template_id,omitempty"`
}

CouponTemplateDto 结构体

type DeviceDto

type DeviceDto struct {
	// 设备编码
	DeviceCode string `json:"device_code,omitempty" xml:"device_code,omitempty"`
	// 设备外部编码
	DeviceUuid string `json:"device_uuid,omitempty" xml:"device_uuid,omitempty"`
	// 设备物理编码
	DeviceSn string `json:"device_sn,omitempty" xml:"device_sn,omitempty"`
	// 设备状态0离线,1 在线 2 待激活
	DeviceStatus string `json:"device_status,omitempty" xml:"device_status,omitempty"`
	// 设备名称
	DeviceName string `json:"device_name,omitempty" xml:"device_name,omitempty"`
	// 设备地址
	DeviceAddress string `json:"device_address,omitempty" xml:"device_address,omitempty"`
	// 设备类型
	DeviceTypeName string `json:"device_type_name,omitempty" xml:"device_type_name,omitempty"`
	// 经度
	Longtitude string `json:"longtitude,omitempty" xml:"longtitude,omitempty"`
	// 纬度
	Latitude string `json:"latitude,omitempty" xml:"latitude,omitempty"`
	// 激活码
	Activation string `json:"activation,omitempty" xml:"activation,omitempty"`
}

DeviceDto 结构体

type EaStoreContractDto added in v1.2.5

type EaStoreContractDto struct {
	// 合同号
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 老合同号
	OldCode string `json:"old_code,omitempty" xml:"old_code,omitempty"`
	// 老摊位号
	OldStoreContractCode string `json:"old_store_contract_code,omitempty" xml:"old_store_contract_code,omitempty"`
	// 卖场编码
	MallCode string `json:"mall_code,omitempty" xml:"mall_code,omitempty"`
	// 卖场名称
	MallName string `json:"mall_name,omitempty" xml:"mall_name,omitempty"`
	// 商户编码
	AgencyCode string `json:"agency_code,omitempty" xml:"agency_code,omitempty"`
	// 商户名称
	AgencyName string `json:"agency_name,omitempty" xml:"agency_name,omitempty"`
	// 摊位编码
	StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"`
	// 摊位名称
	StoreName string `json:"store_name,omitempty" xml:"store_name,omitempty"`
	// 合同开始时间
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 合同结束时间
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 合同状态
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 品牌名称
	BrandName string `json:"brand_name,omitempty" xml:"brand_name,omitempty"`
	// 类目名称
	CategoryName string `json:"category_name,omitempty" xml:"category_name,omitempty"`
	// 北京市xxx
	ShortAddress string `json:"short_address,omitempty" xml:"short_address,omitempty"`
	// 创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 修改时间
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// 扩展字段
	Attributes string `json:"attributes,omitempty" xml:"attributes,omitempty"`
	// 摊位id
	StoreId int64 `json:"store_id,omitempty" xml:"store_id,omitempty"`
	// 品牌id
	BrandId int64 `json:"brand_id,omitempty" xml:"brand_id,omitempty"`
	// 卖场钉钉部门id
	MallDingDeptId int64 `json:"mall_ding_dept_id,omitempty" xml:"mall_ding_dept_id,omitempty"`
	// 摊位钉钉部门id
	StoreDingDeptId int64 `json:"store_ding_dept_id,omitempty" xml:"store_ding_dept_id,omitempty"`
	// 摊位老钉钉部门id
	OldStoreDingDeptId int64 `json:"old_store_ding_dept_id,omitempty" xml:"old_store_ding_dept_id,omitempty"`
	// 数据状态
	RowStatus int64 `json:"row_status,omitempty" xml:"row_status,omitempty"`
	// 卖场id
	MallId int64 `json:"mall_id,omitempty" xml:"mall_id,omitempty"`
}

EaStoreContractDto 结构体

type ItemImageDto

type ItemImageDto struct {
	// 图片地址
	Url string `json:"url,omitempty" xml:"url,omitempty"`
	// 图片次序
	Position int64 `json:"position,omitempty" xml:"position,omitempty"`
}

ItemImageDto 结构体

type LocationDto

type LocationDto struct {
	// 城市名
	City string `json:"city,omitempty" xml:"city,omitempty"`
	// 省份名
	Prov string `json:"prov,omitempty" xml:"prov,omitempty"`
	// 城市ID
	CityId int64 `json:"city_id,omitempty" xml:"city_id,omitempty"`
	// 省份ID
	ProvId int64 `json:"prov_id,omitempty" xml:"prov_id,omitempty"`
	// 类型,1:国内,2:国外
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
}

LocationDto 结构体

type MacallineItemExtDto

type MacallineItemExtDto struct {
	// 品牌系列ID
	BrandSeriesId string `json:"brand_series_id,omitempty" xml:"brand_series_id,omitempty"`
	// 品牌系列名称
	BrandSeriesName string `json:"brand_series_name,omitempty" xml:"brand_series_name,omitempty"`
	// 计价单位
	ChargeUnit string `json:"charge_unit,omitempty" xml:"charge_unit,omitempty"`
	// 物价员
	Pricer string `json:"pricer,omitempty" xml:"pricer,omitempty"`
	// 辅材
	SecondarySteel string `json:"secondary_steel,omitempty" xml:"secondary_steel,omitempty"`
	// 规格
	Specification string `json:"specification,omitempty" xml:"specification,omitempty"`
	// 规格单位
	SpecificationUnit string `json:"specification_unit,omitempty" xml:"specification_unit,omitempty"`
	// 基材
	Substrate string `json:"substrate,omitempty" xml:"substrate,omitempty"`
	// 饰面
	Veneer string `json:"veneer,omitempty" xml:"veneer,omitempty"`
	// 等级
	Grade int64 `json:"grade,omitempty" xml:"grade,omitempty"`
	// 标签价格类型
	LabelPriceType int64 `json:"label_price_type,omitempty" xml:"label_price_type,omitempty"`
	// 产地
	OriginalLocation *LocationDto `json:"original_location,omitempty" xml:"original_location,omitempty"`
	// 价格类型,1:明码实价,2:明码议价
	PriceType int64 `json:"price_type,omitempty" xml:"price_type,omitempty"`
	// 是否支持退换货
	SupportReturnGoods bool `json:"support_return_goods,omitempty" xml:"support_return_goods,omitempty"`
}

MacallineItemExtDto 结构体

type MemberSynResponse

type MemberSynResponse struct {
	// 加密后的taoId
	OpenId string `json:"open_id,omitempty" xml:"open_id,omitempty"`
	// 业务code
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
	// 外部会员ID
	OutMemberId string `json:"out_member_id,omitempty" xml:"out_member_id,omitempty"`
	// sellerid
	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
}

MemberSynResponse 结构体

type NrtBenefitDto added in v1.2.5

type NrtBenefitDto struct {
	// 修改时间
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// 权益类型
	BenefitType string `json:"benefit_type,omitempty" xml:"benefit_type,omitempty"`
	// 中奖概率
	Probability string `json:"probability,omitempty" xml:"probability,omitempty"`
	// 业务身份
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
	// 描述
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	// 创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 权益名称
	BenefitName string `json:"benefit_name,omitempty" xml:"benefit_name,omitempty"`
	// 扩展信息
	Extra string `json:"extra,omitempty" xml:"extra,omitempty"`
	// 开始时间
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 结束时间
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 权益图片地址
	ImgUrl string `json:"img_url,omitempty" xml:"img_url,omitempty"`
	// 关联的权益模板id
	OutRelateId int64 `json:"out_relate_id,omitempty" xml:"out_relate_id,omitempty"`
	// 权益id
	BenefitId int64 `json:"benefit_id,omitempty" xml:"benefit_id,omitempty"`
	// 总数
	TotalQuantity int64 `json:"total_quantity,omitempty" xml:"total_quantity,omitempty"`
	// 个人限领数
	PersonLimitCount int64 `json:"person_limit_count,omitempty" xml:"person_limit_count,omitempty"`
	// 状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 使用渠道
	UseChannel int64 `json:"use_channel,omitempty" xml:"use_channel,omitempty"`
}

NrtBenefitDto 结构体

type NrtCouponSendDto added in v1.2.0

type NrtCouponSendDto struct {
	// 业务code
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
	// 加密后淘系ID
	OpenId string `json:"open_id,omitempty" xml:"open_id,omitempty"`
	// {"key","value"}
	Extra string `json:"extra,omitempty" xml:"extra,omitempty"`
	// 渠道
	Channel string `json:"channel,omitempty" xml:"channel,omitempty"`
	// 幂等ID
	OutId string `json:"out_id,omitempty" xml:"out_id,omitempty"`
	// 券code
	Uuid string `json:"uuid,omitempty" xml:"uuid,omitempty"`
	// 券类型,247:品类券,276:门店券,357:门店通用券
	CouponType int64 `json:"coupon_type,omitempty" xml:"coupon_type,omitempty"`
}

NrtCouponSendDto 结构体

type NrtItemSyncResultDto

type NrtItemSyncResultDto struct {
	// 摊位商品ID
	SItemId int64 `json:"s_item_id,omitempty" xml:"s_item_id,omitempty"`
	// 主商品ID
	MItemId int64 `json:"m_item_id,omitempty" xml:"m_item_id,omitempty"`
}

NrtItemSyncResultDto 结构体

type NrtMemberDto added in v1.2.0

type NrtMemberDto struct {
	// 手机号
	Phone string `json:"phone,omitempty" xml:"phone,omitempty"`
	// 业务身份
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
	// 验证码
	SmsCode string `json:"sms_code,omitempty" xml:"sms_code,omitempty"`
	// 外部会员ID
	OutMemberId string `json:"out_member_id,omitempty" xml:"out_member_id,omitempty"`
	// 淘宝ID
	OpenId string `json:"open_id,omitempty" xml:"open_id,omitempty"`
	// 操作类型
	OpType string `json:"op_type,omitempty" xml:"op_type,omitempty"`
	// 会员等级
	LevelName string `json:"level_name,omitempty" xml:"level_name,omitempty"`
	// 会员名称
	RealName string `json:"real_name,omitempty" xml:"real_name,omitempty"`
	// 幂等ID
	OutId string `json:"out_id,omitempty" xml:"out_id,omitempty"`
	// 会员地址
	Addr string `json:"addr,omitempty" xml:"addr,omitempty"`
	// 状态 1:正常 0:冻结
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 淘宝nick
	TaoNick string `json:"tao_nick,omitempty" xml:"tao_nick,omitempty"`
	// 会员类型(1,喵零;2会员通)
	MemberType int64 `json:"member_type,omitempty" xml:"member_type,omitempty"`
	// 同步时间
	GmtModified int64 `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// 版本号
	Version int64 `json:"version,omitempty" xml:"version,omitempty"`
}

NrtMemberDto 结构体

type NrtSceneActivityDto added in v1.2.5

type NrtSceneActivityDto struct {
	// 权益列表
	BenefitList []NrtBenefitDto `json:"benefit_list,omitempty" xml:"benefit_list>nrt_benefit_dto,omitempty"`
	// 渠道
	ChannelList []ChannelDto `json:"channel_list,omitempty" xml:"channel_list>channel_dto,omitempty"`
	// 业务身份
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
	// 创建者id
	CreatorId string `json:"creator_id,omitempty" xml:"creator_id,omitempty"`
	// 扩展信息
	Extra string `json:"extra,omitempty" xml:"extra,omitempty"`
	// 活动名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 活动开始时间
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 活动结束时间
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 活动类型
	ActivityType string `json:"activity_type,omitempty" xml:"activity_type,omitempty"`
	// 修改人id
	ModifiedId string `json:"modified_id,omitempty" xml:"modified_id,omitempty"`
	// 有价礼包活动对应的商品id
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 活动id
	ActivityId int64 `json:"activity_id,omitempty" xml:"activity_id,omitempty"`
	// 状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 版本
	Version int64 `json:"version,omitempty" xml:"version,omitempty"`
}

NrtSceneActivityDto 结构体

type NrtSmsDto added in v1.2.5

type NrtSmsDto struct {
	// 短信验证码
	SmsCode string `json:"sms_code,omitempty" xml:"sms_code,omitempty"`
}

NrtSmsDto 结构体

type NrtStoreContractDto added in v1.2.5

type NrtStoreContractDto struct {
	// 业务身份
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
	// 详细地址
	ShortAddress string `json:"short_address,omitempty" xml:"short_address,omitempty"`
	// 品牌名称
	BrandName string `json:"brand_name,omitempty" xml:"brand_name,omitempty"`
	// 街道名称
	TownName string `json:"town_name,omitempty" xml:"town_name,omitempty"`
	// 省份名称
	ProvinceName string `json:"province_name,omitempty" xml:"province_name,omitempty"`
	// 摊位编码
	StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"`
	// 卖场名称
	MallName string `json:"mall_name,omitempty" xml:"mall_name,omitempty"`
	// 老摊位编码
	OldStoreContractCode string `json:"old_store_contract_code,omitempty" xml:"old_store_contract_code,omitempty"`
	// 合同号
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 经销商编码
	AgencyCode string `json:"agency_code,omitempty" xml:"agency_code,omitempty"`
	// 类目名称
	CategoryName string `json:"category_name,omitempty" xml:"category_name,omitempty"`
	// 城市名称
	CityName string `json:"city_name,omitempty" xml:"city_name,omitempty"`
	// 卖场编码
	MallCode string `json:"mall_code,omitempty" xml:"mall_code,omitempty"`
	// 摊位名称
	StoreName string `json:"store_name,omitempty" xml:"store_name,omitempty"`
	// 合同开始时间
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 幂等id
	OutId string `json:"out_id,omitempty" xml:"out_id,omitempty"`
	// 区名称
	DistrictName string `json:"district_name,omitempty" xml:"district_name,omitempty"`
	// 经销商名称
	AgencyName string `json:"agency_name,omitempty" xml:"agency_name,omitempty"`
	// 老合同号
	OldCode string `json:"old_code,omitempty" xml:"old_code,omitempty"`
	// 合同结束时间
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 联系电话
	ContactPhone string `json:"contact_phone,omitempty" xml:"contact_phone,omitempty"`
	// 操作类型
	OpType string `json:"op_type,omitempty" xml:"op_type,omitempty"`
	// 街道编码
	TownCode int64 `json:"town_code,omitempty" xml:"town_code,omitempty"`
	// 老摊位钉钉部门
	OldStoreDingDeptId int64 `json:"old_store_ding_dept_id,omitempty" xml:"old_store_ding_dept_id,omitempty"`
	// 经度
	Lat int64 `json:"lat,omitempty" xml:"lat,omitempty"`
	// 纬度
	Lng int64 `json:"lng,omitempty" xml:"lng,omitempty"`
	// 品牌id
	BrandId int64 `json:"brand_id,omitempty" xml:"brand_id,omitempty"`
	// 合同状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 区编码
	DistrictCode int64 `json:"district_code,omitempty" xml:"district_code,omitempty"`
	// 市编码
	CityCode int64 `json:"city_code,omitempty" xml:"city_code,omitempty"`
	// 卖场钉钉部门id
	MallDingDeptId int64 `json:"mall_ding_dept_id,omitempty" xml:"mall_ding_dept_id,omitempty"`
	// 摊位钉钉部门id
	StoreDingDeptId int64 `json:"store_ding_dept_id,omitempty" xml:"store_ding_dept_id,omitempty"`
	// 省编码
	ProvinceCode int64 `json:"province_code,omitempty" xml:"province_code,omitempty"`
}

NrtStoreContractDto 结构体

type NrtStoreDto

type NrtStoreDto struct {
	// 摊位编号
	StallCode string `json:"stall_code,omitempty" xml:"stall_code,omitempty"`
	// 业务标识
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
	// 详细地址
	ShortAddress string `json:"short_address,omitempty" xml:"short_address,omitempty"`
	// 租赁结束时间
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 操作类型
	OpType string `json:"op_type,omitempty" xml:"op_type,omitempty"`
	// 主图地址
	Pic string `json:"pic,omitempty" xml:"pic,omitempty"`
	// 经销商编码
	AgencyCode string `json:"agency_code,omitempty" xml:"agency_code,omitempty"`
	// 营业时间
	BusinessTime string `json:"business_time,omitempty" xml:"business_time,omitempty"`
	// 经营品牌编号
	BusinessBrandids string `json:"business_brandids,omitempty" xml:"business_brandids,omitempty"`
	// 城市名
	CityName string `json:"city_name,omitempty" xml:"city_name,omitempty"`
	// 摊位部门Id
	StallDeptid string `json:"stall_deptid,omitempty" xml:"stall_deptid,omitempty"`
	// 卖场编码
	MallCode string `json:"mall_code,omitempty" xml:"mall_code,omitempty"`
	// 品牌系列
	BrandSeries string `json:"brand_series,omitempty" xml:"brand_series,omitempty"`
	// 幂等id
	OutId string `json:"out_id,omitempty" xml:"out_id,omitempty"`
	// 纬度
	Lat string `json:"lat,omitempty" xml:"lat,omitempty"`
	// 租赁开始时间
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 经度
	Lng string `json:"lng,omitempty" xml:"lng,omitempty"`
	// 区名称
	DistrictName string `json:"district_name,omitempty" xml:"district_name,omitempty"`
	// 联系电话
	Contract string `json:"contract,omitempty" xml:"contract,omitempty"`
	// 经营品牌名称
	BusinessBrandnames string `json:"business_brandnames,omitempty" xml:"business_brandnames,omitempty"`
	// 摊位名称
	StallName string `json:"stall_name,omitempty" xml:"stall_name,omitempty"`
	// 主营品类
	CategoryName string `json:"category_name,omitempty" xml:"category_name,omitempty"`
	// 省名称
	ProvinceName string `json:"province_name,omitempty" xml:"province_name,omitempty"`
	// 主营品牌Id
	BrandId string `json:"brand_id,omitempty" xml:"brand_id,omitempty"`
	// 主营品牌名称
	BrandName string `json:"brand_name,omitempty" xml:"brand_name,omitempty"`
	// 卖场部门Id
	MallDepid string `json:"mall_depid,omitempty" xml:"mall_depid,omitempty"`
	// 门店名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 区编码
	DistrictCode int64 `json:"district_code,omitempty" xml:"district_code,omitempty"`
	// 市编码
	CityCode int64 `json:"city_code,omitempty" xml:"city_code,omitempty"`
	// 省编码
	ProvinceCode int64 `json:"province_code,omitempty" xml:"province_code,omitempty"`
	// 版本号
	Version int64 `json:"version,omitempty" xml:"version,omitempty"`
	// 摊位状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 摊位Id
	StallId int64 `json:"stall_id,omitempty" xml:"stall_id,omitempty"`
	// 门店id1
	StoreId int64 `json:"store_id,omitempty" xml:"store_id,omitempty"`
}

NrtStoreDto 结构体

type NrtStoreQueryDto added in v1.2.5

type NrtStoreQueryDto struct {
	// 业务身份
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
	// 摊位编码
	StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"`
	// 每页数量
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 页码
	PageNum int64 `json:"page_num,omitempty" xml:"page_num,omitempty"`
}

NrtStoreQueryDto 结构体

type PageData

type PageData struct {
	// 数据列表
	DataList []CouponTemplateDto `json:"data_list,omitempty" xml:"data_list>coupon_template_dto,omitempty"`
	// 当前页
	CurrentPage int64 `json:"current_page,omitempty" xml:"current_page,omitempty"`
	// 1
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
}

PageData 结构体

type ResultDo added in v1.2.0

type ResultDo struct {
	// 系统自动生成
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 系统自动生成
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 错误码
	Errcode string `json:"errcode,omitempty" xml:"errcode,omitempty"`
	// 异常信息
	Errmsg string `json:"errmsg,omitempty" xml:"errmsg,omitempty"`
	// 参数对象
	Data *NrtStoreDto `json:"data,omitempty" xml:"data,omitempty"`
	// 调用是否成功
	Succ bool `json:"succ,omitempty" xml:"succ,omitempty"`
}

ResultDo 结构体

type RoadItemSaveDto

type RoadItemSaveDto struct {
	// 货道编号,若无跟商品编码保持一致
	RoadIds string `json:"road_ids,omitempty" xml:"road_ids,omitempty"`
	// 条码
	Barcode string `json:"barcode,omitempty" xml:"barcode,omitempty"`
	// 库存数,全量
	Inventory int64 `json:"inventory,omitempty" xml:"inventory,omitempty"`
	// 容量
	Volume int64 `json:"volume,omitempty" xml:"volume,omitempty"`
	// 商品编码
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// true 可售 false 不可售
	Available bool `json:"available,omitempty" xml:"available,omitempty"`
}

RoadItemSaveDto 结构体

type RoadItemSyncDto

type RoadItemSyncDto struct {
	// 数据
	List []RoadItemSaveDto `json:"list,omitempty" xml:"list>road_item_save_dto,omitempty"`
	// 设备Sn
	DeviceSn string `json:"device_sn,omitempty" xml:"device_sn,omitempty"`
}

RoadItemSyncDto 结构体

type SendCouponResponse

type SendCouponResponse struct {
	// 券名称
	CouponName string `json:"coupon_name,omitempty" xml:"coupon_name,omitempty"`
	// 面额
	Discount int64 `json:"discount,omitempty" xml:"discount,omitempty"`
	// 门槛
	StartFee int64 `json:"start_fee,omitempty" xml:"start_fee,omitempty"`
	// 券模板ID
	CouponTemplateId int64 `json:"coupon_template_id,omitempty" xml:"coupon_template_id,omitempty"`
	// 券实例ID
	CouponInstanceId int64 `json:"coupon_instance_id,omitempty" xml:"coupon_instance_id,omitempty"`
	// 结束时间
	EndTime int64 `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 开始时间
	StartTime int64 `json:"start_time,omitempty" xml:"start_time,omitempty"`
}

SendCouponResponse 结构体

type SettleCardInfoDto

type SettleCardInfoDto struct {
	// 开户支行名
	AccountBranchName string `json:"account_branch_name,omitempty" xml:"account_branch_name,omitempty"`
	// 银行卡号
	AccountNo string `json:"account_no,omitempty" xml:"account_no,omitempty"`
	// 卡类型
	AccountType string `json:"account_type,omitempty" xml:"account_type,omitempty"`
	// 银行名称
	AccountInstName string `json:"account_inst_name,omitempty" xml:"account_inst_name,omitempty"`
	// 开户行所在地-市
	AccountInstCity string `json:"account_inst_city,omitempty" xml:"account_inst_city,omitempty"`
	// 开户行所在地-省
	AccountInstProvince string `json:"account_inst_province,omitempty" xml:"account_inst_province,omitempty"`
	// 开户行简称缩写
	AccountInstId string `json:"account_inst_id,omitempty" xml:"account_inst_id,omitempty"`
	// 卡户名
	AccountHolderName string `json:"account_holder_name,omitempty" xml:"account_holder_name,omitempty"`
	// 账号使用类型
	UsageType string `json:"usage_type,omitempty" xml:"usage_type,omitempty"`
}

SettleCardInfoDto 结构体

type SkuDto

type SkuDto struct {
	// SKU属性
	Properties []CategoryPropDto `json:"properties,omitempty" xml:"properties>category_prop_dto,omitempty"`
	// 条码
	Barcode string `json:"barcode,omitempty" xml:"barcode,omitempty"`
	// 创建时间
	CreateTime string `json:"create_time,omitempty" xml:"create_time,omitempty"`
	// 商家编码
	OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"`
	// 价格
	Price string `json:"price,omitempty" xml:"price,omitempty"`
	// 修改时间
	UpdateTime string `json:"update_time,omitempty" xml:"update_time,omitempty"`
	// 数量
	Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// SKU ID
	SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
}

SkuDto 结构体

type StallSigningReqDto

type StallSigningReqDto struct {
	// 银行卡信息
	BizCards []SettleCardInfoDto `json:"biz_cards,omitempty" xml:"biz_cards>settle_card_info_dto,omitempty"`
	// 对应卖场的smid
	IpRoleId string `json:"ip_role_id,omitempty" xml:"ip_role_id,omitempty"`
	// 摊位名称
	ShopName string `json:"shop_name,omitempty" xml:"shop_name,omitempty"`
	// 摊位id
	StoreId int64 `json:"store_id,omitempty" xml:"store_id,omitempty"`
}

StallSigningReqDto 结构体

type StallSigningRespDto

type StallSigningRespDto struct {
	// 申请单id
	OrderId string `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 摊位/门店id
	StoreId int64 `json:"store_id,omitempty" xml:"store_id,omitempty"`
}

StallSigningRespDto 结构体

type StoreQuery added in v1.2.5

type StoreQuery struct {
	// 卖场Id或者同城id
	StoreIds []int64 `json:"store_ids,omitempty" xml:"store_ids>int64,omitempty"`
	// 类型
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
}

StoreQuery 结构体

type TmallNrtBranddetailQueryAPIRequest added in v1.2.0

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

TmallNrtBranddetailQueryAPIRequest 品牌详情查询 API请求 tmall.nrt.branddetail.query

根据品牌id查询品牌的详细信息

func NewTmallNrtBranddetailQueryRequest

func NewTmallNrtBranddetailQueryRequest() *TmallNrtBranddetailQueryAPIRequest

NewTmallNrtBranddetailQueryRequest 初始化TmallNrtBranddetailQueryAPIRequest对象

func (TmallNrtBranddetailQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallNrtBranddetailQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallNrtBranddetailQueryAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrtBranddetailQueryAPIRequest) GetBrandId added in v1.2.0

GetBrandId BrandId Getter

func (TmallNrtBranddetailQueryAPIRequest) GetRawParams added in v1.2.8

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

func (*TmallNrtBranddetailQueryAPIRequest) SetBrandId added in v1.2.0

func (r *TmallNrtBranddetailQueryAPIRequest) SetBrandId(_brandId int64) error

SetBrandId is BrandId Setter 品牌id

type TmallNrtBranddetailQueryAPIResponse

type TmallNrtBranddetailQueryAPIResponse struct {
	model.CommonResponse
	TmallNrtBranddetailQueryAPIResponseModel
}

TmallNrtBranddetailQueryAPIResponse 品牌详情查询 API返回值 tmall.nrt.branddetail.query

根据品牌id查询品牌的详细信息

type TmallNrtBranddetailQueryAPIResponseModel added in v1.2.0

type TmallNrtBranddetailQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nrt_branddetail_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// data
	Data string `json:"data,omitempty" xml:"data,omitempty"`
}

TmallNrtBranddetailQueryAPIResponseModel is 品牌详情查询 成功返回结果

type TmallNrtBrandinfoQueryAPIRequest added in v1.2.0

type TmallNrtBrandinfoQueryAPIRequest struct {
	model.Params
}

TmallNrtBrandinfoQueryAPIRequest 品牌数据查询 API请求 tmall.nrt.brandinfo.query

商家获取自己旗舰店授权的品牌id列表

func NewTmallNrtBrandinfoQueryRequest

func NewTmallNrtBrandinfoQueryRequest() *TmallNrtBrandinfoQueryAPIRequest

NewTmallNrtBrandinfoQueryRequest 初始化TmallNrtBrandinfoQueryAPIRequest对象

func (TmallNrtBrandinfoQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallNrtBrandinfoQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallNrtBrandinfoQueryAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrtBrandinfoQueryAPIRequest) GetRawParams added in v1.2.8

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

type TmallNrtBrandinfoQueryAPIResponse

type TmallNrtBrandinfoQueryAPIResponse struct {
	model.CommonResponse
	TmallNrtBrandinfoQueryAPIResponseModel
}

TmallNrtBrandinfoQueryAPIResponse 品牌数据查询 API返回值 tmall.nrt.brandinfo.query

商家获取自己旗舰店授权的品牌id列表

type TmallNrtBrandinfoQueryAPIResponseModel added in v1.2.0

type TmallNrtBrandinfoQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nrt_brandinfo_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 品牌id
	Datas []string `json:"datas,omitempty" xml:"datas>string,omitempty"`
}

TmallNrtBrandinfoQueryAPIResponseModel is 品牌数据查询 成功返回结果

type TmallNrtCouponSendAPIRequest added in v1.2.0

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

TmallNrtCouponSendAPIRequest 券发放接口 API请求 tmall.nrt.coupon.send

新零售场景,商家自有渠道发放券

func NewTmallNrtCouponSendRequest

func NewTmallNrtCouponSendRequest() *TmallNrtCouponSendAPIRequest

NewTmallNrtCouponSendRequest 初始化TmallNrtCouponSendAPIRequest对象

func (TmallNrtCouponSendAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallNrtCouponSendAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallNrtCouponSendAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrtCouponSendAPIRequest) GetNrtCouponSendDto added in v1.2.0

func (r TmallNrtCouponSendAPIRequest) GetNrtCouponSendDto() *NrtCouponSendDto

GetNrtCouponSendDto NrtCouponSendDto Getter

func (TmallNrtCouponSendAPIRequest) GetRawParams added in v1.2.8

func (r TmallNrtCouponSendAPIRequest) GetRawParams() model.Params

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

func (*TmallNrtCouponSendAPIRequest) SetNrtCouponSendDto added in v1.2.0

func (r *TmallNrtCouponSendAPIRequest) SetNrtCouponSendDto(_nrtCouponSendDto *NrtCouponSendDto) error

SetNrtCouponSendDto is NrtCouponSendDto Setter 发券dto

type TmallNrtCouponSendAPIResponse

type TmallNrtCouponSendAPIResponse struct {
	model.CommonResponse
	TmallNrtCouponSendAPIResponseModel
}

TmallNrtCouponSendAPIResponse 券发放接口 API返回值 tmall.nrt.coupon.send

新零售场景,商家自有渠道发放券

type TmallNrtCouponSendAPIResponseModel added in v1.2.0

type TmallNrtCouponSendAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nrt_coupon_send_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 发券结果对象
	Model *SendCouponResponse `json:"model,omitempty" xml:"model,omitempty"`
}

TmallNrtCouponSendAPIResponseModel is 券发放接口 成功返回结果

type TmallNrtCouponTemplateSynAPIRequest added in v1.2.5

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

TmallNrtCouponTemplateSynAPIRequest 喵零券同步 API请求 tmall.nrt.coupon.template.syn

查询券模版

func NewTmallNrtCouponTemplateSynRequest added in v1.2.5

func NewTmallNrtCouponTemplateSynRequest() *TmallNrtCouponTemplateSynAPIRequest

NewTmallNrtCouponTemplateSynRequest 初始化TmallNrtCouponTemplateSynAPIRequest对象

func (TmallNrtCouponTemplateSynAPIRequest) GetApiMethodName added in v1.2.5

func (r TmallNrtCouponTemplateSynAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallNrtCouponTemplateSynAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrtCouponTemplateSynAPIRequest) GetBizCode added in v1.2.5

GetBizCode BizCode Getter

func (TmallNrtCouponTemplateSynAPIRequest) GetCouponTemplateId added in v1.2.5

func (r TmallNrtCouponTemplateSynAPIRequest) GetCouponTemplateId() string

GetCouponTemplateId CouponTemplateId Getter

func (TmallNrtCouponTemplateSynAPIRequest) GetCouponType added in v1.2.5

func (r TmallNrtCouponTemplateSynAPIRequest) GetCouponType() int64

GetCouponType CouponType Getter

func (TmallNrtCouponTemplateSynAPIRequest) GetRawParams added in v1.2.8

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

func (*TmallNrtCouponTemplateSynAPIRequest) SetBizCode added in v1.2.5

func (r *TmallNrtCouponTemplateSynAPIRequest) SetBizCode(_bizCode string) error

SetBizCode is BizCode Setter 业务编码

func (*TmallNrtCouponTemplateSynAPIRequest) SetCouponTemplateId added in v1.2.5

func (r *TmallNrtCouponTemplateSynAPIRequest) SetCouponTemplateId(_couponTemplateId string) error

SetCouponTemplateId is CouponTemplateId Setter 券模版id集合

func (*TmallNrtCouponTemplateSynAPIRequest) SetCouponType added in v1.2.5

func (r *TmallNrtCouponTemplateSynAPIRequest) SetCouponType(_couponType int64) error

SetCouponType is CouponType Setter 券类型

type TmallNrtCouponTemplateSynAPIResponse added in v1.2.5

type TmallNrtCouponTemplateSynAPIResponse struct {
	model.CommonResponse
	TmallNrtCouponTemplateSynAPIResponseModel
}

TmallNrtCouponTemplateSynAPIResponse 喵零券同步 API返回值 tmall.nrt.coupon.template.syn

查询券模版

type TmallNrtCouponTemplateSynAPIResponseModel added in v1.2.5

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

TmallNrtCouponTemplateSynAPIResponseModel is 喵零券同步 成功返回结果

type TmallNrtCouponTemplateSynResult added in v1.2.5

type TmallNrtCouponTemplateSynResult struct {
	// message
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 错误码
	Code int64 `json:"code,omitempty" xml:"code,omitempty"`
}

TmallNrtCouponTemplateSynResult 结构体

type TmallNrtCoupontemplateQueryAPIRequest added in v1.2.0

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

TmallNrtCoupontemplateQueryAPIRequest 券模板查询 API请求 tmall.nrt.coupontemplate.query

新零售场景,商家拉取在新零售工作台设置的券数据

func NewTmallNrtCoupontemplateQueryRequest

func NewTmallNrtCoupontemplateQueryRequest() *TmallNrtCoupontemplateQueryAPIRequest

NewTmallNrtCoupontemplateQueryRequest 初始化TmallNrtCoupontemplateQueryAPIRequest对象

func (TmallNrtCoupontemplateQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallNrtCoupontemplateQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallNrtCoupontemplateQueryAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrtCoupontemplateQueryAPIRequest) GetBizCode added in v1.2.0

GetBizCode BizCode Getter

func (TmallNrtCoupontemplateQueryAPIRequest) GetCouponTypeList added in v1.2.0

func (r TmallNrtCoupontemplateQueryAPIRequest) GetCouponTypeList() []int64

GetCouponTypeList CouponTypeList Getter

func (TmallNrtCoupontemplateQueryAPIRequest) GetCurrentPage added in v1.2.0

func (r TmallNrtCoupontemplateQueryAPIRequest) GetCurrentPage() int64

GetCurrentPage CurrentPage Getter

func (TmallNrtCoupontemplateQueryAPIRequest) GetPageSize added in v1.2.0

GetPageSize PageSize Getter

func (TmallNrtCoupontemplateQueryAPIRequest) GetRawParams added in v1.2.8

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

func (*TmallNrtCoupontemplateQueryAPIRequest) SetBizCode added in v1.2.0

func (r *TmallNrtCoupontemplateQueryAPIRequest) SetBizCode(_bizCode string) error

SetBizCode is BizCode Setter 业务code阿里指定

func (*TmallNrtCoupontemplateQueryAPIRequest) SetCouponTypeList added in v1.2.0

func (r *TmallNrtCoupontemplateQueryAPIRequest) SetCouponTypeList(_couponTypeList []int64) error

SetCouponTypeList is CouponTypeList Setter 券列表

func (*TmallNrtCoupontemplateQueryAPIRequest) SetCurrentPage added in v1.2.0

func (r *TmallNrtCoupontemplateQueryAPIRequest) SetCurrentPage(_currentPage int64) error

SetCurrentPage is CurrentPage Setter 当前页

func (*TmallNrtCoupontemplateQueryAPIRequest) SetPageSize added in v1.2.0

func (r *TmallNrtCoupontemplateQueryAPIRequest) SetPageSize(_pageSize int64) error

SetPageSize is PageSize Setter 每页数据数量

type TmallNrtCoupontemplateQueryAPIResponse

type TmallNrtCoupontemplateQueryAPIResponse struct {
	model.CommonResponse
	TmallNrtCoupontemplateQueryAPIResponseModel
}

TmallNrtCoupontemplateQueryAPIResponse 券模板查询 API返回值 tmall.nrt.coupontemplate.query

新零售场景,商家拉取在新零售工作台设置的券数据

type TmallNrtCoupontemplateQueryAPIResponseModel added in v1.2.0

type TmallNrtCoupontemplateQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nrt_coupontemplate_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误message
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// model
	Model *PageData `json:"model,omitempty" xml:"model,omitempty"`
}

TmallNrtCoupontemplateQueryAPIResponseModel is 券模板查询 成功返回结果

type TmallNrtItemGetAPIRequest added in v1.2.0

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

TmallNrtItemGetAPIRequest 家装新零售商品信息查询 API请求 tmall.nrt.item.get

查询新零售商品信息

func NewTmallNrtItemGetRequest

func NewTmallNrtItemGetRequest() *TmallNrtItemGetAPIRequest

NewTmallNrtItemGetRequest 初始化TmallNrtItemGetAPIRequest对象

func (TmallNrtItemGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallNrtItemGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallNrtItemGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrtItemGetAPIRequest) GetBoothId added in v1.2.0

func (r TmallNrtItemGetAPIRequest) GetBoothId() int64

GetBoothId BoothId Getter

func (TmallNrtItemGetAPIRequest) GetItemId added in v1.2.0

func (r TmallNrtItemGetAPIRequest) GetItemId() int64

GetItemId ItemId Getter

func (TmallNrtItemGetAPIRequest) GetRawParams added in v1.2.8

func (r TmallNrtItemGetAPIRequest) GetRawParams() model.Params

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

func (*TmallNrtItemGetAPIRequest) SetBoothId added in v1.2.0

func (r *TmallNrtItemGetAPIRequest) SetBoothId(_boothId int64) error

SetBoothId is BoothId Setter 城市站id

func (*TmallNrtItemGetAPIRequest) SetItemId added in v1.2.0

func (r *TmallNrtItemGetAPIRequest) SetItemId(_itemId int64) error

SetItemId is ItemId Setter 商品id

type TmallNrtItemGetAPIResponse

type TmallNrtItemGetAPIResponse struct {
	model.CommonResponse
	TmallNrtItemGetAPIResponseModel
}

TmallNrtItemGetAPIResponse 家装新零售商品信息查询 API返回值 tmall.nrt.item.get

查询新零售商品信息

type TmallNrtItemGetAPIResponseModel added in v1.2.0

type TmallNrtItemGetAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nrt_item_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	TmallNrtItemGet *TmallNrtItemGetResultDo `json:"tmall_nrt_item_get,omitempty" xml:"tmall_nrt_item_get,omitempty"`
}

TmallNrtItemGetAPIResponseModel is 家装新零售商品信息查询 成功返回结果

type TmallNrtItemGetResultDo

type TmallNrtItemGetResultDo struct {
	// 错误码
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 错误信息
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 是否成功
	Data *TopHomeItemDto `json:"data,omitempty" xml:"data,omitempty"`
	// 调用是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallNrtItemGetResultDo 结构体

type TmallNrtItemMainSynchronizeAPIRequest added in v1.2.0

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

TmallNrtItemMainSynchronizeAPIRequest 家装新零售主商品同步至阿里 API请求 tmall.nrt.item.main.synchronize

同步红星美凯龙存量商品到阿里

func NewTmallNrtItemMainSynchronizeRequest

func NewTmallNrtItemMainSynchronizeRequest() *TmallNrtItemMainSynchronizeAPIRequest

NewTmallNrtItemMainSynchronizeRequest 初始化TmallNrtItemMainSynchronizeAPIRequest对象

func (TmallNrtItemMainSynchronizeAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallNrtItemMainSynchronizeAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallNrtItemMainSynchronizeAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrtItemMainSynchronizeAPIRequest) GetBoothId added in v1.2.0

GetBoothId BoothId Getter

func (TmallNrtItemMainSynchronizeAPIRequest) GetCid added in v1.2.0

GetCid Cid Getter

func (TmallNrtItemMainSynchronizeAPIRequest) GetDealerCode added in v1.2.0

GetDealerCode DealerCode Getter

func (TmallNrtItemMainSynchronizeAPIRequest) GetMallId added in v1.2.0

GetMallId MallId Getter

func (TmallNrtItemMainSynchronizeAPIRequest) GetOuterId added in v1.2.0

GetOuterId OuterId Getter

func (TmallNrtItemMainSynchronizeAPIRequest) GetOuterProps added in v1.2.0

GetOuterProps OuterProps Getter

func (TmallNrtItemMainSynchronizeAPIRequest) GetPrice added in v1.2.0

GetPrice Price Getter

func (TmallNrtItemMainSynchronizeAPIRequest) GetProps added in v1.2.0

GetProps Props Getter

func (TmallNrtItemMainSynchronizeAPIRequest) GetRawParams added in v1.2.8

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

func (TmallNrtItemMainSynchronizeAPIRequest) GetTitle added in v1.2.0

GetTitle Title Getter

func (*TmallNrtItemMainSynchronizeAPIRequest) SetBoothId added in v1.2.0

func (r *TmallNrtItemMainSynchronizeAPIRequest) SetBoothId(_boothId string) error

SetBoothId is BoothId Setter 摊位id

func (*TmallNrtItemMainSynchronizeAPIRequest) SetCid added in v1.2.0

SetCid is Cid Setter 叶子类目id

func (*TmallNrtItemMainSynchronizeAPIRequest) SetDealerCode added in v1.2.0

func (r *TmallNrtItemMainSynchronizeAPIRequest) SetDealerCode(_dealerCode string) error

SetDealerCode is DealerCode Setter 经销商编码

func (*TmallNrtItemMainSynchronizeAPIRequest) SetMallId added in v1.2.0

func (r *TmallNrtItemMainSynchronizeAPIRequest) SetMallId(_mallId string) error

SetMallId is MallId Setter 卖场id

func (*TmallNrtItemMainSynchronizeAPIRequest) SetOuterId added in v1.2.0

func (r *TmallNrtItemMainSynchronizeAPIRequest) SetOuterId(_outerId string) error

SetOuterId is OuterId Setter 商家编码

func (*TmallNrtItemMainSynchronizeAPIRequest) SetOuterProps added in v1.2.0

func (r *TmallNrtItemMainSynchronizeAPIRequest) SetOuterProps(_outerProps *MacallineItemExtDto) error

SetOuterProps is OuterProps Setter 系统自动生成

func (*TmallNrtItemMainSynchronizeAPIRequest) SetPrice added in v1.2.0

SetPrice is Price Setter 价格

func (*TmallNrtItemMainSynchronizeAPIRequest) SetProps added in v1.2.0

SetProps is Props Setter 类目属性

func (*TmallNrtItemMainSynchronizeAPIRequest) SetTitle added in v1.2.0

SetTitle is Title Setter 商品名

type TmallNrtItemMainSynchronizeAPIResponse

type TmallNrtItemMainSynchronizeAPIResponse struct {
	model.CommonResponse
	TmallNrtItemMainSynchronizeAPIResponseModel
}

TmallNrtItemMainSynchronizeAPIResponse 家装新零售主商品同步至阿里 API返回值 tmall.nrt.item.main.synchronize

同步红星美凯龙存量商品到阿里

type TmallNrtItemMainSynchronizeAPIResponseModel added in v1.2.0

type TmallNrtItemMainSynchronizeAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nrt_item_main_synchronize_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	TmallNrtItemMainSynchronize *TmallNrtItemMainSynchronizeResultDo `json:"tmall_nrt_item_main_synchronize,omitempty" xml:"tmall_nrt_item_main_synchronize,omitempty"`
}

TmallNrtItemMainSynchronizeAPIResponseModel is 家装新零售主商品同步至阿里 成功返回结果

type TmallNrtItemMainSynchronizeResultDo

type TmallNrtItemMainSynchronizeResultDo struct {
	// 返回值
	Data *NrtItemSyncResultDto `json:"data,omitempty" xml:"data,omitempty"`
	// 调用是否成功
	Succ bool `json:"succ,omitempty" xml:"succ,omitempty"`
}

TmallNrtItemMainSynchronizeResultDo 结构体

type TmallNrtMemberOpenidAPIRequest added in v1.2.0

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

TmallNrtMemberOpenidAPIRequest 根据会员手机查询openId API请求 tmall.nrt.member.openid

根据会员手机查询openId

func NewTmallNrtMemberOpenidRequest

func NewTmallNrtMemberOpenidRequest() *TmallNrtMemberOpenidAPIRequest

NewTmallNrtMemberOpenidRequest 初始化TmallNrtMemberOpenidAPIRequest对象

func (TmallNrtMemberOpenidAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallNrtMemberOpenidAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallNrtMemberOpenidAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrtMemberOpenidAPIRequest) GetNrtMemberDto added in v1.2.0

func (r TmallNrtMemberOpenidAPIRequest) GetNrtMemberDto() *NrtMemberDto

GetNrtMemberDto NrtMemberDto Getter

func (TmallNrtMemberOpenidAPIRequest) GetRawParams added in v1.2.8

func (r TmallNrtMemberOpenidAPIRequest) GetRawParams() model.Params

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

func (*TmallNrtMemberOpenidAPIRequest) SetNrtMemberDto added in v1.2.0

func (r *TmallNrtMemberOpenidAPIRequest) SetNrtMemberDto(_nrtMemberDto *NrtMemberDto) error

SetNrtMemberDto is NrtMemberDto Setter 会员DTO

type TmallNrtMemberOpenidAPIResponse

type TmallNrtMemberOpenidAPIResponse struct {
	model.CommonResponse
	TmallNrtMemberOpenidAPIResponseModel
}

TmallNrtMemberOpenidAPIResponse 根据会员手机查询openId API返回值 tmall.nrt.member.openid

根据会员手机查询openId

type TmallNrtMemberOpenidAPIResponseModel added in v1.2.0

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

TmallNrtMemberOpenidAPIResponseModel is 根据会员手机查询openId 成功返回结果

type TmallNrtMemberOpenidResultDo

type TmallNrtMemberOpenidResultDo struct {
	// 错误码
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 错误信息
	Msg string `json:"msg,omitempty" xml:"msg,omitempty"`
	// 返回的业务数据
	Data *MemberSynResponse `json:"data,omitempty" xml:"data,omitempty"`
	// 是否成功
	Succ bool `json:"succ,omitempty" xml:"succ,omitempty"`
}

TmallNrtMemberOpenidResultDo 结构体

type TmallNrtMemberSynchronizeAPIRequest added in v1.2.0

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

TmallNrtMemberSynchronizeAPIRequest 新零售会员同步接口 API请求 tmall.nrt.member.synchronize

新零售会员上翻接口,商家的会员信息同步至阿里侧

func NewTmallNrtMemberSynchronizeRequest

func NewTmallNrtMemberSynchronizeRequest() *TmallNrtMemberSynchronizeAPIRequest

NewTmallNrtMemberSynchronizeRequest 初始化TmallNrtMemberSynchronizeAPIRequest对象

func (TmallNrtMemberSynchronizeAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallNrtMemberSynchronizeAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallNrtMemberSynchronizeAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrtMemberSynchronizeAPIRequest) GetNrtMemberDto added in v1.2.0

GetNrtMemberDto NrtMemberDto Getter

func (TmallNrtMemberSynchronizeAPIRequest) GetRawParams added in v1.2.8

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

func (*TmallNrtMemberSynchronizeAPIRequest) SetNrtMemberDto added in v1.2.0

func (r *TmallNrtMemberSynchronizeAPIRequest) SetNrtMemberDto(_nrtMemberDto *NrtMemberDto) error

SetNrtMemberDto is NrtMemberDto Setter 会员DTO

type TmallNrtMemberSynchronizeAPIResponse

type TmallNrtMemberSynchronizeAPIResponse struct {
	model.CommonResponse
	TmallNrtMemberSynchronizeAPIResponseModel
}

TmallNrtMemberSynchronizeAPIResponse 新零售会员同步接口 API返回值 tmall.nrt.member.synchronize

新零售会员上翻接口,商家的会员信息同步至阿里侧

type TmallNrtMemberSynchronizeAPIResponseModel added in v1.2.0

type TmallNrtMemberSynchronizeAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nrt_member_synchronize_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 是否成功
	Data *MemberSynResponse `json:"data,omitempty" xml:"data,omitempty"`
}

TmallNrtMemberSynchronizeAPIResponseModel is 新零售会员同步接口 成功返回结果

type TmallNrtPayMerchantStallSigningModifyAPIRequest added in v1.2.0

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

TmallNrtPayMerchantStallSigningModifyAPIRequest 三级商户进件修改 API请求 tmall.nrt.pay.merchant.stall.signing.modify

三级商户进件修改

func NewTmallNrtPayMerchantStallSigningModifyRequest

func NewTmallNrtPayMerchantStallSigningModifyRequest() *TmallNrtPayMerchantStallSigningModifyAPIRequest

NewTmallNrtPayMerchantStallSigningModifyRequest 初始化TmallNrtPayMerchantStallSigningModifyAPIRequest对象

func (TmallNrtPayMerchantStallSigningModifyAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallNrtPayMerchantStallSigningModifyAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrtPayMerchantStallSigningModifyAPIRequest) GetRawParams added in v1.2.8

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

func (TmallNrtPayMerchantStallSigningModifyAPIRequest) GetReq added in v1.2.0

GetReq Req Getter

func (*TmallNrtPayMerchantStallSigningModifyAPIRequest) SetReq added in v1.2.0

SetReq is Req Setter 请求参数

type TmallNrtPayMerchantStallSigningModifyAPIResponse

type TmallNrtPayMerchantStallSigningModifyAPIResponse struct {
	model.CommonResponse
	TmallNrtPayMerchantStallSigningModifyAPIResponseModel
}

TmallNrtPayMerchantStallSigningModifyAPIResponse 三级商户进件修改 API返回值 tmall.nrt.pay.merchant.stall.signing.modify

三级商户进件修改

type TmallNrtPayMerchantStallSigningModifyAPIResponseModel added in v1.2.0

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

TmallNrtPayMerchantStallSigningModifyAPIResponseModel is 三级商户进件修改 成功返回结果

type TmallNrtPayMerchantStallSigningModifyResultDo

type TmallNrtPayMerchantStallSigningModifyResultDo struct {
	// 系统自动生成
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 系统自动生成
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 系统自动生成
	Data *StallSigningRespDto `json:"data,omitempty" xml:"data,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallNrtPayMerchantStallSigningModifyResultDo 结构体

type TmallNrtSceneActivityQueryAPIRequest added in v1.2.5

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

TmallNrtSceneActivityQueryAPIRequest 喵零场景活动查询 API请求 tmall.nrt.scene.activity.query

喵零场景活动查询

func NewTmallNrtSceneActivityQueryRequest added in v1.2.5

func NewTmallNrtSceneActivityQueryRequest() *TmallNrtSceneActivityQueryAPIRequest

NewTmallNrtSceneActivityQueryRequest 初始化TmallNrtSceneActivityQueryAPIRequest对象

func (TmallNrtSceneActivityQueryAPIRequest) GetActivityId added in v1.2.5

func (r TmallNrtSceneActivityQueryAPIRequest) GetActivityId() int64

GetActivityId ActivityId Getter

func (TmallNrtSceneActivityQueryAPIRequest) GetApiMethodName added in v1.2.5

func (r TmallNrtSceneActivityQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallNrtSceneActivityQueryAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrtSceneActivityQueryAPIRequest) GetBizCode added in v1.2.5

GetBizCode BizCode Getter

func (TmallNrtSceneActivityQueryAPIRequest) GetRawParams added in v1.2.8

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

func (*TmallNrtSceneActivityQueryAPIRequest) SetActivityId added in v1.2.5

func (r *TmallNrtSceneActivityQueryAPIRequest) SetActivityId(_activityId int64) error

SetActivityId is ActivityId Setter 活动id

func (*TmallNrtSceneActivityQueryAPIRequest) SetBizCode added in v1.2.5

func (r *TmallNrtSceneActivityQueryAPIRequest) SetBizCode(_bizCode string) error

SetBizCode is BizCode Setter 业务身份

type TmallNrtSceneActivityQueryAPIResponse added in v1.2.5

type TmallNrtSceneActivityQueryAPIResponse struct {
	model.CommonResponse
	TmallNrtSceneActivityQueryAPIResponseModel
}

TmallNrtSceneActivityQueryAPIResponse 喵零场景活动查询 API返回值 tmall.nrt.scene.activity.query

喵零场景活动查询

type TmallNrtSceneActivityQueryAPIResponseModel added in v1.2.5

type TmallNrtSceneActivityQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nrt_scene_activity_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误码
	Errcode string `json:"errcode,omitempty" xml:"errcode,omitempty"`
	// 错误信息
	Errmsg string `json:"errmsg,omitempty" xml:"errmsg,omitempty"`
	// 数据
	Data *NrtSceneActivityDto `json:"data,omitempty" xml:"data,omitempty"`
	// 是否成功
	Succ bool `json:"succ,omitempty" xml:"succ,omitempty"`
}

TmallNrtSceneActivityQueryAPIResponseModel is 喵零场景活动查询 成功返回结果

type TmallNrtSmsCodeSendAPIRequest added in v1.2.5

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

TmallNrtSmsCodeSendAPIRequest 喵零发送短信 API请求 tmall.nrt.sms.code.send

喵零发送短信

func NewTmallNrtSmsCodeSendRequest added in v1.2.5

func NewTmallNrtSmsCodeSendRequest() *TmallNrtSmsCodeSendAPIRequest

NewTmallNrtSmsCodeSendRequest 初始化TmallNrtSmsCodeSendAPIRequest对象

func (TmallNrtSmsCodeSendAPIRequest) GetApiMethodName added in v1.2.5

func (r TmallNrtSmsCodeSendAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallNrtSmsCodeSendAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrtSmsCodeSendAPIRequest) GetBizCode added in v1.2.5

func (r TmallNrtSmsCodeSendAPIRequest) GetBizCode() string

GetBizCode BizCode Getter

func (TmallNrtSmsCodeSendAPIRequest) GetPhone added in v1.2.5

GetPhone Phone Getter

func (TmallNrtSmsCodeSendAPIRequest) GetRawParams added in v1.2.8

func (r TmallNrtSmsCodeSendAPIRequest) GetRawParams() model.Params

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

func (TmallNrtSmsCodeSendAPIRequest) GetSmsParam added in v1.2.5

func (r TmallNrtSmsCodeSendAPIRequest) GetSmsParam() string

GetSmsParam SmsParam Getter

func (TmallNrtSmsCodeSendAPIRequest) GetType added in v1.2.5

GetType Type Getter

func (*TmallNrtSmsCodeSendAPIRequest) SetBizCode added in v1.2.5

func (r *TmallNrtSmsCodeSendAPIRequest) SetBizCode(_bizCode string) error

SetBizCode is BizCode Setter 业务身份

func (*TmallNrtSmsCodeSendAPIRequest) SetPhone added in v1.2.5

func (r *TmallNrtSmsCodeSendAPIRequest) SetPhone(_phone string) error

SetPhone is Phone Setter 手机号

func (*TmallNrtSmsCodeSendAPIRequest) SetSmsParam added in v1.2.5

func (r *TmallNrtSmsCodeSendAPIRequest) SetSmsParam(_smsParam string) error

SetSmsParam is SmsParam Setter 短信参数

func (*TmallNrtSmsCodeSendAPIRequest) SetType added in v1.2.5

func (r *TmallNrtSmsCodeSendAPIRequest) SetType(_type string) error

SetType is Type Setter 1:喵零入会验证码

type TmallNrtSmsCodeSendAPIResponse added in v1.2.5

type TmallNrtSmsCodeSendAPIResponse struct {
	model.CommonResponse
	TmallNrtSmsCodeSendAPIResponseModel
}

TmallNrtSmsCodeSendAPIResponse 喵零发送短信 API返回值 tmall.nrt.sms.code.send

喵零发送短信

type TmallNrtSmsCodeSendAPIResponseModel added in v1.2.5

type TmallNrtSmsCodeSendAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nrt_sms_code_send_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误码
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 请求成功与否
	Succ string `json:"succ,omitempty" xml:"succ,omitempty"`
	// 系统异常
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 返回数据对象
	Data *NrtSmsDto `json:"data,omitempty" xml:"data,omitempty"`
}

TmallNrtSmsCodeSendAPIResponseModel is 喵零发送短信 成功返回结果

type TmallNrtStallPayratioSynchronizeAPIRequest added in v1.2.0

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

TmallNrtStallPayratioSynchronizeAPIRequest 同步摊位收银比例 API请求 tmall.nrt.stall.payratio.synchronize

ISV同步摊位收银比例到阿里

func NewTmallNrtStallPayratioSynchronizeRequest

func NewTmallNrtStallPayratioSynchronizeRequest() *TmallNrtStallPayratioSynchronizeAPIRequest

NewTmallNrtStallPayratioSynchronizeRequest 初始化TmallNrtStallPayratioSynchronizeAPIRequest对象

func (TmallNrtStallPayratioSynchronizeAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallNrtStallPayratioSynchronizeAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrtStallPayratioSynchronizeAPIRequest) GetBizCode added in v1.2.0

GetBizCode BizCode Getter

func (TmallNrtStallPayratioSynchronizeAPIRequest) GetContractCode added in v1.2.0

GetContractCode ContractCode Getter

func (TmallNrtStallPayratioSynchronizeAPIRequest) GetPayRatio added in v1.2.0

GetPayRatio PayRatio Getter

func (TmallNrtStallPayratioSynchronizeAPIRequest) GetRawParams added in v1.2.8

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

func (TmallNrtStallPayratioSynchronizeAPIRequest) GetStoreCode added in v1.2.0

GetStoreCode StoreCode Getter

func (*TmallNrtStallPayratioSynchronizeAPIRequest) SetBizCode added in v1.2.0

SetBizCode is BizCode Setter 业务编码

func (*TmallNrtStallPayratioSynchronizeAPIRequest) SetContractCode added in v1.2.0

func (r *TmallNrtStallPayratioSynchronizeAPIRequest) SetContractCode(_contractCode string) error

SetContractCode is ContractCode Setter 合同编号

func (*TmallNrtStallPayratioSynchronizeAPIRequest) SetPayRatio added in v1.2.0

func (r *TmallNrtStallPayratioSynchronizeAPIRequest) SetPayRatio(_payRatio string) error

SetPayRatio is PayRatio Setter 收银比例

func (*TmallNrtStallPayratioSynchronizeAPIRequest) SetStoreCode added in v1.2.0

func (r *TmallNrtStallPayratioSynchronizeAPIRequest) SetStoreCode(_storeCode string) error

SetStoreCode is StoreCode Setter 摊位编码

type TmallNrtStallPayratioSynchronizeAPIResponse

type TmallNrtStallPayratioSynchronizeAPIResponse struct {
	model.CommonResponse
	TmallNrtStallPayratioSynchronizeAPIResponseModel
}

TmallNrtStallPayratioSynchronizeAPIResponse 同步摊位收银比例 API返回值 tmall.nrt.stall.payratio.synchronize

ISV同步摊位收银比例到阿里

type TmallNrtStallPayratioSynchronizeAPIResponseModel added in v1.2.0

type TmallNrtStallPayratioSynchronizeAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nrt_stall_payratio_synchronize_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
}

TmallNrtStallPayratioSynchronizeAPIResponseModel is 同步摊位收银比例 成功返回结果

type TmallNrtStallSynchronizeAPIRequest added in v1.2.0

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

TmallNrtStallSynchronizeAPIRequest 摊位信息同步 API请求 tmall.nrt.stall.synchronize

摊位信息同步

func NewTmallNrtStallSynchronizeRequest

func NewTmallNrtStallSynchronizeRequest() *TmallNrtStallSynchronizeAPIRequest

NewTmallNrtStallSynchronizeRequest 初始化TmallNrtStallSynchronizeAPIRequest对象

func (TmallNrtStallSynchronizeAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallNrtStallSynchronizeAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallNrtStallSynchronizeAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrtStallSynchronizeAPIRequest) GetRawParams added in v1.2.8

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

func (TmallNrtStallSynchronizeAPIRequest) GetStall added in v1.2.0

GetStall Stall Getter

func (*TmallNrtStallSynchronizeAPIRequest) SetStall added in v1.2.0

SetStall is Stall Setter 参数对象

type TmallNrtStallSynchronizeAPIResponse

type TmallNrtStallSynchronizeAPIResponse struct {
	model.CommonResponse
	TmallNrtStallSynchronizeAPIResponseModel
}

TmallNrtStallSynchronizeAPIResponse 摊位信息同步 API返回值 tmall.nrt.stall.synchronize

摊位信息同步

type TmallNrtStallSynchronizeAPIResponseModel added in v1.2.0

type TmallNrtStallSynchronizeAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nrt_stall_synchronize_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	TmallNrtStallSynchronize *ResultDo `json:"tmall_nrt_stall_synchronize,omitempty" xml:"tmall_nrt_stall_synchronize,omitempty"`
}

TmallNrtStallSynchronizeAPIResponseModel is 摊位信息同步 成功返回结果

type TmallNrtStoreContractQueryAPIRequest added in v1.2.5

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

TmallNrtStoreContractQueryAPIRequest 摊位合同查询接口 API请求 tmall.nrt.store.contract.query

摊位合同查询接口

func NewTmallNrtStoreContractQueryRequest added in v1.2.5

func NewTmallNrtStoreContractQueryRequest() *TmallNrtStoreContractQueryAPIRequest

NewTmallNrtStoreContractQueryRequest 初始化TmallNrtStoreContractQueryAPIRequest对象

func (TmallNrtStoreContractQueryAPIRequest) GetApiMethodName added in v1.2.5

func (r TmallNrtStoreContractQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallNrtStoreContractQueryAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrtStoreContractQueryAPIRequest) GetEaStoreContractQuery added in v1.2.5

func (r TmallNrtStoreContractQueryAPIRequest) GetEaStoreContractQuery() *NrtStoreQueryDto

GetEaStoreContractQuery EaStoreContractQuery Getter

func (TmallNrtStoreContractQueryAPIRequest) GetRawParams added in v1.2.8

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

func (*TmallNrtStoreContractQueryAPIRequest) SetEaStoreContractQuery added in v1.2.5

func (r *TmallNrtStoreContractQueryAPIRequest) SetEaStoreContractQuery(_eaStoreContractQuery *NrtStoreQueryDto) error

SetEaStoreContractQuery is EaStoreContractQuery Setter 参数对象

type TmallNrtStoreContractQueryAPIResponse added in v1.2.5

type TmallNrtStoreContractQueryAPIResponse struct {
	model.CommonResponse
	TmallNrtStoreContractQueryAPIResponseModel
}

TmallNrtStoreContractQueryAPIResponse 摊位合同查询接口 API返回值 tmall.nrt.store.contract.query

摊位合同查询接口

type TmallNrtStoreContractQueryAPIResponseModel added in v1.2.5

type TmallNrtStoreContractQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nrt_store_contract_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 参数对象
	Data []EaStoreContractDto `json:"data,omitempty" xml:"data>ea_store_contract_dto,omitempty"`
	// 错误码
	Errcode string `json:"errcode,omitempty" xml:"errcode,omitempty"`
	// 错误信息
	Errmsg string `json:"errmsg,omitempty" xml:"errmsg,omitempty"`
	// 成功与否
	Succ bool `json:"succ,omitempty" xml:"succ,omitempty"`
}

TmallNrtStoreContractQueryAPIResponseModel is 摊位合同查询接口 成功返回结果

type TmallNrtStoreContractSynAPIRequest added in v1.2.5

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

TmallNrtStoreContractSynAPIRequest 喵零合同同步 API请求 tmall.nrt.store.contract.syn

喵零合同同步

func NewTmallNrtStoreContractSynRequest added in v1.2.5

func NewTmallNrtStoreContractSynRequest() *TmallNrtStoreContractSynAPIRequest

NewTmallNrtStoreContractSynRequest 初始化TmallNrtStoreContractSynAPIRequest对象

func (TmallNrtStoreContractSynAPIRequest) GetApiMethodName added in v1.2.5

func (r TmallNrtStoreContractSynAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallNrtStoreContractSynAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrtStoreContractSynAPIRequest) GetEaStoreContractDto added in v1.2.5

func (r TmallNrtStoreContractSynAPIRequest) GetEaStoreContractDto() *NrtStoreContractDto

GetEaStoreContractDto EaStoreContractDto Getter

func (TmallNrtStoreContractSynAPIRequest) GetRawParams added in v1.2.8

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

func (*TmallNrtStoreContractSynAPIRequest) SetEaStoreContractDto added in v1.2.5

func (r *TmallNrtStoreContractSynAPIRequest) SetEaStoreContractDto(_eaStoreContractDto *NrtStoreContractDto) error

SetEaStoreContractDto is EaStoreContractDto Setter 合同参数对象

type TmallNrtStoreContractSynAPIResponse added in v1.2.5

type TmallNrtStoreContractSynAPIResponse struct {
	model.CommonResponse
	TmallNrtStoreContractSynAPIResponseModel
}

TmallNrtStoreContractSynAPIResponse 喵零合同同步 API返回值 tmall.nrt.store.contract.syn

喵零合同同步

type TmallNrtStoreContractSynAPIResponseModel added in v1.2.5

type TmallNrtStoreContractSynAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nrt_store_contract_syn_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误码
	Errcode string `json:"errcode,omitempty" xml:"errcode,omitempty"`
	// 错误信息
	Errmsg string `json:"errmsg,omitempty" xml:"errmsg,omitempty"`
	// 摊位id
	Data int64 `json:"data,omitempty" xml:"data,omitempty"`
	// 成功与否
	Succ bool `json:"succ,omitempty" xml:"succ,omitempty"`
}

TmallNrtStoreContractSynAPIResponseModel is 喵零合同同步 成功返回结果

type TmallNrtStoreItemFromOnlineItemAPIRequest added in v1.2.5

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

TmallNrtStoreItemFromOnlineItemAPIRequest 基于新模型商品id查询摊位子品id API请求 tmall.nrt.store.item.from.online.item

基于新模型商品id查询摊位子品id

func NewTmallNrtStoreItemFromOnlineItemRequest added in v1.2.5

func NewTmallNrtStoreItemFromOnlineItemRequest() *TmallNrtStoreItemFromOnlineItemAPIRequest

NewTmallNrtStoreItemFromOnlineItemRequest 初始化TmallNrtStoreItemFromOnlineItemAPIRequest对象

func (TmallNrtStoreItemFromOnlineItemAPIRequest) GetApiMethodName added in v1.2.5

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallNrtStoreItemFromOnlineItemAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrtStoreItemFromOnlineItemAPIRequest) GetMainItemId added in v1.2.5

GetMainItemId MainItemId Getter

func (TmallNrtStoreItemFromOnlineItemAPIRequest) GetRawParams added in v1.2.8

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

func (*TmallNrtStoreItemFromOnlineItemAPIRequest) SetMainItemId added in v1.2.5

func (r *TmallNrtStoreItemFromOnlineItemAPIRequest) SetMainItemId(_mainItemId int64) error

SetMainItemId is MainItemId Setter 线上商品编码

type TmallNrtStoreItemFromOnlineItemAPIResponse added in v1.2.5

type TmallNrtStoreItemFromOnlineItemAPIResponse struct {
	model.CommonResponse
	TmallNrtStoreItemFromOnlineItemAPIResponseModel
}

TmallNrtStoreItemFromOnlineItemAPIResponse 基于新模型商品id查询摊位子品id API返回值 tmall.nrt.store.item.from.online.item

基于新模型商品id查询摊位子品id

type TmallNrtStoreItemFromOnlineItemAPIResponseModel added in v1.2.5

type TmallNrtStoreItemFromOnlineItemAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nrt_store_item_from_online_item_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 异步获取历史数据接口返回结果
	Result *TmallNrtStoreItemFromOnlineItemResultDto `json:"result,omitempty" xml:"result,omitempty"`
}

TmallNrtStoreItemFromOnlineItemAPIResponseModel is 基于新模型商品id查询摊位子品id 成功返回结果

type TmallNrtStoreItemFromOnlineItemResultDto added in v1.2.5

type TmallNrtStoreItemFromOnlineItemResultDto struct {
	// 商品集合
	ItemIds []int64 `json:"item_ids,omitempty" xml:"item_ids>int64,omitempty"`
	// 接口执行错误码
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 错误信息
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 执行结果
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallNrtStoreItemFromOnlineItemResultDto 结构体

type TmallNrtStoreRelationQueryAPIRequest added in v1.2.5

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

TmallNrtStoreRelationQueryAPIRequest 喵零门店关系查询 API请求 tmall.nrt.store.relation.query

喵零门店关系查询

func NewTmallNrtStoreRelationQueryRequest added in v1.2.5

func NewTmallNrtStoreRelationQueryRequest() *TmallNrtStoreRelationQueryAPIRequest

NewTmallNrtStoreRelationQueryRequest 初始化TmallNrtStoreRelationQueryAPIRequest对象

func (TmallNrtStoreRelationQueryAPIRequest) GetApiMethodName added in v1.2.5

func (r TmallNrtStoreRelationQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallNrtStoreRelationQueryAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrtStoreRelationQueryAPIRequest) GetRawParams added in v1.2.8

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

func (TmallNrtStoreRelationQueryAPIRequest) GetStoreQuery added in v1.2.5

GetStoreQuery StoreQuery Getter

func (*TmallNrtStoreRelationQueryAPIRequest) SetStoreQuery added in v1.2.5

func (r *TmallNrtStoreRelationQueryAPIRequest) SetStoreQuery(_storeQuery *StoreQuery) error

SetStoreQuery is StoreQuery Setter 查询对象

type TmallNrtStoreRelationQueryAPIResponse added in v1.2.5

type TmallNrtStoreRelationQueryAPIResponse struct {
	model.CommonResponse
	TmallNrtStoreRelationQueryAPIResponseModel
}

TmallNrtStoreRelationQueryAPIResponse 喵零门店关系查询 API返回值 tmall.nrt.store.relation.query

喵零门店关系查询

type TmallNrtStoreRelationQueryAPIResponseModel added in v1.2.5

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

TmallNrtStoreRelationQueryAPIResponseModel is 喵零门店关系查询 成功返回结果

type TopHomeItemDto

type TopHomeItemDto struct {
	// 类目属性
	CProps []CategoryPropDto `json:"c_props,omitempty" xml:"c_props>category_prop_dto,omitempty"`
	// 图片信息
	Images []ItemImageDto `json:"images,omitempty" xml:"images>item_image_dto,omitempty"`
	// SKU
	Skus []SkuDto `json:"skus,omitempty" xml:"skus>sku_dto,omitempty"`
	// 摊位ID
	BoothId string `json:"booth_id,omitempty" xml:"booth_id,omitempty"`
	// 创建时间
	CreateTime string `json:"create_time,omitempty" xml:"create_time,omitempty"`
	// 经销商编码
	DealerCode string `json:"dealer_code,omitempty" xml:"dealer_code,omitempty"`
	// 描述
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// features
	Features string `json:"features,omitempty" xml:"features,omitempty"`
	// 卖场ID
	MallId string `json:"mall_id,omitempty" xml:"mall_id,omitempty"`
	// 商家编码
	OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"`
	// 价格
	Price string `json:"price,omitempty" xml:"price,omitempty"`
	// 商品名称
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 修改时间
	UpdateTime string `json:"update_time,omitempty" xml:"update_time,omitempty"`
	// 商品状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 叶子类目ID
	CId int64 `json:"c_id,omitempty" xml:"c_id,omitempty"`
	// 系统自动生成
	Ext *MacallineItemExtDto `json:"ext,omitempty" xml:"ext,omitempty"`
	// 商品ID
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 商品类型,1:主商品,2:摊位商品,3:城市站商品
	ItemType int64 `json:"item_type,omitempty" xml:"item_type,omitempty"`
	// 主商品ID
	MainItemId int64 `json:"main_item_id,omitempty" xml:"main_item_id,omitempty"`
	// 数量
	Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
}

TopHomeItemDto 结构体

Source Files

Jump to

Keyboard shortcuts

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