mirror of
https://github.com/hanzo-fi/payments.git
synced 2026-10-30 20:31:20 +00:00
* chore(storage): remove errors.Wrap deprecated * feat: add psu models * feat(storage): add psu migrations and functions * feat(*): add payment service users entity * feat(tests): update sdks and add psu integration tests * feat(validation): add validation on email and phone number
55 lines
1001 B
Go
55 lines
1001 B
Go
// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
|
|
package components
|
|
|
|
type V3Address struct {
|
|
StreetNumber *string `json:"streetNumber,omitempty"`
|
|
StreetName *string `json:"streetName,omitempty"`
|
|
City *string `json:"city,omitempty"`
|
|
Region *string `json:"region,omitempty"`
|
|
PostalCode *string `json:"postalCode,omitempty"`
|
|
Country *string `json:"country,omitempty"`
|
|
}
|
|
|
|
func (o *V3Address) GetStreetNumber() *string {
|
|
if o == nil {
|
|
return nil
|
|
}
|
|
return o.StreetNumber
|
|
}
|
|
|
|
func (o *V3Address) GetStreetName() *string {
|
|
if o == nil {
|
|
return nil
|
|
}
|
|
return o.StreetName
|
|
}
|
|
|
|
func (o *V3Address) GetCity() *string {
|
|
if o == nil {
|
|
return nil
|
|
}
|
|
return o.City
|
|
}
|
|
|
|
func (o *V3Address) GetRegion() *string {
|
|
if o == nil {
|
|
return nil
|
|
}
|
|
return o.Region
|
|
}
|
|
|
|
func (o *V3Address) GetPostalCode() *string {
|
|
if o == nil {
|
|
return nil
|
|
}
|
|
return o.PostalCode
|
|
}
|
|
|
|
func (o *V3Address) GetCountry() *string {
|
|
if o == nil {
|
|
return nil
|
|
}
|
|
return o.Country
|
|
}
|