Documentation ¶
Overview ¶
Package lstpos 包含零售通智能POS开放相关结构体
Index ¶
- type AlibabaLstPosOpenAccountCheckissettledAPIRequest
- func (r AlibabaLstPosOpenAccountCheckissettledAPIRequest) GetApiMethodName() string
- func (r AlibabaLstPosOpenAccountCheckissettledAPIRequest) GetApiParams() url.Values
- func (r AlibabaLstPosOpenAccountCheckissettledAPIRequest) GetUserId() int64
- func (r *AlibabaLstPosOpenAccountCheckissettledAPIRequest) SetUserId(_userId int64) error
- type AlibabaLstPosOpenAccountCheckissettledAPIResponse
- type AlibabaLstPosOpenAccountCheckissettledAPIResponseModel
- type AlibabaLstPosOpenAccountCheckissettledResultDto
- type AlibabaLstPosOpenCashierSynccashierdataAPIRequest
- func (r AlibabaLstPosOpenCashierSynccashierdataAPIRequest) GetApiMethodName() string
- func (r AlibabaLstPosOpenCashierSynccashierdataAPIRequest) GetApiParams() url.Values
- func (r AlibabaLstPosOpenCashierSynccashierdataAPIRequest) GetCashierFlowDTOList() []CashierFlowDto
- func (r AlibabaLstPosOpenCashierSynccashierdataAPIRequest) GetUserId() int64
- func (r *AlibabaLstPosOpenCashierSynccashierdataAPIRequest) SetCashierFlowDTOList(_cashierFlowDTOList []CashierFlowDto) error
- func (r *AlibabaLstPosOpenCashierSynccashierdataAPIRequest) SetUserId(_userId int64) error
- type AlibabaLstPosOpenCashierSynccashierdataAPIResponse
- type AlibabaLstPosOpenCashierSynccashierdataAPIResponseModel
- type AlibabaLstPosOpenCashierSynccashierdataResultDto
- type AlibabaLstPosOpenGoodsGetgoodsbybarcodeAPIRequest
- func (r AlibabaLstPosOpenGoodsGetgoodsbybarcodeAPIRequest) GetApiMethodName() string
- func (r AlibabaLstPosOpenGoodsGetgoodsbybarcodeAPIRequest) GetApiParams() url.Values
- func (r AlibabaLstPosOpenGoodsGetgoodsbybarcodeAPIRequest) GetBarcode() string
- func (r *AlibabaLstPosOpenGoodsGetgoodsbybarcodeAPIRequest) SetBarcode(_barcode string) error
- type AlibabaLstPosOpenGoodsGetgoodsbybarcodeAPIResponse
- type AlibabaLstPosOpenGoodsGetgoodsbybarcodeAPIResponseModel
- type AlibabaLstPosOpenGoodsGetgoodsbybarcodeResultDto
- type AlibabaLstPosOpenGoodsSyncgoodsdataAPIRequest
- func (r AlibabaLstPosOpenGoodsSyncgoodsdataAPIRequest) GetApiMethodName() string
- func (r AlibabaLstPosOpenGoodsSyncgoodsdataAPIRequest) GetApiParams() url.Values
- func (r AlibabaLstPosOpenGoodsSyncgoodsdataAPIRequest) GetGoodsDTOList() []GoodsDto
- func (r AlibabaLstPosOpenGoodsSyncgoodsdataAPIRequest) GetUserId() int64
- func (r *AlibabaLstPosOpenGoodsSyncgoodsdataAPIRequest) SetGoodsDTOList(_goodsDTOList []GoodsDto) error
- func (r *AlibabaLstPosOpenGoodsSyncgoodsdataAPIRequest) SetUserId(_userId int64) error
- type AlibabaLstPosOpenGoodsSyncgoodsdataAPIResponse
- type AlibabaLstPosOpenGoodsSyncgoodsdataAPIResponseModel
- type AlibabaLstPosOpenGoodsSyncgoodsdataResultDto
- type AlibabaLstPosOpenInventoryGetinventorydataAPIRequest
- func (r AlibabaLstPosOpenInventoryGetinventorydataAPIRequest) GetApiMethodName() string
- func (r AlibabaLstPosOpenInventoryGetinventorydataAPIRequest) GetApiParams() url.Values
- func (r AlibabaLstPosOpenInventoryGetinventorydataAPIRequest) GetIsvGoodsIdList() []string
- func (r AlibabaLstPosOpenInventoryGetinventorydataAPIRequest) GetUserId() int64
- func (r *AlibabaLstPosOpenInventoryGetinventorydataAPIRequest) SetIsvGoodsIdList(_isvGoodsIdList []string) error
- func (r *AlibabaLstPosOpenInventoryGetinventorydataAPIRequest) SetUserId(_userId int64) error
- type AlibabaLstPosOpenInventoryGetinventorydataAPIResponse
- type AlibabaLstPosOpenInventoryGetinventorydataAPIResponseModel
- type AlibabaLstPosOpenInventoryGetinventorydataResultDto
- type AlibabaLstPosOpenInventorySyncinventorydataAPIRequest
- func (r AlibabaLstPosOpenInventorySyncinventorydataAPIRequest) GetApiMethodName() string
- func (r AlibabaLstPosOpenInventorySyncinventorydataAPIRequest) GetApiParams() url.Values
- func (r AlibabaLstPosOpenInventorySyncinventorydataAPIRequest) GetInventoryDTOList() []InventoryDto
- func (r AlibabaLstPosOpenInventorySyncinventorydataAPIRequest) GetUserId() int64
- func (r *AlibabaLstPosOpenInventorySyncinventorydataAPIRequest) SetInventoryDTOList(_inventoryDTOList []InventoryDto) error
- func (r *AlibabaLstPosOpenInventorySyncinventorydataAPIRequest) SetUserId(_userId int64) error
- type AlibabaLstPosOpenInventorySyncinventorydataAPIResponse
- type AlibabaLstPosOpenInventorySyncinventorydataAPIResponseModel
- type AlibabaLstPosOpenInventorySyncinventorydataResultDto
- type CashierFlowDto
- type CashierGoodsDetailDto
- type CashierPayDetailDto
- type ErrorResult
- type GoodsDto
- type InventoryDto
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlibabaLstPosOpenAccountCheckissettledAPIRequest ¶ added in v1.2.0
type AlibabaLstPosOpenAccountCheckissettledAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaLstPosOpenAccountCheckissettledAPIRequest 校验当前用户是否入驻了零售通门店接口 API请求 alibaba.lst.pos.open.account.checkissettled
校验当前用户是否入驻了零售通门店接口
func NewAlibabaLstPosOpenAccountCheckissettledRequest ¶
func NewAlibabaLstPosOpenAccountCheckissettledRequest() *AlibabaLstPosOpenAccountCheckissettledAPIRequest
NewAlibabaLstPosOpenAccountCheckissettledRequest 初始化AlibabaLstPosOpenAccountCheckissettledAPIRequest对象
func (AlibabaLstPosOpenAccountCheckissettledAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlibabaLstPosOpenAccountCheckissettledAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaLstPosOpenAccountCheckissettledAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlibabaLstPosOpenAccountCheckissettledAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaLstPosOpenAccountCheckissettledAPIRequest) GetUserId ¶ added in v1.2.0
func (r AlibabaLstPosOpenAccountCheckissettledAPIRequest) GetUserId() int64
GetUserId UserId Getter
func (*AlibabaLstPosOpenAccountCheckissettledAPIRequest) SetUserId ¶ added in v1.2.0
func (r *AlibabaLstPosOpenAccountCheckissettledAPIRequest) SetUserId(_userId int64) error
SetUserId is UserId Setter 当前登录主账号userId
type AlibabaLstPosOpenAccountCheckissettledAPIResponse ¶
type AlibabaLstPosOpenAccountCheckissettledAPIResponse struct { model.CommonResponse AlibabaLstPosOpenAccountCheckissettledAPIResponseModel }
AlibabaLstPosOpenAccountCheckissettledAPIResponse 校验当前用户是否入驻了零售通门店接口 API返回值 alibaba.lst.pos.open.account.checkissettled
校验当前用户是否入驻了零售通门店接口
type AlibabaLstPosOpenAccountCheckissettledAPIResponseModel ¶ added in v1.2.0
type AlibabaLstPosOpenAccountCheckissettledAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_lst_pos_open_account_checkissettled_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 结果对象 Result *AlibabaLstPosOpenAccountCheckissettledResultDto `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaLstPosOpenAccountCheckissettledAPIResponseModel is 校验当前用户是否入驻了零售通门店接口 成功返回结果
type AlibabaLstPosOpenAccountCheckissettledResultDto ¶
type AlibabaLstPosOpenAccountCheckissettledResultDto struct { // 错误信息描述 ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"` // 接口具体返回的业务数据对象 Module string `json:"module,omitempty" xml:"module,omitempty"` // 业务错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 接口调用是否成功 true:调用成功 false:调用失败 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
AlibabaLstPosOpenAccountCheckissettledResultDto 结构体
type AlibabaLstPosOpenCashierSynccashierdataAPIRequest ¶ added in v1.2.0
type AlibabaLstPosOpenCashierSynccashierdataAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaLstPosOpenCashierSynccashierdataAPIRequest 收银快照同步接口(最多10条订单信息) API请求 alibaba.lst.pos.open.cashier.synccashierdata
收银快照同步接口(最多10条订单信息)
func NewAlibabaLstPosOpenCashierSynccashierdataRequest ¶
func NewAlibabaLstPosOpenCashierSynccashierdataRequest() *AlibabaLstPosOpenCashierSynccashierdataAPIRequest
NewAlibabaLstPosOpenCashierSynccashierdataRequest 初始化AlibabaLstPosOpenCashierSynccashierdataAPIRequest对象
func (AlibabaLstPosOpenCashierSynccashierdataAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlibabaLstPosOpenCashierSynccashierdataAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaLstPosOpenCashierSynccashierdataAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlibabaLstPosOpenCashierSynccashierdataAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaLstPosOpenCashierSynccashierdataAPIRequest) GetCashierFlowDTOList ¶ added in v1.2.0
func (r AlibabaLstPosOpenCashierSynccashierdataAPIRequest) GetCashierFlowDTOList() []CashierFlowDto
GetCashierFlowDTOList CashierFlowDTOList Getter
func (AlibabaLstPosOpenCashierSynccashierdataAPIRequest) GetUserId ¶ added in v1.2.0
func (r AlibabaLstPosOpenCashierSynccashierdataAPIRequest) GetUserId() int64
GetUserId UserId Getter
func (*AlibabaLstPosOpenCashierSynccashierdataAPIRequest) SetCashierFlowDTOList ¶ added in v1.2.0
func (r *AlibabaLstPosOpenCashierSynccashierdataAPIRequest) SetCashierFlowDTOList(_cashierFlowDTOList []CashierFlowDto) error
SetCashierFlowDTOList is CashierFlowDTOList Setter 订单对象列表
func (*AlibabaLstPosOpenCashierSynccashierdataAPIRequest) SetUserId ¶ added in v1.2.0
func (r *AlibabaLstPosOpenCashierSynccashierdataAPIRequest) SetUserId(_userId int64) error
SetUserId is UserId Setter 门店对应的主账号id
type AlibabaLstPosOpenCashierSynccashierdataAPIResponse ¶
type AlibabaLstPosOpenCashierSynccashierdataAPIResponse struct { model.CommonResponse AlibabaLstPosOpenCashierSynccashierdataAPIResponseModel }
AlibabaLstPosOpenCashierSynccashierdataAPIResponse 收银快照同步接口(最多10条订单信息) API返回值 alibaba.lst.pos.open.cashier.synccashierdata
收银快照同步接口(最多10条订单信息)
type AlibabaLstPosOpenCashierSynccashierdataAPIResponseModel ¶ added in v1.2.0
type AlibabaLstPosOpenCashierSynccashierdataAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_lst_pos_open_cashier_synccashierdata_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 响应结果 Result *AlibabaLstPosOpenCashierSynccashierdataResultDto `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaLstPosOpenCashierSynccashierdataAPIResponseModel is 收银快照同步接口(最多10条订单信息) 成功返回结果
type AlibabaLstPosOpenCashierSynccashierdataResultDto ¶
type AlibabaLstPosOpenCashierSynccashierdataResultDto struct { // 单个订单处理结果 ModuleList []ErrorResult `json:"module_list,omitempty" xml:"module_list>error_result,omitempty"` // 错误消息 ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"` // 错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 调用成功与否标示 true:成功 false:失败 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
AlibabaLstPosOpenCashierSynccashierdataResultDto 结构体
type AlibabaLstPosOpenGoodsGetgoodsbybarcodeAPIRequest ¶ added in v1.2.0
type AlibabaLstPosOpenGoodsGetgoodsbybarcodeAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaLstPosOpenGoodsGetgoodsbybarcodeAPIRequest ISV条码库查询接口 API请求 alibaba.lst.pos.open.goods.getgoodsbybarcode
ISV条码库查询接口
func NewAlibabaLstPosOpenGoodsGetgoodsbybarcodeRequest ¶
func NewAlibabaLstPosOpenGoodsGetgoodsbybarcodeRequest() *AlibabaLstPosOpenGoodsGetgoodsbybarcodeAPIRequest
NewAlibabaLstPosOpenGoodsGetgoodsbybarcodeRequest 初始化AlibabaLstPosOpenGoodsGetgoodsbybarcodeAPIRequest对象
func (AlibabaLstPosOpenGoodsGetgoodsbybarcodeAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlibabaLstPosOpenGoodsGetgoodsbybarcodeAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaLstPosOpenGoodsGetgoodsbybarcodeAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlibabaLstPosOpenGoodsGetgoodsbybarcodeAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaLstPosOpenGoodsGetgoodsbybarcodeAPIRequest) GetBarcode ¶ added in v1.2.0
func (r AlibabaLstPosOpenGoodsGetgoodsbybarcodeAPIRequest) GetBarcode() string
GetBarcode Barcode Getter
func (*AlibabaLstPosOpenGoodsGetgoodsbybarcodeAPIRequest) SetBarcode ¶ added in v1.2.0
func (r *AlibabaLstPosOpenGoodsGetgoodsbybarcodeAPIRequest) SetBarcode(_barcode string) error
SetBarcode is Barcode Setter 商品条码
type AlibabaLstPosOpenGoodsGetgoodsbybarcodeAPIResponse ¶
type AlibabaLstPosOpenGoodsGetgoodsbybarcodeAPIResponse struct { model.CommonResponse AlibabaLstPosOpenGoodsGetgoodsbybarcodeAPIResponseModel }
AlibabaLstPosOpenGoodsGetgoodsbybarcodeAPIResponse ISV条码库查询接口 API返回值 alibaba.lst.pos.open.goods.getgoodsbybarcode
ISV条码库查询接口
type AlibabaLstPosOpenGoodsGetgoodsbybarcodeAPIResponseModel ¶ added in v1.2.0
type AlibabaLstPosOpenGoodsGetgoodsbybarcodeAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_lst_pos_open_goods_getgoodsbybarcode_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 结果对象 Result *AlibabaLstPosOpenGoodsGetgoodsbybarcodeResultDto `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaLstPosOpenGoodsGetgoodsbybarcodeAPIResponseModel is ISV条码库查询接口 成功返回结果
type AlibabaLstPosOpenGoodsGetgoodsbybarcodeResultDto ¶
type AlibabaLstPosOpenGoodsGetgoodsbybarcodeResultDto struct { // 错误信息描述 ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"` // 接口具体返回的业务数据对象 Module *GoodsDto `json:"module,omitempty" xml:"module,omitempty"` // 业务错误码 ErrorCode int64 `json:"error_code,omitempty" xml:"error_code,omitempty"` // 接口调用是否成功 true:调用成功 false:调用失败 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
AlibabaLstPosOpenGoodsGetgoodsbybarcodeResultDto 结构体
type AlibabaLstPosOpenGoodsSyncgoodsdataAPIRequest ¶ added in v1.2.0
type AlibabaLstPosOpenGoodsSyncgoodsdataAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaLstPosOpenGoodsSyncgoodsdataAPIRequest 门店商品批量同步接口(最多10条商品信息) API请求 alibaba.lst.pos.open.goods.syncgoodsdata
门店商品批量同步接口(最多10条商品信息)
func NewAlibabaLstPosOpenGoodsSyncgoodsdataRequest ¶
func NewAlibabaLstPosOpenGoodsSyncgoodsdataRequest() *AlibabaLstPosOpenGoodsSyncgoodsdataAPIRequest
NewAlibabaLstPosOpenGoodsSyncgoodsdataRequest 初始化AlibabaLstPosOpenGoodsSyncgoodsdataAPIRequest对象
func (AlibabaLstPosOpenGoodsSyncgoodsdataAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlibabaLstPosOpenGoodsSyncgoodsdataAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaLstPosOpenGoodsSyncgoodsdataAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlibabaLstPosOpenGoodsSyncgoodsdataAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaLstPosOpenGoodsSyncgoodsdataAPIRequest) GetGoodsDTOList ¶ added in v1.2.0
func (r AlibabaLstPosOpenGoodsSyncgoodsdataAPIRequest) GetGoodsDTOList() []GoodsDto
GetGoodsDTOList GoodsDTOList Getter
func (AlibabaLstPosOpenGoodsSyncgoodsdataAPIRequest) GetUserId ¶ added in v1.2.0
func (r AlibabaLstPosOpenGoodsSyncgoodsdataAPIRequest) GetUserId() int64
GetUserId UserId Getter
func (*AlibabaLstPosOpenGoodsSyncgoodsdataAPIRequest) SetGoodsDTOList ¶ added in v1.2.0
func (r *AlibabaLstPosOpenGoodsSyncgoodsdataAPIRequest) SetGoodsDTOList(_goodsDTOList []GoodsDto) error
SetGoodsDTOList is GoodsDTOList Setter 商品对象列表
func (*AlibabaLstPosOpenGoodsSyncgoodsdataAPIRequest) SetUserId ¶ added in v1.2.0
func (r *AlibabaLstPosOpenGoodsSyncgoodsdataAPIRequest) SetUserId(_userId int64) error
SetUserId is UserId Setter 用户主账号Id
type AlibabaLstPosOpenGoodsSyncgoodsdataAPIResponse ¶
type AlibabaLstPosOpenGoodsSyncgoodsdataAPIResponse struct { model.CommonResponse AlibabaLstPosOpenGoodsSyncgoodsdataAPIResponseModel }
AlibabaLstPosOpenGoodsSyncgoodsdataAPIResponse 门店商品批量同步接口(最多10条商品信息) API返回值 alibaba.lst.pos.open.goods.syncgoodsdata
门店商品批量同步接口(最多10条商品信息)
type AlibabaLstPosOpenGoodsSyncgoodsdataAPIResponseModel ¶ added in v1.2.0
type AlibabaLstPosOpenGoodsSyncgoodsdataAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_lst_pos_open_goods_syncgoodsdata_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 结果对象 Result *AlibabaLstPosOpenGoodsSyncgoodsdataResultDto `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaLstPosOpenGoodsSyncgoodsdataAPIResponseModel is 门店商品批量同步接口(最多10条商品信息) 成功返回结果
type AlibabaLstPosOpenGoodsSyncgoodsdataResultDto ¶
type AlibabaLstPosOpenGoodsSyncgoodsdataResultDto struct { // 接口具体返回的业务数据对象 Modules []ErrorResult `json:"modules,omitempty" xml:"modules>error_result,omitempty"` // 错误信息描述 ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"` // 业务错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 接口调用是否成功 true:调用成功 false:调用失败 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
AlibabaLstPosOpenGoodsSyncgoodsdataResultDto 结构体
type AlibabaLstPosOpenInventoryGetinventorydataAPIRequest ¶ added in v1.2.0
type AlibabaLstPosOpenInventoryGetinventorydataAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaLstPosOpenInventoryGetinventorydataAPIRequest 商品库存只读接口(最多20条库存信息) API请求 alibaba.lst.pos.open.inventory.getinventorydata
商品库存只读接口(最多20条库存信息)
func NewAlibabaLstPosOpenInventoryGetinventorydataRequest ¶
func NewAlibabaLstPosOpenInventoryGetinventorydataRequest() *AlibabaLstPosOpenInventoryGetinventorydataAPIRequest
NewAlibabaLstPosOpenInventoryGetinventorydataRequest 初始化AlibabaLstPosOpenInventoryGetinventorydataAPIRequest对象
func (AlibabaLstPosOpenInventoryGetinventorydataAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlibabaLstPosOpenInventoryGetinventorydataAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaLstPosOpenInventoryGetinventorydataAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlibabaLstPosOpenInventoryGetinventorydataAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaLstPosOpenInventoryGetinventorydataAPIRequest) GetIsvGoodsIdList ¶ added in v1.2.0
func (r AlibabaLstPosOpenInventoryGetinventorydataAPIRequest) GetIsvGoodsIdList() []string
GetIsvGoodsIdList IsvGoodsIdList Getter
func (AlibabaLstPosOpenInventoryGetinventorydataAPIRequest) GetUserId ¶ added in v1.2.0
func (r AlibabaLstPosOpenInventoryGetinventorydataAPIRequest) GetUserId() int64
GetUserId UserId Getter
func (*AlibabaLstPosOpenInventoryGetinventorydataAPIRequest) SetIsvGoodsIdList ¶ added in v1.2.0
func (r *AlibabaLstPosOpenInventoryGetinventorydataAPIRequest) SetIsvGoodsIdList(_isvGoodsIdList []string) error
SetIsvGoodsIdList is IsvGoodsIdList Setter ISV商品Id列表
func (*AlibabaLstPosOpenInventoryGetinventorydataAPIRequest) SetUserId ¶ added in v1.2.0
func (r *AlibabaLstPosOpenInventoryGetinventorydataAPIRequest) SetUserId(_userId int64) error
SetUserId is UserId Setter 门店主账号Id
type AlibabaLstPosOpenInventoryGetinventorydataAPIResponse ¶
type AlibabaLstPosOpenInventoryGetinventorydataAPIResponse struct { model.CommonResponse AlibabaLstPosOpenInventoryGetinventorydataAPIResponseModel }
AlibabaLstPosOpenInventoryGetinventorydataAPIResponse 商品库存只读接口(最多20条库存信息) API返回值 alibaba.lst.pos.open.inventory.getinventorydata
商品库存只读接口(最多20条库存信息)
type AlibabaLstPosOpenInventoryGetinventorydataAPIResponseModel ¶ added in v1.2.0
type AlibabaLstPosOpenInventoryGetinventorydataAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_lst_pos_open_inventory_getinventorydata_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 接口返回结果对象 Result *AlibabaLstPosOpenInventoryGetinventorydataResultDto `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaLstPosOpenInventoryGetinventorydataAPIResponseModel is 商品库存只读接口(最多20条库存信息) 成功返回结果
type AlibabaLstPosOpenInventoryGetinventorydataResultDto ¶
type AlibabaLstPosOpenInventoryGetinventorydataResultDto struct { // 接口具体返回的业务数据对象 ModuleList []InventoryDto `json:"module_list,omitempty" xml:"module_list>inventory_dto,omitempty"` // 错误信息描述 ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"` // 业务错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 接口调用是否成功 true:调用成功 false:调用失败 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
AlibabaLstPosOpenInventoryGetinventorydataResultDto 结构体
type AlibabaLstPosOpenInventorySyncinventorydataAPIRequest ¶ added in v1.2.0
type AlibabaLstPosOpenInventorySyncinventorydataAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaLstPosOpenInventorySyncinventorydataAPIRequest 商品库存修改同步接口(最多20条库存信息) API请求 alibaba.lst.pos.open.inventory.syncinventorydata
商品库存修改同步接口(最多20条库存信息)
func NewAlibabaLstPosOpenInventorySyncinventorydataRequest ¶
func NewAlibabaLstPosOpenInventorySyncinventorydataRequest() *AlibabaLstPosOpenInventorySyncinventorydataAPIRequest
NewAlibabaLstPosOpenInventorySyncinventorydataRequest 初始化AlibabaLstPosOpenInventorySyncinventorydataAPIRequest对象
func (AlibabaLstPosOpenInventorySyncinventorydataAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlibabaLstPosOpenInventorySyncinventorydataAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaLstPosOpenInventorySyncinventorydataAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlibabaLstPosOpenInventorySyncinventorydataAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaLstPosOpenInventorySyncinventorydataAPIRequest) GetInventoryDTOList ¶ added in v1.2.0
func (r AlibabaLstPosOpenInventorySyncinventorydataAPIRequest) GetInventoryDTOList() []InventoryDto
GetInventoryDTOList InventoryDTOList Getter
func (AlibabaLstPosOpenInventorySyncinventorydataAPIRequest) GetUserId ¶ added in v1.2.0
func (r AlibabaLstPosOpenInventorySyncinventorydataAPIRequest) GetUserId() int64
GetUserId UserId Getter
func (*AlibabaLstPosOpenInventorySyncinventorydataAPIRequest) SetInventoryDTOList ¶ added in v1.2.0
func (r *AlibabaLstPosOpenInventorySyncinventorydataAPIRequest) SetInventoryDTOList(_inventoryDTOList []InventoryDto) error
SetInventoryDTOList is InventoryDTOList Setter 库存对象列表
func (*AlibabaLstPosOpenInventorySyncinventorydataAPIRequest) SetUserId ¶ added in v1.2.0
func (r *AlibabaLstPosOpenInventorySyncinventorydataAPIRequest) SetUserId(_userId int64) error
SetUserId is UserId Setter 门店对应的主账号id
type AlibabaLstPosOpenInventorySyncinventorydataAPIResponse ¶
type AlibabaLstPosOpenInventorySyncinventorydataAPIResponse struct { model.CommonResponse AlibabaLstPosOpenInventorySyncinventorydataAPIResponseModel }
AlibabaLstPosOpenInventorySyncinventorydataAPIResponse 商品库存修改同步接口(最多20条库存信息) API返回值 alibaba.lst.pos.open.inventory.syncinventorydata
商品库存修改同步接口(最多20条库存信息)
type AlibabaLstPosOpenInventorySyncinventorydataAPIResponseModel ¶ added in v1.2.0
type AlibabaLstPosOpenInventorySyncinventorydataAPIResponseModel struct { XMLName xml.Name `xml:"alibaba_lst_pos_open_inventory_syncinventorydata_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 结果对象 Result *AlibabaLstPosOpenInventorySyncinventorydataResultDto `json:"result,omitempty" xml:"result,omitempty"` }
AlibabaLstPosOpenInventorySyncinventorydataAPIResponseModel is 商品库存修改同步接口(最多20条库存信息) 成功返回结果
type AlibabaLstPosOpenInventorySyncinventorydataResultDto ¶
type AlibabaLstPosOpenInventorySyncinventorydataResultDto struct { // 接口具体返回的业务数据对象 ModuleList []ErrorResult `json:"module_list,omitempty" xml:"module_list>error_result,omitempty"` // 错误消息 ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"` // 错误误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 接口调用是否成功 true:调用成功 false:调用失败 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
AlibabaLstPosOpenInventorySyncinventorydataResultDto 结构体
type CashierFlowDto ¶
type CashierFlowDto struct { // 收银商品快照对象列表 CashierGoodsDetailDTOList []CashierGoodsDetailDto `json:"cashier_goods_detail_d_t_o_list,omitempty" xml:"cashier_goods_detail_d_t_o_list>cashier_goods_detail_dto,omitempty"` // 收银支付明细列表对象 CashierPayDetailDTOList []CashierPayDetailDto `json:"cashier_pay_detail_d_t_o_list,omitempty" xml:"cashier_pay_detail_d_t_o_list>cashier_pay_detail_dto,omitempty"` // 支付状态 请求失败:requestFail 支付失败:payFail 支付超时:payTimeOut 支付成功:paySuccess PayStatus string `json:"pay_status,omitempty" xml:"pay_status,omitempty"` // 支付方式 支付宝:alipay 微信:wechat 现金:cashPay 其他:other PayType string `json:"pay_type,omitempty" xml:"pay_type,omitempty"` // isv订单流水号 IsvTradeFlowNum string `json:"isv_trade_flow_num,omitempty" xml:"isv_trade_flow_num,omitempty"` // 关联lst原始订单号:主要是退款订单关联原始订单号使用 OriginalTradeFlowNum string `json:"original_trade_flow_num,omitempty" xml:"original_trade_flow_num,omitempty"` // 设备物理硬件ID(自身保证唯一性) HardwareId string `json:"hardware_id,omitempty" xml:"hardware_id,omitempty"` // 设备品牌 Brand string `json:"brand,omitempty" xml:"brand,omitempty"` // 设备型号 Model string `json:"model,omitempty" xml:"model,omitempty"` // 结算单总价(实收),单位:分 TotalActualPrice int64 `json:"total_actual_price,omitempty" xml:"total_actual_price,omitempty"` // 结算单总价(应收),单位:分 TotalPrice int64 `json:"total_price,omitempty" xml:"total_price,omitempty"` // 最后修改 精确到毫秒 GmtModified int64 `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"` // 创建时间 精确到毫秒 GmtCreate int64 `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"` // 订单类型 0: 交易订单快照 1:退款订单快照 缺省为0 OrderType int64 `json:"order_type,omitempty" xml:"order_type,omitempty"` // 数据来源的设备类型 0:pos,1:自动售货机,9999:其它 缺省值:0 DeviceType int64 `json:"device_type,omitempty" xml:"device_type,omitempty"` }
CashierFlowDto 结构体
type CashierGoodsDetailDto ¶
type CashierGoodsDetailDto struct { // 商品条码,可能有无码商品 BarCode string `json:"bar_code,omitempty" xml:"bar_code,omitempty"` // 商品数量 Count string `json:"count,omitempty" xml:"count,omitempty"` // 商品名称 GoodsName string `json:"goods_name,omitempty" xml:"goods_name,omitempty"` // ISV商品Id IsvGoodsId string `json:"isv_goods_id,omitempty" xml:"isv_goods_id,omitempty"` // 商品进货价 单位:分 GoodsCostPrice int64 `json:"goods_cost_price,omitempty" xml:"goods_cost_price,omitempty"` // 商品销售价(折后),单位:分 GoodsActualPrice int64 `json:"goods_actual_price,omitempty" xml:"goods_actual_price,omitempty"` // 商品原价(折前),单位:分 GoodsOriginPrice int64 `json:"goods_origin_price,omitempty" xml:"goods_origin_price,omitempty"` }
CashierGoodsDetailDto 结构体
type CashierPayDetailDto ¶
type CashierPayDetailDto struct { // 备注信息 DescInfo string `json:"desc_info,omitempty" xml:"desc_info,omitempty"` // 买家支付/退款账号Id 若payType=alipay ,需要传递 买家的支付宝用户id;其它支付方式可不传 PayAccount string `json:"pay_account,omitempty" xml:"pay_account,omitempty"` // 支付状态 请求失败:requestFail 支付失败:payFail 支付超时:payTimeOut 支付成功:paySuccess 退款成功:refundSuccess 退款失败:refundFail PayStatus string `json:"pay_status,omitempty" xml:"pay_status,omitempty"` // 支付类型 支付宝:alipay 微信:wechat 现金:cashPay, 其它:other PayType string `json:"pay_type,omitempty" xml:"pay_type,omitempty"` // 支付流水号 正向支付:支付流水号; 逆向支付:退款流水号; PayFlowNum string `json:"pay_flow_num,omitempty" xml:"pay_flow_num,omitempty"` // 创建时间 精确到毫秒 GmtCreate int64 `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"` // 支付金额 单位:分 缺省值:0 PayAmount int64 `json:"pay_amount,omitempty" xml:"pay_amount,omitempty"` // 业务类型 正向支付(支付):0 缺省为:0 逆向支付(退款):1 BizType int64 `json:"biz_type,omitempty" xml:"biz_type,omitempty"` }
CashierPayDetailDto 结构体
type ErrorResult ¶
type ErrorResult struct { // 单个订单错误消息 ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"` // 单个订单错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 单个订单isv业务处理关键字值 Key string `json:"key,omitempty" xml:"key,omitempty"` // 业务处理数据 Data string `json:"data,omitempty" xml:"data,omitempty"` // 单个订单处理结果标示 true:成功 false:失败 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
ErrorResult 结构体
type GoodsDto ¶
type GoodsDto struct { // 规格 Spec string `json:"spec,omitempty" xml:"spec,omitempty"` // 简称 ShotTitle string `json:"shot_title,omitempty" xml:"shot_title,omitempty"` // 商品标题 Title string `json:"title,omitempty" xml:"title,omitempty"` // 商品条码,唯一 BarCode string `json:"bar_code,omitempty" xml:"bar_code,omitempty"` // 快捷码(非必须) ShortcutCode string `json:"shortcut_code,omitempty" xml:"shortcut_code,omitempty"` // 单位 Unit string `json:"unit,omitempty" xml:"unit,omitempty"` // 商品状态 售卖中:sale 不可售卖:not sell Status string `json:"status,omitempty" xml:"status,omitempty"` // 计价方式 称重商品: weigh 非称重: non weigh PricingMode string `json:"pricing_mode,omitempty" xml:"pricing_mode,omitempty"` // 自营叶子类目自定义编号(ISV子定义类目Id) IsvCategoryId string `json:"isv_category_id,omitempty" xml:"isv_category_id,omitempty"` // 类目Id 1,洗涤用品; 2,家庭日用品; 3,小食品; 4,粮油调味; 5,酒水饮料; 6,速食; 7,生鲜; 8,服务性商品; 9,增值服务; 10,非商品收入;98,无码; 99,其他 CategoryId string `json:"category_id,omitempty" xml:"category_id,omitempty"` // ISV商品Id(保存商品入参用到) IsvGoodsId string `json:"isv_goods_id,omitempty" xml:"isv_goods_id,omitempty"` // 零售价,单位为分 ReservePrice int64 `json:"reserve_price,omitempty" xml:"reserve_price,omitempty"` // 修改时间 GmtModified int64 `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"` // 创建时间 GmtCreate int64 `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"` // 进货价 ,单位为分 OriginalPrice int64 `json:"original_price,omitempty" xml:"original_price,omitempty"` }
GoodsDto 结构体
type InventoryDto ¶
type InventoryDto struct { // 实时库存(库存实时结果(出参)) Quantity string `json:"quantity,omitempty" xml:"quantity,omitempty"` // ISV商品Id IsvGoodsId string `json:"isv_goods_id,omitempty" xml:"isv_goods_id,omitempty"` // 库存删除标志(出参) ON:删除库存(库存删除后,售卖不维护库存值) OFF:不删除库存(售卖需要维护库存值)(缺省值) DeleteFlag string `json:"delete_flag,omitempty" xml:"delete_flag,omitempty"` // 设备物理硬件ID(自身保证唯一性) HardwareId string `json:"hardware_id,omitempty" xml:"hardware_id,omitempty"` // 操作类型 STOCKTAKING-清点,盘点(set重置);STOCKENTERING-入库(加);STOCKOUTPU-出库(减);STOCK_SET-直接(set重置) OperateType string `json:"operate_type,omitempty" xml:"operate_type,omitempty"` // 变更库存传值为正数 TransQuantity string `json:"trans_quantity,omitempty" xml:"trans_quantity,omitempty"` // isv库存Id主键 IsvInventoryId string `json:"isv_inventory_id,omitempty" xml:"isv_inventory_id,omitempty"` // 设备品牌 Brand string `json:"brand,omitempty" xml:"brand,omitempty"` // 设备型号 Model string `json:"model,omitempty" xml:"model,omitempty"` // 零售通商品Id GoodsId int64 `json:"goods_id,omitempty" xml:"goods_id,omitempty"` // 最后修改 精确到毫秒 GmtCreate int64 `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"` // 门店对应的主账号id UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"` // 数据来源的设备类型 0:pos,1:自动售货机,-1:其它 缺省值:0 DeviceType int64 `json:"device_type,omitempty" xml:"device_type,omitempty"` // 最后修改 精确到毫秒 GmtModified int64 `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"` }
InventoryDto 结构体
Source Files ¶
- AlibabaLstPosOpenAccountCheckissettledAPIRequest.go
- AlibabaLstPosOpenAccountCheckissettledAPIResponse.go
- AlibabaLstPosOpenAccountCheckissettledResultDto.go
- AlibabaLstPosOpenCashierSynccashierdataAPIRequest.go
- AlibabaLstPosOpenCashierSynccashierdataAPIResponse.go
- AlibabaLstPosOpenCashierSynccashierdataResultDto.go
- AlibabaLstPosOpenGoodsGetgoodsbybarcodeAPIRequest.go
- AlibabaLstPosOpenGoodsGetgoodsbybarcodeAPIResponse.go
- AlibabaLstPosOpenGoodsGetgoodsbybarcodeResultDto.go
- AlibabaLstPosOpenGoodsSyncgoodsdataAPIRequest.go
- AlibabaLstPosOpenGoodsSyncgoodsdataAPIResponse.go
- AlibabaLstPosOpenGoodsSyncgoodsdataResultDto.go
- AlibabaLstPosOpenInventoryGetinventorydataAPIRequest.go
- AlibabaLstPosOpenInventoryGetinventorydataAPIResponse.go
- AlibabaLstPosOpenInventoryGetinventorydataResultDto.go
- AlibabaLstPosOpenInventorySyncinventorydataAPIRequest.go
- AlibabaLstPosOpenInventorySyncinventorydataAPIResponse.go
- AlibabaLstPosOpenInventorySyncinventorydataResultDto.go
- CashierFlowDto.go
- CashierGoodsDetailDto.go
- CashierPayDetailDto.go
- ErrorResult.go
- GoodsDto.go
- InventoryDto.go
- doc.go