Added commentUP field to fiscalAPI
This commit is contained in:
@@ -99,6 +99,7 @@ type SellParams struct {
|
||||
PayType int
|
||||
CardParams *CardParams
|
||||
Userinfo *api.Userinfo
|
||||
CommentUP string
|
||||
}
|
||||
|
||||
type CardParams struct {
|
||||
@@ -158,6 +159,11 @@ func (b *SellParamsBuilder) Comment(comment string) *SellParamsBuilder {
|
||||
return b
|
||||
}
|
||||
|
||||
func (b *SellParamsBuilder) CommentUp(commentUp string) *SellParamsBuilder {
|
||||
b.params.CommentUP = commentUp
|
||||
return b
|
||||
}
|
||||
|
||||
func (b *SellParamsBuilder) PayCash() *SellParamsBuilder {
|
||||
b.params.PayType = PayTypeCash
|
||||
b.params.CardParams = nil
|
||||
|
||||
Reference in New Issue
Block a user