Files
payments/pkg/client/models/operations/v3addbankaccounttopaymentserviceuser.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

49 lines
1.2 KiB
Go

// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
package operations
import (
"github.com/formancehq/payments/pkg/client/models/components"
)
type V3AddBankAccountToPaymentServiceUserRequest struct {
// The payment service user ID
PaymentServiceUserID string `pathParam:"style=simple,explode=false,name=paymentServiceUserID"`
// The bank account ID
BankAccountID string `pathParam:"style=simple,explode=false,name=bankAccountID"`
}
func (o *V3AddBankAccountToPaymentServiceUserRequest) GetPaymentServiceUserID() string {
if o == nil {
return ""
}
return o.PaymentServiceUserID
}
func (o *V3AddBankAccountToPaymentServiceUserRequest) GetBankAccountID() string {
if o == nil {
return ""
}
return o.BankAccountID
}
type V3AddBankAccountToPaymentServiceUserResponse struct {
HTTPMeta components.HTTPMetadata `json:"-"`
// Error
V3ErrorResponse *components.V3ErrorResponse
}
func (o *V3AddBankAccountToPaymentServiceUserResponse) GetHTTPMeta() components.HTTPMetadata {
if o == nil {
return components.HTTPMetadata{}
}
return o.HTTPMeta
}
func (o *V3AddBankAccountToPaymentServiceUserResponse) GetV3ErrorResponse() *components.V3ErrorResponse {
if o == nil {
return nil
}
return o.V3ErrorResponse
}