mirror of
https://github.com/hanzo-fi/payments.git
synced 2026-10-30 20:31:20 +00:00
* Use formance-sdk-go/v3 to in connector uninstall e2e test * Compile API docs from openapi spec * Generate go SDK locally for use in integration tests * Get rid of unnecessary redirect in e2e tests now that SDK is generated * Omit generated SDK code from codecoverage checks * Add flake and envrc for nix * Run Dirty and Tests CI steps with nix * Run pre-commit using nix * Remove duplicated steps from Earthfile * Fixes for linter * Add go generate to Justfile pre-commit * Still run Deploy on ubuntu-latest * Address coderabbit feedback
102 lines
2.1 KiB
Go
102 lines
2.1 KiB
Go
// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
|
|
package components
|
|
|
|
import (
|
|
"github.com/formancehq/payments/pkg/client/internal/utils"
|
|
)
|
|
|
|
type V3BankingcircleConfig struct {
|
|
AuthorizationEndpoint string `json:"authorizationEndpoint"`
|
|
Endpoint string `json:"endpoint"`
|
|
Name string `json:"name"`
|
|
PageSize *int64 `default:"25" json:"pageSize"`
|
|
Password string `json:"password"`
|
|
PollingPeriod *string `default:"2m" json:"pollingPeriod"`
|
|
Provider *string `default:"Bankingcircle" json:"provider"`
|
|
UserCertificate string `json:"userCertificate"`
|
|
UserCertificateKey string `json:"userCertificateKey"`
|
|
Username string `json:"username"`
|
|
}
|
|
|
|
func (v V3BankingcircleConfig) MarshalJSON() ([]byte, error) {
|
|
return utils.MarshalJSON(v, "", false)
|
|
}
|
|
|
|
func (v *V3BankingcircleConfig) UnmarshalJSON(data []byte) error {
|
|
if err := utils.UnmarshalJSON(data, &v, "", false, false); err != nil {
|
|
return err
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (o *V3BankingcircleConfig) GetAuthorizationEndpoint() string {
|
|
if o == nil {
|
|
return ""
|
|
}
|
|
return o.AuthorizationEndpoint
|
|
}
|
|
|
|
func (o *V3BankingcircleConfig) GetEndpoint() string {
|
|
if o == nil {
|
|
return ""
|
|
}
|
|
return o.Endpoint
|
|
}
|
|
|
|
func (o *V3BankingcircleConfig) GetName() string {
|
|
if o == nil {
|
|
return ""
|
|
}
|
|
return o.Name
|
|
}
|
|
|
|
func (o *V3BankingcircleConfig) GetPageSize() *int64 {
|
|
if o == nil {
|
|
return nil
|
|
}
|
|
return o.PageSize
|
|
}
|
|
|
|
func (o *V3BankingcircleConfig) GetPassword() string {
|
|
if o == nil {
|
|
return ""
|
|
}
|
|
return o.Password
|
|
}
|
|
|
|
func (o *V3BankingcircleConfig) GetPollingPeriod() *string {
|
|
if o == nil {
|
|
return nil
|
|
}
|
|
return o.PollingPeriod
|
|
}
|
|
|
|
func (o *V3BankingcircleConfig) GetProvider() *string {
|
|
if o == nil {
|
|
return nil
|
|
}
|
|
return o.Provider
|
|
}
|
|
|
|
func (o *V3BankingcircleConfig) GetUserCertificate() string {
|
|
if o == nil {
|
|
return ""
|
|
}
|
|
return o.UserCertificate
|
|
}
|
|
|
|
func (o *V3BankingcircleConfig) GetUserCertificateKey() string {
|
|
if o == nil {
|
|
return ""
|
|
}
|
|
return o.UserCertificateKey
|
|
}
|
|
|
|
func (o *V3BankingcircleConfig) GetUsername() string {
|
|
if o == nil {
|
|
return ""
|
|
}
|
|
return o.Username
|
|
}
|