nrt

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

零售终端API model

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlibabaAscpInventoryQueryAPIRequest added in v1.2.0

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

商品库存查询接口 API请求 alibaba.ascp.inventory.query

新零售联盟商家库存查询接口,用于商家商品库存数量感知查询

func NewAlibabaAscpInventoryQueryRequest

func NewAlibabaAscpInventoryQueryRequest() *AlibabaAscpInventoryQueryAPIRequest

NewAlibabaAscpInventoryQueryRequest 初始化AlibabaAscpInventoryQueryAPIRequest对象

func (AlibabaAscpInventoryQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaAscpInventoryQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpInventoryQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpInventoryQueryAPIRequest) GetInvSingleItemSyncDto added in v1.2.0

func (r AlibabaAscpInventoryQueryAPIRequest) GetInvSingleItemSyncDto() *InvSingleItemSyncDto

Get InvSingleItemSyncDto Getter

func (*AlibabaAscpInventoryQueryAPIRequest) SetInvSingleItemSyncDto added in v1.2.0

func (r *AlibabaAscpInventoryQueryAPIRequest) SetInvSingleItemSyncDto(_invSingleItemSyncDto *InvSingleItemSyncDto) error

Set is InvSingleItemSyncDto Setter 系统自动生成

type AlibabaAscpInventoryQueryAPIResponse

type AlibabaAscpInventoryQueryAPIResponse struct {
	model.CommonResponse
	AlibabaAscpInventoryQueryAPIResponseModel
}
AlibabaAscpInventoryQueryAPIResponse

商品库存查询接口 API返回值 alibaba.ascp.inventory.query

新零售联盟商家库存查询接口,用于商家商品库存数量感知查询

type AlibabaAscpInventoryQueryAPIResponseModel added in v1.2.0

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

AlibabaAscpInventoryQueryAPIResponseModel is 商品库存查询接口 成功返回结果

type AlibabaAscpInventorySyncAPIRequest added in v1.2.0

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

库存同步接口 API请求 alibaba.ascp.inventory.sync

新零售联盟商家库存同步接口,用于商家商品库存数量同步到阿里系统

func NewAlibabaAscpInventorySyncRequest

func NewAlibabaAscpInventorySyncRequest() *AlibabaAscpInventorySyncAPIRequest

NewAlibabaAscpInventorySyncRequest 初始化AlibabaAscpInventorySyncAPIRequest对象

func (AlibabaAscpInventorySyncAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaAscpInventorySyncAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpInventorySyncAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpInventorySyncAPIRequest) GetInvSingleItemSyncDto added in v1.2.0

func (r AlibabaAscpInventorySyncAPIRequest) GetInvSingleItemSyncDto() *InvSingleItemSyncDto

Get InvSingleItemSyncDto Getter

func (*AlibabaAscpInventorySyncAPIRequest) SetInvSingleItemSyncDto added in v1.2.0

func (r *AlibabaAscpInventorySyncAPIRequest) SetInvSingleItemSyncDto(_invSingleItemSyncDto *InvSingleItemSyncDto) error

Set is InvSingleItemSyncDto Setter 库存同步DTO

type AlibabaAscpInventorySyncAPIResponse

type AlibabaAscpInventorySyncAPIResponse struct {
	model.CommonResponse
	AlibabaAscpInventorySyncAPIResponseModel
}
AlibabaAscpInventorySyncAPIResponse

库存同步接口 API返回值 alibaba.ascp.inventory.sync

新零售联盟商家库存同步接口,用于商家商品库存数量同步到阿里系统

type AlibabaAscpInventorySyncAPIResponseModel added in v1.2.0

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

AlibabaAscpInventorySyncAPIResponseModel is 库存同步接口 成功返回结果

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

Get 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

Get BizCode Getter

func (AlibabaRetailDeviceVendingRegisterAPIRequest) GetDeviceModel added in v1.2.0

Get DeviceModel Getter

func (AlibabaRetailDeviceVendingRegisterAPIRequest) GetDeviceName added in v1.2.0

