Skip to content

Commit

Permalink
Add and to Terminal Reader and Location
Browse files Browse the repository at this point in the history
  • Loading branch information
cjavilla-stripe committed Dec 19, 2019
1 parent 1778cb7 commit 3cc697e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
2 changes: 2 additions & 0 deletions terminal_location.go
Expand Up @@ -18,6 +18,8 @@ type TerminalLocation struct {
Deleted bool `json:"deleted"`
DisplayName string `json:"display_name"`
ID string `json:"id"`
Livemode bool `json:"livemode"`
Metadata map[string]string `json:"metadata"`
Object string `json:"object"`
}

Expand Down
22 changes: 12 additions & 10 deletions terminal_reader.go
Expand Up @@ -23,16 +23,18 @@ type TerminalReaderListParams struct {

// TerminalReader is the resource representing a Stripe terminal reader.
type TerminalReader struct {
Deleted bool `json:"deleted"`
DeviceSwVersion string `json:"device_sw_version"`
DeviceType string `json:"device_type"`
ID string `json:"id"`
IPAddress string `json:"ip_address"`
Label string `json:"label"`
Location string `json:"location"`
Object string `json:"object"`
SerialNumber string `json:"serial_number"`
Status string `json:"status"`
Deleted bool `json:"deleted"`
DeviceSwVersion string `json:"device_sw_version"`
DeviceType string `json:"device_type"`
ID string `json:"id"`
IPAddress string `json:"ip_address"`
Label string `json:"label"`
Livemode bool `json:"livemode"`
Location string `json:"location"`
Metadata map[string]string `json:"metadata"`
Object string `json:"object"`
SerialNumber string `json:"serial_number"`
Status string `json:"status"`
}

// TerminalReaderList is a list of terminal readers as retrieved from a list endpoint.
Expand Down

0 comments on commit 3cc697e

Please sign in to comment.