Skip to content

Commit

Permalink
also clear address from account
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsolofsson committed Feb 7, 2023
1 parent 52dcc94 commit 05014f1
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion accounts.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,19 @@ type clearAccount struct {
FirstName string `xml:"first_name"`
LastName string `xml:"last_name"`
VATNumber string `xml:"vat_number"`
Address *Address `xml:"address"`
Address struct {
XMLName xml.Name `xml:"address"`
FirstName string `xml:"first_name"`
LastName string `xml:"last_name"`
Company string `xml:"company"`
Address string `xml:"address1"`
Address2 string `xml:"address2"`
City string `xml:"city"`
State string `xml:"state"`
Zip string `xml:"zip"`
Country string `xml:"country"`
Phone string `xml:"phone"`
} `xml:"address"`
}

// AccountBalance is used for getting the account balance.
Expand Down

0 comments on commit 05014f1

Please sign in to comment.