Get DeviceName Getter

func (AlibabaRetailDeviceVendingRegisterAPIRequest) GetDeviceSn added in v1.2.0

Get DeviceSn Getter

func (AlibabaRetailDeviceVendingRegisterAPIRequest) GetDeviceUuid added in v1.2.0

Get DeviceUuid Getter

func (AlibabaRetailDeviceVendingRegisterAPIRequest) GetFloor added in v1.2.0

Get Floor Getter

func (AlibabaRetailDeviceVendingRegisterAPIRequest) GetLayer added in v1.2.0

Get Layer Getter

func (AlibabaRetailDeviceVendingRegisterAPIRequest) GetLocation added in v1.2.0

Get Location Getter

func (AlibabaRetailDeviceVendingRegisterAPIRequest) GetScene added in v1.2.0

Get Scene Getter

func (AlibabaRetailDeviceVendingRegisterAPIRequest) GetSiteName added in v1.2.0

Get SiteName Getter

func (*AlibabaRetailDeviceVendingRegisterAPIRequest) SetAddress added in v1.2.0

Set is Address Setter 设备地址

func (*AlibabaRetailDeviceVendingRegisterAPIRequest) SetBizCode added in v1.2.0

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

func (*AlibabaRetailDeviceVendingRegisterAPIRequest) SetDeviceModel added in v1.2.0

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

Set is DeviceModel Setter 设备类型

func (*AlibabaRetailDeviceVendingRegisterAPIRequest) SetDeviceName added in v1.2.0

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

Set is DeviceName Setter 设备名称

func (*AlibabaRetailDeviceVendingRegisterAPIRequest) SetDeviceSn added in v1.2.0

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

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

func (*AlibabaRetailDeviceVendingRegisterAPIRequest) SetDeviceUuid added in v1.2.0

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

Set is DeviceUuid Setter 外部设备编号

func (*AlibabaRetailDeviceVendingRegisterAPIRequest) SetFloor added in v1.2.0

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

func (*AlibabaRetailDeviceVendingRegisterAPIRequest) SetLayer added in v1.2.0

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

func (*AlibabaRetailDeviceVendingRegisterAPIRequest) SetLocation added in v1.2.0

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

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

func (*AlibabaRetailDeviceVendingRegisterAPIRequest) SetScene added in v1.2.0

Set 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

Set 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 {
	// 是否成功
	Succ bool `json:"succ,omitempty" xml:"succ,omitempty"`
	// 数据
	Data *DeviceDto `json:"data,omitempty" xml:"data,omitempty"`
	// 错误码
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 测试
	Msg string `json:"msg,omitempty" xml:"msg,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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaRetailVendingRoadItemSyncAPIRequest) GetRoadItemSync added in v1.2.0

Get RoadItemSync Getter

func (*AlibabaRetailVendingRoadItemSyncAPIRequest) SetRoadItemSync added in v1.2.0

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

Set 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"`
	// 成功标识
	Succ bool `json:"succ,omitempty" xml:"succ,omitempty"`
	// 是否成功
	Data bool `json:"data,omitempty" xml:"data,omitempty"`
	// 错误码
	ECode string `json:"e_code,omitempty" xml:"e_code,omitempty"`
	// 错误消息
	EMsg string `json:"e_msg,omitempty" xml:"e_msg,omitempty"`
}

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

type CategoryPropDto

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

CategoryPropDto 结构体

type CouponTemplateDto

