@@ -4,22 +4,25 @@ import "time"
44
55// CustomerAttributes are the attributes of a lemonsqueezy customer
66type CustomerAttributes struct {
7- StoreID int `json:"store_id"`
8- Name string `json:"name"`
9- Email string `json:"email"`
10- Status string `json:"status"`
11- City * string `json:"city"`
12- Region * string `json:"region"`
13- Country string `json:"country"`
14- TotalRevenueCurrency int `json:"total_revenue_currency"`
15- Mrr int `json:"mrr"`
16- StatusFormatted string `json:"status_formatted"`
17- CountryFormatted string `json:"country_formatted"`
18- TotalRevenueCurrencyFormatted string `json:"total_revenue_currency_formatted"`
19- MrrFormatted string `json:"mrr_formatted"`
20- CreatedAt time.Time `json:"created_at"`
21- UpdatedAt time.Time `json:"updated_at"`
22- TestMode bool `json:"test_mode"`
7+ StoreID int `json:"store_id"`
8+ Name string `json:"name"`
9+ Email string `json:"email"`
10+ Status string `json:"status"`
11+ City * string `json:"city"`
12+ Region * string `json:"region"`
13+ Country string `json:"country"`
14+ TotalRevenueCurrency int `json:"total_revenue_currency"`
15+ Mrr int `json:"mrr"`
16+ StatusFormatted string `json:"status_formatted"`
17+ CountryFormatted string `json:"country_formatted"`
18+ TotalRevenueCurrencyFormatted string `json:"total_revenue_currency_formatted"`
19+ MrrFormatted string `json:"mrr_formatted"`
20+ Urls struct {
21+ CustomerPortal string `json:"customer_portal"`
22+ } `json:"urls"`
23+ CreatedAt time.Time `json:"created_at"`
24+ UpdatedAt time.Time `json:"updated_at"`
25+ TestMode bool `json:"test_mode"`
2326}
2427
2528// ApiResponseRelationshipsCustomer relationships of a customer
0 commit comments