Added commentUP field to fiscalAPI
This commit is contained in:
@@ -71,15 +71,16 @@ func (c *Client) CloseShift(ctx context.Context, cashier string) (*ZReportRespon
|
||||
}
|
||||
|
||||
type SellParams struct {
|
||||
Cashier string
|
||||
Source string
|
||||
Rows []ReceiptRow
|
||||
Pays []ReceiptPay
|
||||
Userinfo *Userinfo
|
||||
Cashier string
|
||||
Source string
|
||||
Rows []ReceiptRow
|
||||
Pays []ReceiptPay
|
||||
Userinfo *Userinfo
|
||||
CommentUP string
|
||||
}
|
||||
|
||||
func (c *Client) Sell(ctx context.Context, params SellParams) (*SellResponse, error) {
|
||||
receipt := NewReceipt(params.Rows, params.Pays)
|
||||
receipt := NewReceipt(params.Rows, params.Pays, params.CommentUP)
|
||||
|
||||
request := FiscalRequest{
|
||||
Source: params.Source,
|
||||
|
||||
Reference in New Issue
Block a user