type CouponTemplateDto struct {
	// 渠道
	Channel string `json:"channel,omitempty" xml:"channel,omitempty"`
	// 券名称
	CouponName string `json:"coupon_name,omitempty" xml:"coupon_name,omitempty"`
	// 券type
	CouponType int64 `json:"coupon_type,omitempty" xml:"coupon_type,omitempty"`
	// 创建钉钉ID
	Creator string `json:"creator,omitempty" xml:"creator,omitempty"`
	// 面额
	Discount int64 `json:"discount,omitempty" xml:"discount,omitempty"`
	// 券模板ID
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 圈选商品列表
	ItemIds []int64 `json:"item_ids,omitempty" xml:"item_ids>int64,omitempty"`
	// 圈选卖场列表
	MallIds []int64 `json:"mall_ids,omitempty" xml:"mall_ids>int64,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"`
	// 门槛
	StartFee int64 `json:"start_fee,omitempty" xml:"start_fee,omitempty"`
	// 状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 圈选门店列表
	StoreIds []int64 `json:"store_ids,omitempty" xml:"store_ids>int64,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"`
	// 领取后可以使用的相对时间,秒或天为单位
	UseTime int64 `json:"use_time,omitempty" xml:"use_time,omitempty"`
	// 使用时间类型
	UseTimeType int64 `json:"use_time_type,omitempty" xml:"use_time_type,omitempty"`
	// 发券code
	Uuid string `json:"uuid,omitempty" xml:"uuid,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 ExternalMemberDto added in v1.2.0

type ExternalMemberDto struct {
	// 业态编号
	BusiTypeId string `json:"busi_type_id,omitempty" xml:"busi_type_id,omitempty"`
	// 淘宝昵称 关注过品牌号的会员,有淘宝昵称
	TaoId string `json:"tao_id,omitempty" xml:"tao_id,omitempty"`
	// 手机号
	PhoneNumber string `json:"phone_number,omitempty" xml:"phone_number,omitempty"`
	// 地址	地址包含省、市、区、街道、详细地址,仅发最新的一条含有地址的联系信息
	NewAddr string `json:"new_addr,omitempty" xml:"new_addr,omitempty"`
	// 状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 会员等级
	LevelName string `json:"level_name,omitempty" xml:"level_name,omitempty"`
	// 姓名
	RealName string `json:"real_name,omitempty" xml:"real_name,omitempty"`
	// 会员ID
	MemberId string `json:"member_id,omitempty" xml:"member_id,omitempty"`
	// 操作类型 基础类型 new?、update、delete、query
	OpType string `json:"op_type,omitempty" xml:"op_type,omitempty"`
}

ExternalMemberDto 结构体

type InvSingleItemSyncDto

type InvSingleItemSyncDto struct {
	// 商品条形码,数字型,作为外部商品唯一外键优先选用该字段,唯一性由商家保证,如果没有请联系阿里小二。bar_code和outer_item_id必须传入其中一个
	BarCode string `json:"bar_code,omitempty" xml:"bar_code,omitempty"`
	// 仓编码
	StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"`
	// 业务码
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
	// 商家id
	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
	// 如果商家没有商品条形码,用该字段,唯一性由商家保证。
	OuterItemId string `json:"outer_item_id,omitempty" xml:"outer_item_id,omitempty"`
	// 可用销售库存
	SellableQuantity int64 `json:"sellable_quantity,omitempty" xml:"sellable_quantity,omitempty"`
	// 库存类型,warehouse-仓库存;store-门店库存,不传默认仓库存
	InvType string `json:"inv_type,omitempty" xml:"inv_type,omitempty"`
	// 外部操作单号,用于幂等控制
	OuterOrderNo string `json:"outer_order_no,omitempty" xml:"outer_order_no,omitempty"`
	// 变化数量,整数表示增加数量,负数表示减少数量
	ChangeQuantity int64 `json:"change_quantity,omitempty" xml:"change_quantity,omitempty"`
}

InvSingleItemSyncDto 结构体

type ItemImageDto

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

ItemImageDto 结构体

type LocationDto

type LocationDto struct {
	// 城市名
	City string `json:"city,omitempty" xml:"city,omitempty"`
	// 城市ID
	CityId int64 `json:"city_id,omitempty" xml:"city_id,omitempty"`
	// 省份名
	Prov string `json:"prov,omitempty" xml:"prov,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"`
	// 等级
	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"`
	// 物价员
	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"`
	// 是否支持退换货
	SupportReturnGoods bool `json:"support_return_goods,omitempty" xml:"support_return_goods,omitempty"`
	// 饰面
	Veneer string `json:"veneer,omitempty" xml:"veneer,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 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"`
	// 外部会员ID
	OutMemberId string `json:"out_member_id,omitempty" xml:"out_member_id,omitempty"`
	// 同步时间
	GmtModified int64 `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// 业务code
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,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"`
	// 版本号
	Version int64 `json:"version,omitempty" xml:"version,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"`
}

