Skip to content

Commit

Permalink
Add missing field in customer attributes
Browse files Browse the repository at this point in the history
  • Loading branch information
a-spn committed Mar 13, 2024
1 parent 9a405ae commit d60022c
Showing 1 changed file with 17 additions and 16 deletions.
33 changes: 17 additions & 16 deletions customer.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,23 @@ import "time"

// CustomerAttributes are the attributes of a lemonsqueezy customer
type CustomerAttributes struct {
StoreID int `json:"store_id"`
Name string `json:"name"`
Email string `json:"email"`
Status string `json:"status"`
City *string `json:"city"`
Region *string `json:"region"`
Country string `json:"country"`
TotalRevenueCurrency int `json:"total_revenue_currency"`
Mrr int `json:"mrr"`
StatusFormatted string `json:"status_formatted"`
CountryFormatted string `json:"country_formatted"`
TotalRevenueCurrencyFormatted string `json:"total_revenue_currency_formatted"`
MrrFormatted string `json:"mrr_formatted"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
TestMode bool `json:"test_mode"`
StoreID int `json:"store_id"`
Name string `json:"name"`
Email string `json:"email"`
Status string `json:"status"`
City *string `json:"city"`
Region *string `json:"region"`
Country string `json:"country"`
TotalRevenueCurrency int `json:"total_revenue_currency"`
Mrr int `json:"mrr"`
StatusFormatted string `json:"status_formatted"`
CountryFormatted string `json:"country_formatted"`
TotalRevenueCurrencyFormatted string `json:"total_revenue_currency_formatted"`
MrrFormatted string `json:"mrr_formatted"`
Urls map[string]string `json:"urls"`
CreatedAt time.Time `json:"created_at"`
UpdatedAt time.Time `json:"updated_at"`
TestMode bool `json:"test_mode"`
}

// ApiResponseRelationshipsCustomer relationships of a customer
Expand Down

0 comments on commit d60022c

Please sign in to comment.