Skip to content

Commit

Permalink
fix(core): proper int64 in response structures
Browse files Browse the repository at this point in the history
  • Loading branch information
kockicica committed Dec 1, 2021
1 parent 8e5bc19 commit 903c1a1
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
20 changes: 10 additions & 10 deletions nbs/account/GetCompanyAccount/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,23 +40,23 @@ type CompanyAccount struct {
ID string `xml:"ID,attr" json:"-"`
RowOrder string `xml:"RowOrder,attr" json:"-"`
Account string `xml:"Account" json:"account"`
BankCode int `xml:"BankCode" json:"bankCode"`
AccountNumber int `xml:"AccountNumber" json:"accountNumber"`
ControlNumber int `xml:"ControlNumber" json:"controlNumber"`
BankCode int64 `xml:"BankCode" json:"bankCode"`
AccountNumber int64 `xml:"AccountNumber" json:"accountNumber"`
ControlNumber int64 `xml:"ControlNumber" json:"controlNumber"`
CompanyName string `xml:"CompanyName" json:"companyName"`
NationalIdentificationNumber int `xml:"NationalIdentificationNumber" json:"nationalIdentificationNumber"`
NationalIdentificationNumber int64 `xml:"NationalIdentificationNumber" json:"nationalIdentificationNumber"`
TaxIdentificationNumber string `xml:"TaxIdentificationNumber" json:"taxIdentificationNumber"`
Address string `xml:"Address" json:"address"`
City string `xml:"City" json:"city"`
MunicipalityCode int `xml:"MunicipalityCode" json:"municipalityCode"`
ActivityCode int `xml:"ActivityCode" json:"activityCode"`
MunicipalityCode int64 `xml:"MunicipalityCode" json:"municipalityCode"`
ActivityCode int64 `xml:"ActivityCode" json:"activityCode"`
MunicipalityName string `xml:"MunicipalityName" json:"municipalityName"`
ActivityName string `xml:"ActivityName" json:"activityName"`
BankName string `xml:"BankName" json:"bankName"`
CompanyAccountStatusID int `xml:"CompanyAccountStatusID" json:"companyAccountStatusID"`
CompanyAccountBlockadeStatusID int `xml:"CompanyAccountBlockadeStatusID" json:"companyAccountBlockadeStatusID"`
CompanyAccountTypeID int `xml:"CompanyAccountTypeID" json:"companyAccountTypeID"`
LegalUserTypeID int `xml:"LegalUserTypeID" json:"legalUserTypeID"`
CompanyAccountStatusID int64 `xml:"CompanyAccountStatusID" json:"companyAccountStatusID"`
CompanyAccountBlockadeStatusID int64 `xml:"CompanyAccountBlockadeStatusID" json:"companyAccountBlockadeStatusID"`
CompanyAccountTypeID int64 `xml:"CompanyAccountTypeID" json:"companyAccountTypeID"`
LegalUserTypeID int64 `xml:"LegalUserTypeID" json:"legalUserTypeID"`
InitializationDate string `xml:"InitializationDate" json:"initializationDate"`
ChangeDate string `xml:"ChangeDate" json:"changeDate"`
UpdateDate string `xml:"UpdateDate" json:"updateDate"`
Expand Down
4 changes: 2 additions & 2 deletions nbs/core/GetBank/models.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ type BankDataSetBank struct {
BankHistoryID string `xml:"BankHistoryID" json:"bankHistoryID"`
StartDate string `xml:"StartDate" json:"startDate"`
EndDate string `xml:"EndDate" json:"endDate"`
BankCode int `xml:"BankCode" json:"bankCode"`
NationalIdentificationNumber int `xml:"NationalIdentificationNumber" json:"nationalIdentificationNumber"`
BankCode int64 `xml:"BankCode" json:"bankCode"`
NationalIdentificationNumber int64 `xml:"NationalIdentificationNumber" json:"nationalIdentificationNumber"`
TaxIdentificationNumber string `xml:"TaxIdentificationNumber" json:"taxIdentificationNumber"`
Name string `xml:"Name" json:"name"`
LogoSmall string `xml:"LogoSmall" json:"logoSmall"`
Expand Down

0 comments on commit 903c1a1

Please sign in to comment.