Files
payments/pkg/client/models/components/v3dummypayconfig.go

79 lines
1.6 KiB
Go

// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
package components
import (
"github.com/formancehq/payments/pkg/client/internal/utils"
)
type V3DummypayConfig struct {
Directory string `json:"directory"`
LinkFlowError *bool `json:"linkFlowError,omitempty"`
Name string `json:"name"`
// Deprecated: From v3.1, this parameter will be ignored.
PageSize *int64 `default:"25" json:"pageSize"`
PollingPeriod *string `default:"30m" json:"pollingPeriod"`
Provider *string `default:"Dummypay" json:"provider"`
UpdateLinkFlowError *bool `json:"updateLinkFlowError,omitempty"`
}
func (v V3DummypayConfig) MarshalJSON() ([]byte, error) {
return utils.MarshalJSON(v, "", false)
}
func (v *V3DummypayConfig) UnmarshalJSON(data []byte) error {
if err := utils.UnmarshalJSON(data, &v, "", false, false); err != nil {
return err
}
return nil
}
func (o *V3DummypayConfig) GetDirectory() string {
if o == nil {
return ""
}
return o.Directory
}
func (o *V3DummypayConfig) GetLinkFlowError() *bool {
if o == nil {
return nil
}
return o.LinkFlowError
}
func (o *V3DummypayConfig) GetName() string {
if o == nil {
return ""
}
return o.Name
}
func (o *V3DummypayConfig) GetPageSize() *int64 {
if o == nil {
return nil
}
return o.PageSize
}
func (o *V3DummypayConfig) GetPollingPeriod() *string {
if o == nil {
return nil
}
return o.PollingPeriod
}
func (o *V3DummypayConfig) GetProvider() *string {
if o == nil {
return nil
}
return o.Provider
}
func (o *V3DummypayConfig) GetUpdateLinkFlowError() *bool {
if o == nil {
return nil
}
return o.UpdateLinkFlowError
}