Documentation ¶
Overview ¶
Package nrpos 包含新零售POS相关结构体
Index ¶
- type AlibabaMosCommdyOfflineGetfileurlAPIRequest
- func (r AlibabaMosCommdyOfflineGetfileurlAPIRequest) GetApiMethodName() string
- func (r AlibabaMosCommdyOfflineGetfileurlAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaMosCommdyOfflineGetfileurlAPIRequest) GetFileKeys() []string
- func (r AlibabaMosCommdyOfflineGetfileurlAPIRequest) GetRawParams() model.Params
- func (r *AlibabaMosCommdyOfflineGetfileurlAPIRequest) SetFileKeys(_fileKeys []string) error
- type AlibabaMosCommdyOfflineGetfileurlAPIResponse
- type AlibabaMosCommdyOfflineGetfileurlAPIResponseModel
- type AlibabaMosCommdyOfflineGetfileurlResultDo
- type AlibabaMosCommdyPosmerchandiseGetmerchandiseAPIRequest
- func (r AlibabaMosCommdyPosmerchandiseGetmerchandiseAPIRequest) GetApiMethodName() string
- func (r AlibabaMosCommdyPosmerchandiseGetmerchandiseAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaMosCommdyPosmerchandiseGetmerchandiseAPIRequest) GetPosMerchandiseList() []QueryMerchandiseDto
- func (r AlibabaMosCommdyPosmerchandiseGetmerchandiseAPIRequest) GetRawParams() model.Params
- func (r *AlibabaMosCommdyPosmerchandiseGetmerchandiseAPIRequest) SetPosMerchandiseList(_posMerchandiseList []QueryMerchandiseDto) error
- type AlibabaMosCommdyPosmerchandiseGetmerchandiseAPIResponse
- type AlibabaMosCommdyPosmerchandiseGetmerchandiseAPIResponseModel
- type AlibabaMosCommdyPosmerchandiseGetmerchandiseResultDo
- type MerchandiseInfoDto
- type OfflineFileDto
- type QueryMerchandiseDto
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlibabaMosCommdyOfflineGetfileurlAPIRequest ¶ added in v1.2.0
type AlibabaMosCommdyOfflineGetfileurlAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaMosCommdyOfflineGetfileurlAPIRequest 去前置机pos商品离线文件下载地址查询接口 API请求 alibaba.mos.commdy.offline.getfileurl
去前置机-pos查询离线文件下载地址接口
func NewAlibabaMosCommdyOfflineGetfileurlRequest ¶
func NewAlibabaMosCommdyOfflineGetfileurlRequest() *AlibabaMosCommdyOfflineGetfileurlAPIRequest
NewAlibabaMosCommdyOfflineGetfileurlRequest 初始化AlibabaMosCommdyOfflineGetfileurlAPIRequest对象
func (AlibabaMosCommdyOfflineGetfileurlAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlibabaMosCommdyOfflineGetfileurlAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaMosCommdyOfflineGetfileurlAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlibabaMosCommdyOfflineGetfileurlAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaMosCommdyOfflineGetfileurlAPIRequest) GetFileKeys ¶ added in v1.2.0
func (r AlibabaMosCommdyOfflineGetfileurlAPIRequest) GetFileKeys() []string
GetFileKeys FileKeys Getter
func (AlibabaMosCommdyOfflineGetfileurlAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlibabaMosCommdyOfflineGetfileurlAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlibabaMosCommdyOfflineGetfileurlAPIRequest) SetFileKeys ¶ added in v1.2.0
func (r *AlibabaMosCommdyOfflineGetfileurlAPIRequest) SetFileKeys(_fileKeys []string) error
SetFileKeys is FileKeys Setter 离线文件名称
type AlibabaMosCommdyOfflineGetfileurlAPIResponse ¶
type AlibabaMosCommdyOfflineGetfileurlAPIResponse struct { model.CommonResponse AlibabaMosCommdyOfflineGetfileurlAPIResponseModel }
AlibabaMosCommdyOfflineGetfileurlAPIResponse 去前置机pos商品离线文件下载地址查询接口 API返回值 alibaba.mos.commdy.offline.getfileurl
去前置机-pos查询离线文件下载地址接口
type AlibabaMosCommdyOfflineGetfileurlAPIResponseModel ¶ added in v1.2.0
type AlibabaMosCommdyOfflineGetfileurlAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_mos_commdy_offline_getfileurl_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 Result *AlibabaMosCommdyOfflineGetfileurlResultDo `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaMosCommdyOfflineGetfileurlAPIResponseModel is 去前置机pos商品离线文件下载地址查询接口 成功返回结果
type AlibabaMosCommdyOfflineGetfileurlResultDo ¶
type AlibabaMosCommdyOfflineGetfileurlResultDo struct { // 返回结果合集 Datas []OfflineFileDto `json:"datas,omitempty" xml:"datas>offline_file_dto,omitempty"` // 返回头 Headers string `json:"headers,omitempty" xml:"headers,omitempty"` // null MappingCode string `json:"mapping_code,omitempty" xml:"mapping_code,omitempty"` // null BizExtMap string `json:"biz_ext_map,omitempty" xml:"biz_ext_map,omitempty"` // 业务返回码 MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"` // 业务返回信息 MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"` // http请求返回码 HttpStatusCode int64 `json:"http_status_code,omitempty" xml:"http_status_code,omitempty"` // 调用是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
AlibabaMosCommdyOfflineGetfileurlResultDo 结构体
type AlibabaMosCommdyPosmerchandiseGetmerchandiseAPIRequest ¶ added in v1.2.0
type AlibabaMosCommdyPosmerchandiseGetmerchandiseAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaMosCommdyPosmerchandiseGetmerchandiseAPIRequest 去前置机商品在线查询 API请求 alibaba.mos.commdy.posmerchandise.getmerchandise
去前置机商品在线查询接口
func NewAlibabaMosCommdyPosmerchandiseGetmerchandiseRequest ¶
func NewAlibabaMosCommdyPosmerchandiseGetmerchandiseRequest() *AlibabaMosCommdyPosmerchandiseGetmerchandiseAPIRequest
NewAlibabaMosCommdyPosmerchandiseGetmerchandiseRequest 初始化AlibabaMosCommdyPosmerchandiseGetmerchandiseAPIRequest对象
func (AlibabaMosCommdyPosmerchandiseGetmerchandiseAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlibabaMosCommdyPosmerchandiseGetmerchandiseAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaMosCommdyPosmerchandiseGetmerchandiseAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlibabaMosCommdyPosmerchandiseGetmerchandiseAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaMosCommdyPosmerchandiseGetmerchandiseAPIRequest) GetPosMerchandiseList ¶ added in v1.2.0
func (r AlibabaMosCommdyPosmerchandiseGetmerchandiseAPIRequest) GetPosMerchandiseList() []QueryMerchandiseDto
GetPosMerchandiseList PosMerchandiseList Getter
func (AlibabaMosCommdyPosmerchandiseGetmerchandiseAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlibabaMosCommdyPosmerchandiseGetmerchandiseAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlibabaMosCommdyPosmerchandiseGetmerchandiseAPIRequest) SetPosMerchandiseList ¶ added in v1.2.0
func (r *AlibabaMosCommdyPosmerchandiseGetmerchandiseAPIRequest) SetPosMerchandiseList(_posMerchandiseList []QueryMerchandiseDto) error
SetPosMerchandiseList is PosMerchandiseList Setter 查询参数列表
type AlibabaMosCommdyPosmerchandiseGetmerchandiseAPIResponse ¶
type AlibabaMosCommdyPosmerchandiseGetmerchandiseAPIResponse struct { model.CommonResponse AlibabaMosCommdyPosmerchandiseGetmerchandiseAPIResponseModel }
AlibabaMosCommdyPosmerchandiseGetmerchandiseAPIResponse 去前置机商品在线查询 API返回值 alibaba.mos.commdy.posmerchandise.getmerchandise
去前置机商品在线查询接口
type AlibabaMosCommdyPosmerchandiseGetmerchandiseAPIResponseModel ¶ added in v1.2.0
type AlibabaMosCommdyPosmerchandiseGetmerchandiseAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_mos_commdy_posmerchandise_getmerchandise_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 Result *AlibabaMosCommdyPosmerchandiseGetmerchandiseResultDo `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaMosCommdyPosmerchandiseGetmerchandiseAPIResponseModel is 去前置机商品在线查询 成功返回结果
type AlibabaMosCommdyPosmerchandiseGetmerchandiseResultDo ¶
type AlibabaMosCommdyPosmerchandiseGetmerchandiseResultDo struct { // 返回数据, Datas []MerchandiseInfoDto `json:"datas,omitempty" xml:"datas>merchandise_info_dto,omitempty"` // 返回头 Headers string `json:"headers,omitempty" xml:"headers,omitempty"` // null MappingCode string `json:"mapping_code,omitempty" xml:"mapping_code,omitempty"` // null BizExtMap string `json:"biz_ext_map,omitempty" xml:"biz_ext_map,omitempty"` // 业务返回码,801表示商品不存在 MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"` // 业务返回信息 MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"` // http请求返回码 HttpStatusCode int64 `json:"http_status_code,omitempty" xml:"http_status_code,omitempty"` // 调用是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
AlibabaMosCommdyPosmerchandiseGetmerchandiseResultDo 结构体
type MerchandiseInfoDto ¶
type MerchandiseInfoDto struct { // 门店号 Storeno string `json:"storeno,omitempty" xml:"storeno,omitempty"` // VIP活动折扣规则 A0551 string `json:"a0551,omitempty" xml:"a0551,omitempty"` // VIP普通折扣规则 A0550 string `json:"a0550,omitempty" xml:"a0550,omitempty"` // 活动套号 A0545 string `json:"a0545,omitempty" xml:"a0545,omitempty"` // 保留字段 A0544 string `json:"a0544,omitempty" xml:"a0544,omitempty"` // 实时积分基数 A0543 string `json:"a0543,omitempty" xml:"a0543,omitempty"` // 保留字段 A0542 string `json:"a0542,omitempty" xml:"a0542,omitempty"` // 会员价 A0541 string `json:"a0541,omitempty" xml:"a0541,omitempty"` // 是否接受VIP 0=不接受 1=接受 A0540 string `json:"a0540,omitempty" xml:"a0540,omitempty"` // 最低限制折扣,该商品所有折扣累加不能小于此折扣 A0531 string `json:"a0531,omitempty" xml:"a0531,omitempty"` // 用于文化广场最高折扣,跟最低折扣对应 A0530 string `json:"a0530,omitempty" xml:"a0530,omitempty"` // 库存数量,此功能未启用 A0526 string `json:"a0526,omitempty" xml:"a0526,omitempty"` // 默认折扣率 A0525 string `json:"a0525,omitempty" xml:"a0525,omitempty"` // 默认优惠价格 A0524 string `json:"a0524,omitempty" xml:"a0524,omitempty"` // 折扣类别 0=不允许 1=允许 A0523 string `json:"a0523,omitempty" xml:"a0523,omitempty"` // 价格下限,此功能已取消 A0522 string `json:"a0522,omitempty" xml:"a0522,omitempty"` // 价格上限,此功能已取消 A0521 string `json:"a0521,omitempty" xml:"a0521,omitempty"` // 定价方式 0=定价 1=开价 A0520 string `json:"a0520,omitempty" xml:"a0520,omitempty"` // 零售价 A0517 string `json:"a0517,omitempty" xml:"a0517,omitempty"` // 保留字段 A0516 string `json:"a0516,omitempty" xml:"a0516,omitempty"` // 部门 A0508 string `json:"a0508,omitempty" xml:"a0508,omitempty"` // 经营方式 A0506 string `json:"a0506,omitempty" xml:"a0506,omitempty"` // 专柜 A0504 string `json:"a0504,omitempty" xml:"a0504,omitempty"` // 商品名称 A0503 string `json:"a0503,omitempty" xml:"a0503,omitempty"` // 商品条码 A0502 string `json:"a0502,omitempty" xml:"a0502,omitempty"` // 商品编码 A0501 string `json:"a0501,omitempty" xml:"a0501,omitempty"` }
MerchandiseInfoDto 结构体
type OfflineFileDto ¶
type OfflineFileDto struct { // 文件名称 FileKey string `json:"file_key,omitempty" xml:"file_key,omitempty"` // 文件下载地址 Url string `json:"url,omitempty" xml:"url,omitempty"` }
OfflineFileDto 结构体
type QueryMerchandiseDto ¶
type QueryMerchandiseDto struct { // 门店号 Storeno string `json:"storeno,omitempty" xml:"storeno,omitempty"` // 商品编码 A0501 string `json:"a0501,omitempty" xml:"a0501,omitempty"` }
QueryMerchandiseDto 结构体
Source Files ¶
- AlibabaMosCommdyOfflineGetfileurlAPIRequest.go
- AlibabaMosCommdyOfflineGetfileurlAPIResponse.go
- AlibabaMosCommdyOfflineGetfileurlResultDo.go
- AlibabaMosCommdyPosmerchandiseGetmerchandiseAPIRequest.go
- AlibabaMosCommdyPosmerchandiseGetmerchandiseAPIResponse.go
- AlibabaMosCommdyPosmerchandiseGetmerchandiseResultDo.go
- MerchandiseInfoDto.go
- OfflineFileDto.go
- QueryMerchandiseDto.go
- doc.go