NrtMemberDto 结构体

type NrtStoreDto

type NrtStoreDto struct {
	// 摊位编号
	StallCode string `json:"stall_code,omitempty" xml:"stall_code,omitempty"`
	// 区编码
	DistrictCode int64 `json:"district_code,omitempty" xml:"district_code,omitempty"`
	// 市编码
	CityCode int64 `json:"city_code,omitempty" xml:"city_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"`
	// 省编码
	ProvinceCode int64 `json:"province_code,omitempty" xml:"province_code,omitempty"`
	// 联系电话
	Contract string `json:"contract,omitempty" xml:"contract,omitempty"`
	// 经营品牌名称
	BusinessBrandnames string `json:"business_brandnames,omitempty" xml:"business_brandnames,omitempty"`
	// 版本号
	Version int64 `json:"version,omitempty" xml:"version,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"`
	// 摊位状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 卖场部门Id
	MallDepid string `json:"mall_depid,omitempty" xml:"mall_depid,omitempty"`
	// 摊位Id
	StallId int64 `json:"stall_id,omitempty" xml:"stall_id,omitempty"`
}

NrtStoreDto 结构体

type PageData

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

PageData 结构体

type ResultDo added in v1.2.0

type ResultDo struct {
	// succ
	Succ bool `json:"succ,omitempty" xml:"succ,omitempty"`
	// data
	Data *InvSingleItemSyncDto `json:"data,omitempty" xml:"data,omitempty"`
	// 错误码
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 错误信息
	Msg string `json:"msg,omitempty" xml:"msg,omitempty"`
	// 系统自动生成
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// 系统自动生成
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
}

ResultDo 结构体

type RoadItemSaveDto

type RoadItemSaveDto struct {
	// 货道编号,若无跟商品编码保持一致
	RoadIds string `json:"road_ids,omitempty" xml:"road_ids,omitempty"`
	// true 可售 false 不可售
	Available bool `json:"available,omitempty" xml:"available,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"`
	// 条码
	Barcode string `json:"barcode,omitempty" xml:"barcode,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 {
	// 面额
	Discount int64 `json:"discount,omitempty" xml:"discount,omitempty"`
	// 门槛
	StartFee int64 `json:"start_fee,omitempty" xml:"start_fee,omitempty"`
	// 券名称
	CouponName string `json:"coupon_name,omitempty" xml:"coupon_name,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 {
	// 条码
	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"`
	// SKU属性
	Properties []CategoryPropDto `json:"properties,omitempty" xml:"properties>category_prop_dto,omitempty"`
	// 数量
	Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// SKU ID
	SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// 修改时间
	UpdateTime string `json:"update_time,omitempty" xml:"update_time,omitempty"`
}

SkuDto 结构体

type StallSigningReqDto

