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
23 lines
429 B
Go
23 lines
429 B
Go
// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
|
|
package components
|
|
|
|
type V3ContactDetails struct {
|
|
Email *string `json:"email,omitempty"`
|
|
PhoneNumber *string `json:"phoneNumber,omitempty"`
|
|
}
|
|
|
|
func (o *V3ContactDetails) GetEmail() *string {
|
|
if o == nil {
|
|
return nil
|
|
}
|
|
return o.Email
|
|
}
|
|
|
|
func (o *V3ContactDetails) GetPhoneNumber() *string {
|
|
if o == nil {
|
|
return nil
|
|
}
|
|
return o.PhoneNumber
|
|
}
|