mirror of
https://github.com/hanzo-fi/payments.git
synced 2026-10-30 20:31:20 +00:00
* feat(openapi): add bank bridge methods * fix opeanpi after review * Update openapi.yaml Co-authored-by: fguery <[email protected]> * Update openapi.yaml Co-authored-by: fguery <[email protected]> * Update openapi.yaml Co-authored-by: fguery <[email protected]> * Update openapi.yaml Co-authored-by: fguery <[email protected]> * Update openapi.yaml Co-authored-by: fguery <[email protected]> * Update openapi.yaml Co-authored-by: fguery <[email protected]> * Update openapi.yaml Co-authored-by: fguery <[email protected]> * fixes after reviews --------- Co-authored-by: fguery <[email protected]>
66 lines
1.9 KiB
Go
66 lines
1.9 KiB
Go
// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
|
|
package operations
|
|
|
|
import (
|
|
"github.com/formancehq/payments/pkg/client/models/components"
|
|
)
|
|
|
|
type V3CreateLinkForPaymentServiceUserRequest struct {
|
|
// The payment service user ID
|
|
PaymentServiceUserID string `pathParam:"style=simple,explode=false,name=paymentServiceUserID"`
|
|
// The connector ID
|
|
ConnectorID string `pathParam:"style=simple,explode=false,name=connectorID"`
|
|
V3PaymentServiceUserCreateLinkRequest *components.V3PaymentServiceUserCreateLinkRequest `request:"mediaType=application/json"`
|
|
}
|
|
|
|
func (o *V3CreateLinkForPaymentServiceUserRequest) GetPaymentServiceUserID() string {
|
|
if o == nil {
|
|
return ""
|
|
}
|
|
return o.PaymentServiceUserID
|
|
}
|
|
|
|
func (o *V3CreateLinkForPaymentServiceUserRequest) GetConnectorID() string {
|
|
if o == nil {
|
|
return ""
|
|
}
|
|
return o.ConnectorID
|
|
}
|
|
|
|
func (o *V3CreateLinkForPaymentServiceUserRequest) GetV3PaymentServiceUserCreateLinkRequest() *components.V3PaymentServiceUserCreateLinkRequest {
|
|
if o == nil {
|
|
return nil
|
|
}
|
|
return o.V3PaymentServiceUserCreateLinkRequest
|
|
}
|
|
|
|
type V3CreateLinkForPaymentServiceUserResponse struct {
|
|
HTTPMeta components.HTTPMetadata `json:"-"`
|
|
// Created
|
|
V3PaymentServiceUserCreateLinkResponse *components.V3PaymentServiceUserCreateLinkResponse
|
|
// Error
|
|
V3ErrorResponse *components.V3ErrorResponse
|
|
}
|
|
|
|
func (o *V3CreateLinkForPaymentServiceUserResponse) GetHTTPMeta() components.HTTPMetadata {
|
|
if o == nil {
|
|
return components.HTTPMetadata{}
|
|
}
|
|
return o.HTTPMeta
|
|
}
|
|
|
|
func (o *V3CreateLinkForPaymentServiceUserResponse) GetV3PaymentServiceUserCreateLinkResponse() *components.V3PaymentServiceUserCreateLinkResponse {
|
|
if o == nil {
|
|
return nil
|
|
}
|
|
return o.V3PaymentServiceUserCreateLinkResponse
|
|
}
|
|
|
|
func (o *V3CreateLinkForPaymentServiceUserResponse) GetV3ErrorResponse() *components.V3ErrorResponse {
|
|
if o == nil {
|
|
return nil
|
|
}
|
|
return o.V3ErrorResponse
|
|
}
|