forked from stripe/stripe-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
applepaydomain.go
39 lines (35 loc) · 1.06 KB
/
applepaydomain.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
27
28
29
30
31
32
33
34
35
36
37
38
39
//
//
// File generated from our OpenAPI spec
//
//
package stripe
// List apple pay domains.
type ApplePayDomainListParams struct {
ListParams `form:"*"`
DomainName *string `form:"domain_name"`
}
// Create an apple pay domain.
type ApplePayDomainParams struct {
Params `form:"*"`
DomainName *string `form:"domain_name"`
}
type ApplePayDomain struct {
APIResource
// Time at which the object was created. Measured in seconds since the Unix epoch.
Created int64 `json:"created"`
Deleted bool `json:"deleted"`
DomainName string `json:"domain_name"`
// Unique identifier for the object.
ID string `json:"id"`
// Has the value `true` if the object exists in live mode or the value `false` if the object exists in test mode.
Livemode bool `json:"livemode"`
// String representing the object's type. Objects of the same type share the same value.
Object string `json:"object"`
}
// ApplePayDomainList is a list of ApplePayDomains as retrieved from a list endpoint.
type ApplePayDomainList struct {
APIResource
ListMeta
Data []*ApplePayDomain `json:"data"`
}