go-wiki/vendor/github.com/stripe/stripe-go/address.go
2020-03-20 00:19:27 +01:00

21 lines
624 B
Go

package stripe
// AddressParams describes the common parameters for an Address.
type AddressParams struct {
City *string `form:"city"`
Country *string `form:"country"`
Line1 *string `form:"line1"`
Line2 *string `form:"line2"`
PostalCode *string `form:"postal_code"`
State *string `form:"state"`
}
// Address describes common properties for an Address hash.
type Address struct {
City string `json:"city"`
Country string `json:"country"`
Line1 string `json:"line1"`
Line2 string `json:"line2"`
PostalCode string `json:"postal_code"`
State string `json:"state"`
}