type StallSigningReqDto struct {
	// 对应卖场的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"`
	// 银行卡信息
	BizCards []SettleCardInfoDto `json:"biz_cards,omitempty" xml:"biz_cards>settle_card_info_dto,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 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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrtBranddetailQueryAPIRequest) GetBrandId added in v1.2.0

Get BrandId Getter

func (*TmallNrtBranddetailQueryAPIRequest) SetBrandId added in v1.2.0

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

Set 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() url.Values

GetApiParams 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() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrtCouponSendAPIRequest) GetNrtCouponSendDto added in v1.2.0

func (r TmallNrtCouponSendAPIRequest) GetNrtCouponSendDto() *NrtCouponSendDto

Get NrtCouponSendDto Getter

func (*TmallNrtCouponSendAPIRequest) SetNrtCouponSendDto added in v1.2.0

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

Set 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 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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrtCoupontemplateQueryAPIRequest) GetBizCode added in v1.2.0

Get BizCode Getter

func (TmallNrtCoupontemplateQueryAPIRequest) GetCouponTypeList added in v1.2.0

func (r TmallNrtCoupontemplateQueryAPIRequest) GetCouponTypeList() []int64

Get CouponTypeList Getter

func (TmallNrtCoupontemplateQueryAPIRequest) GetCurrentPage added in v1.2.0

func (r TmallNrtCoupontemplateQueryAPIRequest) GetCurrentPage() int64

Get CurrentPage Getter

func (TmallNrtCoupontemplateQueryAPIRequest) GetPageSize added in v1.2.0

Get PageSize Getter

func (*TmallNrtCoupontemplateQueryAPIRequest) SetBizCode added in v1.2.0

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

Set is BizCode Setter 业务code阿里指定

func (*TmallNrtCoupontemplateQueryAPIRequest) SetCouponTypeList added in v1.2.0

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

Set is CouponTypeList Setter 券列表

func (*TmallNrtCoupontemplateQueryAPIRequest) SetCurrentPage added in v1.2.0

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

Set is CurrentPage Setter 当前页

func (*TmallNrtCoupontemplateQueryAPIRequest) SetPageSize added in v1.2.0

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

Set 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 TmallNrtEasyhomememberSynAPIRequest added in v1.2.0

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

会员信息同 API请求 tmall.nrt.easyhomemember.syn

居然之家将会员信息同步到零售中台 包含基本的会员信息

func NewTmallNrtEasyhomememberSynRequest

func NewTmallNrtEasyhomememberSynRequest() *TmallNrtEasyhomememberSynAPIRequest

NewTmallNrtEasyhomememberSynRequest 初始化TmallNrtEasyhomememberSynAPIRequest对象

func (TmallNrtEasyhomememberSynAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallNrtEasyhomememberSynAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallNrtEasyhomememberSynAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrtEasyhomememberSynAPIRequest) GetParam added in v1.2.0

Get Param Getter

func (*TmallNrtEasyhomememberSynAPIRequest) SetParam added in v1.2.0

Set is Param Setter 入参

type TmallNrtEasyhomememberSynAPIResponse

type TmallNrtEasyhomememberSynAPIResponse struct {
	model.CommonResponse
	TmallNrtEasyhomememberSynAPIResponseModel
}
TmallNrtEasyhomememberSynAPIResponse

会员信息同 API返回值 tmall.nrt.easyhomemember.syn

居然之家将会员信息同步到零售中台 包含基本的会员信息

type TmallNrtEasyhomememberSynAPIResponseModel added in v1.2.0

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

TmallNrtEasyhomememberSynAPIResponseModel 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() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrtItemGetAPIRequest) GetBoothId added in v1.2.0

func (r TmallNrtItemGetAPIRequest) GetBoothId() int64

Get BoothId Getter

func (TmallNrtItemGetAPIRequest) GetItemId added in v1.2.0

func (r TmallNrtItemGetAPIRequest) GetItemId() int64

Get ItemId Getter

func (*TmallNrtItemGetAPIRequest) SetBoothId added in v1.2.0

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

Set is BoothId Setter 城市站id

func (*TmallNrtItemGetAPIRequest) SetItemId added in v1.2.0

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

Set 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 {
	// 是否成功
	Data *TopHomeItemDto `json:"data,omitempty" xml:"data,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"`
}

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrtItemMainSynchronizeAPIRequest) GetBoothId added in v1.2.0

Get BoothId Getter

func (TmallNrtItemMainSynchronizeAPIRequest) GetCid added in v1.2.0

Get Cid Getter

func (TmallNrtItemMainSynchronizeAPIRequest) GetDealerCode added in v1.2.0

Get DealerCode Getter

func (TmallNrtItemMainSynchronizeAPIRequest) GetMallId added in v1.2.0

Get MallId Getter

func (TmallNrtItemMainSynchronizeAPIRequest) GetOuterId added in v1.2.0

Get OuterId Getter

func (TmallNrtItemMainSynchronizeAPIRequest) GetOuterProps added in v1.2.0

Get OuterProps Getter

func (TmallNrtItemMainSynchronizeAPIRequest) GetPrice added in v1.2.0

Get Price Getter

func (TmallNrtItemMainSynchronizeAPIRequest) GetProps added in v1.2.0

Get Props Getter

func (TmallNrtItemMainSynchronizeAPIRequest) GetTitle added in v1.2.0

Get Title Getter

func (*TmallNrtItemMainSynchronizeAPIRequest) SetBoothId added in v1.2.0

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

Set is BoothId Setter 摊位id

func (*TmallNrtItemMainSynchronizeAPIRequest) SetCid added in v1.2.0

Set is Cid Setter 叶子类目id

func (*TmallNrtItemMainSynchronizeAPIRequest) SetDealerCode added in v1.2.0

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

Set is DealerCode Setter 经销商编码

func (*TmallNrtItemMainSynchronizeAPIRequest) SetMallId added in v1.2.0

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

Set is MallId Setter 卖场id

func (*TmallNrtItemMainSynchronizeAPIRequest) SetOuterId added in v1.2.0

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

Set is OuterId Setter 商家编码

func (*TmallNrtItemMainSynchronizeAPIRequest) SetOuterProps added in v1.2.0

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

Set is OuterProps Setter 系统自动生成

func (*TmallNrtItemMainSynchronizeAPIRequest) SetPrice added in v1.2.0

Set is Price Setter 价格

func (*TmallNrtItemMainSynchronizeAPIRequest) SetProps added in v1.2.0

Set is Props Setter 类目属性

func (*TmallNrtItemMainSynchronizeAPIRequest) SetTitle added in v1.2.0

Set 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() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrtMemberOpenidAPIRequest) GetNrtMemberDto added in v1.2.0

func (r TmallNrtMemberOpenidAPIRequest) GetNrtMemberDto() *NrtMemberDto

Get NrtMemberDto Getter

func (*TmallNrtMemberOpenidAPIRequest) SetNrtMemberDto added in v1.2.0

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

Set 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"`
	// 是否成功
	Succ bool `json:"succ,omitempty" xml:"succ,omitempty"`
	// 返回的业务数据
	Data *MemberSynResponse `json:"data,omitempty" xml:"data,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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrtMemberSynchronizeAPIRequest) GetNrtMemberDto added in v1.2.0

Get NrtMemberDto Getter

func (*TmallNrtMemberSynchronizeAPIRequest) SetNrtMemberDto added in v1.2.0

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

Set 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) GetReq added in v1.2.0

Get Req Getter

func (*TmallNrtPayMerchantStallSigningModifyAPIRequest) SetReq added in v1.2.0

Set 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 {
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 系统自动生成
	Data *StallSigningRespDto `json:"data,omitempty" xml:"data,omitempty"`
	// 系统自动生成
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 系统自动生成
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
}

TmallNrtPayMerchantStallSigningModifyResultDo 结构体

type TmallNrtSimpleitemQueryAPIRequest added in v1.2.0

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

简易商品查询接口 API请求 tmall.nrt.simpleitem.query

为居然之家和阿里的合资公司 homeStyler提供简易的商品信息查询 包含商品名称 图片 状态

后续合资公司服务会迁移到内网 暂时过渡用

func NewTmallNrtSimpleitemQueryRequest

func NewTmallNrtSimpleitemQueryRequest() *TmallNrtSimpleitemQueryAPIRequest

NewTmallNrtSimpleitemQueryRequest 初始化TmallNrtSimpleitemQueryAPIRequest对象

func (TmallNrtSimpleitemQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallNrtSimpleitemQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallNrtSimpleitemQueryAPIRequest) GetApiParams added in v1.2.0

func (r TmallNrtSimpleitemQueryAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrtSimpleitemQueryAPIRequest) GetIds added in v1.2.0

Get Ids Getter

func (*TmallNrtSimpleitemQueryAPIRequest) SetIds added in v1.2.0

func (r *TmallNrtSimpleitemQueryAPIRequest) SetIds(_ids []int64) error

Set is Ids Setter 商品编码数组

type TmallNrtSimpleitemQueryAPIResponse

type TmallNrtSimpleitemQueryAPIResponse struct {
	model.CommonResponse
	TmallNrtSimpleitemQueryAPIResponseModel
}
TmallNrtSimpleitemQueryAPIResponse

简易商品查询接口 API返回值 tmall.nrt.simpleitem.query

为居然之家和阿里的合资公司 homeStyler提供简易的商品信息查询 包含商品名称 图片 状态

后续合资公司服务会迁移到内网 暂时过渡用

type TmallNrtSimpleitemQueryAPIResponseModel added in v1.2.0

type TmallNrtSimpleitemQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_nrt_simpleitem_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Succ bool `json:"succ,omitempty" xml:"succ,omitempty"`
	// 对象
	Models []TmallNrtSimpleitemQueryModel `json:"models,omitempty" xml:"models>tmall_nrt_simpleitem_query_model,omitempty"`
}

TmallNrtSimpleitemQueryAPIResponseModel is 简易商品查询接口 成功返回结果

type TmallNrtSimpleitemQueryModel

type TmallNrtSimpleitemQueryModel struct {
	// 0,1是正常状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 商品主图
	ItemPic string `json:"item_pic,omitempty" xml:"item_pic,omitempty"`
	// 商品名称
	ItemName string `json:"item_name,omitempty" xml:"item_name,omitempty"`
	// 商品编码
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
}

TmallNrtSimpleitemQueryModel 结构体

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrtStallPayratioSynchronizeAPIRequest) GetBizCode added in v1.2.0

Get BizCode Getter

func (TmallNrtStallPayratioSynchronizeAPIRequest) GetContractCode added in v1.2.0

Get ContractCode Getter

func (TmallNrtStallPayratioSynchronizeAPIRequest) GetPayRatio added in v1.2.0

Get PayRatio Getter

func (TmallNrtStallPayratioSynchronizeAPIRequest) GetStoreCode added in v1.2.0

Get StoreCode Getter

func (*TmallNrtStallPayratioSynchronizeAPIRequest) SetBizCode added in v1.2.0

Set is BizCode Setter 业务编码

func (*TmallNrtStallPayratioSynchronizeAPIRequest) SetContractCode added in v1.2.0

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

Set is ContractCode Setter 合同编号

func (*TmallNrtStallPayratioSynchronizeAPIRequest) SetPayRatio added in v1.2.0

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

Set is PayRatio Setter 收银比例

func (*TmallNrtStallPayratioSynchronizeAPIRequest) SetStoreCode added in v1.2.0

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

Set 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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallNrtStallSynchronizeAPIRequest) GetStall added in v1.2.0

Get Stall Getter

func (*TmallNrtStallSynchronizeAPIRequest) SetStall added in v1.2.0

Set 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 TopHomeItemDto

type TopHomeItemDto struct {
	// features
	Features string `json:"features,omitempty" xml:"features,omitempty"`
	// 商品状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 摊位ID
	BoothId string `json:"booth_id,omitempty" xml:"booth_id,omitempty"`
	// 叶子类目ID
	CId int64 `json:"c_id,omitempty" xml:"c_id,omitempty"`
	// 类目属性
	CProps []CategoryPropDto `json:"c_props,omitempty" xml:"c_props>category_prop_dto,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"`
	// 系统自动生成
	Ext *MacallineItemExtDto `json:"ext,omitempty" xml:"ext,omitempty"`
	// 商品ID
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 图片信息
	Images []ItemImageDto `json:"images,omitempty" xml:"images>item_image_dto,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"`
	// 卖场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"`
	// 数量
	Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// SKU
	Skus []SkuDto `json:"skus,omitempty" xml:"skus>sku_dto,omitempty"`
	// 商品名称
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 修改时间
	UpdateTime string `json:"update_time,omitempty" xml:"update_time,omitempty"`
}

TopHomeItemDto 结构体

Source Files

Jump to

Keyboard shortcuts

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