Merge pull request #28 from gwinn/master

remove deprecated intercomCode field
This commit is contained in:
Alex Lushpai 2019-10-29 14:59:17 +03:00 committed by GitHub
commit a3a642d631
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -18,7 +18,7 @@ import (
"github.com/retailcrm/api-client-go/errs"
)
// New initalize client
// New initialize client
func New(url string, key string) *Client {
return &Client{
URL: url,

View File

@ -32,7 +32,6 @@ type Address struct {
StreetType string `json:"streetType,omitempty"`
Building string `json:"building,omitempty"`
Flat string `json:"flat,omitempty"`
IntercomCode string `json:"intercomCode,omitempty"`
Floor int `json:"floor,omitempty"`
Block int `json:"block,omitempty"`
House string `json:"house,omitempty"`