Files
payments/pkg/client/models/components/v3createpaymentserviceuserrequest.go
Paul NicolasandGitHub 979b040d94 feat(psu): add payment service user entity (#424)
* 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
2025-04-29 10:24:09 +02:00

47 lines
1.1 KiB
Go

// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
package components
type V3CreatePaymentServiceUserRequest struct {
Name string `json:"name"`
ContactDetails *V3ContactDetailsRequest `json:"contactDetails,omitempty"`
Address *V3AddressRequest `json:"address,omitempty"`
BankAccountIDs []string `json:"bankAccountIDs,omitempty"`
Metadata map[string]string `json:"metadata,omitempty"`
}
func (o *V3CreatePaymentServiceUserRequest) GetName() string {
if o == nil {
return ""
}
return o.Name
}
func (o *V3CreatePaymentServiceUserRequest) GetContactDetails() *V3ContactDetailsRequest {
if o == nil {
return nil
}
return o.ContactDetails
}
func (o *V3CreatePaymentServiceUserRequest) GetAddress() *V3AddressRequest {
if o == nil {
return nil
}
return o.Address
}
func (o *V3CreatePaymentServiceUserRequest) GetBankAccountIDs() []string {
if o == nil {
return nil
}
return o.BankAccountIDs
}
func (o *V3CreatePaymentServiceUserRequest) GetMetadata() map[string]string {
if o == nil {
return nil
}
return o.Metadata
}