-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathemails.go
26 lines (23 loc) · 948 Bytes
/
emails.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
package invoiced
type SendStatementEmailRequest struct {
Bcc *string `json:"bcc,omitempty"`
End *int64 `json:"end,omitempty"`
Items *string `json:"items,omitempty"`
Message *string `json:"message,omitempty"`
Start *int64 `json:"start,omitempty"`
Subject *string `json:"subject,omitempty"`
Template *string `json:"template,omitempty"`
To []*EmailRecipient `json:"to,omitempty"`
Type *string `json:"type,omitempty"`
}
type SendEmailRequest struct {
Bcc *string `json:"bcc,omitempty"`
Message *string `json:"message,omitempty"`
Subject *string `json:"subject,omitempty"`
Template *string `json:"template,omitempty"`
To []*EmailRecipient `json:"to,omitempty"`
}
type EmailRecipient struct {
Email *string `json:"email,omitempty"`
Name *string `json:"name,omitempty"`
}