From ac3752b26fa7242e0b51e4f53a8d800aee2da0c6 Mon Sep 17 00:00:00 2001 From: Vilen Topchii <32271530+vtopc@users.noreply.github.com> Date: Sun, 17 Jan 2021 21:16:41 +0200 Subject: [PATCH] added new fields (#15) --- types.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/types.go b/types.go index 7c43ff6..b2f3ad2 100644 --- a/types.go +++ b/types.go @@ -17,6 +17,7 @@ type Account struct { CashbackType string `json:"cashbackType"` // enum: None, UAH, Miles CardMasks []string `json:"maskedPan"` // card number masks Type CardType `json:"type"` + IBAN string `json:"iban"` } type CardType string @@ -25,6 +26,7 @@ const ( Black CardType = "black" White CardType = "white" Platinum CardType = "platinum" + FOP CardType = "fop" ) type Accounts []Account @@ -43,6 +45,9 @@ type Transaction struct { CashbackAmount int64 `json:"cashbackAmount"` Balance int64 `json:"balance"` Comment string `json:"comment"` + ReceiptID string `json:"receiptId"` + EDRPOU string `json:"counterEdrpou"` + IBAN string `json:"counterIban"` } // Transactions - transactions