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]>
76 lines
2.2 KiB
Go
76 lines
2.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 V3ListPaymentServiceUserConnectionsRequest struct {
|
|
// The payment service user ID
|
|
PaymentServiceUserID string `pathParam:"style=simple,explode=false,name=paymentServiceUserID"`
|
|
// The number of items to return
|
|
PageSize *int64 `queryParam:"style=form,explode=true,name=pageSize"`
|
|
// Parameter used in pagination requests. Set to the value of next for the next page of results. Set to the value of previous for the previous page of results. No other parameters can be set when this parameter is set.
|
|
//
|
|
Cursor *string `queryParam:"style=form,explode=true,name=cursor"`
|
|
RequestBody map[string]any `request:"mediaType=application/json"`
|
|
}
|
|
|
|
func (o *V3ListPaymentServiceUserConnectionsRequest) GetPaymentServiceUserID() string {
|
|
if o == nil {
|
|
return ""
|
|
}
|
|
return o.PaymentServiceUserID
|
|
}
|
|
|
|
func (o *V3ListPaymentServiceUserConnectionsRequest) GetPageSize() *int64 {
|
|
if o == nil {
|
|
return nil
|
|
}
|
|
return o.PageSize
|
|
}
|
|
|
|
func (o *V3ListPaymentServiceUserConnectionsRequest) GetCursor() *string {
|
|
if o == nil {
|
|
return nil
|
|
}
|
|
return o.Cursor
|
|
}
|
|
|
|
func (o *V3ListPaymentServiceUserConnectionsRequest) GetRequestBody() map[string]any {
|
|
if o == nil {
|
|
return nil
|
|
}
|
|
return o.RequestBody
|
|
}
|
|
|
|
type V3ListPaymentServiceUserConnectionsResponse struct {
|
|
HTTPMeta components.HTTPMetadata `json:"-"`
|
|
// OK
|
|
V3PaymentServiceUserConnectionsCursorResponse *components.V3PaymentServiceUserConnectionsCursorResponse
|
|
// Error
|
|
V3ErrorResponse *components.V3ErrorResponse
|
|
}
|
|
|
|
func (o *V3ListPaymentServiceUserConnectionsResponse) GetHTTPMeta() components.HTTPMetadata {
|
|
if o == nil {
|
|
return components.HTTPMetadata{}
|
|
}
|
|
return o.HTTPMeta
|
|
}
|
|
|
|
func (o *V3ListPaymentServiceUserConnectionsResponse) GetV3PaymentServiceUserConnectionsCursorResponse() *components.V3PaymentServiceUserConnectionsCursorResponse {
|
|
if o == nil {
|
|
return nil
|
|
}
|
|
return o.V3PaymentServiceUserConnectionsCursorResponse
|
|
}
|
|
|
|
func (o *V3ListPaymentServiceUserConnectionsResponse) GetV3ErrorResponse() *components.V3ErrorResponse {
|
|
if o == nil {
|
|
return nil
|
|
}
|
|
return o.V3ErrorResponse
|
|
}
|