mirror of
https://github.com/hanzo-fi/stack.git
synced 2026-10-30 20:34:43 +00:00
63 lines
1.2 KiB
Go
63 lines
1.2 KiB
Go
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
|
|
package shared
|
|
|
|
import (
|
|
"github.com/formancehq/formance-sdk-go/v2/pkg/utils"
|
|
"time"
|
|
)
|
|
|
|
type BankAccountRelatedAccounts struct {
|
|
AccountID string `json:"accountID"`
|
|
ConnectorID string `json:"connectorID"`
|
|
CreatedAt time.Time `json:"createdAt"`
|
|
ID string `json:"id"`
|
|
Provider string `json:"provider"`
|
|
}
|
|
|
|
func (b BankAccountRelatedAccounts) MarshalJSON() ([]byte, error) {
|
|
return utils.MarshalJSON(b, "", false)
|
|
}
|
|
|
|
func (b *BankAccountRelatedAccounts) UnmarshalJSON(data []byte) error {
|
|
if err := utils.UnmarshalJSON(data, &b, "", false, false); err != nil {
|
|
return err
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (o *BankAccountRelatedAccounts) GetAccountID() string {
|
|
if o == nil {
|
|
return ""
|
|
}
|
|
return o.AccountID
|
|
}
|
|
|
|
func (o *BankAccountRelatedAccounts) GetConnectorID() string {
|
|
if o == nil {
|
|
return ""
|
|
}
|
|
return o.ConnectorID
|
|
}
|
|
|
|
func (o *BankAccountRelatedAccounts) GetCreatedAt() time.Time {
|
|
if o == nil {
|
|
return time.Time{}
|
|
}
|
|
return o.CreatedAt
|
|
}
|
|
|
|
func (o *BankAccountRelatedAccounts) GetID() string {
|
|
if o == nil {
|
|
return ""
|
|
}
|
|
return o.ID
|
|
}
|
|
|
|
func (o *BankAccountRelatedAccounts) GetProvider() string {
|
|
if o == nil {
|
|
return ""
|
|
}
|
|
return o.Provider
|
|
}
|