updateprinterstatus

package
v0.0.0-...-905ac7b Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ResponseResult

type ResponseResult struct {
	/**
	 * 200
	 */
	Code int32 `json:"code"`
	/**
	 * 成功
	 */
	Msg string `json:"msg"`
}

type TNoDataResponse

type TNoDataResponse struct {
	Resp ResponseResult `json:"resp"`
}

type UpdatePrinterStatusRequest

type UpdatePrinterStatusRequest struct {
	/**
	 *  加密门店id
	 */
	OpBizCode string `json:"opBizCode"`
	/**
	 *  设备号(sn码)
	 */
	DeviceNumber string `json:"deviceNumber"`
	/**
	 *  绑定状态。0解绑;1绑定
	 */
	BindStatus int32 `json:"bindStatus"`
	/**
	 *  打印机备注名称
	 */
	Note string `json:"note"`
	/**
	 *  打印机服务商类型
	 */
	PrinterMerchantType int32 `json:"printerMerchantType"`
	/**
	 *  打印机型号
	 */
	Model string `json:"model"`
	/**
	 *  更新时间戳
	 */
	UpdateTime int64 `json:"updateTime"`
}

func (*UpdatePrinterStatusRequest) DoInvoke

type UpdatePrinterStatusResponse

type UpdatePrinterStatusResponse struct {
	Code    string          `json:"code"`
	Msg     string          `json:"msg"`
	Data    TNoDataResponse `json:"data"`
	TraceId string          `json:"traceId"`
}

func (*UpdatePrinterStatusResponse) IsSuccess

func (response *UpdatePrinterStatusResponse) IsSuccess() bool

Jump to

Keyboard shortcuts

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