Files
payments/pkg/client/models/operations/updateconnectorconfigv1.go
Paul NicolasandGitHub d2ce7b0063 feat: connectors sdks test e2e (#401)
* feat: connectors sdks test e2e

* feat: account sdks tests e2e

* feat: bank accounts sdks tests e2e

* feat: payments sdks tests e2e

* feat: pi tests e2e with sdk

* feat: pools with sdk e2e tests
2025-04-08 16:23:55 +02:00

101 lines
3.0 KiB
Go

// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
package operations
import (
"github.com/formancehq/payments/pkg/client/models/components"
)
type UpdateConnectorConfigV1Request struct {
// The name of the connector.
Connector components.Connector `pathParam:"style=simple,explode=false,name=connector"`
// The connector ID.
ConnectorID string `pathParam:"style=simple,explode=false,name=connectorId"`
ConnectorConfig components.ConnectorConfig `request:"mediaType=application/json"`
}
func (o *UpdateConnectorConfigV1Request) GetConnector() components.Connector {
if o == nil {
return components.Connector("")
}
return o.Connector
}
func (o *UpdateConnectorConfigV1Request) GetConnectorID() string {
if o == nil {
return ""
}
return o.ConnectorID
}
func (o *UpdateConnectorConfigV1Request) GetConnectorConfig() components.ConnectorConfig {
if o == nil {
return components.ConnectorConfig{}
}
return o.ConnectorConfig
}
func (o *UpdateConnectorConfigV1Request) GetConnectorConfigStripe() *components.StripeConfig {
return o.GetConnectorConfig().StripeConfig
}
func (o *UpdateConnectorConfigV1Request) GetConnectorConfigDummypay() *components.DummyPayConfig {
return o.GetConnectorConfig().DummyPayConfig
}
func (o *UpdateConnectorConfigV1Request) GetConnectorConfigWise() *components.WiseConfig {
return o.GetConnectorConfig().WiseConfig
}
func (o *UpdateConnectorConfigV1Request) GetConnectorConfigModulr() *components.ModulrConfig {
return o.GetConnectorConfig().ModulrConfig
}
func (o *UpdateConnectorConfigV1Request) GetConnectorConfigCurrencycloud() *components.CurrencyCloudConfig {
return o.GetConnectorConfig().CurrencyCloudConfig
}
func (o *UpdateConnectorConfigV1Request) GetConnectorConfigBankingcircle() *components.BankingCircleConfig {
return o.GetConnectorConfig().BankingCircleConfig
}
func (o *UpdateConnectorConfigV1Request) GetConnectorConfigMangopay() *components.MangoPayConfig {
return o.GetConnectorConfig().MangoPayConfig
}
func (o *UpdateConnectorConfigV1Request) GetConnectorConfigMoneycorp() *components.MoneycorpConfig {
return o.GetConnectorConfig().MoneycorpConfig
}
func (o *UpdateConnectorConfigV1Request) GetConnectorConfigAtlar() *components.AtlarConfig {
return o.GetConnectorConfig().AtlarConfig
}
func (o *UpdateConnectorConfigV1Request) GetConnectorConfigAdyen() *components.AdyenConfig {
return o.GetConnectorConfig().AdyenConfig
}
func (o *UpdateConnectorConfigV1Request) GetConnectorConfigGeneric() *components.GenericConfig {
return o.GetConnectorConfig().GenericConfig
}
type UpdateConnectorConfigV1Response struct {
HTTPMeta components.HTTPMetadata `json:"-"`
// Error
PaymentsErrorResponse *components.PaymentsErrorResponse
}
func (o *UpdateConnectorConfigV1Response) GetHTTPMeta() components.HTTPMetadata {
if o == nil {
return components.HTTPMetadata{}
}
return o.HTTPMeta
}
func (o *UpdateConnectorConfigV1Response) GetPaymentsErrorResponse() *components.PaymentsErrorResponse {
if o == nil {
return nil
}
return o.PaymentsErrorResponse
}