shared

package
v3.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2024 License: MIT Imports: 6 Imported by: 1

Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

This section is empty.

Functions ¶

This section is empty.

Types ¶

type Account ¶

type Account struct {
	Address  string         `json:"address"`
	Metadata map[string]any `json:"metadata,omitempty"`
	Type     *string        `json:"type,omitempty"`
}

func (*Account) GetAddress ¶

func (o *Account) GetAddress() string

func (*Account) GetMetadata ¶

func (o *Account) GetMetadata() map[string]any

func (*Account) GetType ¶

func (o *Account) GetType() *string

type AccountBalance ¶

type AccountBalance struct {
	AccountID string    `json:"accountId"`
	Asset     string    `json:"asset"`
	Balance   *big.Int  `json:"balance"`
	CreatedAt time.Time `json:"createdAt"`
	// Deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
	Currency      string    `json:"currency"`
	LastUpdatedAt time.Time `json:"lastUpdatedAt"`
}

func (*AccountBalance) GetAccountID ¶

func (o *AccountBalance) GetAccountID() string

func (*AccountBalance) GetAsset ¶

func (o *AccountBalance) GetAsset() string

func (*AccountBalance) GetBalance ¶

func (o *AccountBalance) GetBalance() *big.Int

func (*AccountBalance) GetCreatedAt ¶

func (o *AccountBalance) GetCreatedAt() time.Time

func (*AccountBalance) GetCurrency ¶

func (o *AccountBalance) GetCurrency() string

func (*AccountBalance) GetLastUpdatedAt ¶

func (o *AccountBalance) GetLastUpdatedAt() time.Time

func (AccountBalance) MarshalJSON ¶

func (a AccountBalance) MarshalJSON() ([]byte, error)

func (*AccountBalance) UnmarshalJSON ¶

func (a *AccountBalance) UnmarshalJSON(data []byte) error

type AccountRequest ¶

type AccountRequest struct {
	AccountName  *string           `json:"accountName,omitempty"`
	ConnectorID  string            `json:"connectorID"`
	CreatedAt    time.Time         `json:"createdAt"`
	DefaultAsset *string           `json:"defaultAsset,omitempty"`
	Metadata     map[string]string `json:"metadata,omitempty"`
	Reference    string            `json:"reference"`
	Type         AccountType       `json:"type"`
}

func (*AccountRequest) GetAccountName ¶

func (o *AccountRequest) GetAccountName() *string

func (*AccountRequest) GetConnectorID ¶

func (o *AccountRequest) GetConnectorID() string

func (*AccountRequest) GetCreatedAt ¶

func (o *AccountRequest) GetCreatedAt() time.Time

func (*AccountRequest) GetDefaultAsset ¶

func (o *AccountRequest) GetDefaultAsset() *string

func (*AccountRequest) GetMetadata ¶

func (o *AccountRequest) GetMetadata() map[string]string

func (*AccountRequest) GetReference ¶

func (o *AccountRequest) GetReference() string

func (*AccountRequest) GetType ¶

func (o *AccountRequest) GetType() AccountType

func (AccountRequest) MarshalJSON ¶

func (a AccountRequest) MarshalJSON() ([]byte, error)

func (*AccountRequest) UnmarshalJSON ¶

func (a *AccountRequest) UnmarshalJSON(data []byte) error

type AccountResponse ¶

type AccountResponse struct {
	Data AccountWithVolumesAndBalances `json:"data"`
}

func (*AccountResponse) GetData ¶

type AccountType ¶

type AccountType string
const (
	AccountTypeUnknown  AccountType = "UNKNOWN"
	AccountTypeInternal AccountType = "INTERNAL"
	AccountTypeExternal AccountType = "EXTERNAL"
)

func (AccountType) ToPointer ¶

func (e AccountType) ToPointer() *AccountType

func (*AccountType) UnmarshalJSON ¶

func (e *AccountType) UnmarshalJSON(data []byte) error

type AccountWithVolumesAndBalances ¶

type AccountWithVolumesAndBalances struct {
	Address  string              `json:"address"`
	Balances map[string]*big.Int `json:"balances,omitempty"`
	Metadata map[string]any      `json:"metadata,omitempty"`
	Type     *string             `json:"type,omitempty"`
	Volumes  map[string]Volume   `json:"volumes,omitempty"`
}

func (*AccountWithVolumesAndBalances) GetAddress ¶

func (o *AccountWithVolumesAndBalances) GetAddress() string

func (*AccountWithVolumesAndBalances) GetBalances ¶

func (o *AccountWithVolumesAndBalances) GetBalances() map[string]*big.Int

func (*AccountWithVolumesAndBalances) GetMetadata ¶

func (o *AccountWithVolumesAndBalances) GetMetadata() map[string]any

func (*AccountWithVolumesAndBalances) GetType ¶

func (o *AccountWithVolumesAndBalances) GetType() *string

func (*AccountWithVolumesAndBalances) GetVolumes ¶

func (o *AccountWithVolumesAndBalances) GetVolumes() map[string]Volume

func (AccountWithVolumesAndBalances) MarshalJSON ¶

func (a AccountWithVolumesAndBalances) MarshalJSON() ([]byte, error)

func (*AccountWithVolumesAndBalances) UnmarshalJSON ¶

func (a *AccountWithVolumesAndBalances) UnmarshalJSON(data []byte) error

type AccountsCursor ¶

type AccountsCursor struct {
	Cursor Cursor `json:"cursor"`
}

AccountsCursor - OK

func (*AccountsCursor) GetCursor ¶

func (o *AccountsCursor) GetCursor() Cursor

type AccountsCursorResponse ¶

type AccountsCursorResponse struct {
	Cursor AccountsCursorResponseCursor `json:"cursor"`
}

func (*AccountsCursorResponse) GetCursor ¶

type AccountsCursorResponseCursor ¶

type AccountsCursorResponseCursor struct {
	Data     []Account `json:"data"`
	HasMore  bool      `json:"hasMore"`
	Next     *string   `json:"next,omitempty"`
	PageSize int64     `json:"pageSize"`
	Previous *string   `json:"previous,omitempty"`
}

func (*AccountsCursorResponseCursor) GetData ¶

func (o *AccountsCursorResponseCursor) GetData() []Account

func (*AccountsCursorResponseCursor) GetHasMore ¶

func (o *AccountsCursorResponseCursor) GetHasMore() bool

func (*AccountsCursorResponseCursor) GetNext ¶

func (o *AccountsCursorResponseCursor) GetNext() *string

func (*AccountsCursorResponseCursor) GetPageSize ¶

func (o *AccountsCursorResponseCursor) GetPageSize() int64

func (*AccountsCursorResponseCursor) GetPrevious ¶

func (o *AccountsCursorResponseCursor) GetPrevious() *string

type ActivityAddAccountMetadata ¶

type ActivityAddAccountMetadata struct {
	ID       string            `json:"id"`
	Ledger   string            `json:"ledger"`
	Metadata map[string]string `json:"metadata"`
}

func (*ActivityAddAccountMetadata) GetID ¶

func (*ActivityAddAccountMetadata) GetLedger ¶

func (o *ActivityAddAccountMetadata) GetLedger() string

func (*ActivityAddAccountMetadata) GetMetadata ¶

func (o *ActivityAddAccountMetadata) GetMetadata() map[string]string

type ActivityConfirmHold ¶

type ActivityConfirmHold struct {
	ID string `json:"id"`
}

func (*ActivityConfirmHold) GetID ¶

func (o *ActivityConfirmHold) GetID() string

type ActivityCreateTransaction ¶

type ActivityCreateTransaction struct {
	Data   *OrchestrationPostTransaction `json:"data,omitempty"`
	Ledger *string                       `json:"ledger,omitempty"`
}

func (*ActivityCreateTransaction) GetData ¶

func (*ActivityCreateTransaction) GetLedger ¶

func (o *ActivityCreateTransaction) GetLedger() *string

type ActivityCreateTransactionOutput ¶

type ActivityCreateTransactionOutput struct {
	Data OrchestrationTransaction `json:"data"`
}

func (*ActivityCreateTransactionOutput) GetData ¶

type ActivityCreditWallet ¶

type ActivityCreditWallet struct {
	Data *OrchestrationCreditWalletRequest `json:"data,omitempty"`
	ID   *string                           `json:"id,omitempty"`
}

func (*ActivityCreditWallet) GetData ¶

func (*ActivityCreditWallet) GetID ¶

func (o *ActivityCreditWallet) GetID() *string

type ActivityDebitWallet ¶

type ActivityDebitWallet struct {
	Data *DebitWalletRequest `json:"data,omitempty"`
	ID   *string             `json:"id,omitempty"`
}

func (*ActivityDebitWallet) GetData ¶

func (*ActivityDebitWallet) GetID ¶

func (o *ActivityDebitWallet) GetID() *string

type ActivityDebitWalletOutput ¶

type ActivityDebitWalletOutput struct {
	Data Hold `json:"data"`
}

func (*ActivityDebitWalletOutput) GetData ¶

func (o *ActivityDebitWalletOutput) GetData() Hold

type ActivityGetAccount ¶

type ActivityGetAccount struct {
	ID     string `json:"id"`
	Ledger string `json:"ledger"`
}

func (*ActivityGetAccount) GetID ¶

func (o *ActivityGetAccount) GetID() string

func (*ActivityGetAccount) GetLedger ¶

func (o *ActivityGetAccount) GetLedger() string

type ActivityGetAccountOutput ¶

type ActivityGetAccountOutput struct {
	Data OrchestrationAccount `json:"data"`
}

func (*ActivityGetAccountOutput) GetData ¶

type ActivityGetPayment ¶

type ActivityGetPayment struct {
	ID string `json:"id"`
}

func (*ActivityGetPayment) GetID ¶

func (o *ActivityGetPayment) GetID() string

type ActivityGetPaymentOutput ¶

type ActivityGetPaymentOutput struct {
	Data OrchestrationPayment `json:"data"`
}

func (*ActivityGetPaymentOutput) GetData ¶

type ActivityGetWallet ¶

type ActivityGetWallet struct {
	ID string `json:"id"`
}

func (*ActivityGetWallet) GetID ¶

func (o *ActivityGetWallet) GetID() string

type ActivityGetWalletOutput ¶

type ActivityGetWalletOutput struct {
	Data WalletWithBalances `json:"data"`
}

func (*ActivityGetWalletOutput) GetData ¶

type ActivityListWallets ¶

type ActivityListWallets struct {
	Name *string `json:"name,omitempty"`
}

func (*ActivityListWallets) GetName ¶

func (o *ActivityListWallets) GetName() *string

type ActivityRevertTransaction ¶

type ActivityRevertTransaction struct {
	ID     string `json:"id"`
	Ledger string `json:"ledger"`
}

func (*ActivityRevertTransaction) GetID ¶

func (o *ActivityRevertTransaction) GetID() string

func (*ActivityRevertTransaction) GetLedger ¶

func (o *ActivityRevertTransaction) GetLedger() string

type ActivityRevertTransactionOutput ¶

type ActivityRevertTransactionOutput struct {
	Data OrchestrationTransaction `json:"data"`
}

func (*ActivityRevertTransactionOutput) GetData ¶

type ActivityStripeTransfer ¶

type ActivityStripeTransfer struct {
	Amount      *big.Int `json:"amount,omitempty"`
	Asset       *string  `json:"asset,omitempty"`
	ConnectorID *string  `json:"connectorID,omitempty"`
	Destination *string  `json:"destination,omitempty"`
	// A set of key/value pairs that you can attach to a transfer object.
	// It can be useful for storing additional information about the transfer in a structured format.
	//
	Metadata          *Metadata `json:"metadata,omitempty"`
	WaitingValidation *bool     `default:"false" json:"waitingValidation"`
}

func (*ActivityStripeTransfer) GetAmount ¶

func (o *ActivityStripeTransfer) GetAmount() *big.Int

func (*ActivityStripeTransfer) GetAsset ¶

func (o *ActivityStripeTransfer) GetAsset() *string

func (*ActivityStripeTransfer) GetConnectorID ¶

func (o *ActivityStripeTransfer) GetConnectorID() *string

func (*ActivityStripeTransfer) GetDestination ¶

func (o *ActivityStripeTransfer) GetDestination() *string

func (*ActivityStripeTransfer) GetMetadata ¶

func (o *ActivityStripeTransfer) GetMetadata() *Metadata

func (*ActivityStripeTransfer) GetWaitingValidation ¶

func (o *ActivityStripeTransfer) GetWaitingValidation() *bool

func (ActivityStripeTransfer) MarshalJSON ¶

func (a ActivityStripeTransfer) MarshalJSON() ([]byte, error)

func (*ActivityStripeTransfer) UnmarshalJSON ¶

func (a *ActivityStripeTransfer) UnmarshalJSON(data []byte) error

type ActivityVoidHold ¶

type ActivityVoidHold struct {
	ID string `json:"id"`
}

func (*ActivityVoidHold) GetID ¶

func (o *ActivityVoidHold) GetID() string

type AddAccountToPoolRequest ¶

type AddAccountToPoolRequest struct {
	AccountID string `json:"accountID"`
}

func (*AddAccountToPoolRequest) GetAccountID ¶

func (o *AddAccountToPoolRequest) GetAccountID() string

type AdyenConfig ¶

type AdyenConfig struct {
	APIKey             string  `json:"apiKey"`
	HmacKey            string  `json:"hmacKey"`
	LiveEndpointPrefix *string `json:"liveEndpointPrefix,omitempty"`
	Name               string  `json:"name"`
	// The frequency at which the connector will try to fetch new BalanceTransaction objects from Adyen API.
	//
	PollingPeriod *string `default:"120s" json:"pollingPeriod"`
}

func (*AdyenConfig) GetAPIKey ¶

func (o *AdyenConfig) GetAPIKey() string

func (*AdyenConfig) GetHmacKey ¶

func (o *AdyenConfig) GetHmacKey() string

func (*AdyenConfig) GetLiveEndpointPrefix ¶

func (o *AdyenConfig) GetLiveEndpointPrefix() *string

func (*AdyenConfig) GetName ¶

func (o *AdyenConfig) GetName() string

func (*AdyenConfig) GetPollingPeriod ¶

func (o *AdyenConfig) GetPollingPeriod() *string

func (AdyenConfig) MarshalJSON ¶

func (a AdyenConfig) MarshalJSON() ([]byte, error)

func (*AdyenConfig) UnmarshalJSON ¶

func (a *AdyenConfig) UnmarshalJSON(data []byte) error

type AggregateBalancesResponse ¶

type AggregateBalancesResponse struct {
	Data map[string]int64 `json:"data"`
}

func (*AggregateBalancesResponse) GetData ¶

func (o *AggregateBalancesResponse) GetData() map[string]int64

type AssetHolder ¶

type AssetHolder struct {
	Assets map[string]*big.Int `json:"assets"`
}

func (*AssetHolder) GetAssets ¶

func (o *AssetHolder) GetAssets() map[string]*big.Int

func (AssetHolder) MarshalJSON ¶

func (a AssetHolder) MarshalJSON() ([]byte, error)

func (*AssetHolder) UnmarshalJSON ¶

func (a *AssetHolder) UnmarshalJSON(data []byte) error

type AtlarConfig ¶

type AtlarConfig struct {
	// The access key used by the connector for authorizing requests to the Atlar API.
	// You can obtain it along with the associated secret from the Atlar dashboard.
	//
	AccessKey string `json:"accessKey"`
	// The base URL the client uses for making requests towards the Atlar API.
	//
	BaseURL *string `default:"https://api.atlar.com" json:"baseUrl"`
	Name    string  `json:"name"`
	// Number of items to fetch when querying paginated APIs.
	//
	PageSize *int64 `default:"25" json:"pageSize"`
	// The frequency at which the connector tries to fetch new Transaction objects from the Atlar API.
	//
	PollingPeriod *string `default:"120s" json:"pollingPeriod"`
	// The secret used by the connector for authorizing requests to the Atlar API.
	// You can obtain it along with the associated access key from the Atlar dashboard.
	//
	Secret string `json:"secret"`
	// The frequency at which the connector tries to fetch the status of payment initiations from the Atlar API.
	//
	TransferInitiationStatusPollingPeriod *string `default:"120s" json:"transferInitiationStatusPollingPeriod"`
}

func (*AtlarConfig) GetAccessKey ¶

func (o *AtlarConfig) GetAccessKey() string

func (*AtlarConfig) GetBaseURL ¶

func (o *AtlarConfig) GetBaseURL() *string

func (*AtlarConfig) GetName ¶

func (o *AtlarConfig) GetName() string

func (*AtlarConfig) GetPageSize ¶

func (o *AtlarConfig) GetPageSize() *int64

func (*AtlarConfig) GetPollingPeriod ¶

func (o *AtlarConfig) GetPollingPeriod() *string

func (*AtlarConfig) GetSecret ¶

func (o *AtlarConfig) GetSecret() string

func (*AtlarConfig) GetTransferInitiationStatusPollingPeriod ¶

func (o *AtlarConfig) GetTransferInitiationStatusPollingPeriod() *string

func (AtlarConfig) MarshalJSON ¶

func (a AtlarConfig) MarshalJSON() ([]byte, error)

func (*AtlarConfig) UnmarshalJSON ¶

func (a *AtlarConfig) UnmarshalJSON(data []byte) error

type Attempt ¶

type Attempt struct {
	Config         WebhooksConfig `json:"config"`
	CreatedAt      time.Time      `json:"createdAt"`
	ID             string         `json:"id"`
	NextRetryAfter *time.Time     `json:"nextRetryAfter,omitempty"`
	Payload        string         `json:"payload"`
	RetryAttempt   int64          `json:"retryAttempt"`
	Status         string         `json:"status"`
	StatusCode     int64          `json:"statusCode"`
	UpdatedAt      time.Time      `json:"updatedAt"`
	WebhookID      string         `json:"webhookID"`
}

func (*Attempt) GetConfig ¶

func (o *Attempt) GetConfig() WebhooksConfig

func (*Attempt) GetCreatedAt ¶

func (o *Attempt) GetCreatedAt() time.Time

func (*Attempt) GetID ¶

func (o *Attempt) GetID() string

func (*Attempt) GetNextRetryAfter ¶

func (o *Attempt) GetNextRetryAfter() *time.Time

func (*Attempt) GetPayload ¶

func (o *Attempt) GetPayload() string

func (*Attempt) GetRetryAttempt ¶

func (o *Attempt) GetRetryAttempt() int64

func (*Attempt) GetStatus ¶

func (o *Attempt) GetStatus() string

func (*Attempt) GetStatusCode ¶

func (o *Attempt) GetStatusCode() int64

func (*Attempt) GetUpdatedAt ¶

func (o *Attempt) GetUpdatedAt() time.Time

func (*Attempt) GetWebhookID ¶

func (o *Attempt) GetWebhookID() string

func (Attempt) MarshalJSON ¶

func (a Attempt) MarshalJSON() ([]byte, error)

func (*Attempt) UnmarshalJSON ¶

func (a *Attempt) UnmarshalJSON(data []byte) error

type AttemptResponse ¶

type AttemptResponse struct {
	Data Attempt `json:"data"`
}

func (*AttemptResponse) GetData ¶

func (o *AttemptResponse) GetData() Attempt

type Balance ¶

type Balance struct {
	ExpiresAt *time.Time `json:"expiresAt,omitempty"`
	Name      string     `json:"name"`
	Priority  *big.Int   `json:"priority,omitempty"`
}

func (*Balance) GetExpiresAt ¶

func (o *Balance) GetExpiresAt() *time.Time

func (*Balance) GetName ¶

func (o *Balance) GetName() string

func (*Balance) GetPriority ¶

func (o *Balance) GetPriority() *big.Int

func (Balance) MarshalJSON ¶

func (b Balance) MarshalJSON() ([]byte, error)

func (*Balance) UnmarshalJSON ¶

func (b *Balance) UnmarshalJSON(data []byte) error

type BalanceWithAssets ¶

type BalanceWithAssets struct {
	Assets    map[string]*big.Int `json:"assets"`
	ExpiresAt *time.Time          `json:"expiresAt,omitempty"`
	Name      string              `json:"name"`
	Priority  *big.Int            `json:"priority,omitempty"`
}

func (*BalanceWithAssets) GetAssets ¶

func (o *BalanceWithAssets) GetAssets() map[string]*big.Int

func (*BalanceWithAssets) GetExpiresAt ¶

func (o *BalanceWithAssets) GetExpiresAt() *time.Time

func (*BalanceWithAssets) GetName ¶

func (o *BalanceWithAssets) GetName() string

func (*BalanceWithAssets) GetPriority ¶

func (o *BalanceWithAssets) GetPriority() *big.Int

func (BalanceWithAssets) MarshalJSON ¶

func (b BalanceWithAssets) MarshalJSON() ([]byte, error)

func (*BalanceWithAssets) UnmarshalJSON ¶

func (b *BalanceWithAssets) UnmarshalJSON(data []byte) error

type Balances ¶

type Balances struct {
	Main V2AssetHolder `json:"main"`
}

func (*Balances) GetMain ¶

func (o *Balances) GetMain() V2AssetHolder

type BalancesCursor ¶

type BalancesCursor struct {
	Cursor BalancesCursorCursor `json:"cursor"`
}

BalancesCursor - OK

func (*BalancesCursor) GetCursor ¶

func (o *BalancesCursor) GetCursor() BalancesCursorCursor

type BalancesCursorCursor ¶

type BalancesCursorCursor struct {
	Data     []AccountBalance `json:"data"`
	HasMore  bool             `json:"hasMore"`
	Next     *string          `json:"next,omitempty"`
	PageSize int64            `json:"pageSize"`
	Previous *string          `json:"previous,omitempty"`
}

func (*BalancesCursorCursor) GetData ¶

func (o *BalancesCursorCursor) GetData() []AccountBalance

func (*BalancesCursorCursor) GetHasMore ¶

func (o *BalancesCursorCursor) GetHasMore() bool

func (*BalancesCursorCursor) GetNext ¶

func (o *BalancesCursorCursor) GetNext() *string

func (*BalancesCursorCursor) GetPageSize ¶

func (o *BalancesCursorCursor) GetPageSize() int64

func (*BalancesCursorCursor) GetPrevious ¶

func (o *BalancesCursorCursor) GetPrevious() *string

type BalancesCursorResponse ¶

type BalancesCursorResponse struct {
	Cursor BalancesCursorResponseCursor `json:"cursor"`
}

func (*BalancesCursorResponse) GetCursor ¶

type BalancesCursorResponseCursor ¶

type BalancesCursorResponseCursor struct {
	Data     []map[string]map[string]int64 `json:"data"`
	HasMore  bool                          `json:"hasMore"`
	Next     *string                       `json:"next,omitempty"`
	PageSize int64                         `json:"pageSize"`
	Previous *string                       `json:"previous,omitempty"`
}

func (*BalancesCursorResponseCursor) GetData ¶

func (o *BalancesCursorResponseCursor) GetData() []map[string]map[string]int64

func (*BalancesCursorResponseCursor) GetHasMore ¶

func (o *BalancesCursorResponseCursor) GetHasMore() bool

func (*BalancesCursorResponseCursor) GetNext ¶

func (o *BalancesCursorResponseCursor) GetNext() *string

func (*BalancesCursorResponseCursor) GetPageSize ¶

func (o *BalancesCursorResponseCursor) GetPageSize() int64

func (*BalancesCursorResponseCursor) GetPrevious ¶

func (o *BalancesCursorResponseCursor) GetPrevious() *string

type BankAccount ¶

type BankAccount struct {
	AccountID       *string                      `json:"accountID,omitempty"`
	AccountNumber   *string                      `json:"accountNumber,omitempty"`
	ConnectorID     string                       `json:"connectorID"`
	Country         string                       `json:"country"`
	CreatedAt       time.Time                    `json:"createdAt"`
	Iban            *string                      `json:"iban,omitempty"`
	ID              string                       `json:"id"`
	Metadata        map[string]string            `json:"metadata,omitempty"`
	Name            string                       `json:"name"`
	Provider        *string                      `json:"provider,omitempty"`
	RelatedAccounts []BankAccountRelatedAccounts `json:"relatedAccounts,omitempty"`
	SwiftBicCode    *string                      `json:"swiftBicCode,omitempty"`
}

func (*BankAccount) GetAccountID ¶

func (o *BankAccount) GetAccountID() *string

func (*BankAccount) GetAccountNumber ¶

func (o *BankAccount) GetAccountNumber() *string

func (*BankAccount) GetConnectorID ¶

func (o *BankAccount) GetConnectorID() string

func (*BankAccount) GetCountry ¶

func (o *BankAccount) GetCountry() string

func (*BankAccount) GetCreatedAt ¶

func (o *BankAccount) GetCreatedAt() time.Time

func (*BankAccount) GetID ¶

func (o *BankAccount) GetID() string

func (*BankAccount) GetIban ¶

func (o *BankAccount) GetIban() *string

func (*BankAccount) GetMetadata ¶

func (o *BankAccount) GetMetadata() map[string]string

func (*BankAccount) GetName ¶

func (o *BankAccount) GetName() string

func (*BankAccount) GetProvider ¶

func (o *BankAccount) GetProvider() *string

func (*BankAccount) GetRelatedAccounts ¶

func (o *BankAccount) GetRelatedAccounts() []BankAccountRelatedAccounts

func (*BankAccount) GetSwiftBicCode ¶

func (o *BankAccount) GetSwiftBicCode() *string

func (BankAccount) MarshalJSON ¶

func (b BankAccount) MarshalJSON() ([]byte, error)

func (*BankAccount) UnmarshalJSON ¶

func (b *BankAccount) UnmarshalJSON(data []byte) error

type BankAccountRelatedAccounts ¶

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 (*BankAccountRelatedAccounts) GetAccountID ¶

func (o *BankAccountRelatedAccounts) GetAccountID() string

func (*BankAccountRelatedAccounts) GetConnectorID ¶

func (o *BankAccountRelatedAccounts) GetConnectorID() string

func (*BankAccountRelatedAccounts) GetCreatedAt ¶

func (o *BankAccountRelatedAccounts) GetCreatedAt() time.Time

func (*BankAccountRelatedAccounts) GetID ¶

func (*BankAccountRelatedAccounts) GetProvider ¶

func (o *BankAccountRelatedAccounts) GetProvider() string

func (BankAccountRelatedAccounts) MarshalJSON ¶

func (b BankAccountRelatedAccounts) MarshalJSON() ([]byte, error)

func (*BankAccountRelatedAccounts) UnmarshalJSON ¶

func (b *BankAccountRelatedAccounts) UnmarshalJSON(data []byte) error

type BankAccountRequest ¶

type BankAccountRequest struct {
	AccountNumber *string           `json:"accountNumber,omitempty"`
	ConnectorID   string            `json:"connectorID"`
	Country       string            `json:"country"`
	Iban          *string           `json:"iban,omitempty"`
	Metadata      map[string]string `json:"metadata,omitempty"`
	Name          string            `json:"name"`
	SwiftBicCode  *string           `json:"swiftBicCode,omitempty"`
}

func (*BankAccountRequest) GetAccountNumber ¶

func (o *BankAccountRequest) GetAccountNumber() *string

func (*BankAccountRequest) GetConnectorID ¶

func (o *BankAccountRequest) GetConnectorID() string

func (*BankAccountRequest) GetCountry ¶

func (o *BankAccountRequest) GetCountry() string

func (*BankAccountRequest) GetIban ¶

func (o *BankAccountRequest) GetIban() *string

func (*BankAccountRequest) GetMetadata ¶

func (o *BankAccountRequest) GetMetadata() map[string]string

func (*BankAccountRequest) GetName ¶

func (o *BankAccountRequest) GetName() string

func (*BankAccountRequest) GetSwiftBicCode ¶

func (o *BankAccountRequest) GetSwiftBicCode() *string

type BankAccountResponse ¶

type BankAccountResponse struct {
	Data BankAccount `json:"data"`
}

BankAccountResponse - OK

func (*BankAccountResponse) GetData ¶

func (o *BankAccountResponse) GetData() BankAccount

type BankAccountsCursor ¶

type BankAccountsCursor struct {
	Cursor BankAccountsCursorCursor `json:"cursor"`
}

BankAccountsCursor - OK

func (*BankAccountsCursor) GetCursor ¶

type BankAccountsCursorCursor ¶

type BankAccountsCursorCursor struct {
	Data     []BankAccount `json:"data"`
	HasMore  bool          `json:"hasMore"`
	Next     *string       `json:"next,omitempty"`
	PageSize int64         `json:"pageSize"`
	Previous *string       `json:"previous,omitempty"`
}

func (*BankAccountsCursorCursor) GetData ¶

func (o *BankAccountsCursorCursor) GetData() []BankAccount

func (*BankAccountsCursorCursor) GetHasMore ¶

func (o *BankAccountsCursorCursor) GetHasMore() bool

func (*BankAccountsCursorCursor) GetNext ¶

func (o *BankAccountsCursorCursor) GetNext() *string

func (*BankAccountsCursorCursor) GetPageSize ¶

func (o *BankAccountsCursorCursor) GetPageSize() int64

func (*BankAccountsCursorCursor) GetPrevious ¶

func (o *BankAccountsCursorCursor) GetPrevious() *string

type BankingCircleConfig ¶

type BankingCircleConfig struct {
	AuthorizationEndpoint string `json:"authorizationEndpoint"`
	Endpoint              string `json:"endpoint"`
	Name                  string `json:"name"`
	Password              string `json:"password"`
	// The frequency at which the connector will try to fetch new BalanceTransaction objects from Banking Circle API.
	//
	PollingPeriod      *string `default:"120s" json:"pollingPeriod"`
	UserCertificate    string  `json:"userCertificate"`
	UserCertificateKey string  `json:"userCertificateKey"`
	Username           string  `json:"username"`
}

func (*BankingCircleConfig) GetAuthorizationEndpoint ¶

func (o *BankingCircleConfig) GetAuthorizationEndpoint() string

func (*BankingCircleConfig) GetEndpoint ¶

func (o *BankingCircleConfig) GetEndpoint() string

func (*BankingCircleConfig) GetName ¶

func (o *BankingCircleConfig) GetName() string

func (*BankingCircleConfig) GetPassword ¶

func (o *BankingCircleConfig) GetPassword() string

func (*BankingCircleConfig) GetPollingPeriod ¶

func (o *BankingCircleConfig) GetPollingPeriod() *string

func (*BankingCircleConfig) GetUserCertificate ¶

func (o *BankingCircleConfig) GetUserCertificate() string

func (*BankingCircleConfig) GetUserCertificateKey ¶

func (o *BankingCircleConfig) GetUserCertificateKey() string

func (*BankingCircleConfig) GetUsername ¶

func (o *BankingCircleConfig) GetUsername() string

func (BankingCircleConfig) MarshalJSON ¶

func (b BankingCircleConfig) MarshalJSON() ([]byte, error)

func (*BankingCircleConfig) UnmarshalJSON ¶

func (b *BankingCircleConfig) UnmarshalJSON(data []byte) error

type Client ¶

type Client struct {
	Description            *string        `json:"description,omitempty"`
	ID                     string         `json:"id"`
	Metadata               map[string]any `json:"metadata,omitempty"`
	Name                   string         `json:"name"`
	PostLogoutRedirectUris []string       `json:"postLogoutRedirectUris,omitempty"`
	Public                 *bool          `json:"public,omitempty"`
	RedirectUris           []string       `json:"redirectUris,omitempty"`
	Scopes                 []string       `json:"scopes,omitempty"`
	Secrets                []ClientSecret `json:"secrets,omitempty"`
	Trusted                *bool          `json:"trusted,omitempty"`
}

func (*Client) GetDescription ¶

func (o *Client) GetDescription() *string

func (*Client) GetID ¶

func (o *Client) GetID() string

func (*Client) GetMetadata ¶

func (o *Client) GetMetadata() map[string]any

func (*Client) GetName ¶

func (o *Client) GetName() string

func (*Client) GetPostLogoutRedirectUris ¶

func (o *Client) GetPostLogoutRedirectUris() []string

func (*Client) GetPublic ¶

func (o *Client) GetPublic() *bool

func (*Client) GetRedirectUris ¶

func (o *Client) GetRedirectUris() []string

func (*Client) GetScopes ¶

func (o *Client) GetScopes() []string

func (*Client) GetSecrets ¶

func (o *Client) GetSecrets() []ClientSecret

func (*Client) GetTrusted ¶

func (o *Client) GetTrusted() *bool

type ClientSecret ¶

type ClientSecret struct {
	ID         string         `json:"id"`
	LastDigits string         `json:"lastDigits"`
	Metadata   map[string]any `json:"metadata,omitempty"`
	Name       string         `json:"name"`
}

func (*ClientSecret) GetID ¶

func (o *ClientSecret) GetID() string

func (*ClientSecret) GetLastDigits ¶

func (o *ClientSecret) GetLastDigits() string

func (*ClientSecret) GetMetadata ¶

func (o *ClientSecret) GetMetadata() map[string]any

func (*ClientSecret) GetName ¶

func (o *ClientSecret) GetName() string

type Config ¶

type Config struct {
	Storage LedgerStorage `json:"storage"`
}

func (*Config) GetStorage ¶

func (o *Config) GetStorage() LedgerStorage

type ConfigChangeSecret ¶

type ConfigChangeSecret struct {
	Secret string `json:"secret"`
}

func (*ConfigChangeSecret) GetSecret ¶

func (o *ConfigChangeSecret) GetSecret() string

type ConfigInfo ¶

type ConfigInfo struct {
	Config  Config `json:"config"`
	Server  string `json:"server"`
	Version string `json:"version"`
}

func (*ConfigInfo) GetConfig ¶

func (o *ConfigInfo) GetConfig() Config

func (*ConfigInfo) GetServer ¶

func (o *ConfigInfo) GetServer() string

func (*ConfigInfo) GetVersion ¶

func (o *ConfigInfo) GetVersion() string

type ConfigInfoResponse ¶

type ConfigInfoResponse struct {
	Data ConfigInfo `json:"data"`
}

func (*ConfigInfoResponse) GetData ¶

func (o *ConfigInfoResponse) GetData() ConfigInfo

type ConfigResponse ¶

type ConfigResponse struct {
	Data WebhooksConfig `json:"data"`
}

func (*ConfigResponse) GetData ¶

func (o *ConfigResponse) GetData() WebhooksConfig

type ConfigUser ¶

type ConfigUser struct {
	Endpoint   string   `json:"endpoint"`
	EventTypes []string `json:"eventTypes"`
	Name       *string  `json:"name,omitempty"`
	Secret     *string  `json:"secret,omitempty"`
}

func (*ConfigUser) GetEndpoint ¶

func (o *ConfigUser) GetEndpoint() string

func (*ConfigUser) GetEventTypes ¶

func (o *ConfigUser) GetEventTypes() []string

func (*ConfigUser) GetName ¶

func (o *ConfigUser) GetName() *string

func (*ConfigUser) GetSecret ¶

func (o *ConfigUser) GetSecret() *string

type ConfigsResponse ¶

type ConfigsResponse struct {
	Cursor ConfigsResponseCursor `json:"cursor"`
}

func (*ConfigsResponse) GetCursor ¶

func (o *ConfigsResponse) GetCursor() ConfigsResponseCursor

type ConfigsResponseCursor ¶

type ConfigsResponseCursor struct {
	Data    []WebhooksConfig `json:"data"`
	HasMore bool             `json:"hasMore"`
}

func (*ConfigsResponseCursor) GetData ¶

func (o *ConfigsResponseCursor) GetData() []WebhooksConfig

func (*ConfigsResponseCursor) GetHasMore ¶

func (o *ConfigsResponseCursor) GetHasMore() bool

type ConfirmHoldRequest ¶

type ConfirmHoldRequest struct {
	// Define the amount to transfer.
	Amount *big.Int `json:"amount,omitempty"`
	// Define a final confirmation. Remaining funds will be returned to the wallet.
	Final *bool `json:"final,omitempty"`
}

func (*ConfirmHoldRequest) GetAmount ¶

func (o *ConfirmHoldRequest) GetAmount() *big.Int

func (*ConfirmHoldRequest) GetFinal ¶

func (o *ConfirmHoldRequest) GetFinal() *bool

func (ConfirmHoldRequest) MarshalJSON ¶

func (c ConfirmHoldRequest) MarshalJSON() ([]byte, error)

func (*ConfirmHoldRequest) UnmarshalJSON ¶

func (c *ConfirmHoldRequest) UnmarshalJSON(data []byte) error

type Connector ¶

type Connector string
const (
	ConnectorStripe        Connector = "STRIPE"
	ConnectorDummyPay      Connector = "DUMMY-PAY"
	ConnectorWise          Connector = "WISE"
	ConnectorModulr        Connector = "MODULR"
	ConnectorCurrencyCloud Connector = "CURRENCY-CLOUD"
	ConnectorBankingCircle Connector = "BANKING-CIRCLE"
	ConnectorMangopay      Connector = "MANGOPAY"
	ConnectorMoneycorp     Connector = "MONEYCORP"
	ConnectorAtlar         Connector = "ATLAR"
	ConnectorAdyen         Connector = "ADYEN"
	ConnectorGeneric       Connector = "GENERIC"
)

func (Connector) ToPointer ¶

func (e Connector) ToPointer() *Connector

func (*Connector) UnmarshalJSON ¶

func (e *Connector) UnmarshalJSON(data []byte) error

type ConnectorConfig ¶

type ConnectorConfig struct {
	StripeConfig        *StripeConfig
	DummyPayConfig      *DummyPayConfig
	WiseConfig          *WiseConfig
	ModulrConfig        *ModulrConfig
	CurrencyCloudConfig *CurrencyCloudConfig
	BankingCircleConfig *BankingCircleConfig
	MangoPayConfig      *MangoPayConfig
	MoneycorpConfig     *MoneycorpConfig
	AtlarConfig         *AtlarConfig
	AdyenConfig         *AdyenConfig
	GenericConfig       *GenericConfig

	Type ConnectorConfigType
}

func CreateConnectorConfigAdyenConfig ¶

func CreateConnectorConfigAdyenConfig(adyenConfig AdyenConfig) ConnectorConfig

func CreateConnectorConfigAtlarConfig ¶

func CreateConnectorConfigAtlarConfig(atlarConfig AtlarConfig) ConnectorConfig

func CreateConnectorConfigBankingCircleConfig ¶

func CreateConnectorConfigBankingCircleConfig(bankingCircleConfig BankingCircleConfig) ConnectorConfig

func CreateConnectorConfigCurrencyCloudConfig ¶

func CreateConnectorConfigCurrencyCloudConfig(currencyCloudConfig CurrencyCloudConfig) ConnectorConfig

func CreateConnectorConfigDummyPayConfig ¶

func CreateConnectorConfigDummyPayConfig(dummyPayConfig DummyPayConfig) ConnectorConfig

func CreateConnectorConfigGenericConfig ¶

func CreateConnectorConfigGenericConfig(genericConfig GenericConfig) ConnectorConfig

func CreateConnectorConfigMangoPayConfig ¶

func CreateConnectorConfigMangoPayConfig(mangoPayConfig MangoPayConfig) ConnectorConfig

func CreateConnectorConfigModulrConfig ¶

func CreateConnectorConfigModulrConfig(modulrConfig ModulrConfig) ConnectorConfig

func CreateConnectorConfigMoneycorpConfig ¶

func CreateConnectorConfigMoneycorpConfig(moneycorpConfig MoneycorpConfig) ConnectorConfig

func CreateConnectorConfigStripeConfig ¶

func CreateConnectorConfigStripeConfig(stripeConfig StripeConfig) ConnectorConfig

func CreateConnectorConfigWiseConfig ¶

func CreateConnectorConfigWiseConfig(wiseConfig WiseConfig) ConnectorConfig

func (ConnectorConfig) MarshalJSON ¶

func (u ConnectorConfig) MarshalJSON() ([]byte, error)

func (*ConnectorConfig) UnmarshalJSON ¶

func (u *ConnectorConfig) UnmarshalJSON(data []byte) error

type ConnectorConfigResponse ¶

type ConnectorConfigResponse struct {
	Data ConnectorConfig `json:"data"`
}

ConnectorConfigResponse - OK

func (*ConnectorConfigResponse) GetData ¶

type ConnectorConfigType ¶

type ConnectorConfigType string
const (
	ConnectorConfigTypeStripeConfig        ConnectorConfigType = "StripeConfig"
	ConnectorConfigTypeDummyPayConfig      ConnectorConfigType = "DummyPayConfig"
	ConnectorConfigTypeWiseConfig          ConnectorConfigType = "WiseConfig"
	ConnectorConfigTypeModulrConfig        ConnectorConfigType = "ModulrConfig"
	ConnectorConfigTypeCurrencyCloudConfig ConnectorConfigType = "CurrencyCloudConfig"
	ConnectorConfigTypeBankingCircleConfig ConnectorConfigType = "BankingCircleConfig"
	ConnectorConfigTypeMangoPayConfig      ConnectorConfigType = "MangoPayConfig"
	ConnectorConfigTypeMoneycorpConfig     ConnectorConfigType = "MoneycorpConfig"
	ConnectorConfigTypeAtlarConfig         ConnectorConfigType = "AtlarConfig"
	ConnectorConfigTypeAdyenConfig         ConnectorConfigType = "AdyenConfig"
	ConnectorConfigTypeGenericConfig       ConnectorConfigType = "GenericConfig"
)

type ConnectorResponse ¶

type ConnectorResponse struct {
	Data Data `json:"data"`
}

ConnectorResponse - OK

func (*ConnectorResponse) GetData ¶

func (o *ConnectorResponse) GetData() Data

type ConnectorsConfigsResponse ¶

type ConnectorsConfigsResponse struct {
	Data ConnectorsConfigsResponseData `json:"data"`
}

ConnectorsConfigsResponse - OK

func (*ConnectorsConfigsResponse) GetData ¶

type ConnectorsConfigsResponseConnector ¶

type ConnectorsConfigsResponseConnector struct {
	Key Key `json:"key"`
}

func (*ConnectorsConfigsResponseConnector) GetKey ¶

type ConnectorsConfigsResponseData ¶

type ConnectorsConfigsResponseData struct {
	Connector ConnectorsConfigsResponseConnector `json:"connector"`
}

func (*ConnectorsConfigsResponseData) GetConnector ¶

type ConnectorsResponse ¶

type ConnectorsResponse struct {
	Data []ConnectorsResponseData `json:"data"`
}

ConnectorsResponse - OK

func (*ConnectorsResponse) GetData ¶

type ConnectorsResponseData ¶

type ConnectorsResponseData struct {
	ConnectorID string    `json:"connectorID"`
	Enabled     *bool     `json:"enabled,omitempty"`
	Name        string    `json:"name"`
	Provider    Connector `json:"provider"`
}

func (*ConnectorsResponseData) GetConnectorID ¶

func (o *ConnectorsResponseData) GetConnectorID() string

func (*ConnectorsResponseData) GetEnabled ¶

func (o *ConnectorsResponseData) GetEnabled() *bool

func (*ConnectorsResponseData) GetName ¶

func (o *ConnectorsResponseData) GetName() string

func (*ConnectorsResponseData) GetProvider ¶

func (o *ConnectorsResponseData) GetProvider() Connector

type Contract ¶

type Contract struct {
	Account *string `json:"account,omitempty"`
	Expr    Expr    `json:"expr"`
}

func (*Contract) GetAccount ¶

func (o *Contract) GetAccount() *string

func (*Contract) GetExpr ¶

func (o *Contract) GetExpr() Expr

type CreateBalanceRequest ¶

type CreateBalanceRequest struct {
	ExpiresAt *time.Time `json:"expiresAt,omitempty"`
	Name      string     `json:"name"`
	Priority  *big.Int   `json:"priority,omitempty"`
}

func (*CreateBalanceRequest) GetExpiresAt ¶

func (o *CreateBalanceRequest) GetExpiresAt() *time.Time

func (*CreateBalanceRequest) GetName ¶

func (o *CreateBalanceRequest) GetName() string

func (*CreateBalanceRequest) GetPriority ¶

func (o *CreateBalanceRequest) GetPriority() *big.Int

func (CreateBalanceRequest) MarshalJSON ¶

func (c CreateBalanceRequest) MarshalJSON() ([]byte, error)

func (*CreateBalanceRequest) UnmarshalJSON ¶

func (c *CreateBalanceRequest) UnmarshalJSON(data []byte) error

type CreateBalanceResponse ¶

type CreateBalanceResponse struct {
	Data Balance `json:"data"`
}

func (*CreateBalanceResponse) GetData ¶

func (o *CreateBalanceResponse) GetData() Balance

type CreateClientRequest ¶

type CreateClientRequest struct {
	Description            *string        `json:"description,omitempty"`
	Metadata               map[string]any `json:"metadata,omitempty"`
	Name                   string         `json:"name"`
	PostLogoutRedirectUris []string       `json:"postLogoutRedirectUris,omitempty"`
	Public                 *bool          `json:"public,omitempty"`
	RedirectUris           []string       `json:"redirectUris,omitempty"`
	Scopes                 []string       `json:"scopes,omitempty"`
	Trusted                *bool          `json:"trusted,omitempty"`
}

func (*CreateClientRequest) GetDescription ¶

func (o *CreateClientRequest) GetDescription() *string

func (*CreateClientRequest) GetMetadata ¶

func (o *CreateClientRequest) GetMetadata() map[string]any

func (*CreateClientRequest) GetName ¶

func (o *CreateClientRequest) GetName() string

func (*CreateClientRequest) GetPostLogoutRedirectUris ¶

func (o *CreateClientRequest) GetPostLogoutRedirectUris() []string

func (*CreateClientRequest) GetPublic ¶

func (o *CreateClientRequest) GetPublic() *bool

func (*CreateClientRequest) GetRedirectUris ¶

func (o *CreateClientRequest) GetRedirectUris() []string

func (*CreateClientRequest) GetScopes ¶

func (o *CreateClientRequest) GetScopes() []string

func (*CreateClientRequest) GetTrusted ¶

func (o *CreateClientRequest) GetTrusted() *bool

type CreateClientResponse ¶

type CreateClientResponse struct {
	Data *Client `json:"data,omitempty"`
}

func (*CreateClientResponse) GetData ¶

func (o *CreateClientResponse) GetData() *Client

type CreateSecretRequest ¶

type CreateSecretRequest struct {
	Metadata map[string]any `json:"metadata,omitempty"`
	Name     string         `json:"name"`
}

func (*CreateSecretRequest) GetMetadata ¶

func (o *CreateSecretRequest) GetMetadata() map[string]any

func (*CreateSecretRequest) GetName ¶

func (o *CreateSecretRequest) GetName() string

type CreateSecretResponse ¶

type CreateSecretResponse struct {
	Data *Secret `json:"data,omitempty"`
}

func (*CreateSecretResponse) GetData ¶

func (o *CreateSecretResponse) GetData() *Secret

type CreateTriggerResponse ¶

type CreateTriggerResponse struct {
	Data Trigger `json:"data"`
}

func (*CreateTriggerResponse) GetData ¶

func (o *CreateTriggerResponse) GetData() Trigger

type CreateWalletRequest ¶

type CreateWalletRequest struct {
	// Custom metadata to attach to this wallet.
	Metadata map[string]string `json:"metadata"`
	Name     string            `json:"name"`
}

func (*CreateWalletRequest) GetMetadata ¶

func (o *CreateWalletRequest) GetMetadata() map[string]string

func (*CreateWalletRequest) GetName ¶

func (o *CreateWalletRequest) GetName() string

type CreateWalletResponse ¶

type CreateWalletResponse struct {
	Data Wallet `json:"data"`
}

func (*CreateWalletResponse) GetData ¶

func (o *CreateWalletResponse) GetData() Wallet

type CreateWorkflowRequest ¶

type CreateWorkflowRequest struct {
	Name   *string          `json:"name,omitempty"`
	Stages []map[string]any `json:"stages"`
}

func (*CreateWorkflowRequest) GetName ¶

func (o *CreateWorkflowRequest) GetName() *string

func (*CreateWorkflowRequest) GetStages ¶

func (o *CreateWorkflowRequest) GetStages() []map[string]any

type CreateWorkflowResponse ¶

type CreateWorkflowResponse struct {
	Data Workflow `json:"data"`
}

func (*CreateWorkflowResponse) GetData ¶

func (o *CreateWorkflowResponse) GetData() Workflow

type CreditWalletRequest ¶

type CreditWalletRequest struct {
	Amount Monetary `json:"amount"`
	// The balance to credit
	Balance *string `json:"balance,omitempty"`
	// Metadata associated with the wallet.
	Metadata  map[string]string `json:"metadata,omitempty"`
	Reference *string           `json:"reference,omitempty"`
	Sources   []Subject         `json:"sources,omitempty"`
	Timestamp *time.Time        `json:"timestamp,omitempty"`
}

func (*CreditWalletRequest) GetAmount ¶

func (o *CreditWalletRequest) GetAmount() Monetary

func (*CreditWalletRequest) GetBalance ¶

func (o *CreditWalletRequest) GetBalance() *string

func (*CreditWalletRequest) GetMetadata ¶

func (o *CreditWalletRequest) GetMetadata() map[string]string

func (*CreditWalletRequest) GetReference ¶

func (o *CreditWalletRequest) GetReference() *string

func (*CreditWalletRequest) GetSources ¶

func (o *CreditWalletRequest) GetSources() []Subject

func (*CreditWalletRequest) GetTimestamp ¶

func (o *CreditWalletRequest) GetTimestamp() *time.Time

func (CreditWalletRequest) MarshalJSON ¶

func (c CreditWalletRequest) MarshalJSON() ([]byte, error)

func (*CreditWalletRequest) UnmarshalJSON ¶

func (c *CreditWalletRequest) UnmarshalJSON(data []byte) error

type CurrencyCloudConfig ¶

type CurrencyCloudConfig struct {
	APIKey string `json:"apiKey"`
	// The endpoint to use for the API. Defaults to https://devapi.currencycloud.com
	Endpoint *string `json:"endpoint,omitempty"`
	// Username of the API Key holder
	LoginID string `json:"loginID"`
	Name    string `json:"name"`
	// The frequency at which the connector will fetch transactions
	PollingPeriod *string `default:"120s" json:"pollingPeriod"`
}

func (*CurrencyCloudConfig) GetAPIKey ¶

func (o *CurrencyCloudConfig) GetAPIKey() string

func (*CurrencyCloudConfig) GetEndpoint ¶

func (o *CurrencyCloudConfig) GetEndpoint() *string

func (*CurrencyCloudConfig) GetLoginID ¶

func (o *CurrencyCloudConfig) GetLoginID() string

func (*CurrencyCloudConfig) GetName ¶

func (o *CurrencyCloudConfig) GetName() string

func (*CurrencyCloudConfig) GetPollingPeriod ¶

func (o *CurrencyCloudConfig) GetPollingPeriod() *string

func (CurrencyCloudConfig) MarshalJSON ¶

func (c CurrencyCloudConfig) MarshalJSON() ([]byte, error)

func (*CurrencyCloudConfig) UnmarshalJSON ¶

func (c *CurrencyCloudConfig) UnmarshalJSON(data []byte) error

type Cursor ¶

type Cursor struct {
	Data     []PaymentsAccount `json:"data"`
	HasMore  bool              `json:"hasMore"`
	Next     *string           `json:"next,omitempty"`
	PageSize int64             `json:"pageSize"`
	Previous *string           `json:"previous,omitempty"`
}

func (*Cursor) GetData ¶

func (o *Cursor) GetData() []PaymentsAccount

func (*Cursor) GetHasMore ¶

func (o *Cursor) GetHasMore() bool

func (*Cursor) GetNext ¶

func (o *Cursor) GetNext() *string

func (*Cursor) GetPageSize ¶

func (o *Cursor) GetPageSize() int64

func (*Cursor) GetPrevious ¶

func (o *Cursor) GetPrevious() *string

type Data ¶

type Data struct {
	ConnectorID string `json:"connectorID"`
}

func (*Data) GetConnectorID ¶

func (o *Data) GetConnectorID() string

type DebitWalletRequest ¶

type DebitWalletRequest struct {
	Amount      Monetary `json:"amount"`
	Balances    []string `json:"balances,omitempty"`
	Description *string  `json:"description,omitempty"`
	Destination *Subject `json:"destination,omitempty"`
	// Metadata associated with the wallet.
	Metadata map[string]string `json:"metadata"`
	// Set to true to create a pending hold. If false, the wallet will be debited immediately.
	Pending *bool `json:"pending,omitempty"`
	// cannot be used in conjunction with `pending` property
	Timestamp *time.Time `json:"timestamp,omitempty"`
}

func (*DebitWalletRequest) GetAmount ¶

func (o *DebitWalletRequest) GetAmount() Monetary

func (*DebitWalletRequest) GetBalances ¶

func (o *DebitWalletRequest) GetBalances() []string

func (*DebitWalletRequest) GetDescription ¶

func (o *DebitWalletRequest) GetDescription() *string

func (*DebitWalletRequest) GetDestination ¶

func (o *DebitWalletRequest) GetDestination() *Subject

func (*DebitWalletRequest) GetDestinationAccount ¶

func (o *DebitWalletRequest) GetDestinationAccount() *LedgerAccountSubject

func (*DebitWalletRequest) GetDestinationWallet ¶

func (o *DebitWalletRequest) GetDestinationWallet() *WalletSubject

func (*DebitWalletRequest) GetMetadata ¶

func (o *DebitWalletRequest) GetMetadata() map[string]string

func (*DebitWalletRequest) GetPending ¶

func (o *DebitWalletRequest) GetPending() *bool

func (*DebitWalletRequest) GetTimestamp ¶

func (o *DebitWalletRequest) GetTimestamp() *time.Time

func (DebitWalletRequest) MarshalJSON ¶

func (d DebitWalletRequest) MarshalJSON() ([]byte, error)

func (*DebitWalletRequest) UnmarshalJSON ¶

func (d *DebitWalletRequest) UnmarshalJSON(data []byte) error

type DebitWalletResponse ¶

type DebitWalletResponse struct {
	Data Hold `json:"data"`
}

func (*DebitWalletResponse) GetData ¶

func (o *DebitWalletResponse) GetData() Hold

type Descriptor ¶

type Descriptor struct {
	Key  *string `json:"key,omitempty"`
	Name *string `json:"name,omitempty"`
}

func (*Descriptor) GetKey ¶

func (o *Descriptor) GetKey() *string

func (*Descriptor) GetName ¶

func (o *Descriptor) GetName() *string

type DummyPayConfig ¶

type DummyPayConfig struct {
	Directory string `json:"directory"`
	// The frequency at which the connector will try to fetch new payment objects from the directory
	FilePollingPeriod            *string `default:"10s" json:"filePollingPeriod"`
	Name                         string  `json:"name"`
	NumberOfAccountsPreGenerated *int64  `json:"numberOfAccountsPreGenerated,omitempty"`
	NumberOfPaymentsPreGenerated *int64  `json:"numberOfPaymentsPreGenerated,omitempty"`
	PrefixFileToIngest           *string `json:"prefixFileToIngest,omitempty"`
}

func (*DummyPayConfig) GetDirectory ¶

func (o *DummyPayConfig) GetDirectory() string

func (*DummyPayConfig) GetFilePollingPeriod ¶

func (o *DummyPayConfig) GetFilePollingPeriod() *string

func (*DummyPayConfig) GetName ¶

func (o *DummyPayConfig) GetName() string

func (*DummyPayConfig) GetNumberOfAccountsPreGenerated ¶

func (o *DummyPayConfig) GetNumberOfAccountsPreGenerated() *int64

func (*DummyPayConfig) GetNumberOfPaymentsPreGenerated ¶

func (o *DummyPayConfig) GetNumberOfPaymentsPreGenerated() *int64

func (*DummyPayConfig) GetPrefixFileToIngest ¶

func (o *DummyPayConfig) GetPrefixFileToIngest() *string

func (DummyPayConfig) MarshalJSON ¶

func (d DummyPayConfig) MarshalJSON() ([]byte, error)

func (*DummyPayConfig) UnmarshalJSON ¶

func (d *DummyPayConfig) UnmarshalJSON(data []byte) error

type ErrorResponse ¶ added in v3.1.0

type ErrorResponse struct {
	Details      *string    `json:"details,omitempty"`
	ErrorCode    ErrorsEnum `json:"errorCode"`
	ErrorMessage string     `json:"errorMessage"`
}

func (*ErrorResponse) GetDetails ¶ added in v3.1.0

func (o *ErrorResponse) GetDetails() *string

func (*ErrorResponse) GetErrorCode ¶ added in v3.1.0

func (o *ErrorResponse) GetErrorCode() ErrorsEnum

func (*ErrorResponse) GetErrorMessage ¶ added in v3.1.0

func (o *ErrorResponse) GetErrorMessage() string

type ErrorsEnum ¶

type ErrorsEnum string
const (
	ErrorsEnumInternal          ErrorsEnum = "INTERNAL"
	ErrorsEnumInsufficientFund  ErrorsEnum = "INSUFFICIENT_FUND"
	ErrorsEnumValidation        ErrorsEnum = "VALIDATION"
	ErrorsEnumConflict          ErrorsEnum = "CONFLICT"
	ErrorsEnumNoScript          ErrorsEnum = "NO_SCRIPT"
	ErrorsEnumCompilationFailed ErrorsEnum = "COMPILATION_FAILED"
	ErrorsEnumMetadataOverride  ErrorsEnum = "METADATA_OVERRIDE"
	ErrorsEnumNotFound          ErrorsEnum = "NOT_FOUND"
)

func (ErrorsEnum) ToPointer ¶

func (e ErrorsEnum) ToPointer() *ErrorsEnum

func (*ErrorsEnum) UnmarshalJSON ¶

func (e *ErrorsEnum) UnmarshalJSON(data []byte) error

type ExpandedDebitHold ¶

type ExpandedDebitHold struct {
	Description string   `json:"description"`
	Destination *Subject `json:"destination,omitempty"`
	// The unique ID of the hold.
	ID string `json:"id"`
	// Metadata associated with the hold.
	Metadata map[string]string `json:"metadata"`
	// Original amount on hold
	OriginalAmount *big.Int `json:"originalAmount"`
	// Remaining amount on hold
	Remaining *big.Int `json:"remaining"`
	// The ID of the wallet the hold is associated with.
	WalletID string `json:"walletID"`
}

func (*ExpandedDebitHold) GetDescription ¶

func (o *ExpandedDebitHold) GetDescription() string

func (*ExpandedDebitHold) GetDestination ¶

func (o *ExpandedDebitHold) GetDestination() *Subject

func (*ExpandedDebitHold) GetDestinationAccount ¶

func (o *ExpandedDebitHold) GetDestinationAccount() *LedgerAccountSubject

func (*ExpandedDebitHold) GetDestinationWallet ¶

func (o *ExpandedDebitHold) GetDestinationWallet() *WalletSubject

func (*ExpandedDebitHold) GetID ¶

func (o *ExpandedDebitHold) GetID() string

func (*ExpandedDebitHold) GetMetadata ¶

func (o *ExpandedDebitHold) GetMetadata() map[string]string

func (*ExpandedDebitHold) GetOriginalAmount ¶

func (o *ExpandedDebitHold) GetOriginalAmount() *big.Int

func (*ExpandedDebitHold) GetRemaining ¶

func (o *ExpandedDebitHold) GetRemaining() *big.Int

func (*ExpandedDebitHold) GetWalletID ¶

func (o *ExpandedDebitHold) GetWalletID() string

func (ExpandedDebitHold) MarshalJSON ¶

func (e ExpandedDebitHold) MarshalJSON() ([]byte, error)

func (*ExpandedDebitHold) UnmarshalJSON ¶

func (e *ExpandedDebitHold) UnmarshalJSON(data []byte) error

type Expr ¶

type Expr struct {
}

type Filter ¶

type Filter struct {
	Error *string `json:"error,omitempty"`
	Match *bool   `json:"match,omitempty"`
}

func (*Filter) GetError ¶

func (o *Filter) GetError() *string

func (*Filter) GetMatch ¶

func (o *Filter) GetMatch() *bool

type ForwardBankAccountRequest ¶

type ForwardBankAccountRequest struct {
	ConnectorID string `json:"connectorID"`
}

func (*ForwardBankAccountRequest) GetConnectorID ¶

func (o *ForwardBankAccountRequest) GetConnectorID() string

type GenericConfig ¶

type GenericConfig struct {
	APIKey   string `json:"apiKey"`
	Endpoint string `json:"endpoint"`
	Name     string `json:"name"`
	// The frequency at which the connector will try to fetch new BalanceTransaction objects from the API.
	//
	PollingPeriod *string `default:"120s" json:"pollingPeriod"`
}

func (*GenericConfig) GetAPIKey ¶

func (o *GenericConfig) GetAPIKey() string

func (*GenericConfig) GetEndpoint ¶

func (o *GenericConfig) GetEndpoint() string

func (*GenericConfig) GetName ¶

func (o *GenericConfig) GetName() string

func (*GenericConfig) GetPollingPeriod ¶

func (o *GenericConfig) GetPollingPeriod() *string

func (GenericConfig) MarshalJSON ¶

func (g GenericConfig) MarshalJSON() ([]byte, error)

func (*GenericConfig) UnmarshalJSON ¶

func (g *GenericConfig) UnmarshalJSON(data []byte) error

type GetBalanceResponse ¶

type GetBalanceResponse struct {
	Data BalanceWithAssets `json:"data"`
}

func (*GetBalanceResponse) GetData ¶

type GetHoldResponse ¶

type GetHoldResponse struct {
	Data ExpandedDebitHold `json:"data"`
}

func (*GetHoldResponse) GetData ¶

func (o *GetHoldResponse) GetData() ExpandedDebitHold

type GetHoldsResponse ¶

type GetHoldsResponse struct {
	Cursor GetHoldsResponseCursor `json:"cursor"`
}

func (*GetHoldsResponse) GetCursor ¶

type GetHoldsResponseCursor ¶

type GetHoldsResponseCursor struct {
	Data     []Hold  `json:"data"`
	HasMore  *bool   `json:"hasMore,omitempty"`
	Next     *string `json:"next,omitempty"`
	PageSize int64   `json:"pageSize"`
	Previous *string `json:"previous,omitempty"`
}

func (*GetHoldsResponseCursor) GetData ¶

func (o *GetHoldsResponseCursor) GetData() []Hold

func (*GetHoldsResponseCursor) GetHasMore ¶

func (o *GetHoldsResponseCursor) GetHasMore() *bool

func (*GetHoldsResponseCursor) GetNext ¶

func (o *GetHoldsResponseCursor) GetNext() *string

func (*GetHoldsResponseCursor) GetPageSize ¶

func (o *GetHoldsResponseCursor) GetPageSize() int64

func (*GetHoldsResponseCursor) GetPrevious ¶

func (o *GetHoldsResponseCursor) GetPrevious() *string

type GetTransactionsResponse ¶

type GetTransactionsResponse struct {
	Cursor GetTransactionsResponseCursor `json:"cursor"`
}

func (*GetTransactionsResponse) GetCursor ¶

type GetTransactionsResponseCursor ¶

type GetTransactionsResponseCursor struct {
	Data     []WalletsTransaction `json:"data"`
	HasMore  *bool                `json:"hasMore,omitempty"`
	Next     *string              `json:"next,omitempty"`
	PageSize int64                `json:"pageSize"`
	Previous *string              `json:"previous,omitempty"`
}

func (*GetTransactionsResponseCursor) GetData ¶

func (*GetTransactionsResponseCursor) GetHasMore ¶

func (o *GetTransactionsResponseCursor) GetHasMore() *bool

func (*GetTransactionsResponseCursor) GetNext ¶

func (o *GetTransactionsResponseCursor) GetNext() *string

func (*GetTransactionsResponseCursor) GetPageSize ¶

func (o *GetTransactionsResponseCursor) GetPageSize() int64

func (*GetTransactionsResponseCursor) GetPrevious ¶

func (o *GetTransactionsResponseCursor) GetPrevious() *string

type GetVersionsResponse ¶

type GetVersionsResponse struct {
	Env      string    `json:"env"`
	Region   string    `json:"region"`
	Versions []Version `json:"versions"`
}

func (*GetVersionsResponse) GetEnv ¶

func (o *GetVersionsResponse) GetEnv() string

func (*GetVersionsResponse) GetRegion ¶

func (o *GetVersionsResponse) GetRegion() string

func (*GetVersionsResponse) GetVersions ¶

func (o *GetVersionsResponse) GetVersions() []Version

type GetWalletResponse ¶

type GetWalletResponse struct {
	Data WalletWithBalances `json:"data"`
}

func (*GetWalletResponse) GetData ¶

type GetWalletSummaryResponse ¶

type GetWalletSummaryResponse struct {
	AvailableFunds map[string]*big.Int `json:"availableFunds"`
	Balances       []BalanceWithAssets `json:"balances"`
	ExpirableFunds map[string]*big.Int `json:"expirableFunds"`
	ExpiredFunds   map[string]*big.Int `json:"expiredFunds"`
	HoldFunds      map[string]*big.Int `json:"holdFunds"`
}

func (*GetWalletSummaryResponse) GetAvailableFunds ¶

func (o *GetWalletSummaryResponse) GetAvailableFunds() map[string]*big.Int

func (*GetWalletSummaryResponse) GetBalances ¶

func (o *GetWalletSummaryResponse) GetBalances() []BalanceWithAssets

func (*GetWalletSummaryResponse) GetExpirableFunds ¶

func (o *GetWalletSummaryResponse) GetExpirableFunds() map[string]*big.Int

func (*GetWalletSummaryResponse) GetExpiredFunds ¶

func (o *GetWalletSummaryResponse) GetExpiredFunds() map[string]*big.Int

func (*GetWalletSummaryResponse) GetHoldFunds ¶

func (o *GetWalletSummaryResponse) GetHoldFunds() map[string]*big.Int

func (GetWalletSummaryResponse) MarshalJSON ¶

func (g GetWalletSummaryResponse) MarshalJSON() ([]byte, error)

func (*GetWalletSummaryResponse) UnmarshalJSON ¶

func (g *GetWalletSummaryResponse) UnmarshalJSON(data []byte) error

type GetWorkflowInstanceHistoryResponse ¶

type GetWorkflowInstanceHistoryResponse struct {
	Data []WorkflowInstanceHistory `json:"data"`
}

func (*GetWorkflowInstanceHistoryResponse) GetData ¶

type GetWorkflowInstanceHistoryStageResponse ¶

type GetWorkflowInstanceHistoryStageResponse struct {
	Data []WorkflowInstanceHistoryStage `json:"data"`
}

func (*GetWorkflowInstanceHistoryStageResponse) GetData ¶

type GetWorkflowInstanceResponse ¶

type GetWorkflowInstanceResponse struct {
	Data WorkflowInstance `json:"data"`
}

func (*GetWorkflowInstanceResponse) GetData ¶

type GetWorkflowResponse ¶

type GetWorkflowResponse struct {
	Data Workflow `json:"data"`
}

func (*GetWorkflowResponse) GetData ¶

func (o *GetWorkflowResponse) GetData() Workflow

type Hold ¶

type Hold struct {
	Description string   `json:"description"`
	Destination *Subject `json:"destination,omitempty"`
	// The unique ID of the hold.
	ID string `json:"id"`
	// Metadata associated with the hold.
	Metadata map[string]string `json:"metadata"`
	// The ID of the wallet the hold is associated with.
	WalletID string `json:"walletID"`
}

func (*Hold) GetDescription ¶

func (o *Hold) GetDescription() string

func (*Hold) GetDestination ¶

func (o *Hold) GetDestination() *Subject

func (*Hold) GetDestinationAccount ¶

func (o *Hold) GetDestinationAccount() *LedgerAccountSubject

func (*Hold) GetDestinationWallet ¶

func (o *Hold) GetDestinationWallet() *WalletSubject

func (*Hold) GetID ¶

func (o *Hold) GetID() string

func (*Hold) GetMetadata ¶

func (o *Hold) GetMetadata() map[string]string

func (*Hold) GetWalletID ¶

func (o *Hold) GetWalletID() string

type Key ¶

type Key struct {
	DataType string `json:"dataType"`
	Required bool   `json:"required"`
}

func (*Key) GetDataType ¶

func (o *Key) GetDataType() string

func (*Key) GetRequired ¶

func (o *Key) GetRequired() bool

type LedgerAccountSubject ¶

type LedgerAccountSubject struct {
	Identifier string `json:"identifier"`
	Type       string `json:"type"`
}

func (*LedgerAccountSubject) GetIdentifier ¶

func (o *LedgerAccountSubject) GetIdentifier() string

func (*LedgerAccountSubject) GetType ¶

func (o *LedgerAccountSubject) GetType() string

type LedgerInfo ¶

type LedgerInfo struct {
	Name    *string  `json:"name,omitempty"`
	Storage *Storage `json:"storage,omitempty"`
}

func (*LedgerInfo) GetName ¶

func (o *LedgerInfo) GetName() *string

func (*LedgerInfo) GetStorage ¶

func (o *LedgerInfo) GetStorage() *Storage

type LedgerInfoResponse ¶

type LedgerInfoResponse struct {
	Data *LedgerInfo `json:"data,omitempty"`
}

func (*LedgerInfoResponse) GetData ¶

func (o *LedgerInfoResponse) GetData() *LedgerInfo

type LedgerStorage ¶

type LedgerStorage struct {
	Driver  string   `json:"driver"`
	Ledgers []string `json:"ledgers"`
}

func (*LedgerStorage) GetDriver ¶

func (o *LedgerStorage) GetDriver() string

func (*LedgerStorage) GetLedgers ¶

func (o *LedgerStorage) GetLedgers() []string

type ListBalancesResponse ¶

type ListBalancesResponse struct {
	Cursor ListBalancesResponseCursor `json:"cursor"`
}

func (*ListBalancesResponse) GetCursor ¶

type ListBalancesResponseCursor ¶

type ListBalancesResponseCursor struct {
	Data     []Balance `json:"data"`
	HasMore  *bool     `json:"hasMore,omitempty"`
	Next     *string   `json:"next,omitempty"`
	PageSize int64     `json:"pageSize"`
	Previous *string   `json:"previous,omitempty"`
}

func (*ListBalancesResponseCursor) GetData ¶

func (o *ListBalancesResponseCursor) GetData() []Balance

func (*ListBalancesResponseCursor) GetHasMore ¶

func (o *ListBalancesResponseCursor) GetHasMore() *bool

func (*ListBalancesResponseCursor) GetNext ¶

func (o *ListBalancesResponseCursor) GetNext() *string

func (*ListBalancesResponseCursor) GetPageSize ¶

func (o *ListBalancesResponseCursor) GetPageSize() int64

func (*ListBalancesResponseCursor) GetPrevious ¶

func (o *ListBalancesResponseCursor) GetPrevious() *string

type ListClientsResponse ¶

type ListClientsResponse struct {
	Data []Client `json:"data,omitempty"`
}

func (*ListClientsResponse) GetData ¶

func (o *ListClientsResponse) GetData() []Client

type ListRunsResponse ¶

type ListRunsResponse struct {
	Data []WorkflowInstance `json:"data"`
}

func (*ListRunsResponse) GetData ¶

func (o *ListRunsResponse) GetData() []WorkflowInstance

type ListTriggersOccurrencesResponse ¶

type ListTriggersOccurrencesResponse struct {
	Data []TriggerOccurrence `json:"data"`
}

func (*ListTriggersOccurrencesResponse) GetData ¶

type ListTriggersResponse ¶

type ListTriggersResponse struct {
	Data []Trigger `json:"data"`
}

func (*ListTriggersResponse) GetData ¶

func (o *ListTriggersResponse) GetData() []Trigger

type ListUsersResponse ¶

type ListUsersResponse struct {
	Data []User `json:"data,omitempty"`
}

func (*ListUsersResponse) GetData ¶

func (o *ListUsersResponse) GetData() []User

type ListWalletsResponse ¶

type ListWalletsResponse struct {
	Cursor ListWalletsResponseCursor `json:"cursor"`
}

func (*ListWalletsResponse) GetCursor ¶

type ListWalletsResponseCursor ¶

type ListWalletsResponseCursor struct {
	Data     []Wallet `json:"data"`
	HasMore  *bool    `json:"hasMore,omitempty"`
	Next     *string  `json:"next,omitempty"`
	PageSize int64    `json:"pageSize"`
	Previous *string  `json:"previous,omitempty"`
}

func (*ListWalletsResponseCursor) GetData ¶

func (o *ListWalletsResponseCursor) GetData() []Wallet

func (*ListWalletsResponseCursor) GetHasMore ¶

func (o *ListWalletsResponseCursor) GetHasMore() *bool

func (*ListWalletsResponseCursor) GetNext ¶

func (o *ListWalletsResponseCursor) GetNext() *string

func (*ListWalletsResponseCursor) GetPageSize ¶

func (o *ListWalletsResponseCursor) GetPageSize() int64

func (*ListWalletsResponseCursor) GetPrevious ¶

func (o *ListWalletsResponseCursor) GetPrevious() *string

type ListWorkflowsResponse ¶

type ListWorkflowsResponse struct {
	Data []Workflow `json:"data"`
}

func (*ListWorkflowsResponse) GetData ¶

func (o *ListWorkflowsResponse) GetData() []Workflow

type Log ¶

type Log struct {
	Data map[string]any `json:"data"`
	Date time.Time      `json:"date"`
	Hash string         `json:"hash"`
	ID   int64          `json:"id"`
	Type Type           `json:"type"`
}

func (*Log) GetData ¶

func (o *Log) GetData() map[string]any

func (*Log) GetDate ¶

func (o *Log) GetDate() time.Time

func (*Log) GetHash ¶

func (o *Log) GetHash() string

func (*Log) GetID ¶

func (o *Log) GetID() int64

func (*Log) GetType ¶

func (o *Log) GetType() Type

func (Log) MarshalJSON ¶

func (l Log) MarshalJSON() ([]byte, error)

func (*Log) UnmarshalJSON ¶

func (l *Log) UnmarshalJSON(data []byte) error

type LogsCursorResponse ¶

type LogsCursorResponse struct {
	Cursor LogsCursorResponseCursor `json:"cursor"`
}

func (*LogsCursorResponse) GetCursor ¶

type LogsCursorResponseCursor ¶

type LogsCursorResponseCursor struct {
	Data     []Log   `json:"data"`
	HasMore  bool    `json:"hasMore"`
	Next     *string `json:"next,omitempty"`
	PageSize int64   `json:"pageSize"`
	Previous *string `json:"previous,omitempty"`
}

func (*LogsCursorResponseCursor) GetData ¶

func (o *LogsCursorResponseCursor) GetData() []Log

func (*LogsCursorResponseCursor) GetHasMore ¶

func (o *LogsCursorResponseCursor) GetHasMore() bool

func (*LogsCursorResponseCursor) GetNext ¶

func (o *LogsCursorResponseCursor) GetNext() *string

func (*LogsCursorResponseCursor) GetPageSize ¶

func (o *LogsCursorResponseCursor) GetPageSize() int64

func (*LogsCursorResponseCursor) GetPrevious ¶

func (o *LogsCursorResponseCursor) GetPrevious() *string

type MangoPayConfig ¶

type MangoPayConfig struct {
	APIKey   string `json:"apiKey"`
	ClientID string `json:"clientID"`
	Endpoint string `json:"endpoint"`
	Name     string `json:"name"`
	// The frequency at which the connector will try to fetch new BalanceTransaction objects from MangoPay API.
	//
	PollingPeriod *string `default:"120s" json:"pollingPeriod"`
}

func (*MangoPayConfig) GetAPIKey ¶

func (o *MangoPayConfig) GetAPIKey() string

func (*MangoPayConfig) GetClientID ¶

func (o *MangoPayConfig) GetClientID() string

func (*MangoPayConfig) GetEndpoint ¶

func (o *MangoPayConfig) GetEndpoint() string

func (*MangoPayConfig) GetName ¶

func (o *MangoPayConfig) GetName() string

func (*MangoPayConfig) GetPollingPeriod ¶

func (o *MangoPayConfig) GetPollingPeriod() *string

func (MangoPayConfig) MarshalJSON ¶

func (m MangoPayConfig) MarshalJSON() ([]byte, error)

func (*MangoPayConfig) UnmarshalJSON ¶

func (m *MangoPayConfig) UnmarshalJSON(data []byte) error

type Mapping ¶

type Mapping struct {
	Contracts []Contract `json:"contracts"`
}

func (*Mapping) GetContracts ¶

func (o *Mapping) GetContracts() []Contract

type MappingResponse ¶

type MappingResponse struct {
	Data *Mapping `json:"data,omitempty"`
}

func (*MappingResponse) GetData ¶

func (o *MappingResponse) GetData() *Mapping

type Metadata ¶

type Metadata struct {
}

Metadata - A set of key/value pairs that you can attach to a transfer object. It can be useful for storing additional information about the transfer in a structured format.

type MigrationInfo ¶

type MigrationInfo struct {
	Date    *time.Time `json:"date,omitempty"`
	Name    *string    `json:"name,omitempty"`
	State   *State     `json:"state,omitempty"`
	Version *int64     `json:"version,omitempty"`
}

func (*MigrationInfo) GetDate ¶

func (o *MigrationInfo) GetDate() *time.Time

func (*MigrationInfo) GetName ¶

func (o *MigrationInfo) GetName() *string

func (*MigrationInfo) GetState ¶

func (o *MigrationInfo) GetState() *State

func (*MigrationInfo) GetVersion ¶

func (o *MigrationInfo) GetVersion() *int64

func (MigrationInfo) MarshalJSON ¶

func (m MigrationInfo) MarshalJSON() ([]byte, error)

func (*MigrationInfo) UnmarshalJSON ¶

func (m *MigrationInfo) UnmarshalJSON(data []byte) error

type ModulrConfig ¶

type ModulrConfig struct {
	APIKey    string  `json:"apiKey"`
	APISecret string  `json:"apiSecret"`
	Endpoint  *string `json:"endpoint,omitempty"`
	Name      string  `json:"name"`
	// The frequency at which the connector will try to fetch new BalanceTransaction objects from Modulr API.
	//
	PollingPeriod *string `default:"120s" json:"pollingPeriod"`
}

func (*ModulrConfig) GetAPIKey ¶

func (o *ModulrConfig) GetAPIKey() string

func (*ModulrConfig) GetAPISecret ¶

func (o *ModulrConfig) GetAPISecret() string

func (*ModulrConfig) GetEndpoint ¶

func (o *ModulrConfig) GetEndpoint() *string

func (*ModulrConfig) GetName ¶

func (o *ModulrConfig) GetName() string

func (*ModulrConfig) GetPollingPeriod ¶

func (o *ModulrConfig) GetPollingPeriod() *string

func (ModulrConfig) MarshalJSON ¶

func (m ModulrConfig) MarshalJSON() ([]byte, error)

func (*ModulrConfig) UnmarshalJSON ¶

func (m *ModulrConfig) UnmarshalJSON(data []byte) error

type Monetary ¶

type Monetary struct {
	// The amount of the monetary value.
	Amount *big.Int `json:"amount"`
	// The asset of the monetary value.
	Asset string `json:"asset"`
}

func (*Monetary) GetAmount ¶

func (o *Monetary) GetAmount() *big.Int

func (*Monetary) GetAsset ¶

func (o *Monetary) GetAsset() string

func (Monetary) MarshalJSON ¶

func (m Monetary) MarshalJSON() ([]byte, error)

func (*Monetary) UnmarshalJSON ¶

func (m *Monetary) UnmarshalJSON(data []byte) error

type MoneycorpConfig ¶

type MoneycorpConfig struct {
	APIKey   string `json:"apiKey"`
	ClientID string `json:"clientID"`
	Endpoint string `json:"endpoint"`
	Name     string `json:"name"`
	// The frequency at which the connector will try to fetch new BalanceTransaction objects from MoneyCorp API.
	//
	PollingPeriod *string `default:"120s" json:"pollingPeriod"`
}

func (*MoneycorpConfig) GetAPIKey ¶

func (o *MoneycorpConfig) GetAPIKey() string

func (*MoneycorpConfig) GetClientID ¶

func (o *MoneycorpConfig) GetClientID() string

func (*MoneycorpConfig) GetEndpoint ¶

func (o *MoneycorpConfig) GetEndpoint() string

func (*MoneycorpConfig) GetName ¶

func (o *MoneycorpConfig) GetName() string

func (*MoneycorpConfig) GetPollingPeriod ¶

func (o *MoneycorpConfig) GetPollingPeriod() *string

func (MoneycorpConfig) MarshalJSON ¶

func (m MoneycorpConfig) MarshalJSON() ([]byte, error)

func (*MoneycorpConfig) UnmarshalJSON ¶

func (m *MoneycorpConfig) UnmarshalJSON(data []byte) error

type OrchestrationAccount ¶

type OrchestrationAccount struct {
	Address          string            `json:"address"`
	EffectiveVolumes map[string]Volume `json:"effectiveVolumes,omitempty"`
	Metadata         map[string]string `json:"metadata"`
	Volumes          map[string]Volume `json:"volumes,omitempty"`
}

func (*OrchestrationAccount) GetAddress ¶

func (o *OrchestrationAccount) GetAddress() string

func (*OrchestrationAccount) GetEffectiveVolumes ¶

func (o *OrchestrationAccount) GetEffectiveVolumes() map[string]Volume

func (*OrchestrationAccount) GetMetadata ¶

func (o *OrchestrationAccount) GetMetadata() map[string]string

func (*OrchestrationAccount) GetVolumes ¶

func (o *OrchestrationAccount) GetVolumes() map[string]Volume

type OrchestrationConnector ¶

type OrchestrationConnector string
const (
	OrchestrationConnectorStripe        OrchestrationConnector = "STRIPE"
	OrchestrationConnectorDummyPay      OrchestrationConnector = "DUMMY-PAY"
	OrchestrationConnectorWise          OrchestrationConnector = "WISE"
	OrchestrationConnectorModulr        OrchestrationConnector = "MODULR"
	OrchestrationConnectorCurrencyCloud OrchestrationConnector = "CURRENCY-CLOUD"
	OrchestrationConnectorBankingCircle OrchestrationConnector = "BANKING-CIRCLE"
	OrchestrationConnectorMangopay      OrchestrationConnector = "MANGOPAY"
	OrchestrationConnectorMoneycorp     OrchestrationConnector = "MONEYCORP"
)

func (OrchestrationConnector) ToPointer ¶

func (*OrchestrationConnector) UnmarshalJSON ¶

func (e *OrchestrationConnector) UnmarshalJSON(data []byte) error

type OrchestrationCreditWalletRequest ¶

type OrchestrationCreditWalletRequest struct {
	Amount Monetary `json:"amount"`
	// The balance to credit
	Balance *string `json:"balance,omitempty"`
	// Metadata associated with the wallet.
	Metadata  map[string]string `json:"metadata"`
	Reference *string           `json:"reference,omitempty"`
	Sources   []Subject         `json:"sources"`
	Timestamp *time.Time        `json:"timestamp,omitempty"`
}

func (*OrchestrationCreditWalletRequest) GetAmount ¶

func (*OrchestrationCreditWalletRequest) GetBalance ¶

func (o *OrchestrationCreditWalletRequest) GetBalance() *string

func (*OrchestrationCreditWalletRequest) GetMetadata ¶

func (o *OrchestrationCreditWalletRequest) GetMetadata() map[string]string

func (*OrchestrationCreditWalletRequest) GetReference ¶

func (o *OrchestrationCreditWalletRequest) GetReference() *string

func (*OrchestrationCreditWalletRequest) GetSources ¶

func (o *OrchestrationCreditWalletRequest) GetSources() []Subject

func (*OrchestrationCreditWalletRequest) GetTimestamp ¶

func (o *OrchestrationCreditWalletRequest) GetTimestamp() *time.Time

func (OrchestrationCreditWalletRequest) MarshalJSON ¶

func (o OrchestrationCreditWalletRequest) MarshalJSON() ([]byte, error)

func (*OrchestrationCreditWalletRequest) UnmarshalJSON ¶

func (o *OrchestrationCreditWalletRequest) UnmarshalJSON(data []byte) error

type OrchestrationListWalletsResponse ¶

type OrchestrationListWalletsResponse struct {
	Cursor OrchestrationListWalletsResponseCursor `json:"cursor"`
}

func (*OrchestrationListWalletsResponse) GetCursor ¶

type OrchestrationListWalletsResponseCursor ¶

type OrchestrationListWalletsResponseCursor struct {
	Data     []OrchestrationWallet `json:"data"`
	HasMore  *bool                 `json:"hasMore,omitempty"`
	Next     *string               `json:"next,omitempty"`
	PageSize int64                 `json:"pageSize"`
	Previous *string               `json:"previous,omitempty"`
}

func (*OrchestrationListWalletsResponseCursor) GetData ¶

func (*OrchestrationListWalletsResponseCursor) GetHasMore ¶

func (*OrchestrationListWalletsResponseCursor) GetNext ¶

func (*OrchestrationListWalletsResponseCursor) GetPageSize ¶

func (*OrchestrationListWalletsResponseCursor) GetPrevious ¶

type OrchestrationPayment ¶

type OrchestrationPayment struct {
	Adjustments          []OrchestrationPaymentAdjustment `json:"adjustments"`
	Asset                string                           `json:"asset"`
	ConnectorID          string                           `json:"connectorID"`
	CreatedAt            time.Time                        `json:"createdAt"`
	DestinationAccountID string                           `json:"destinationAccountID"`
	ID                   string                           `json:"id"`
	InitialAmount        *big.Int                         `json:"initialAmount"`
	Metadata             *OrchestrationPaymentMetadata    `json:"metadata"`
	Provider             *OrchestrationConnector          `json:"provider,omitempty"`
	Raw                  *OrchestrationPaymentRaw         `json:"raw"`
	Reference            string                           `json:"reference"`
	Scheme               OrchestrationPaymentScheme       `json:"scheme"`
	SourceAccountID      string                           `json:"sourceAccountID"`
	Status               OrchestrationPaymentStatus       `json:"status"`
	Type                 OrchestrationPaymentType         `json:"type"`
}

func (*OrchestrationPayment) GetAdjustments ¶

func (*OrchestrationPayment) GetAsset ¶

func (o *OrchestrationPayment) GetAsset() string

func (*OrchestrationPayment) GetConnectorID ¶

func (o *OrchestrationPayment) GetConnectorID() string

func (*OrchestrationPayment) GetCreatedAt ¶

func (o *OrchestrationPayment) GetCreatedAt() time.Time

func (*OrchestrationPayment) GetDestinationAccountID ¶

func (o *OrchestrationPayment) GetDestinationAccountID() string

func (*OrchestrationPayment) GetID ¶

func (o *OrchestrationPayment) GetID() string

func (*OrchestrationPayment) GetInitialAmount ¶

func (o *OrchestrationPayment) GetInitialAmount() *big.Int

func (*OrchestrationPayment) GetMetadata ¶

func (*OrchestrationPayment) GetProvider ¶

func (o *OrchestrationPayment) GetProvider() *OrchestrationConnector

func (*OrchestrationPayment) GetRaw ¶

func (*OrchestrationPayment) GetReference ¶

func (o *OrchestrationPayment) GetReference() string

func (*OrchestrationPayment) GetScheme ¶

func (*OrchestrationPayment) GetSourceAccountID ¶

func (o *OrchestrationPayment) GetSourceAccountID() string

func (*OrchestrationPayment) GetStatus ¶

func (*OrchestrationPayment) GetType ¶

func (OrchestrationPayment) MarshalJSON ¶

func (o OrchestrationPayment) MarshalJSON() ([]byte, error)

func (*OrchestrationPayment) UnmarshalJSON ¶

func (o *OrchestrationPayment) UnmarshalJSON(data []byte) error

type OrchestrationPaymentAdjustment ¶

type OrchestrationPaymentAdjustment struct {
	Absolute bool                              `json:"absolute"`
	Amount   *big.Int                          `json:"amount"`
	Date     time.Time                         `json:"date"`
	Raw      OrchestrationPaymentAdjustmentRaw `json:"raw"`
	Status   OrchestrationPaymentStatus        `json:"status"`
}

func (*OrchestrationPaymentAdjustment) GetAbsolute ¶

func (o *OrchestrationPaymentAdjustment) GetAbsolute() bool

func (*OrchestrationPaymentAdjustment) GetAmount ¶

func (o *OrchestrationPaymentAdjustment) GetAmount() *big.Int

func (*OrchestrationPaymentAdjustment) GetDate ¶

func (*OrchestrationPaymentAdjustment) GetRaw ¶

func (*OrchestrationPaymentAdjustment) GetStatus ¶

func (OrchestrationPaymentAdjustment) MarshalJSON ¶

func (o OrchestrationPaymentAdjustment) MarshalJSON() ([]byte, error)

func (*OrchestrationPaymentAdjustment) UnmarshalJSON ¶

func (o *OrchestrationPaymentAdjustment) UnmarshalJSON(data []byte) error

type OrchestrationPaymentAdjustmentRaw ¶

type OrchestrationPaymentAdjustmentRaw struct {
}

type OrchestrationPaymentMetadata ¶

type OrchestrationPaymentMetadata struct {
	Key *string `json:"key,omitempty"`
}

func (*OrchestrationPaymentMetadata) GetKey ¶

func (o *OrchestrationPaymentMetadata) GetKey() *string

type OrchestrationPaymentRaw ¶

type OrchestrationPaymentRaw struct {
}

type OrchestrationPaymentScheme ¶

type OrchestrationPaymentScheme string
const (
	OrchestrationPaymentSchemeVisa       OrchestrationPaymentScheme = "visa"
	OrchestrationPaymentSchemeMastercard OrchestrationPaymentScheme = "mastercard"
	OrchestrationPaymentSchemeAmex       OrchestrationPaymentScheme = "amex"
	OrchestrationPaymentSchemeDiners     OrchestrationPaymentScheme = "diners"
	OrchestrationPaymentSchemeDiscover   OrchestrationPaymentScheme = "discover"
	OrchestrationPaymentSchemeJcb        OrchestrationPaymentScheme = "jcb"
	OrchestrationPaymentSchemeUnionpay   OrchestrationPaymentScheme = "unionpay"
	OrchestrationPaymentSchemeSepaDebit  OrchestrationPaymentScheme = "sepa debit"
	OrchestrationPaymentSchemeSepaCredit OrchestrationPaymentScheme = "sepa credit"
	OrchestrationPaymentSchemeSepa       OrchestrationPaymentScheme = "sepa"
	OrchestrationPaymentSchemeApplePay   OrchestrationPaymentScheme = "apple pay"
	OrchestrationPaymentSchemeGooglePay  OrchestrationPaymentScheme = "google pay"
	OrchestrationPaymentSchemeA2a        OrchestrationPaymentScheme = "a2a"
	OrchestrationPaymentSchemeAchDebit   OrchestrationPaymentScheme = "ach debit"
	OrchestrationPaymentSchemeAch        OrchestrationPaymentScheme = "ach"
	OrchestrationPaymentSchemeRtp        OrchestrationPaymentScheme = "rtp"
	OrchestrationPaymentSchemeUnknown    OrchestrationPaymentScheme = "unknown"
	OrchestrationPaymentSchemeOther      OrchestrationPaymentScheme = "other"
)

func (OrchestrationPaymentScheme) ToPointer ¶

func (*OrchestrationPaymentScheme) UnmarshalJSON ¶

func (e *OrchestrationPaymentScheme) UnmarshalJSON(data []byte) error

type OrchestrationPaymentStatus ¶

type OrchestrationPaymentStatus string
const (
	OrchestrationPaymentStatusPending    OrchestrationPaymentStatus = "PENDING"
	OrchestrationPaymentStatusActive     OrchestrationPaymentStatus = "ACTIVE"
	OrchestrationPaymentStatusTerminated OrchestrationPaymentStatus = "TERMINATED"
	OrchestrationPaymentStatusFailed     OrchestrationPaymentStatus = "FAILED"
	OrchestrationPaymentStatusSucceeded  OrchestrationPaymentStatus = "SUCCEEDED"
	OrchestrationPaymentStatusCancelled  OrchestrationPaymentStatus = "CANCELLED"
)

func (OrchestrationPaymentStatus) ToPointer ¶

func (*OrchestrationPaymentStatus) UnmarshalJSON ¶

func (e *OrchestrationPaymentStatus) UnmarshalJSON(data []byte) error

type OrchestrationPaymentType ¶

type OrchestrationPaymentType string
const (
	OrchestrationPaymentTypePayIn    OrchestrationPaymentType = "PAY-IN"
	OrchestrationPaymentTypePayout   OrchestrationPaymentType = "PAYOUT"
	OrchestrationPaymentTypeTransfer OrchestrationPaymentType = "TRANSFER"
	OrchestrationPaymentTypeOther    OrchestrationPaymentType = "OTHER"
)

func (OrchestrationPaymentType) ToPointer ¶

func (*OrchestrationPaymentType) UnmarshalJSON ¶

func (e *OrchestrationPaymentType) UnmarshalJSON(data []byte) error

type OrchestrationPostTransaction ¶

type OrchestrationPostTransaction struct {
	Metadata  map[string]string                   `json:"metadata"`
	Postings  []Posting                           `json:"postings,omitempty"`
	Reference *string                             `json:"reference,omitempty"`
	Script    *OrchestrationPostTransactionScript `json:"script,omitempty"`
	Timestamp *time.Time                          `json:"timestamp,omitempty"`
}

func (*OrchestrationPostTransaction) GetMetadata ¶

func (o *OrchestrationPostTransaction) GetMetadata() map[string]string

func (*OrchestrationPostTransaction) GetPostings ¶

func (o *OrchestrationPostTransaction) GetPostings() []Posting

func (*OrchestrationPostTransaction) GetReference ¶

func (o *OrchestrationPostTransaction) GetReference() *string

func (*OrchestrationPostTransaction) GetScript ¶

func (*OrchestrationPostTransaction) GetTimestamp ¶

func (o *OrchestrationPostTransaction) GetTimestamp() *time.Time

func (OrchestrationPostTransaction) MarshalJSON ¶

func (o OrchestrationPostTransaction) MarshalJSON() ([]byte, error)

func (*OrchestrationPostTransaction) UnmarshalJSON ¶

func (o *OrchestrationPostTransaction) UnmarshalJSON(data []byte) error

type OrchestrationPostTransactionScript ¶

type OrchestrationPostTransactionScript struct {
	Plain string         `json:"plain"`
	Vars  map[string]any `json:"vars,omitempty"`
}

func (*OrchestrationPostTransactionScript) GetPlain ¶

func (*OrchestrationPostTransactionScript) GetVars ¶

type OrchestrationTransaction ¶

type OrchestrationTransaction struct {
	ID        *big.Int          `json:"id"`
	Metadata  map[string]string `json:"metadata"`
	Postings  []Posting         `json:"postings"`
	Reference *string           `json:"reference,omitempty"`
	Reverted  bool              `json:"reverted"`
	Timestamp time.Time         `json:"timestamp"`
}

func (*OrchestrationTransaction) GetID ¶

func (o *OrchestrationTransaction) GetID() *big.Int

func (*OrchestrationTransaction) GetMetadata ¶

func (o *OrchestrationTransaction) GetMetadata() map[string]string

func (*OrchestrationTransaction) GetPostings ¶

func (o *OrchestrationTransaction) GetPostings() []Posting

func (*OrchestrationTransaction) GetReference ¶

func (o *OrchestrationTransaction) GetReference() *string

func (*OrchestrationTransaction) GetReverted ¶

func (o *OrchestrationTransaction) GetReverted() bool

func (*OrchestrationTransaction) GetTimestamp ¶

func (o *OrchestrationTransaction) GetTimestamp() time.Time

func (OrchestrationTransaction) MarshalJSON ¶

func (o OrchestrationTransaction) MarshalJSON() ([]byte, error)

func (*OrchestrationTransaction) UnmarshalJSON ¶

func (o *OrchestrationTransaction) UnmarshalJSON(data []byte) error

type OrchestrationV2Transaction ¶

type OrchestrationV2Transaction struct {
	Metadata  map[string]string `json:"metadata"`
	Postings  []V2Posting       `json:"postings"`
	Reference *string           `json:"reference,omitempty"`
	Timestamp time.Time         `json:"timestamp"`
	Txid      *big.Int          `json:"txid"`
}

func (*OrchestrationV2Transaction) GetMetadata ¶

func (o *OrchestrationV2Transaction) GetMetadata() map[string]string

func (*OrchestrationV2Transaction) GetPostings ¶

func (o *OrchestrationV2Transaction) GetPostings() []V2Posting

func (*OrchestrationV2Transaction) GetReference ¶

func (o *OrchestrationV2Transaction) GetReference() *string

func (*OrchestrationV2Transaction) GetTimestamp ¶

func (o *OrchestrationV2Transaction) GetTimestamp() time.Time

func (*OrchestrationV2Transaction) GetTxid ¶

func (o *OrchestrationV2Transaction) GetTxid() *big.Int

func (OrchestrationV2Transaction) MarshalJSON ¶

func (o OrchestrationV2Transaction) MarshalJSON() ([]byte, error)

func (*OrchestrationV2Transaction) UnmarshalJSON ¶

func (o *OrchestrationV2Transaction) UnmarshalJSON(data []byte) error

type OrchestrationWallet ¶

type OrchestrationWallet struct {
	CreatedAt time.Time `json:"createdAt"`
	// The unique ID of the wallet.
	ID     string `json:"id"`
	Ledger string `json:"ledger"`
	// Metadata associated with the wallet.
	Metadata map[string]string `json:"metadata"`
	Name     string            `json:"name"`
}

func (*OrchestrationWallet) GetCreatedAt ¶

func (o *OrchestrationWallet) GetCreatedAt() time.Time

func (*OrchestrationWallet) GetID ¶

func (o *OrchestrationWallet) GetID() string

func (*OrchestrationWallet) GetLedger ¶

func (o *OrchestrationWallet) GetLedger() string

func (*OrchestrationWallet) GetMetadata ¶

func (o *OrchestrationWallet) GetMetadata() map[string]string

func (*OrchestrationWallet) GetName ¶

func (o *OrchestrationWallet) GetName() string

func (OrchestrationWallet) MarshalJSON ¶

func (o OrchestrationWallet) MarshalJSON() ([]byte, error)

func (*OrchestrationWallet) UnmarshalJSON ¶

func (o *OrchestrationWallet) UnmarshalJSON(data []byte) error

type Payment ¶

type Payment struct {
	Adjustments          []PaymentAdjustment `json:"adjustments"`
	Amount               *big.Int            `json:"amount"`
	Asset                string              `json:"asset"`
	ConnectorID          string              `json:"connectorID"`
	CreatedAt            time.Time           `json:"createdAt"`
	DestinationAccountID string              `json:"destinationAccountID"`
	ID                   string              `json:"id"`
	InitialAmount        *big.Int            `json:"initialAmount"`
	Metadata             map[string]string   `json:"metadata"`
	Provider             *Connector          `json:"provider,omitempty"`
	Raw                  *Raw                `json:"raw"`
	Reference            string              `json:"reference"`
	Scheme               PaymentScheme       `json:"scheme"`
	SourceAccountID      string              `json:"sourceAccountID"`
	Status               PaymentStatus       `json:"status"`
	Type                 PaymentType         `json:"type"`
}

func (*Payment) GetAdjustments ¶

func (o *Payment) GetAdjustments() []PaymentAdjustment

func (*Payment) GetAmount ¶

func (o *Payment) GetAmount() *big.Int

func (*Payment) GetAsset ¶

func (o *Payment) GetAsset() string

func (*Payment) GetConnectorID ¶

func (o *Payment) GetConnectorID() string

func (*Payment) GetCreatedAt ¶

func (o *Payment) GetCreatedAt() time.Time

func (*Payment) GetDestinationAccountID ¶

func (o *Payment) GetDestinationAccountID() string

func (*Payment) GetID ¶

func (o *Payment) GetID() string

func (*Payment) GetInitialAmount ¶

func (o *Payment) GetInitialAmount() *big.Int

func (*Payment) GetMetadata ¶

func (o *Payment) GetMetadata() map[string]string

func (*Payment) GetProvider ¶

func (o *Payment) GetProvider() *Connector

func (*Payment) GetRaw ¶

func (o *Payment) GetRaw() *Raw

func (*Payment) GetReference ¶

func (o *Payment) GetReference() string

func (*Payment) GetScheme ¶

func (o *Payment) GetScheme() PaymentScheme

func (*Payment) GetSourceAccountID ¶

func (o *Payment) GetSourceAccountID() string

func (*Payment) GetStatus ¶

func (o *Payment) GetStatus() PaymentStatus

func (*Payment) GetType ¶

func (o *Payment) GetType() PaymentType

func (Payment) MarshalJSON ¶

func (p Payment) MarshalJSON() ([]byte, error)

func (*Payment) UnmarshalJSON ¶

func (p *Payment) UnmarshalJSON(data []byte) error

type PaymentAdjustment ¶

type PaymentAdjustment struct {
	Amount    *big.Int             `json:"amount"`
	CreatedAt time.Time            `json:"createdAt"`
	Raw       PaymentAdjustmentRaw `json:"raw"`
	Reference string               `json:"reference"`
	Status    PaymentStatus        `json:"status"`
}

func (*PaymentAdjustment) GetAmount ¶

func (o *PaymentAdjustment) GetAmount() *big.Int

func (*PaymentAdjustment) GetCreatedAt ¶

func (o *PaymentAdjustment) GetCreatedAt() time.Time

func (*PaymentAdjustment) GetRaw ¶

func (*PaymentAdjustment) GetReference ¶

func (o *PaymentAdjustment) GetReference() string

func (*PaymentAdjustment) GetStatus ¶

func (o *PaymentAdjustment) GetStatus() PaymentStatus

func (PaymentAdjustment) MarshalJSON ¶

func (p PaymentAdjustment) MarshalJSON() ([]byte, error)

func (*PaymentAdjustment) UnmarshalJSON ¶

func (p *PaymentAdjustment) UnmarshalJSON(data []byte) error

type PaymentAdjustmentRaw ¶

type PaymentAdjustmentRaw struct {
}

type PaymentRequest ¶

type PaymentRequest struct {
	Amount               *big.Int      `json:"amount"`
	Asset                string        `json:"asset"`
	ConnectorID          string        `json:"connectorID"`
	CreatedAt            time.Time     `json:"createdAt"`
	DestinationAccountID *string       `json:"destinationAccountID,omitempty"`
	Reference            string        `json:"reference"`
	Scheme               PaymentScheme `json:"scheme"`
	SourceAccountID      *string       `json:"sourceAccountID,omitempty"`
	Status               PaymentStatus `json:"status"`
	Type                 PaymentType   `json:"type"`
}

func (*PaymentRequest) GetAmount ¶

func (o *PaymentRequest) GetAmount() *big.Int

func (*PaymentRequest) GetAsset ¶

func (o *PaymentRequest) GetAsset() string

func (*PaymentRequest) GetConnectorID ¶

func (o *PaymentRequest) GetConnectorID() string

func (*PaymentRequest) GetCreatedAt ¶

func (o *PaymentRequest) GetCreatedAt() time.Time

func (*PaymentRequest) GetDestinationAccountID ¶

func (o *PaymentRequest) GetDestinationAccountID() *string

func (*PaymentRequest) GetReference ¶

func (o *PaymentRequest) GetReference() string

func (*PaymentRequest) GetScheme ¶

func (o *PaymentRequest) GetScheme() PaymentScheme

func (*PaymentRequest) GetSourceAccountID ¶

func (o *PaymentRequest) GetSourceAccountID() *string

func (*PaymentRequest) GetStatus ¶

func (o *PaymentRequest) GetStatus() PaymentStatus

func (*PaymentRequest) GetType ¶

func (o *PaymentRequest) GetType() PaymentType

func (PaymentRequest) MarshalJSON ¶

func (p PaymentRequest) MarshalJSON() ([]byte, error)

func (*PaymentRequest) UnmarshalJSON ¶

func (p *PaymentRequest) UnmarshalJSON(data []byte) error

type PaymentResponse ¶

type PaymentResponse struct {
	Data Payment `json:"data"`
}

PaymentResponse - OK

func (*PaymentResponse) GetData ¶

func (o *PaymentResponse) GetData() Payment

type PaymentScheme ¶

type PaymentScheme string
const (
	PaymentSchemeUnknown    PaymentScheme = "unknown"
	PaymentSchemeOther      PaymentScheme = "other"
	PaymentSchemeVisa       PaymentScheme = "visa"
	PaymentSchemeMastercard PaymentScheme = "mastercard"
	PaymentSchemeAmex       PaymentScheme = "amex"
	PaymentSchemeDiners     PaymentScheme = "diners"
	PaymentSchemeDiscover   PaymentScheme = "discover"
	PaymentSchemeJcb        PaymentScheme = "jcb"
	PaymentSchemeUnionpay   PaymentScheme = "unionpay"
	PaymentSchemeAlipay     PaymentScheme = "alipay"
	PaymentSchemeCup        PaymentScheme = "cup"
	PaymentSchemeSepaDebit  PaymentScheme = "sepa debit"
	PaymentSchemeSepaCredit PaymentScheme = "sepa credit"
	PaymentSchemeSepa       PaymentScheme = "sepa"
	PaymentSchemeApplePay   PaymentScheme = "apple pay"
	PaymentSchemeGooglePay  PaymentScheme = "google pay"
	PaymentSchemeDoku       PaymentScheme = "doku"
	PaymentSchemeDragonpay  PaymentScheme = "dragonpay"
	PaymentSchemeMaestro    PaymentScheme = "maestro"
	PaymentSchemeMolpay     PaymentScheme = "molpay"
	PaymentSchemeA2a        PaymentScheme = "a2a"
	PaymentSchemeAchDebit   PaymentScheme = "ach debit"
	PaymentSchemeAch        PaymentScheme = "ach"
	PaymentSchemeRtp        PaymentScheme = "rtp"
)

func (PaymentScheme) ToPointer ¶

func (e PaymentScheme) ToPointer() *PaymentScheme

func (*PaymentScheme) UnmarshalJSON ¶

func (e *PaymentScheme) UnmarshalJSON(data []byte) error

type PaymentStatus ¶

type PaymentStatus string
const (
	PaymentStatusPending         PaymentStatus = "PENDING"
	PaymentStatusSucceeded       PaymentStatus = "SUCCEEDED"
	PaymentStatusCancelled       PaymentStatus = "CANCELLED"
	PaymentStatusFailed          PaymentStatus = "FAILED"
	PaymentStatusExpired         PaymentStatus = "EXPIRED"
	PaymentStatusRefunded        PaymentStatus = "REFUNDED"
	PaymentStatusRefundedFailure PaymentStatus = "REFUNDED_FAILURE"
	PaymentStatusDispute         PaymentStatus = "DISPUTE"
	PaymentStatusDisputeWon      PaymentStatus = "DISPUTE_WON"
	PaymentStatusDisputeLost     PaymentStatus = "DISPUTE_LOST"
	PaymentStatusOther           PaymentStatus = "OTHER"
)

func (PaymentStatus) ToPointer ¶

func (e PaymentStatus) ToPointer() *PaymentStatus

func (*PaymentStatus) UnmarshalJSON ¶

func (e *PaymentStatus) UnmarshalJSON(data []byte) error

type PaymentType ¶

type PaymentType string
const (
	PaymentTypePayIn    PaymentType = "PAY-IN"
	PaymentTypePayout   PaymentType = "PAYOUT"
	PaymentTypeTransfer PaymentType = "TRANSFER"
	PaymentTypeOther    PaymentType = "OTHER"
)

func (PaymentType) ToPointer ¶

func (e PaymentType) ToPointer() *PaymentType

func (*PaymentType) UnmarshalJSON ¶

func (e *PaymentType) UnmarshalJSON(data []byte) error

type PaymentsAccount ¶

type PaymentsAccount struct {
	AccountName  string    `json:"accountName"`
	ConnectorID  string    `json:"connectorID"`
	CreatedAt    time.Time `json:"createdAt"`
	DefaultAsset string    `json:"defaultAsset"`
	// Deprecated field: This will be removed in a future release, please migrate away from it as soon as possible.
	DefaultCurrency string              `json:"defaultCurrency"`
	ID              string              `json:"id"`
	Metadata        map[string]string   `json:"metadata"`
	Pools           []string            `json:"pools,omitempty"`
	Provider        *string             `json:"provider,omitempty"`
	Raw             *PaymentsAccountRaw `json:"raw"`
	Reference       string              `json:"reference"`
	Type            AccountType         `json:"type"`
}

func (*PaymentsAccount) GetAccountName ¶

func (o *PaymentsAccount) GetAccountName() string

func (*PaymentsAccount) GetConnectorID ¶

func (o *PaymentsAccount) GetConnectorID() string

func (*PaymentsAccount) GetCreatedAt ¶

func (o *PaymentsAccount) GetCreatedAt() time.Time

func (*PaymentsAccount) GetDefaultAsset ¶

func (o *PaymentsAccount) GetDefaultAsset() string

func (*PaymentsAccount) GetDefaultCurrency ¶

func (o *PaymentsAccount) GetDefaultCurrency() string

func (*PaymentsAccount) GetID ¶

func (o *PaymentsAccount) GetID() string

func (*PaymentsAccount) GetMetadata ¶

func (o *PaymentsAccount) GetMetadata() map[string]string

func (*PaymentsAccount) GetPools ¶

func (o *PaymentsAccount) GetPools() []string

func (*PaymentsAccount) GetProvider ¶

func (o *PaymentsAccount) GetProvider() *string

func (*PaymentsAccount) GetRaw ¶

func (o *PaymentsAccount) GetRaw() *PaymentsAccountRaw

func (*PaymentsAccount) GetReference ¶

func (o *PaymentsAccount) GetReference() string

func (*PaymentsAccount) GetType ¶

func (o *PaymentsAccount) GetType() AccountType

func (PaymentsAccount) MarshalJSON ¶

func (p PaymentsAccount) MarshalJSON() ([]byte, error)

func (*PaymentsAccount) UnmarshalJSON ¶

func (p *PaymentsAccount) UnmarshalJSON(data []byte) error

type PaymentsAccountRaw ¶

type PaymentsAccountRaw struct {
}

type PaymentsAccountResponse ¶

type PaymentsAccountResponse struct {
	Data PaymentsAccount `json:"data"`
}

PaymentsAccountResponse - OK

func (*PaymentsAccountResponse) GetData ¶

type PaymentsCursor ¶

type PaymentsCursor struct {
	Cursor PaymentsCursorCursor `json:"cursor"`
}

PaymentsCursor - OK

func (*PaymentsCursor) GetCursor ¶

func (o *PaymentsCursor) GetCursor() PaymentsCursorCursor

type PaymentsCursorCursor ¶

type PaymentsCursorCursor struct {
	Data     []Payment `json:"data"`
	HasMore  bool      `json:"hasMore"`
	Next     *string   `json:"next,omitempty"`
	PageSize int64     `json:"pageSize"`
	Previous *string   `json:"previous,omitempty"`
}

func (*PaymentsCursorCursor) GetData ¶

func (o *PaymentsCursorCursor) GetData() []Payment

func (*PaymentsCursorCursor) GetHasMore ¶

func (o *PaymentsCursorCursor) GetHasMore() bool

func (*PaymentsCursorCursor) GetNext ¶

func (o *PaymentsCursorCursor) GetNext() *string

func (*PaymentsCursorCursor) GetPageSize ¶

func (o *PaymentsCursorCursor) GetPageSize() int64

func (*PaymentsCursorCursor) GetPrevious ¶

func (o *PaymentsCursorCursor) GetPrevious() *string

type PaymentsErrorsEnum ¶

type PaymentsErrorsEnum string
const (
	PaymentsErrorsEnumInternal   PaymentsErrorsEnum = "INTERNAL"
	PaymentsErrorsEnumValidation PaymentsErrorsEnum = "VALIDATION"
	PaymentsErrorsEnumNotFound   PaymentsErrorsEnum = "NOT_FOUND"
)

func (PaymentsErrorsEnum) ToPointer ¶

func (e PaymentsErrorsEnum) ToPointer() *PaymentsErrorsEnum

func (*PaymentsErrorsEnum) UnmarshalJSON ¶

func (e *PaymentsErrorsEnum) UnmarshalJSON(data []byte) error

type PoliciesCursorResponse ¶

type PoliciesCursorResponse struct {
	Cursor PoliciesCursorResponseCursor `json:"cursor"`
}

PoliciesCursorResponse - OK

func (*PoliciesCursorResponse) GetCursor ¶

type PoliciesCursorResponseCursor ¶

type PoliciesCursorResponseCursor struct {
	Data     []Policy `json:"data"`
	HasMore  bool     `json:"hasMore"`
	Next     *string  `json:"next,omitempty"`
	PageSize int64    `json:"pageSize"`
	Previous *string  `json:"previous,omitempty"`
}

func (*PoliciesCursorResponseCursor) GetData ¶

func (o *PoliciesCursorResponseCursor) GetData() []Policy

func (*PoliciesCursorResponseCursor) GetHasMore ¶

func (o *PoliciesCursorResponseCursor) GetHasMore() bool

func (*PoliciesCursorResponseCursor) GetNext ¶

func (o *PoliciesCursorResponseCursor) GetNext() *string

func (*PoliciesCursorResponseCursor) GetPageSize ¶

func (o *PoliciesCursorResponseCursor) GetPageSize() int64

func (*PoliciesCursorResponseCursor) GetPrevious ¶

func (o *PoliciesCursorResponseCursor) GetPrevious() *string

type Policy ¶

type Policy struct {
	CreatedAt      time.Time      `json:"createdAt"`
	ID             string         `json:"id"`
	LedgerName     string         `json:"ledgerName"`
	LedgerQuery    map[string]any `json:"ledgerQuery"`
	Name           string         `json:"name"`
	PaymentsPoolID string         `json:"paymentsPoolID"`
}

func (*Policy) GetCreatedAt ¶

func (o *Policy) GetCreatedAt() time.Time

func (*Policy) GetID ¶

func (o *Policy) GetID() string

func (*Policy) GetLedgerName ¶

func (o *Policy) GetLedgerName() string

func (*Policy) GetLedgerQuery ¶

func (o *Policy) GetLedgerQuery() map[string]any

func (*Policy) GetName ¶

func (o *Policy) GetName() string

func (*Policy) GetPaymentsPoolID ¶

func (o *Policy) GetPaymentsPoolID() string

func (Policy) MarshalJSON ¶

func (p Policy) MarshalJSON() ([]byte, error)

func (*Policy) UnmarshalJSON ¶

func (p *Policy) UnmarshalJSON(data []byte) error

type PolicyRequest ¶

type PolicyRequest struct {
	LedgerName     string         `json:"ledgerName"`
	LedgerQuery    map[string]any `json:"ledgerQuery"`
	Name           string         `json:"name"`
	PaymentsPoolID string         `json:"paymentsPoolID"`
}

func (*PolicyRequest) GetLedgerName ¶

func (o *PolicyRequest) GetLedgerName() string

func (*PolicyRequest) GetLedgerQuery ¶

func (o *PolicyRequest) GetLedgerQuery() map[string]any

func (*PolicyRequest) GetName ¶

func (o *PolicyRequest) GetName() string

func (*PolicyRequest) GetPaymentsPoolID ¶

func (o *PolicyRequest) GetPaymentsPoolID() string

type PolicyResponse ¶

type PolicyResponse struct {
	Data Policy `json:"data"`
}

PolicyResponse - OK

func (*PolicyResponse) GetData ¶

func (o *PolicyResponse) GetData() Policy

type Pool ¶

type Pool struct {
	Accounts []string `json:"accounts"`
	ID       string   `json:"id"`
	Name     string   `json:"name"`
}

func (*Pool) GetAccounts ¶

func (o *Pool) GetAccounts() []string

func (*Pool) GetID ¶

func (o *Pool) GetID() string

func (*Pool) GetName ¶

func (o *Pool) GetName() string

type PoolBalance ¶

type PoolBalance struct {
	Amount *big.Int `json:"amount"`
	Asset  string   `json:"asset"`
}

func (*PoolBalance) GetAmount ¶

func (o *PoolBalance) GetAmount() *big.Int

func (*PoolBalance) GetAsset ¶

func (o *PoolBalance) GetAsset() string

func (PoolBalance) MarshalJSON ¶

func (p PoolBalance) MarshalJSON() ([]byte, error)

func (*PoolBalance) UnmarshalJSON ¶

func (p *PoolBalance) UnmarshalJSON(data []byte) error

type PoolBalances ¶

type PoolBalances struct {
	Balances []PoolBalance `json:"balances"`
}

func (*PoolBalances) GetBalances ¶

func (o *PoolBalances) GetBalances() []PoolBalance

type PoolBalancesResponse ¶

type PoolBalancesResponse struct {
	Data PoolBalances `json:"data"`
}

PoolBalancesResponse - OK

func (*PoolBalancesResponse) GetData ¶

func (o *PoolBalancesResponse) GetData() PoolBalances

type PoolRequest ¶

type PoolRequest struct {
	AccountIDs []string `json:"accountIDs"`
	Name       string   `json:"name"`
}

func (*PoolRequest) GetAccountIDs ¶

func (o *PoolRequest) GetAccountIDs() []string

func (*PoolRequest) GetName ¶

func (o *PoolRequest) GetName() string

type PoolResponse ¶

type PoolResponse struct {
	Data Pool `json:"data"`
}

PoolResponse - OK

func (*PoolResponse) GetData ¶

func (o *PoolResponse) GetData() Pool

type PoolsCursor ¶

type PoolsCursor struct {
	Cursor PoolsCursorCursor `json:"cursor"`
}

PoolsCursor - OK

func (*PoolsCursor) GetCursor ¶

func (o *PoolsCursor) GetCursor() PoolsCursorCursor

type PoolsCursorCursor ¶

type PoolsCursorCursor struct {
	Data     []Pool  `json:"data"`
	HasMore  bool    `json:"hasMore"`
	Next     *string `json:"next,omitempty"`
	PageSize int64   `json:"pageSize"`
	Previous *string `json:"previous,omitempty"`
}

func (*PoolsCursorCursor) GetData ¶

func (o *PoolsCursorCursor) GetData() []Pool

func (*PoolsCursorCursor) GetHasMore ¶

func (o *PoolsCursorCursor) GetHasMore() bool

func (*PoolsCursorCursor) GetNext ¶

func (o *PoolsCursorCursor) GetNext() *string

func (*PoolsCursorCursor) GetPageSize ¶

func (o *PoolsCursorCursor) GetPageSize() int64

func (*PoolsCursorCursor) GetPrevious ¶

func (o *PoolsCursorCursor) GetPrevious() *string

type PostTransaction ¶

type PostTransaction struct {
	Metadata  map[string]any         `json:"metadata,omitempty"`
	Postings  []Posting              `json:"postings,omitempty"`
	Reference *string                `json:"reference,omitempty"`
	Script    *PostTransactionScript `json:"script,omitempty"`
	Timestamp *time.Time             `json:"timestamp,omitempty"`
}

func (*PostTransaction) GetMetadata ¶

func (o *PostTransaction) GetMetadata() map[string]any

func (*PostTransaction) GetPostings ¶

func (o *PostTransaction) GetPostings() []Posting

func (*PostTransaction) GetReference ¶

func (o *PostTransaction) GetReference() *string

func (*PostTransaction) GetScript ¶

func (o *PostTransaction) GetScript() *PostTransactionScript

func (*PostTransaction) GetTimestamp ¶

func (o *PostTransaction) GetTimestamp() *time.Time

func (PostTransaction) MarshalJSON ¶

func (p PostTransaction) MarshalJSON() ([]byte, error)

func (*PostTransaction) UnmarshalJSON ¶

func (p *PostTransaction) UnmarshalJSON(data []byte) error

type PostTransactionScript ¶

type PostTransactionScript struct {
	Plain string         `json:"plain"`
	Vars  map[string]any `json:"vars,omitempty"`
}

func (*PostTransactionScript) GetPlain ¶

func (o *PostTransactionScript) GetPlain() string

func (*PostTransactionScript) GetVars ¶

func (o *PostTransactionScript) GetVars() map[string]any

type Posting ¶

type Posting struct {
	Amount      *big.Int `json:"amount"`
	Asset       string   `json:"asset"`
	Destination string   `json:"destination"`
	Source      string   `json:"source"`
}

func (*Posting) GetAmount ¶

func (o *Posting) GetAmount() *big.Int

func (*Posting) GetAsset ¶

func (o *Posting) GetAsset() string

func (*Posting) GetDestination ¶

func (o *Posting) GetDestination() string

func (*Posting) GetSource ¶

func (o *Posting) GetSource() string

func (Posting) MarshalJSON ¶

func (p Posting) MarshalJSON() ([]byte, error)

func (*Posting) UnmarshalJSON ¶

func (p *Posting) UnmarshalJSON(data []byte) error

type Query ¶

type Query struct {
	After    []string  `json:"after,omitempty"`
	Cursor   *string   `json:"cursor,omitempty"`
	Ledgers  []string  `json:"ledgers,omitempty"`
	PageSize *int64    `json:"pageSize,omitempty"`
	Policy   *string   `json:"policy,omitempty"`
	Raw      *QueryRaw `json:"raw,omitempty"`
	Sort     *string   `json:"sort,omitempty"`
	Target   *string   `json:"target,omitempty"`
	Terms    []string  `json:"terms,omitempty"`
}

func (*Query) GetAfter ¶

func (o *Query) GetAfter() []string

func (*Query) GetCursor ¶

func (o *Query) GetCursor() *string

func (*Query) GetLedgers ¶

func (o *Query) GetLedgers() []string

func (*Query) GetPageSize ¶

func (o *Query) GetPageSize() *int64

func (*Query) GetPolicy ¶

func (o *Query) GetPolicy() *string

func (*Query) GetRaw ¶

func (o *Query) GetRaw() *QueryRaw

func (*Query) GetSort ¶

func (o *Query) GetSort() *string

func (*Query) GetTarget ¶

func (o *Query) GetTarget() *string

func (*Query) GetTerms ¶

func (o *Query) GetTerms() []string

type QueryRaw ¶

type QueryRaw struct {
}

type Raw ¶

type Raw struct {
}

type ReadClientResponse ¶

type ReadClientResponse struct {
	Data *Client `json:"data,omitempty"`
}

func (*ReadClientResponse) GetData ¶

func (o *ReadClientResponse) GetData() *Client

type ReadTriggerResponse ¶

type ReadTriggerResponse struct {
	Data Trigger `json:"data"`
}

func (*ReadTriggerResponse) GetData ¶

func (o *ReadTriggerResponse) GetData() Trigger

type ReadUserResponse ¶

type ReadUserResponse struct {
	Data *User `json:"data,omitempty"`
}

func (*ReadUserResponse) GetData ¶

func (o *ReadUserResponse) GetData() *User

type Reconciliation ¶

type Reconciliation struct {
	CreatedAt            time.Time           `json:"createdAt"`
	DriftBalances        map[string]*big.Int `json:"driftBalances"`
	Error                *string             `json:"error,omitempty"`
	ID                   string              `json:"id"`
	LedgerBalances       map[string]*big.Int `json:"ledgerBalances"`
	PaymentsBalances     map[string]*big.Int `json:"paymentsBalances"`
	PolicyID             string              `json:"policyID"`
	ReconciledAtLedger   time.Time           `json:"reconciledAtLedger"`
	ReconciledAtPayments time.Time           `json:"reconciledAtPayments"`
	Status               string              `json:"status"`
}

func (*Reconciliation) GetCreatedAt ¶

func (o *Reconciliation) GetCreatedAt() time.Time

func (*Reconciliation) GetDriftBalances ¶

func (o *Reconciliation) GetDriftBalances() map[string]*big.Int

func (*Reconciliation) GetError ¶

func (o *Reconciliation) GetError() *string

func (*Reconciliation) GetID ¶

func (o *Reconciliation) GetID() string

func (*Reconciliation) GetLedgerBalances ¶

func (o *Reconciliation) GetLedgerBalances() map[string]*big.Int

func (*Reconciliation) GetPaymentsBalances ¶

func (o *Reconciliation) GetPaymentsBalances() map[string]*big.Int

func (*Reconciliation) GetPolicyID ¶

func (o *Reconciliation) GetPolicyID() string

func (*Reconciliation) GetReconciledAtLedger ¶

func (o *Reconciliation) GetReconciledAtLedger() time.Time

func (*Reconciliation) GetReconciledAtPayments ¶

func (o *Reconciliation) GetReconciledAtPayments() time.Time

func (*Reconciliation) GetStatus ¶

func (o *Reconciliation) GetStatus() string

func (Reconciliation) MarshalJSON ¶

func (r Reconciliation) MarshalJSON() ([]byte, error)

func (*Reconciliation) UnmarshalJSON ¶

func (r *Reconciliation) UnmarshalJSON(data []byte) error

type ReconciliationRequest ¶

type ReconciliationRequest struct {
	ReconciledAtLedger   time.Time `json:"reconciledAtLedger"`
	ReconciledAtPayments time.Time `json:"reconciledAtPayments"`
}

func (*ReconciliationRequest) GetReconciledAtLedger ¶

func (o *ReconciliationRequest) GetReconciledAtLedger() time.Time

func (*ReconciliationRequest) GetReconciledAtPayments ¶

func (o *ReconciliationRequest) GetReconciledAtPayments() time.Time

func (ReconciliationRequest) MarshalJSON ¶

func (r ReconciliationRequest) MarshalJSON() ([]byte, error)

func (*ReconciliationRequest) UnmarshalJSON ¶

func (r *ReconciliationRequest) UnmarshalJSON(data []byte) error

type ReconciliationResponse ¶

type ReconciliationResponse struct {
	Data Reconciliation `json:"data"`
}

ReconciliationResponse - OK

func (*ReconciliationResponse) GetData ¶

type ReconciliationsCursorResponse ¶

type ReconciliationsCursorResponse struct {
	Cursor ReconciliationsCursorResponseCursor `json:"cursor"`
}

ReconciliationsCursorResponse - OK

func (*ReconciliationsCursorResponse) GetCursor ¶

type ReconciliationsCursorResponseCursor ¶

type ReconciliationsCursorResponseCursor struct {
	Data     []Reconciliation `json:"data"`
	HasMore  bool             `json:"hasMore"`
	Next     *string          `json:"next,omitempty"`
	PageSize int64            `json:"pageSize"`
	Previous *string          `json:"previous,omitempty"`
}

func (*ReconciliationsCursorResponseCursor) GetData ¶

func (*ReconciliationsCursorResponseCursor) GetHasMore ¶

func (o *ReconciliationsCursorResponseCursor) GetHasMore() bool

func (*ReconciliationsCursorResponseCursor) GetNext ¶

func (*ReconciliationsCursorResponseCursor) GetPageSize ¶

func (o *ReconciliationsCursorResponseCursor) GetPageSize() int64

func (*ReconciliationsCursorResponseCursor) GetPrevious ¶

func (o *ReconciliationsCursorResponseCursor) GetPrevious() *string

type Response ¶

type Response struct {
	Cursor *ResponseCursor `json:"cursor,omitempty"`
	// The payload
	Data map[string]any `json:"data,omitempty"`
}

func (*Response) GetCursor ¶

func (o *Response) GetCursor() *ResponseCursor

func (*Response) GetData ¶

func (o *Response) GetData() map[string]any

type ResponseCursor ¶

type ResponseCursor struct {
	Data     []map[string]any `json:"data,omitempty"`
	HasMore  *bool            `json:"hasMore,omitempty"`
	Next     *string          `json:"next,omitempty"`
	PageSize *int64           `json:"pageSize,omitempty"`
	Previous *string          `json:"previous,omitempty"`
	Total    *Total           `json:"total,omitempty"`
}

func (*ResponseCursor) GetData ¶

func (o *ResponseCursor) GetData() []map[string]any

func (*ResponseCursor) GetHasMore ¶

func (o *ResponseCursor) GetHasMore() *bool

func (*ResponseCursor) GetNext ¶

func (o *ResponseCursor) GetNext() *string

func (*ResponseCursor) GetPageSize ¶

func (o *ResponseCursor) GetPageSize() *int64

func (*ResponseCursor) GetPrevious ¶

func (o *ResponseCursor) GetPrevious() *string

func (*ResponseCursor) GetTotal ¶

func (o *ResponseCursor) GetTotal() *Total

type ReverseTransferInitiationRequest ¶

type ReverseTransferInitiationRequest struct {
	Amount      *big.Int          `json:"amount"`
	Asset       string            `json:"asset"`
	Description string            `json:"description"`
	Metadata    map[string]string `json:"metadata"`
	Reference   string            `json:"reference"`
}

func (*ReverseTransferInitiationRequest) GetAmount ¶

func (o *ReverseTransferInitiationRequest) GetAmount() *big.Int

func (*ReverseTransferInitiationRequest) GetAsset ¶

func (*ReverseTransferInitiationRequest) GetDescription ¶

func (o *ReverseTransferInitiationRequest) GetDescription() string

func (*ReverseTransferInitiationRequest) GetMetadata ¶

func (o *ReverseTransferInitiationRequest) GetMetadata() map[string]string

func (*ReverseTransferInitiationRequest) GetReference ¶

func (o *ReverseTransferInitiationRequest) GetReference() string

func (ReverseTransferInitiationRequest) MarshalJSON ¶

func (r ReverseTransferInitiationRequest) MarshalJSON() ([]byte, error)

func (*ReverseTransferInitiationRequest) UnmarshalJSON ¶

func (r *ReverseTransferInitiationRequest) UnmarshalJSON(data []byte) error

type RunWorkflowResponse ¶

type RunWorkflowResponse struct {
	Data WorkflowInstance `json:"data"`
}

func (*RunWorkflowResponse) GetData ¶

type Schemas ¶

type Schemas struct {
	ResponseType string `json:"responseType"`
}

func (*Schemas) GetResponseType ¶

func (o *Schemas) GetResponseType() string

type Scheme ¶

type Scheme string
const (
	SchemeVisa       Scheme = "visa"
	SchemeMastercard Scheme = "mastercard"
	SchemeAmex       Scheme = "amex"
	SchemeDiners     Scheme = "diners"
	SchemeDiscover   Scheme = "discover"
	SchemeJcb        Scheme = "jcb"
	SchemeUnionpay   Scheme = "unionpay"
	SchemeSepaDebit  Scheme = "sepa debit"
	SchemeSepaCredit Scheme = "sepa credit"
	SchemeSepa       Scheme = "sepa"
	SchemeApplePay   Scheme = "apple pay"
	SchemeGooglePay  Scheme = "google pay"
	SchemeA2a        Scheme = "a2a"
	SchemeAchDebit   Scheme = "ach debit"
	SchemeAch        Scheme = "ach"
	SchemeRtp        Scheme = "rtp"
	SchemeUnknown    Scheme = "unknown"
	SchemeOther      Scheme = "other"
)

func (Scheme) ToPointer ¶

func (e Scheme) ToPointer() *Scheme

func (*Scheme) UnmarshalJSON ¶

func (e *Scheme) UnmarshalJSON(data []byte) error

type Script ¶

type Script struct {
	Metadata map[string]any `json:"metadata,omitempty"`
	Plain    string         `json:"plain"`
	// Reference to attach to the generated transaction
	Reference *string        `json:"reference,omitempty"`
	Vars      map[string]any `json:"vars,omitempty"`
}

func (*Script) GetMetadata ¶

func (o *Script) GetMetadata() map[string]any

func (*Script) GetPlain ¶

func (o *Script) GetPlain() string

func (*Script) GetReference ¶

func (o *Script) GetReference() *string

func (*Script) GetVars ¶

func (o *Script) GetVars() map[string]any

type ScriptResponse ¶

type ScriptResponse struct {
	Details      *string      `json:"details,omitempty"`
	ErrorCode    *ErrorsEnum  `json:"errorCode,omitempty"`
	ErrorMessage *string      `json:"errorMessage,omitempty"`
	Transaction  *Transaction `json:"transaction,omitempty"`
}

func (*ScriptResponse) GetDetails ¶

func (o *ScriptResponse) GetDetails() *string

func (*ScriptResponse) GetErrorCode ¶

func (o *ScriptResponse) GetErrorCode() *ErrorsEnum

func (*ScriptResponse) GetErrorMessage ¶

func (o *ScriptResponse) GetErrorMessage() *string

func (*ScriptResponse) GetTransaction ¶

func (o *ScriptResponse) GetTransaction() *Transaction

type Secret ¶

type Secret struct {
	Clear      string         `json:"clear"`
	ID         string         `json:"id"`
	LastDigits string         `json:"lastDigits"`
	Metadata   map[string]any `json:"metadata,omitempty"`
	Name       string         `json:"name"`
}

func (*Secret) GetClear ¶

func (o *Secret) GetClear() string

func (*Secret) GetID ¶

func (o *Secret) GetID() string

func (*Secret) GetLastDigits ¶

func (o *Secret) GetLastDigits() string

func (*Secret) GetMetadata ¶

func (o *Secret) GetMetadata() map[string]any

func (*Secret) GetName ¶

func (o *Secret) GetName() string

type Security ¶

type Security struct {
	ClientID     *string `security:"scheme,type=oauth2,subtype=client_credentials,name=clientID"`
	ClientSecret *string `security:"scheme,type=oauth2,subtype=client_credentials,name=clientSecret"`
	TokenURL     *string `default:"/api/auth/oauth/token"`
}

func (*Security) GetClientID ¶

func (o *Security) GetClientID() *string

func (*Security) GetClientSecret ¶

func (o *Security) GetClientSecret() *string

func (*Security) GetTokenURL ¶

func (o *Security) GetTokenURL() *string

func (Security) MarshalJSON ¶

func (s Security) MarshalJSON() ([]byte, error)

func (*Security) UnmarshalJSON ¶

func (s *Security) UnmarshalJSON(data []byte) error

type ServerInfo ¶

type ServerInfo struct {
	Version string `json:"version"`
}

func (*ServerInfo) GetVersion ¶

func (o *ServerInfo) GetVersion() string

type Stage ¶

type Stage struct {
	StageSend      *StageSend
	StageDelay     *StageDelay
	StageWaitEvent *StageWaitEvent
	Update         *Update

	Type StageType
}

func CreateStageStageDelay ¶

func CreateStageStageDelay(stageDelay StageDelay) Stage

func CreateStageStageSend ¶

func CreateStageStageSend(stageSend StageSend) Stage

func CreateStageStageWaitEvent ¶

func CreateStageStageWaitEvent(stageWaitEvent StageWaitEvent) Stage

func CreateStageUpdate ¶

func CreateStageUpdate(update Update) Stage

func (Stage) MarshalJSON ¶

func (u Stage) MarshalJSON() ([]byte, error)

func (*Stage) UnmarshalJSON ¶

func (u *Stage) UnmarshalJSON(data []byte) error

type StageDelay ¶

type StageDelay struct {
	Duration *string    `json:"duration,omitempty"`
	Until    *time.Time `json:"until,omitempty"`
}

func (*StageDelay) GetDuration ¶

func (o *StageDelay) GetDuration() *string

func (*StageDelay) GetUntil ¶

func (o *StageDelay) GetUntil() *time.Time

func (StageDelay) MarshalJSON ¶

func (s StageDelay) MarshalJSON() ([]byte, error)

func (*StageDelay) UnmarshalJSON ¶

func (s *StageDelay) UnmarshalJSON(data []byte) error

type StageSend ¶

type StageSend struct {
	Amount      *Monetary             `json:"amount,omitempty"`
	Destination *StageSendDestination `json:"destination,omitempty"`
	Metadata    map[string]string     `json:"metadata,omitempty"`
	Source      *StageSendSource      `json:"source,omitempty"`
	Timestamp   *time.Time            `json:"timestamp,omitempty"`
}

func (*StageSend) GetAmount ¶

func (o *StageSend) GetAmount() *Monetary

func (*StageSend) GetDestination ¶

func (o *StageSend) GetDestination() *StageSendDestination

func (*StageSend) GetMetadata ¶

func (o *StageSend) GetMetadata() map[string]string

func (*StageSend) GetSource ¶

func (o *StageSend) GetSource() *StageSendSource

func (*StageSend) GetTimestamp ¶

func (o *StageSend) GetTimestamp() *time.Time

func (StageSend) MarshalJSON ¶

func (s StageSend) MarshalJSON() ([]byte, error)

func (*StageSend) UnmarshalJSON ¶

func (s *StageSend) UnmarshalJSON(data []byte) error

type StageSendDestination ¶

type StageSendDestination struct {
	Account *StageSendDestinationAccount `json:"account,omitempty"`
	Payment *StageSendDestinationPayment `json:"payment,omitempty"`
	Wallet  *StageSendDestinationWallet  `json:"wallet,omitempty"`
}

func (*StageSendDestination) GetAccount ¶

func (*StageSendDestination) GetPayment ¶

func (*StageSendDestination) GetWallet ¶

type StageSendDestinationAccount ¶

type StageSendDestinationAccount struct {
	ID     string  `json:"id"`
	Ledger *string `json:"ledger,omitempty"`
}

func (*StageSendDestinationAccount) GetID ¶

func (*StageSendDestinationAccount) GetLedger ¶

func (o *StageSendDestinationAccount) GetLedger() *string

type StageSendDestinationPayment ¶

type StageSendDestinationPayment struct {
	Psp string `json:"psp"`
}

func (*StageSendDestinationPayment) GetPsp ¶

func (o *StageSendDestinationPayment) GetPsp() string

type StageSendDestinationWallet ¶

type StageSendDestinationWallet struct {
	Balance *string `json:"balance,omitempty"`
	ID      string  `json:"id"`
}

func (*StageSendDestinationWallet) GetBalance ¶

func (o *StageSendDestinationWallet) GetBalance() *string

func (*StageSendDestinationWallet) GetID ¶

type StageSendSource ¶

type StageSendSource struct {
	Account *StageSendSourceAccount `json:"account,omitempty"`
	Payment *StageSendSourcePayment `json:"payment,omitempty"`
	Wallet  *StageSendSourceWallet  `json:"wallet,omitempty"`
}

func (*StageSendSource) GetAccount ¶

func (o *StageSendSource) GetAccount() *StageSendSourceAccount

func (*StageSendSource) GetPayment ¶

func (o *StageSendSource) GetPayment() *StageSendSourcePayment

func (*StageSendSource) GetWallet ¶

func (o *StageSendSource) GetWallet() *StageSendSourceWallet

type StageSendSourceAccount ¶

type StageSendSourceAccount struct {
	ID     string  `json:"id"`
	Ledger *string `json:"ledger,omitempty"`
}

func (*StageSendSourceAccount) GetID ¶

func (o *StageSendSourceAccount) GetID() string

func (*StageSendSourceAccount) GetLedger ¶

func (o *StageSendSourceAccount) GetLedger() *string

type StageSendSourcePayment ¶

type StageSendSourcePayment struct {
	ID string `json:"id"`
}

func (*StageSendSourcePayment) GetID ¶

func (o *StageSendSourcePayment) GetID() string

type StageSendSourceWallet ¶

type StageSendSourceWallet struct {
	Balance *string `json:"balance,omitempty"`
	ID      string  `json:"id"`
}

func (*StageSendSourceWallet) GetBalance ¶

func (o *StageSendSourceWallet) GetBalance() *string

func (*StageSendSourceWallet) GetID ¶

func (o *StageSendSourceWallet) GetID() string

type StageStatus ¶

type StageStatus struct {
	Error        *string    `json:"error,omitempty"`
	InstanceID   string     `json:"instanceID"`
	Stage        float64    `json:"stage"`
	StartedAt    time.Time  `json:"startedAt"`
	TerminatedAt *time.Time `json:"terminatedAt,omitempty"`
}

func (*StageStatus) GetError ¶

func (o *StageStatus) GetError() *string

func (*StageStatus) GetInstanceID ¶

func (o *StageStatus) GetInstanceID() string

func (*StageStatus) GetStage ¶

func (o *StageStatus) GetStage() float64

func (*StageStatus) GetStartedAt ¶

func (o *StageStatus) GetStartedAt() time.Time

func (*StageStatus) GetTerminatedAt ¶

func (o *StageStatus) GetTerminatedAt() *time.Time

func (StageStatus) MarshalJSON ¶

func (s StageStatus) MarshalJSON() ([]byte, error)

func (*StageStatus) UnmarshalJSON ¶

func (s *StageStatus) UnmarshalJSON(data []byte) error

type StageType ¶

type StageType string
const (
	StageTypeStageSend      StageType = "StageSend"
	StageTypeStageDelay     StageType = "StageDelay"
	StageTypeStageWaitEvent StageType = "StageWaitEvent"
	StageTypeUpdate         StageType = "Update"
)

type StageWaitEvent ¶

type StageWaitEvent struct {
	Event string `json:"event"`
}

func (*StageWaitEvent) GetEvent ¶

func (o *StageWaitEvent) GetEvent() string

type State ¶

type State string
const (
	StateToDo State = "TO DO"
	StateDone State = "DONE"
)

func (State) ToPointer ¶

func (e State) ToPointer() *State

func (*State) UnmarshalJSON ¶

func (e *State) UnmarshalJSON(data []byte) error

type Stats ¶

type Stats struct {
	Accounts     int64 `json:"accounts"`
	Transactions int64 `json:"transactions"`
}

func (*Stats) GetAccounts ¶

func (o *Stats) GetAccounts() int64

func (*Stats) GetTransactions ¶

func (o *Stats) GetTransactions() int64

type StatsResponse ¶

type StatsResponse struct {
	Data Stats `json:"data"`
}

func (*StatsResponse) GetData ¶

func (o *StatsResponse) GetData() Stats

type Status ¶

type Status string
const (
	StatusWaitingForValidation Status = "WAITING_FOR_VALIDATION"
	StatusProcessing           Status = "PROCESSING"
	StatusProcessed            Status = "PROCESSED"
	StatusFailed               Status = "FAILED"
	StatusRejected             Status = "REJECTED"
	StatusValidated            Status = "VALIDATED"
)

func (Status) ToPointer ¶

func (e Status) ToPointer() *Status

func (*Status) UnmarshalJSON ¶

func (e *Status) UnmarshalJSON(data []byte) error

type Storage ¶

type Storage struct {
	Migrations []MigrationInfo `json:"migrations,omitempty"`
}

func (*Storage) GetMigrations ¶

func (o *Storage) GetMigrations() []MigrationInfo

type StripeConfig ¶

type StripeConfig struct {
	APIKey string `json:"apiKey"`
	Name   string `json:"name"`
	// Number of BalanceTransaction to fetch at each polling interval.
	//
	PageSize *int64 `default:"10" json:"pageSize"`
	// The frequency at which the connector will try to fetch new BalanceTransaction objects from Stripe API.
	//
	PollingPeriod *string `default:"120s" json:"pollingPeriod"`
}

func (*StripeConfig) GetAPIKey ¶

func (o *StripeConfig) GetAPIKey() string

func (*StripeConfig) GetName ¶

func (o *StripeConfig) GetName() string

func (*StripeConfig) GetPageSize ¶

func (o *StripeConfig) GetPageSize() *int64

func (*StripeConfig) GetPollingPeriod ¶

func (o *StripeConfig) GetPollingPeriod() *string

func (StripeConfig) MarshalJSON ¶

func (s StripeConfig) MarshalJSON() ([]byte, error)

func (*StripeConfig) UnmarshalJSON ¶

func (s *StripeConfig) UnmarshalJSON(data []byte) error

type Subject ¶

type Subject struct {
	LedgerAccountSubject *LedgerAccountSubject
	WalletSubject        *WalletSubject

	Type SubjectType
}

func CreateSubjectAccount ¶

func CreateSubjectAccount(account LedgerAccountSubject) Subject

func CreateSubjectWallet ¶

func CreateSubjectWallet(wallet WalletSubject) Subject

func (Subject) MarshalJSON ¶

func (u Subject) MarshalJSON() ([]byte, error)

func (*Subject) UnmarshalJSON ¶

func (u *Subject) UnmarshalJSON(data []byte) error

type SubjectType ¶

type SubjectType string
const (
	SubjectTypeAccount SubjectType = "ACCOUNT"
	SubjectTypeWallet  SubjectType = "WALLET"
)

type TaskBankingCircle ¶

type TaskBankingCircle struct {
	ConnectorID string                 `json:"connectorID"`
	CreatedAt   time.Time              `json:"createdAt"`
	Descriptor  Descriptor             `json:"descriptor"`
	Error       *string                `json:"error,omitempty"`
	ID          string                 `json:"id"`
	State       TaskBankingCircleState `json:"state"`
	Status      PaymentStatus          `json:"status"`
	UpdatedAt   time.Time              `json:"updatedAt"`
}

func (*TaskBankingCircle) GetConnectorID ¶

func (o *TaskBankingCircle) GetConnectorID() string

func (*TaskBankingCircle) GetCreatedAt ¶

func (o *TaskBankingCircle) GetCreatedAt() time.Time

func (*TaskBankingCircle) GetDescriptor ¶

func (o *TaskBankingCircle) GetDescriptor() Descriptor

func (*TaskBankingCircle) GetError ¶

func (o *TaskBankingCircle) GetError() *string

func (*TaskBankingCircle) GetID ¶

func (o *TaskBankingCircle) GetID() string

func (*TaskBankingCircle) GetState ¶

func (*TaskBankingCircle) GetStatus ¶

func (o *TaskBankingCircle) GetStatus() PaymentStatus

func (*TaskBankingCircle) GetUpdatedAt ¶

func (o *TaskBankingCircle) GetUpdatedAt() time.Time

func (TaskBankingCircle) MarshalJSON ¶

func (t TaskBankingCircle) MarshalJSON() ([]byte, error)

func (*TaskBankingCircle) UnmarshalJSON ¶

func (t *TaskBankingCircle) UnmarshalJSON(data []byte) error

type TaskBankingCircleState ¶

type TaskBankingCircleState struct {
}

type TaskCurrencyCloud ¶

type TaskCurrencyCloud struct {
	ConnectorID string                      `json:"connectorID"`
	CreatedAt   time.Time                   `json:"createdAt"`
	Descriptor  TaskCurrencyCloudDescriptor `json:"descriptor"`
	Error       *string                     `json:"error,omitempty"`
	ID          string                      `json:"id"`
	State       TaskCurrencyCloudState      `json:"state"`
	Status      PaymentStatus               `json:"status"`
	UpdatedAt   time.Time                   `json:"updatedAt"`
}

func (*TaskCurrencyCloud) GetConnectorID ¶

func (o *TaskCurrencyCloud) GetConnectorID() string

func (*TaskCurrencyCloud) GetCreatedAt ¶

func (o *TaskCurrencyCloud) GetCreatedAt() time.Time

func (*TaskCurrencyCloud) GetDescriptor ¶

func (*TaskCurrencyCloud) GetError ¶

func (o *TaskCurrencyCloud) GetError() *string

func (*TaskCurrencyCloud) GetID ¶

func (o *TaskCurrencyCloud) GetID() string

func (*TaskCurrencyCloud) GetState ¶

func (*TaskCurrencyCloud) GetStatus ¶

func (o *TaskCurrencyCloud) GetStatus() PaymentStatus

func (*TaskCurrencyCloud) GetUpdatedAt ¶

func (o *TaskCurrencyCloud) GetUpdatedAt() time.Time

func (TaskCurrencyCloud) MarshalJSON ¶

func (t TaskCurrencyCloud) MarshalJSON() ([]byte, error)

func (*TaskCurrencyCloud) UnmarshalJSON ¶

func (t *TaskCurrencyCloud) UnmarshalJSON(data []byte) error

type TaskCurrencyCloudDescriptor ¶

type TaskCurrencyCloudDescriptor struct {
	Name *string `json:"name,omitempty"`
}

func (*TaskCurrencyCloudDescriptor) GetName ¶

func (o *TaskCurrencyCloudDescriptor) GetName() *string

type TaskCurrencyCloudState ¶

type TaskCurrencyCloudState struct {
}

type TaskDummyPay ¶

type TaskDummyPay struct {
	ConnectorID string                 `json:"connectorID"`
	CreatedAt   time.Time              `json:"createdAt"`
	Descriptor  TaskDummyPayDescriptor `json:"descriptor"`
	Error       *string                `json:"error,omitempty"`
	ID          string                 `json:"id"`
	State       TaskDummyPayState      `json:"state"`
	Status      PaymentStatus          `json:"status"`
	UpdatedAt   time.Time              `json:"updatedAt"`
}

func (*TaskDummyPay) GetConnectorID ¶

func (o *TaskDummyPay) GetConnectorID() string

func (*TaskDummyPay) GetCreatedAt ¶

func (o *TaskDummyPay) GetCreatedAt() time.Time

func (*TaskDummyPay) GetDescriptor ¶

func (o *TaskDummyPay) GetDescriptor() TaskDummyPayDescriptor

func (*TaskDummyPay) GetError ¶

func (o *TaskDummyPay) GetError() *string

func (*TaskDummyPay) GetID ¶

func (o *TaskDummyPay) GetID() string

func (*TaskDummyPay) GetState ¶

func (o *TaskDummyPay) GetState() TaskDummyPayState

func (*TaskDummyPay) GetStatus ¶

func (o *TaskDummyPay) GetStatus() PaymentStatus

func (*TaskDummyPay) GetUpdatedAt ¶

func (o *TaskDummyPay) GetUpdatedAt() time.Time

func (TaskDummyPay) MarshalJSON ¶

func (t TaskDummyPay) MarshalJSON() ([]byte, error)

func (*TaskDummyPay) UnmarshalJSON ¶

func (t *TaskDummyPay) UnmarshalJSON(data []byte) error

type TaskDummyPayDescriptor ¶

type TaskDummyPayDescriptor struct {
	FileName *string `json:"fileName,omitempty"`
	Key      *string `json:"key,omitempty"`
	Name     *string `json:"name,omitempty"`
}

func (*TaskDummyPayDescriptor) GetFileName ¶

func (o *TaskDummyPayDescriptor) GetFileName() *string

func (*TaskDummyPayDescriptor) GetKey ¶

func (o *TaskDummyPayDescriptor) GetKey() *string

func (*TaskDummyPayDescriptor) GetName ¶

func (o *TaskDummyPayDescriptor) GetName() *string

type TaskDummyPayState ¶

type TaskDummyPayState struct {
}

type TaskMangoPay ¶

type TaskMangoPay struct {
	ConnectorID string                 `json:"connectorID"`
	CreatedAt   time.Time              `json:"createdAt"`
	Descriptor  TaskMangoPayDescriptor `json:"descriptor"`
	Error       *string                `json:"error,omitempty"`
	ID          string                 `json:"id"`
	State       TaskMangoPayState      `json:"state"`
	Status      PaymentStatus          `json:"status"`
	UpdatedAt   time.Time              `json:"updatedAt"`
}

func (*TaskMangoPay) GetConnectorID ¶

func (o *TaskMangoPay) GetConnectorID() string

func (*TaskMangoPay) GetCreatedAt ¶

func (o *TaskMangoPay) GetCreatedAt() time.Time

func (*TaskMangoPay) GetDescriptor ¶

func (o *TaskMangoPay) GetDescriptor() TaskMangoPayDescriptor

func (*TaskMangoPay) GetError ¶

func (o *TaskMangoPay) GetError() *string

func (*TaskMangoPay) GetID ¶

func (o *TaskMangoPay) GetID() string

func (*TaskMangoPay) GetState ¶

func (o *TaskMangoPay) GetState() TaskMangoPayState

func (*TaskMangoPay) GetStatus ¶

func (o *TaskMangoPay) GetStatus() PaymentStatus

func (*TaskMangoPay) GetUpdatedAt ¶

func (o *TaskMangoPay) GetUpdatedAt() time.Time

func (TaskMangoPay) MarshalJSON ¶

func (t TaskMangoPay) MarshalJSON() ([]byte, error)

func (*TaskMangoPay) UnmarshalJSON ¶

func (t *TaskMangoPay) UnmarshalJSON(data []byte) error

type TaskMangoPayDescriptor ¶

type TaskMangoPayDescriptor struct {
	Key    *string `json:"key,omitempty"`
	Name   *string `json:"name,omitempty"`
	UserID *string `json:"userID,omitempty"`
}

func (*TaskMangoPayDescriptor) GetKey ¶

func (o *TaskMangoPayDescriptor) GetKey() *string

func (*TaskMangoPayDescriptor) GetName ¶

func (o *TaskMangoPayDescriptor) GetName() *string

func (*TaskMangoPayDescriptor) GetUserID ¶

func (o *TaskMangoPayDescriptor) GetUserID() *string

type TaskMangoPayState ¶

type TaskMangoPayState struct {
}

type TaskModulr ¶

type TaskModulr struct {
	ConnectorID string               `json:"connectorID"`
	CreatedAt   time.Time            `json:"createdAt"`
	Descriptor  TaskModulrDescriptor `json:"descriptor"`
	Error       *string              `json:"error,omitempty"`
	ID          string               `json:"id"`
	State       TaskModulrState      `json:"state"`
	Status      PaymentStatus        `json:"status"`
	UpdatedAt   time.Time            `json:"updatedAt"`
}

func (*TaskModulr) GetConnectorID ¶

func (o *TaskModulr) GetConnectorID() string

func (*TaskModulr) GetCreatedAt ¶

func (o *TaskModulr) GetCreatedAt() time.Time

func (*TaskModulr) GetDescriptor ¶

func (o *TaskModulr) GetDescriptor() TaskModulrDescriptor

func (*TaskModulr) GetError ¶

func (o *TaskModulr) GetError() *string

func (*TaskModulr) GetID ¶

func (o *TaskModulr) GetID() string

func (*TaskModulr) GetState ¶

func (o *TaskModulr) GetState() TaskModulrState

func (*TaskModulr) GetStatus ¶

func (o *TaskModulr) GetStatus() PaymentStatus

func (*TaskModulr) GetUpdatedAt ¶

func (o *TaskModulr) GetUpdatedAt() time.Time

func (TaskModulr) MarshalJSON ¶

func (t TaskModulr) MarshalJSON() ([]byte, error)

func (*TaskModulr) UnmarshalJSON ¶

func (t *TaskModulr) UnmarshalJSON(data []byte) error

type TaskModulrDescriptor ¶

type TaskModulrDescriptor struct {
	AccountID *string `json:"accountID,omitempty"`
	Key       *string `json:"key,omitempty"`
	Name      *string `json:"name,omitempty"`
}

func (*TaskModulrDescriptor) GetAccountID ¶

func (o *TaskModulrDescriptor) GetAccountID() *string

func (*TaskModulrDescriptor) GetKey ¶

func (o *TaskModulrDescriptor) GetKey() *string

func (*TaskModulrDescriptor) GetName ¶

func (o *TaskModulrDescriptor) GetName() *string

type TaskModulrState ¶

type TaskModulrState struct {
}

type TaskMoneycorp ¶

type TaskMoneycorp struct {
	ConnectorID string                  `json:"connectorID"`
	CreatedAt   time.Time               `json:"createdAt"`
	Descriptor  TaskMoneycorpDescriptor `json:"descriptor"`
	Error       *string                 `json:"error,omitempty"`
	ID          string                  `json:"id"`
	State       TaskMoneycorpState      `json:"state"`
	Status      PaymentStatus           `json:"status"`
	UpdatedAt   time.Time               `json:"updatedAt"`
}

func (*TaskMoneycorp) GetConnectorID ¶

func (o *TaskMoneycorp) GetConnectorID() string

func (*TaskMoneycorp) GetCreatedAt ¶

func (o *TaskMoneycorp) GetCreatedAt() time.Time

func (*TaskMoneycorp) GetDescriptor ¶

func (o *TaskMoneycorp) GetDescriptor() TaskMoneycorpDescriptor

func (*TaskMoneycorp) GetError ¶

func (o *TaskMoneycorp) GetError() *string

func (*TaskMoneycorp) GetID ¶

func (o *TaskMoneycorp) GetID() string

func (*TaskMoneycorp) GetState ¶

func (o *TaskMoneycorp) GetState() TaskMoneycorpState

func (*TaskMoneycorp) GetStatus ¶

func (o *TaskMoneycorp) GetStatus() PaymentStatus

func (*TaskMoneycorp) GetUpdatedAt ¶

func (o *TaskMoneycorp) GetUpdatedAt() time.Time

func (TaskMoneycorp) MarshalJSON ¶

func (t TaskMoneycorp) MarshalJSON() ([]byte, error)

func (*TaskMoneycorp) UnmarshalJSON ¶

func (t *TaskMoneycorp) UnmarshalJSON(data []byte) error

type TaskMoneycorpDescriptor ¶

type TaskMoneycorpDescriptor struct {
	AccountID *string `json:"accountID,omitempty"`
	Key       *string `json:"key,omitempty"`
	Name      *string `json:"name,omitempty"`
}

func (*TaskMoneycorpDescriptor) GetAccountID ¶

func (o *TaskMoneycorpDescriptor) GetAccountID() *string

func (*TaskMoneycorpDescriptor) GetKey ¶

func (o *TaskMoneycorpDescriptor) GetKey() *string

func (*TaskMoneycorpDescriptor) GetName ¶

func (o *TaskMoneycorpDescriptor) GetName() *string

type TaskMoneycorpState ¶

type TaskMoneycorpState struct {
}

type TaskResponse ¶

type TaskResponse struct {
	Data TaskResponseData `json:"data"`
}

TaskResponse - OK

func (*TaskResponse) GetData ¶

func (o *TaskResponse) GetData() TaskResponseData

type TaskResponseData ¶

type TaskResponseData struct {
	TaskStripe        *TaskStripe
	TaskWise          *TaskWise
	TaskCurrencyCloud *TaskCurrencyCloud
	TaskDummyPay      *TaskDummyPay
	TaskModulr        *TaskModulr
	TaskBankingCircle *TaskBankingCircle
	TaskMangoPay      *TaskMangoPay
	TaskMoneycorp     *TaskMoneycorp

	Type TaskResponseDataType
}

func CreateTaskResponseDataTaskBankingCircle ¶

func CreateTaskResponseDataTaskBankingCircle(taskBankingCircle TaskBankingCircle) TaskResponseData

func CreateTaskResponseDataTaskCurrencyCloud ¶

func CreateTaskResponseDataTaskCurrencyCloud(taskCurrencyCloud TaskCurrencyCloud) TaskResponseData

func CreateTaskResponseDataTaskDummyPay ¶

func CreateTaskResponseDataTaskDummyPay(taskDummyPay TaskDummyPay) TaskResponseData

func CreateTaskResponseDataTaskMangoPay ¶

func CreateTaskResponseDataTaskMangoPay(taskMangoPay TaskMangoPay) TaskResponseData

func CreateTaskResponseDataTaskModulr ¶

func CreateTaskResponseDataTaskModulr(taskModulr TaskModulr) TaskResponseData

func CreateTaskResponseDataTaskMoneycorp ¶

func CreateTaskResponseDataTaskMoneycorp(taskMoneycorp TaskMoneycorp) TaskResponseData

func CreateTaskResponseDataTaskStripe ¶

func CreateTaskResponseDataTaskStripe(taskStripe TaskStripe) TaskResponseData

func CreateTaskResponseDataTaskWise ¶

func CreateTaskResponseDataTaskWise(taskWise TaskWise) TaskResponseData

func (TaskResponseData) MarshalJSON ¶

func (u TaskResponseData) MarshalJSON() ([]byte, error)

func (*TaskResponseData) UnmarshalJSON ¶

func (u *TaskResponseData) UnmarshalJSON(data []byte) error

type TaskResponseDataType ¶

type TaskResponseDataType string
const (
	TaskResponseDataTypeTaskStripe        TaskResponseDataType = "TaskStripe"
	TaskResponseDataTypeTaskWise          TaskResponseDataType = "TaskWise"
	TaskResponseDataTypeTaskCurrencyCloud TaskResponseDataType = "TaskCurrencyCloud"
	TaskResponseDataTypeTaskDummyPay      TaskResponseDataType = "TaskDummyPay"
	TaskResponseDataTypeTaskModulr        TaskResponseDataType = "TaskModulr"
	TaskResponseDataTypeTaskBankingCircle TaskResponseDataType = "TaskBankingCircle"
	TaskResponseDataTypeTaskMangoPay      TaskResponseDataType = "TaskMangoPay"
	TaskResponseDataTypeTaskMoneycorp     TaskResponseDataType = "TaskMoneycorp"
)

type TaskStripe ¶

type TaskStripe struct {
	ConnectorID string               `json:"connectorID"`
	CreatedAt   time.Time            `json:"createdAt"`
	Descriptor  TaskStripeDescriptor `json:"descriptor"`
	Error       *string              `json:"error,omitempty"`
	ID          string               `json:"id"`
	State       TaskStripeState      `json:"state"`
	Status      PaymentStatus        `json:"status"`
	UpdatedAt   time.Time            `json:"updatedAt"`
}

func (*TaskStripe) GetConnectorID ¶

func (o *TaskStripe) GetConnectorID() string

func (*TaskStripe) GetCreatedAt ¶

func (o *TaskStripe) GetCreatedAt() time.Time

func (*TaskStripe) GetDescriptor ¶

func (o *TaskStripe) GetDescriptor() TaskStripeDescriptor

func (*TaskStripe) GetError ¶

func (o *TaskStripe) GetError() *string

func (*TaskStripe) GetID ¶

func (o *TaskStripe) GetID() string

func (*TaskStripe) GetState ¶

func (o *TaskStripe) GetState() TaskStripeState

func (*TaskStripe) GetStatus ¶

func (o *TaskStripe) GetStatus() PaymentStatus

func (*TaskStripe) GetUpdatedAt ¶

func (o *TaskStripe) GetUpdatedAt() time.Time

func (TaskStripe) MarshalJSON ¶

func (t TaskStripe) MarshalJSON() ([]byte, error)

func (*TaskStripe) UnmarshalJSON ¶

func (t *TaskStripe) UnmarshalJSON(data []byte) error

type TaskStripeDescriptor ¶

type TaskStripeDescriptor struct {
	Account string `json:"account"`
	Main    *bool  `json:"main,omitempty"`
	Name    string `json:"name"`
}

func (*TaskStripeDescriptor) GetAccount ¶

func (o *TaskStripeDescriptor) GetAccount() string

func (*TaskStripeDescriptor) GetMain ¶

func (o *TaskStripeDescriptor) GetMain() *bool

func (*TaskStripeDescriptor) GetName ¶

func (o *TaskStripeDescriptor) GetName() string

type TaskStripeState ¶

type TaskStripeState struct {
}

type TaskWise ¶

type TaskWise struct {
	ConnectorID string             `json:"connectorID"`
	CreatedAt   time.Time          `json:"createdAt"`
	Descriptor  TaskWiseDescriptor `json:"descriptor"`
	Error       *string            `json:"error,omitempty"`
	ID          string             `json:"id"`
	State       TaskWiseState      `json:"state"`
	Status      PaymentStatus      `json:"status"`
	UpdatedAt   time.Time          `json:"updatedAt"`
}

func (*TaskWise) GetConnectorID ¶

func (o *TaskWise) GetConnectorID() string

func (*TaskWise) GetCreatedAt ¶

func (o *TaskWise) GetCreatedAt() time.Time

func (*TaskWise) GetDescriptor ¶

func (o *TaskWise) GetDescriptor() TaskWiseDescriptor

func (*TaskWise) GetError ¶

func (o *TaskWise) GetError() *string

func (*TaskWise) GetID ¶

func (o *TaskWise) GetID() string

func (*TaskWise) GetState ¶

func (o *TaskWise) GetState() TaskWiseState

func (*TaskWise) GetStatus ¶

func (o *TaskWise) GetStatus() PaymentStatus

func (*TaskWise) GetUpdatedAt ¶

func (o *TaskWise) GetUpdatedAt() time.Time

func (TaskWise) MarshalJSON ¶

func (t TaskWise) MarshalJSON() ([]byte, error)

func (*TaskWise) UnmarshalJSON ¶

func (t *TaskWise) UnmarshalJSON(data []byte) error

type TaskWiseDescriptor ¶

type TaskWiseDescriptor struct {
	Key       *string `json:"key,omitempty"`
	Name      *string `json:"name,omitempty"`
	ProfileID *int64  `json:"profileID,omitempty"`
}

func (*TaskWiseDescriptor) GetKey ¶

func (o *TaskWiseDescriptor) GetKey() *string

func (*TaskWiseDescriptor) GetName ¶

func (o *TaskWiseDescriptor) GetName() *string

func (*TaskWiseDescriptor) GetProfileID ¶

func (o *TaskWiseDescriptor) GetProfileID() *int64

type TaskWiseState ¶

type TaskWiseState struct {
}

type TasksCursor ¶

type TasksCursor struct {
	Cursor TasksCursorCursor `json:"cursor"`
}

TasksCursor - OK

func (*TasksCursor) GetCursor ¶

func (o *TasksCursor) GetCursor() TasksCursorCursor

type TasksCursorCursor ¶

type TasksCursorCursor struct {
	Data     []TasksCursorData `json:"data"`
	HasMore  bool              `json:"hasMore"`
	Next     *string           `json:"next,omitempty"`
	PageSize int64             `json:"pageSize"`
	Previous *string           `json:"previous,omitempty"`
}

func (*TasksCursorCursor) GetData ¶

func (o *TasksCursorCursor) GetData() []TasksCursorData

func (*TasksCursorCursor) GetHasMore ¶

func (o *TasksCursorCursor) GetHasMore() bool

func (*TasksCursorCursor) GetNext ¶

func (o *TasksCursorCursor) GetNext() *string

func (*TasksCursorCursor) GetPageSize ¶

func (o *TasksCursorCursor) GetPageSize() int64

func (*TasksCursorCursor) GetPrevious ¶

func (o *TasksCursorCursor) GetPrevious() *string

type TasksCursorData ¶

type TasksCursorData struct {
	TaskStripe        *TaskStripe
	TaskWise          *TaskWise
	TaskCurrencyCloud *TaskCurrencyCloud
	TaskDummyPay      *TaskDummyPay
	TaskModulr        *TaskModulr
	TaskBankingCircle *TaskBankingCircle
	TaskMangoPay      *TaskMangoPay
	TaskMoneycorp     *TaskMoneycorp

	Type TasksCursorDataType
}

func CreateTasksCursorDataTaskBankingCircle ¶

func CreateTasksCursorDataTaskBankingCircle(taskBankingCircle TaskBankingCircle) TasksCursorData

func CreateTasksCursorDataTaskCurrencyCloud ¶

func CreateTasksCursorDataTaskCurrencyCloud(taskCurrencyCloud TaskCurrencyCloud) TasksCursorData

func CreateTasksCursorDataTaskDummyPay ¶

func CreateTasksCursorDataTaskDummyPay(taskDummyPay TaskDummyPay) TasksCursorData

func CreateTasksCursorDataTaskMangoPay ¶

func CreateTasksCursorDataTaskMangoPay(taskMangoPay TaskMangoPay) TasksCursorData

func CreateTasksCursorDataTaskModulr ¶

func CreateTasksCursorDataTaskModulr(taskModulr TaskModulr) TasksCursorData

func CreateTasksCursorDataTaskMoneycorp ¶

func CreateTasksCursorDataTaskMoneycorp(taskMoneycorp TaskMoneycorp) TasksCursorData

func CreateTasksCursorDataTaskStripe ¶

func CreateTasksCursorDataTaskStripe(taskStripe TaskStripe) TasksCursorData

func CreateTasksCursorDataTaskWise ¶

func CreateTasksCursorDataTaskWise(taskWise TaskWise) TasksCursorData

func (TasksCursorData) MarshalJSON ¶

func (u TasksCursorData) MarshalJSON() ([]byte, error)

func (*TasksCursorData) UnmarshalJSON ¶

func (u *TasksCursorData) UnmarshalJSON(data []byte) error

type TasksCursorDataType ¶

type TasksCursorDataType string
const (
	TasksCursorDataTypeTaskStripe        TasksCursorDataType = "TaskStripe"
	TasksCursorDataTypeTaskWise          TasksCursorDataType = "TaskWise"
	TasksCursorDataTypeTaskCurrencyCloud TasksCursorDataType = "TaskCurrencyCloud"
	TasksCursorDataTypeTaskDummyPay      TasksCursorDataType = "TaskDummyPay"
	TasksCursorDataTypeTaskModulr        TasksCursorDataType = "TaskModulr"
	TasksCursorDataTypeTaskBankingCircle TasksCursorDataType = "TaskBankingCircle"
	TasksCursorDataTypeTaskMangoPay      TasksCursorDataType = "TaskMangoPay"
	TasksCursorDataTypeTaskMoneycorp     TasksCursorDataType = "TaskMoneycorp"
)

type Total ¶

type Total struct {
	Relation *string `json:"relation,omitempty"`
	Value    *int64  `json:"value,omitempty"`
}

func (*Total) GetRelation ¶

func (o *Total) GetRelation() *string

func (*Total) GetValue ¶

func (o *Total) GetValue() *int64

type Transaction ¶

type Transaction struct {
	Metadata          map[string]any               `json:"metadata,omitempty"`
	PostCommitVolumes map[string]map[string]Volume `json:"postCommitVolumes,omitempty"`
	Postings          []Posting                    `json:"postings"`
	PreCommitVolumes  map[string]map[string]Volume `json:"preCommitVolumes,omitempty"`
	Reference         *string                      `json:"reference,omitempty"`
	Timestamp         time.Time                    `json:"timestamp"`
	Txid              *big.Int                     `json:"txid"`
}

func (*Transaction) GetMetadata ¶

func (o *Transaction) GetMetadata() map[string]any

func (*Transaction) GetPostCommitVolumes ¶

func (o *Transaction) GetPostCommitVolumes() map[string]map[string]Volume

func (*Transaction) GetPostings ¶

func (o *Transaction) GetPostings() []Posting

func (*Transaction) GetPreCommitVolumes ¶

func (o *Transaction) GetPreCommitVolumes() map[string]map[string]Volume

func (*Transaction) GetReference ¶

func (o *Transaction) GetReference() *string

func (*Transaction) GetTimestamp ¶

func (o *Transaction) GetTimestamp() time.Time

func (*Transaction) GetTxid ¶

func (o *Transaction) GetTxid() *big.Int

func (Transaction) MarshalJSON ¶

func (t Transaction) MarshalJSON() ([]byte, error)

func (*Transaction) UnmarshalJSON ¶

func (t *Transaction) UnmarshalJSON(data []byte) error

type TransactionData ¶

type TransactionData struct {
	Metadata  map[string]any `json:"metadata,omitempty"`
	Postings  []Posting      `json:"postings"`
	Reference *string        `json:"reference,omitempty"`
	Timestamp *time.Time     `json:"timestamp,omitempty"`
}

func (*TransactionData) GetMetadata ¶

func (o *TransactionData) GetMetadata() map[string]any

func (*TransactionData) GetPostings ¶

func (o *TransactionData) GetPostings() []Posting

func (*TransactionData) GetReference ¶

func (o *TransactionData) GetReference() *string

func (*TransactionData) GetTimestamp ¶

func (o *TransactionData) GetTimestamp() *time.Time

func (TransactionData) MarshalJSON ¶

func (t TransactionData) MarshalJSON() ([]byte, error)

func (*TransactionData) UnmarshalJSON ¶

func (t *TransactionData) UnmarshalJSON(data []byte) error

type TransactionResponse ¶

type TransactionResponse struct {
	Data Transaction `json:"data"`
}

func (*TransactionResponse) GetData ¶

func (o *TransactionResponse) GetData() Transaction

type Transactions ¶

type Transactions struct {
	Transactions []TransactionData `json:"transactions"`
}

func (*Transactions) GetTransactions ¶

func (o *Transactions) GetTransactions() []TransactionData

type TransactionsCursorResponse ¶

type TransactionsCursorResponse struct {
	Cursor TransactionsCursorResponseCursor `json:"cursor"`
}

func (*TransactionsCursorResponse) GetCursor ¶

type TransactionsCursorResponseCursor ¶

type TransactionsCursorResponseCursor struct {
	Data     []Transaction `json:"data"`
	HasMore  bool          `json:"hasMore"`
	Next     *string       `json:"next,omitempty"`
	PageSize int64         `json:"pageSize"`
	Previous *string       `json:"previous,omitempty"`
}

func (*TransactionsCursorResponseCursor) GetData ¶

func (*TransactionsCursorResponseCursor) GetHasMore ¶

func (o *TransactionsCursorResponseCursor) GetHasMore() bool

func (*TransactionsCursorResponseCursor) GetNext ¶

func (*TransactionsCursorResponseCursor) GetPageSize ¶

func (o *TransactionsCursorResponseCursor) GetPageSize() int64

func (*TransactionsCursorResponseCursor) GetPrevious ¶

func (o *TransactionsCursorResponseCursor) GetPrevious() *string

type TransactionsResponse ¶

type TransactionsResponse struct {
	Data []Transaction `json:"data"`
}

func (*TransactionsResponse) GetData ¶

func (o *TransactionsResponse) GetData() []Transaction

type TransferInitiation ¶

type TransferInitiation struct {
	Amount               *big.Int                       `json:"amount"`
	Asset                string                         `json:"asset"`
	ConnectorID          string                         `json:"connectorID"`
	CreatedAt            time.Time                      `json:"createdAt"`
	Description          string                         `json:"description"`
	DestinationAccountID string                         `json:"destinationAccountID"`
	Error                string                         `json:"error"`
	ID                   string                         `json:"id"`
	InitialAmount        *big.Int                       `json:"initialAmount"`
	Metadata             map[string]string              `json:"metadata,omitempty"`
	Reference            string                         `json:"reference"`
	RelatedAdjustments   []TransferInitiationAdjusments `json:"relatedAdjustments,omitempty"`
	RelatedPayments      []TransferInitiationPayments   `json:"relatedPayments,omitempty"`
	ScheduledAt          time.Time                      `json:"scheduledAt"`
	SourceAccountID      string                         `json:"sourceAccountID"`
	Status               TransferInitiationStatus       `json:"status"`
	Type                 TransferInitiationType         `json:"type"`
}

func (*TransferInitiation) GetAmount ¶

func (o *TransferInitiation) GetAmount() *big.Int

func (*TransferInitiation) GetAsset ¶

func (o *TransferInitiation) GetAsset() string

func (*TransferInitiation) GetConnectorID ¶

func (o *TransferInitiation) GetConnectorID() string

func (*TransferInitiation) GetCreatedAt ¶

func (o *TransferInitiation) GetCreatedAt() time.Time

func (*TransferInitiation) GetDescription ¶

func (o *TransferInitiation) GetDescription() string

func (*TransferInitiation) GetDestinationAccountID ¶

func (o *TransferInitiation) GetDestinationAccountID() string

func (*TransferInitiation) GetError ¶

func (o *TransferInitiation) GetError() string

func (*TransferInitiation) GetID ¶

func (o *TransferInitiation) GetID() string

func (*TransferInitiation) GetInitialAmount ¶

func (o *TransferInitiation) GetInitialAmount() *big.Int

func (*TransferInitiation) GetMetadata ¶

func (o *TransferInitiation) GetMetadata() map[string]string

func (*TransferInitiation) GetReference ¶

func (o *TransferInitiation) GetReference() string

func (*TransferInitiation) GetRelatedAdjustments ¶

func (o *TransferInitiation) GetRelatedAdjustments() []TransferInitiationAdjusments

func (*TransferInitiation) GetRelatedPayments ¶

func (o *TransferInitiation) GetRelatedPayments() []TransferInitiationPayments

func (*TransferInitiation) GetScheduledAt ¶

func (o *TransferInitiation) GetScheduledAt() time.Time

func (*TransferInitiation) GetSourceAccountID ¶

func (o *TransferInitiation) GetSourceAccountID() string

func (*TransferInitiation) GetStatus ¶

func (*TransferInitiation) GetType ¶

func (TransferInitiation) MarshalJSON ¶

func (t TransferInitiation) MarshalJSON() ([]byte, error)

func (*TransferInitiation) UnmarshalJSON ¶

func (t *TransferInitiation) UnmarshalJSON(data []byte) error

type TransferInitiationAdjusments ¶

type TransferInitiationAdjusments struct {
	AdjustmentID string                   `json:"adjustmentID"`
	CreatedAt    time.Time                `json:"createdAt"`
	Error        string                   `json:"error"`
	Metadata     map[string]string        `json:"metadata,omitempty"`
	Status       TransferInitiationStatus `json:"status"`
}

func (*TransferInitiationAdjusments) GetAdjustmentID ¶

func (o *TransferInitiationAdjusments) GetAdjustmentID() string

func (*TransferInitiationAdjusments) GetCreatedAt ¶

func (o *TransferInitiationAdjusments) GetCreatedAt() time.Time

func (*TransferInitiationAdjusments) GetError ¶

func (o *TransferInitiationAdjusments) GetError() string

func (*TransferInitiationAdjusments) GetMetadata ¶

func (o *TransferInitiationAdjusments) GetMetadata() map[string]string

func (*TransferInitiationAdjusments) GetStatus ¶

func (TransferInitiationAdjusments) MarshalJSON ¶

func (t TransferInitiationAdjusments) MarshalJSON() ([]byte, error)

func (*TransferInitiationAdjusments) UnmarshalJSON ¶

func (t *TransferInitiationAdjusments) UnmarshalJSON(data []byte) error

type TransferInitiationPayments ¶

type TransferInitiationPayments struct {
	CreatedAt time.Time                `json:"createdAt"`
	Error     string                   `json:"error"`
	PaymentID string                   `json:"paymentID"`
	Status    TransferInitiationStatus `json:"status"`
}

func (*TransferInitiationPayments) GetCreatedAt ¶

func (o *TransferInitiationPayments) GetCreatedAt() time.Time

func (*TransferInitiationPayments) GetError ¶

func (o *TransferInitiationPayments) GetError() string

func (*TransferInitiationPayments) GetPaymentID ¶

func (o *TransferInitiationPayments) GetPaymentID() string

func (*TransferInitiationPayments) GetStatus ¶

func (TransferInitiationPayments) MarshalJSON ¶

func (t TransferInitiationPayments) MarshalJSON() ([]byte, error)

func (*TransferInitiationPayments) UnmarshalJSON ¶

func (t *TransferInitiationPayments) UnmarshalJSON(data []byte) error

type TransferInitiationRequest ¶

type TransferInitiationRequest struct {
	Amount               *big.Int                      `json:"amount"`
	Asset                string                        `json:"asset"`
	ConnectorID          *string                       `json:"connectorID,omitempty"`
	Description          string                        `json:"description"`
	DestinationAccountID string                        `json:"destinationAccountID"`
	Metadata             map[string]string             `json:"metadata,omitempty"`
	Provider             *Connector                    `json:"provider,omitempty"`
	Reference            string                        `json:"reference"`
	ScheduledAt          time.Time                     `json:"scheduledAt"`
	SourceAccountID      string                        `json:"sourceAccountID"`
	Type                 TransferInitiationRequestType `json:"type"`
	Validated            bool                          `json:"validated"`
}

func (*TransferInitiationRequest) GetAmount ¶

func (o *TransferInitiationRequest) GetAmount() *big.Int

func (*TransferInitiationRequest) GetAsset ¶

func (o *TransferInitiationRequest) GetAsset() string

func (*TransferInitiationRequest) GetConnectorID ¶

func (o *TransferInitiationRequest) GetConnectorID() *string

func (*TransferInitiationRequest) GetDescription ¶

func (o *TransferInitiationRequest) GetDescription() string

func (*TransferInitiationRequest) GetDestinationAccountID ¶

func (o *TransferInitiationRequest) GetDestinationAccountID() string

func (*TransferInitiationRequest) GetMetadata ¶

func (o *TransferInitiationRequest) GetMetadata() map[string]string

func (*TransferInitiationRequest) GetProvider ¶

func (o *TransferInitiationRequest) GetProvider() *Connector

func (*TransferInitiationRequest) GetReference ¶

func (o *TransferInitiationRequest) GetReference() string

func (*TransferInitiationRequest) GetScheduledAt ¶

func (o *TransferInitiationRequest) GetScheduledAt() time.Time

func (*TransferInitiationRequest) GetSourceAccountID ¶

func (o *TransferInitiationRequest) GetSourceAccountID() string

func (*TransferInitiationRequest) GetType ¶

func (*TransferInitiationRequest) GetValidated ¶

func (o *TransferInitiationRequest) GetValidated() bool

func (TransferInitiationRequest) MarshalJSON ¶

func (t TransferInitiationRequest) MarshalJSON() ([]byte, error)

func (*TransferInitiationRequest) UnmarshalJSON ¶

func (t *TransferInitiationRequest) UnmarshalJSON(data []byte) error

type TransferInitiationRequestType ¶

type TransferInitiationRequestType string
const (
	TransferInitiationRequestTypeTransfer TransferInitiationRequestType = "TRANSFER"
	TransferInitiationRequestTypePayout   TransferInitiationRequestType = "PAYOUT"
)

func (TransferInitiationRequestType) ToPointer ¶

func (*TransferInitiationRequestType) UnmarshalJSON ¶

func (e *TransferInitiationRequestType) UnmarshalJSON(data []byte) error

type TransferInitiationResponse ¶

type TransferInitiationResponse struct {
	Data TransferInitiation `json:"data"`
}

TransferInitiationResponse - OK

func (*TransferInitiationResponse) GetData ¶

type TransferInitiationStatus ¶

type TransferInitiationStatus string
const (
	TransferInitiationStatusWaitingForValidation TransferInitiationStatus = "WAITING_FOR_VALIDATION"
	TransferInitiationStatusProcessing           TransferInitiationStatus = "PROCESSING"
	TransferInitiationStatusProcessed            TransferInitiationStatus = "PROCESSED"
	TransferInitiationStatusFailed               TransferInitiationStatus = "FAILED"
	TransferInitiationStatusRejected             TransferInitiationStatus = "REJECTED"
	TransferInitiationStatusValidated            TransferInitiationStatus = "VALIDATED"
	TransferInitiationStatusAskRetried           TransferInitiationStatus = "ASK_RETRIED"
	TransferInitiationStatusAskReversed          TransferInitiationStatus = "ASK_REVERSED"
	TransferInitiationStatusReverseProcessing    TransferInitiationStatus = "REVERSE_PROCESSING"
	TransferInitiationStatusReverseFailed        TransferInitiationStatus = "REVERSE_FAILED"
	TransferInitiationStatusPartiallyReversed    TransferInitiationStatus = "PARTIALLY_REVERSED"
	TransferInitiationStatusReversed             TransferInitiationStatus = "REVERSED"
)

func (TransferInitiationStatus) ToPointer ¶

func (*TransferInitiationStatus) UnmarshalJSON ¶

func (e *TransferInitiationStatus) UnmarshalJSON(data []byte) error

type TransferInitiationType ¶

type TransferInitiationType string
const (
	TransferInitiationTypeTransfer TransferInitiationType = "TRANSFER"
	TransferInitiationTypePayout   TransferInitiationType = "PAYOUT"
)

func (TransferInitiationType) ToPointer ¶

func (*TransferInitiationType) UnmarshalJSON ¶

func (e *TransferInitiationType) UnmarshalJSON(data []byte) error

type TransferInitiationsCursor ¶

type TransferInitiationsCursor struct {
	Cursor TransferInitiationsCursorCursor `json:"cursor"`
}

TransferInitiationsCursor - OK

func (*TransferInitiationsCursor) GetCursor ¶

type TransferInitiationsCursorCursor ¶

type TransferInitiationsCursorCursor struct {
	Data     []TransferInitiation `json:"data"`
	HasMore  bool                 `json:"hasMore"`
	Next     *string              `json:"next,omitempty"`
	PageSize int64                `json:"pageSize"`
	Previous *string              `json:"previous,omitempty"`
}

func (*TransferInitiationsCursorCursor) GetData ¶

func (*TransferInitiationsCursorCursor) GetHasMore ¶

func (o *TransferInitiationsCursorCursor) GetHasMore() bool

func (*TransferInitiationsCursorCursor) GetNext ¶

func (*TransferInitiationsCursorCursor) GetPageSize ¶

func (o *TransferInitiationsCursorCursor) GetPageSize() int64

func (*TransferInitiationsCursorCursor) GetPrevious ¶

func (o *TransferInitiationsCursorCursor) GetPrevious() *string

type TransferRequest ¶

type TransferRequest struct {
	Amount      *big.Int `json:"amount"`
	Asset       string   `json:"asset"`
	Destination string   `json:"destination"`
	Source      *string  `json:"source,omitempty"`
}

func (*TransferRequest) GetAmount ¶

func (o *TransferRequest) GetAmount() *big.Int

func (*TransferRequest) GetAsset ¶

func (o *TransferRequest) GetAsset() string

func (*TransferRequest) GetDestination ¶

func (o *TransferRequest) GetDestination() string

func (*TransferRequest) GetSource ¶

func (o *TransferRequest) GetSource() *string

func (TransferRequest) MarshalJSON ¶

func (t TransferRequest) MarshalJSON() ([]byte, error)

func (*TransferRequest) UnmarshalJSON ¶

func (t *TransferRequest) UnmarshalJSON(data []byte) error

type TransferResponse ¶

type TransferResponse struct {
	ID *string `json:"id,omitempty"`
}

TransferResponse - OK

func (*TransferResponse) GetID ¶

func (o *TransferResponse) GetID() *string

type Trigger ¶

type Trigger struct {
	CreatedAt  time.Time      `json:"createdAt"`
	Event      string         `json:"event"`
	Filter     *string        `json:"filter,omitempty"`
	ID         string         `json:"id"`
	Name       *string        `json:"name,omitempty"`
	Vars       map[string]any `json:"vars,omitempty"`
	WorkflowID string         `json:"workflowID"`
}

func (*Trigger) GetCreatedAt ¶

func (o *Trigger) GetCreatedAt() time.Time

func (*Trigger) GetEvent ¶

func (o *Trigger) GetEvent() string

func (*Trigger) GetFilter ¶

func (o *Trigger) GetFilter() *string

func (*Trigger) GetID ¶

func (o *Trigger) GetID() string

func (*Trigger) GetName ¶

func (o *Trigger) GetName() *string

func (*Trigger) GetVars ¶

func (o *Trigger) GetVars() map[string]any

func (*Trigger) GetWorkflowID ¶

func (o *Trigger) GetWorkflowID() string

func (Trigger) MarshalJSON ¶

func (t Trigger) MarshalJSON() ([]byte, error)

func (*Trigger) UnmarshalJSON ¶

func (t *Trigger) UnmarshalJSON(data []byte) error

type TriggerData ¶

type TriggerData struct {
	Event      string         `json:"event"`
	Filter     *string        `json:"filter,omitempty"`
	Name       *string        `json:"name,omitempty"`
	Vars       map[string]any `json:"vars,omitempty"`
	WorkflowID string         `json:"workflowID"`
}

func (*TriggerData) GetEvent ¶

func (o *TriggerData) GetEvent() string

func (*TriggerData) GetFilter ¶

func (o *TriggerData) GetFilter() *string

func (*TriggerData) GetName ¶

func (o *TriggerData) GetName() *string

func (*TriggerData) GetVars ¶

func (o *TriggerData) GetVars() map[string]any

func (*TriggerData) GetWorkflowID ¶

func (o *TriggerData) GetWorkflowID() string

type TriggerOccurrence ¶

type TriggerOccurrence struct {
	Date               time.Time         `json:"date"`
	Error              *string           `json:"error,omitempty"`
	Event              map[string]any    `json:"event"`
	TriggerID          string            `json:"triggerID"`
	WorkflowInstance   *WorkflowInstance `json:"workflowInstance,omitempty"`
	WorkflowInstanceID *string           `json:"workflowInstanceID,omitempty"`
}

func (*TriggerOccurrence) GetDate ¶

func (o *TriggerOccurrence) GetDate() time.Time

func (*TriggerOccurrence) GetError ¶

func (o *TriggerOccurrence) GetError() *string

func (*TriggerOccurrence) GetEvent ¶

func (o *TriggerOccurrence) GetEvent() map[string]any

func (*TriggerOccurrence) GetTriggerID ¶

func (o *TriggerOccurrence) GetTriggerID() string

func (*TriggerOccurrence) GetWorkflowInstance ¶

func (o *TriggerOccurrence) GetWorkflowInstance() *WorkflowInstance

func (*TriggerOccurrence) GetWorkflowInstanceID ¶

func (o *TriggerOccurrence) GetWorkflowInstanceID() *string

func (TriggerOccurrence) MarshalJSON ¶

func (t TriggerOccurrence) MarshalJSON() ([]byte, error)

func (*TriggerOccurrence) UnmarshalJSON ¶

func (t *TriggerOccurrence) UnmarshalJSON(data []byte) error

type Type ¶

type Type string
const (
	TypeNewTransaction Type = "NEW_TRANSACTION"
	TypeSetMetadata    Type = "SET_METADATA"
)

func (Type) ToPointer ¶

func (e Type) ToPointer() *Type

func (*Type) UnmarshalJSON ¶

func (e *Type) UnmarshalJSON(data []byte) error

type Update ¶

type Update struct {
	Account *UpdateAccount `json:"account,omitempty"`
}

func (*Update) GetAccount ¶

func (o *Update) GetAccount() *UpdateAccount

type UpdateAccount ¶

type UpdateAccount struct {
	ID       string            `json:"id"`
	Ledger   string            `json:"ledger"`
	Metadata map[string]string `json:"metadata"`
}

func (*UpdateAccount) GetID ¶

func (o *UpdateAccount) GetID() string

func (*UpdateAccount) GetLedger ¶

func (o *UpdateAccount) GetLedger() string

func (*UpdateAccount) GetMetadata ¶

func (o *UpdateAccount) GetMetadata() map[string]string

type UpdateBankAccountMetadataRequest ¶

type UpdateBankAccountMetadataRequest struct {
	Metadata map[string]string `json:"metadata"`
}

func (*UpdateBankAccountMetadataRequest) GetMetadata ¶

func (o *UpdateBankAccountMetadataRequest) GetMetadata() map[string]string

type UpdateClientRequest ¶

type UpdateClientRequest struct {
	Description            *string        `json:"description,omitempty"`
	Metadata               map[string]any `json:"metadata,omitempty"`
	Name                   string         `json:"name"`
	PostLogoutRedirectUris []string       `json:"postLogoutRedirectUris,omitempty"`
	Public                 *bool          `json:"public,omitempty"`
	RedirectUris           []string       `json:"redirectUris,omitempty"`
	Scopes                 []string       `json:"scopes,omitempty"`
	Trusted                *bool          `json:"trusted,omitempty"`
}

func (*UpdateClientRequest) GetDescription ¶

func (o *UpdateClientRequest) GetDescription() *string

func (*UpdateClientRequest) GetMetadata ¶

func (o *UpdateClientRequest) GetMetadata() map[string]any

func (*UpdateClientRequest) GetName ¶

func (o *UpdateClientRequest) GetName() string

func (*UpdateClientRequest) GetPostLogoutRedirectUris ¶

func (o *UpdateClientRequest) GetPostLogoutRedirectUris() []string

func (*UpdateClientRequest) GetPublic ¶

func (o *UpdateClientRequest) GetPublic() *bool

func (*UpdateClientRequest) GetRedirectUris ¶

func (o *UpdateClientRequest) GetRedirectUris() []string

func (*UpdateClientRequest) GetScopes ¶

func (o *UpdateClientRequest) GetScopes() []string

func (*UpdateClientRequest) GetTrusted ¶

func (o *UpdateClientRequest) GetTrusted() *bool

type UpdateClientResponse ¶

type UpdateClientResponse struct {
	Data *Client `json:"data,omitempty"`
}

func (*UpdateClientResponse) GetData ¶

func (o *UpdateClientResponse) GetData() *Client

type UpdateTransferInitiationStatusRequest ¶

type UpdateTransferInitiationStatusRequest struct {
	Status Status `json:"status"`
}

func (*UpdateTransferInitiationStatusRequest) GetStatus ¶

type User ¶

type User struct {
	Email   *string `json:"email,omitempty"`
	ID      *string `json:"id,omitempty"`
	Subject *string `json:"subject,omitempty"`
}

func (*User) GetEmail ¶

func (o *User) GetEmail() *string

func (*User) GetID ¶

func (o *User) GetID() *string

func (*User) GetSubject ¶

func (o *User) GetSubject() *string

type V2Account ¶

type V2Account struct {
	Address          string              `json:"address"`
	EffectiveVolumes map[string]V2Volume `json:"effectiveVolumes,omitempty"`
	Metadata         map[string]string   `json:"metadata"`
	Volumes          map[string]V2Volume `json:"volumes,omitempty"`
}

func (*V2Account) GetAddress ¶

func (o *V2Account) GetAddress() string

func (*V2Account) GetEffectiveVolumes ¶

func (o *V2Account) GetEffectiveVolumes() map[string]V2Volume

func (*V2Account) GetMetadata ¶

func (o *V2Account) GetMetadata() map[string]string

func (*V2Account) GetVolumes ¶

func (o *V2Account) GetVolumes() map[string]V2Volume

type V2AccountResponse ¶

type V2AccountResponse struct {
	Data V2Account `json:"data"`
}

func (*V2AccountResponse) GetData ¶

func (o *V2AccountResponse) GetData() V2Account

type V2AccountsCursorResponse ¶

type V2AccountsCursorResponse struct {
	Cursor V2AccountsCursorResponseCursor `json:"cursor"`
}

func (*V2AccountsCursorResponse) GetCursor ¶

type V2AccountsCursorResponseCursor ¶

type V2AccountsCursorResponseCursor struct {
	Data     []V2Account `json:"data"`
	HasMore  bool        `json:"hasMore"`
	Next     *string     `json:"next,omitempty"`
	PageSize int64       `json:"pageSize"`
	Previous *string     `json:"previous,omitempty"`
}

func (*V2AccountsCursorResponseCursor) GetData ¶

func (*V2AccountsCursorResponseCursor) GetHasMore ¶

func (o *V2AccountsCursorResponseCursor) GetHasMore() bool

func (*V2AccountsCursorResponseCursor) GetNext ¶

func (o *V2AccountsCursorResponseCursor) GetNext() *string

func (*V2AccountsCursorResponseCursor) GetPageSize ¶

func (o *V2AccountsCursorResponseCursor) GetPageSize() int64

func (*V2AccountsCursorResponseCursor) GetPrevious ¶

func (o *V2AccountsCursorResponseCursor) GetPrevious() *string

type V2ActivityAddAccountMetadata ¶

type V2ActivityAddAccountMetadata struct {
	ID       string            `json:"id"`
	Ledger   string            `json:"ledger"`
	Metadata map[string]string `json:"metadata"`
}

func (*V2ActivityAddAccountMetadata) GetID ¶

func (*V2ActivityAddAccountMetadata) GetLedger ¶

func (o *V2ActivityAddAccountMetadata) GetLedger() string

func (*V2ActivityAddAccountMetadata) GetMetadata ¶

func (o *V2ActivityAddAccountMetadata) GetMetadata() map[string]string

type V2ActivityConfirmHold ¶

type V2ActivityConfirmHold struct {
	ID string `json:"id"`
}

func (*V2ActivityConfirmHold) GetID ¶

func (o *V2ActivityConfirmHold) GetID() string

type V2ActivityCreateTransaction ¶

type V2ActivityCreateTransaction struct {
	Data   *V2PostTransaction `json:"data,omitempty"`
	Ledger *string            `json:"ledger,omitempty"`
}

func (*V2ActivityCreateTransaction) GetData ¶

func (*V2ActivityCreateTransaction) GetLedger ¶

func (o *V2ActivityCreateTransaction) GetLedger() *string

type V2ActivityCreateTransactionOutput ¶

type V2ActivityCreateTransactionOutput struct {
	Data []OrchestrationV2Transaction `json:"data"`
}

func (*V2ActivityCreateTransactionOutput) GetData ¶

type V2ActivityCreditWallet ¶

type V2ActivityCreditWallet struct {
	Data *V2CreditWalletRequest `json:"data,omitempty"`
	ID   *string                `json:"id,omitempty"`
}

func (*V2ActivityCreditWallet) GetData ¶

func (*V2ActivityCreditWallet) GetID ¶

func (o *V2ActivityCreditWallet) GetID() *string

type V2ActivityDebitWallet ¶

type V2ActivityDebitWallet struct {
	Data *V2DebitWalletRequest `json:"data,omitempty"`
	ID   *string               `json:"id,omitempty"`
}

func (*V2ActivityDebitWallet) GetData ¶

func (*V2ActivityDebitWallet) GetID ¶

func (o *V2ActivityDebitWallet) GetID() *string

type V2ActivityDebitWalletOutput ¶

type V2ActivityDebitWalletOutput struct {
	Data V2Hold `json:"data"`
}

func (*V2ActivityDebitWalletOutput) GetData ¶

func (o *V2ActivityDebitWalletOutput) GetData() V2Hold

type V2ActivityGetAccount ¶

type V2ActivityGetAccount struct {
	ID     string `json:"id"`
	Ledger string `json:"ledger"`
}

func (*V2ActivityGetAccount) GetID ¶

func (o *V2ActivityGetAccount) GetID() string

func (*V2ActivityGetAccount) GetLedger ¶

func (o *V2ActivityGetAccount) GetLedger() string

type V2ActivityGetAccountOutput ¶

type V2ActivityGetAccountOutput struct {
	Data V2Account `json:"data"`
}

func (*V2ActivityGetAccountOutput) GetData ¶

type V2ActivityGetPayment ¶

type V2ActivityGetPayment struct {
	ID string `json:"id"`
}

func (*V2ActivityGetPayment) GetID ¶

func (o *V2ActivityGetPayment) GetID() string

type V2ActivityGetPaymentOutput ¶

type V2ActivityGetPaymentOutput struct {
	Data V2Payment `json:"data"`
}

func (*V2ActivityGetPaymentOutput) GetData ¶

type V2ActivityGetWallet ¶

type V2ActivityGetWallet struct {
	ID string `json:"id"`
}

func (*V2ActivityGetWallet) GetID ¶

func (o *V2ActivityGetWallet) GetID() string

type V2ActivityGetWalletOutput ¶

type V2ActivityGetWalletOutput struct {
	Data V2WalletWithBalances `json:"data"`
}

func (*V2ActivityGetWalletOutput) GetData ¶

type V2ActivityListWallets ¶

type V2ActivityListWallets struct {
	Name *string `json:"name,omitempty"`
}

func (*V2ActivityListWallets) GetName ¶

func (o *V2ActivityListWallets) GetName() *string

type V2ActivityStripeTransfer ¶

type V2ActivityStripeTransfer struct {
	Amount      *big.Int `json:"amount,omitempty"`
	Asset       *string  `json:"asset,omitempty"`
	ConnectorID *string  `json:"connectorID,omitempty"`
	Destination *string  `json:"destination,omitempty"`
	// A set of key/value pairs that you can attach to a transfer object.
	// It can be useful for storing additional information about the transfer in a structured format.
	//
	Metadata          *V2ActivityStripeTransferMetadata `json:"metadata,omitempty"`
	WaitingValidation *bool                             `default:"false" json:"waitingValidation"`
}

func (*V2ActivityStripeTransfer) GetAmount ¶

func (o *V2ActivityStripeTransfer) GetAmount() *big.Int

func (*V2ActivityStripeTransfer) GetAsset ¶

func (o *V2ActivityStripeTransfer) GetAsset() *string

func (*V2ActivityStripeTransfer) GetConnectorID ¶

func (o *V2ActivityStripeTransfer) GetConnectorID() *string

func (*V2ActivityStripeTransfer) GetDestination ¶

func (o *V2ActivityStripeTransfer) GetDestination() *string

func (*V2ActivityStripeTransfer) GetMetadata ¶

func (*V2ActivityStripeTransfer) GetWaitingValidation ¶

func (o *V2ActivityStripeTransfer) GetWaitingValidation() *bool

func (V2ActivityStripeTransfer) MarshalJSON ¶

func (v V2ActivityStripeTransfer) MarshalJSON() ([]byte, error)

func (*V2ActivityStripeTransfer) UnmarshalJSON ¶

func (v *V2ActivityStripeTransfer) UnmarshalJSON(data []byte) error

type V2ActivityStripeTransferMetadata ¶

type V2ActivityStripeTransferMetadata struct {
}

V2ActivityStripeTransferMetadata - A set of key/value pairs that you can attach to a transfer object. It can be useful for storing additional information about the transfer in a structured format.

type V2ActivityVoidHold ¶

type V2ActivityVoidHold struct {
	ID string `json:"id"`
}

func (*V2ActivityVoidHold) GetID ¶

func (o *V2ActivityVoidHold) GetID() string

type V2AggregateBalancesResponse ¶

type V2AggregateBalancesResponse struct {
	Data map[string]*big.Int `json:"data"`
}

func (*V2AggregateBalancesResponse) GetData ¶

func (o *V2AggregateBalancesResponse) GetData() map[string]*big.Int

func (V2AggregateBalancesResponse) MarshalJSON ¶

func (v V2AggregateBalancesResponse) MarshalJSON() ([]byte, error)

func (*V2AggregateBalancesResponse) UnmarshalJSON ¶

func (v *V2AggregateBalancesResponse) UnmarshalJSON(data []byte) error

type V2AssetHolder ¶

type V2AssetHolder struct {
	Assets map[string]*big.Int `json:"assets"`
}

func (*V2AssetHolder) GetAssets ¶

func (o *V2AssetHolder) GetAssets() map[string]*big.Int

func (V2AssetHolder) MarshalJSON ¶

func (v V2AssetHolder) MarshalJSON() ([]byte, error)

func (*V2AssetHolder) UnmarshalJSON ¶

func (v *V2AssetHolder) UnmarshalJSON(data []byte) error

type V2BulkElement ¶

type V2BulkElement struct {
	V2BulkElementCreateTransaction *V2BulkElementCreateTransaction
	V2BulkElementAddMetadata       *V2BulkElementAddMetadata
	V2BulkElementRevertTransaction *V2BulkElementRevertTransaction
	V2BulkElementDeleteMetadata    *V2BulkElementDeleteMetadata

	Type V2BulkElementType
}

func CreateV2BulkElementAddMetadata ¶

func CreateV2BulkElementAddMetadata(addMetadata V2BulkElementAddMetadata) V2BulkElement

func CreateV2BulkElementCreateTransaction ¶

func CreateV2BulkElementCreateTransaction(createTransaction V2BulkElementCreateTransaction) V2BulkElement

func CreateV2BulkElementDeleteMetadata ¶

func CreateV2BulkElementDeleteMetadata(deleteMetadata V2BulkElementDeleteMetadata) V2BulkElement

func CreateV2BulkElementRevertTransaction ¶

func CreateV2BulkElementRevertTransaction(revertTransaction V2BulkElementRevertTransaction) V2BulkElement

func (V2BulkElement) MarshalJSON ¶

func (u V2BulkElement) MarshalJSON() ([]byte, error)

func (*V2BulkElement) UnmarshalJSON ¶

func (u *V2BulkElement) UnmarshalJSON(data []byte) error

type V2BulkElementAddMetadata ¶

type V2BulkElementAddMetadata struct {
	Action string                        `json:"action"`
	Data   *V2BulkElementAddMetadataData `json:"data,omitempty"`
	Ik     *string                       `json:"ik,omitempty"`
}

func (*V2BulkElementAddMetadata) GetAction ¶

func (o *V2BulkElementAddMetadata) GetAction() string

func (*V2BulkElementAddMetadata) GetData ¶

func (*V2BulkElementAddMetadata) GetIk ¶

func (o *V2BulkElementAddMetadata) GetIk() *string

type V2BulkElementAddMetadataData ¶

type V2BulkElementAddMetadataData struct {
	Metadata   map[string]string `json:"metadata"`
	TargetID   V2TargetID        `json:"targetId"`
	TargetType V2TargetType      `json:"targetType"`
}

func (*V2BulkElementAddMetadataData) GetMetadata ¶

func (o *V2BulkElementAddMetadataData) GetMetadata() map[string]string

func (*V2BulkElementAddMetadataData) GetTargetID ¶

func (o *V2BulkElementAddMetadataData) GetTargetID() V2TargetID

func (*V2BulkElementAddMetadataData) GetTargetType ¶

func (o *V2BulkElementAddMetadataData) GetTargetType() V2TargetType

type V2BulkElementCreateTransaction ¶

type V2BulkElementCreateTransaction struct {
	Action string             `json:"action"`
	Data   *V2PostTransaction `json:"data,omitempty"`
	Ik     *string            `json:"ik,omitempty"`
}

func (*V2BulkElementCreateTransaction) GetAction ¶

func (o *V2BulkElementCreateTransaction) GetAction() string

func (*V2BulkElementCreateTransaction) GetData ¶

func (*V2BulkElementCreateTransaction) GetIk ¶

type V2BulkElementDeleteMetadata ¶

type V2BulkElementDeleteMetadata struct {
	Action string                           `json:"action"`
	Data   *V2BulkElementDeleteMetadataData `json:"data,omitempty"`
	Ik     *string                          `json:"ik,omitempty"`
}

func (*V2BulkElementDeleteMetadata) GetAction ¶

func (o *V2BulkElementDeleteMetadata) GetAction() string

func (*V2BulkElementDeleteMetadata) GetData ¶

func (*V2BulkElementDeleteMetadata) GetIk ¶

func (o *V2BulkElementDeleteMetadata) GetIk() *string

type V2BulkElementDeleteMetadataData ¶

type V2BulkElementDeleteMetadataData struct {
	Key        string       `json:"key"`
	TargetID   V2TargetID   `json:"targetId"`
	TargetType V2TargetType `json:"targetType"`
}

func (*V2BulkElementDeleteMetadataData) GetKey ¶

func (*V2BulkElementDeleteMetadataData) GetTargetID ¶

func (*V2BulkElementDeleteMetadataData) GetTargetType ¶

func (o *V2BulkElementDeleteMetadataData) GetTargetType() V2TargetType

type V2BulkElementResult ¶

type V2BulkElementResult struct {
	V2BulkElementResultCreateTransactionSchemas *V2BulkElementResultCreateTransactionSchemas
	Schemas                                     *Schemas
	V2BulkElementResultRevertTransactionSchemas *V2BulkElementResultRevertTransactionSchemas
	V2BulkElementResultDeleteMetadataSchemas    *V2BulkElementResultDeleteMetadataSchemas
	V2BulkElementResultErrorSchemas             *V2BulkElementResultErrorSchemas

	Type V2BulkElementResultType
}

func CreateV2BulkElementResultAddMetadata ¶

func CreateV2BulkElementResultAddMetadata(addMetadata Schemas) V2BulkElementResult

func CreateV2BulkElementResultCreateTransaction ¶

func CreateV2BulkElementResultCreateTransaction(createTransaction V2BulkElementResultCreateTransactionSchemas) V2BulkElementResult

func CreateV2BulkElementResultDeleteMetadata ¶

func CreateV2BulkElementResultDeleteMetadata(deleteMetadata V2BulkElementResultDeleteMetadataSchemas) V2BulkElementResult

func CreateV2BulkElementResultRevertTransaction ¶

func CreateV2BulkElementResultRevertTransaction(revertTransaction V2BulkElementResultRevertTransactionSchemas) V2BulkElementResult

func (V2BulkElementResult) MarshalJSON ¶

func (u V2BulkElementResult) MarshalJSON() ([]byte, error)

func (*V2BulkElementResult) UnmarshalJSON ¶

func (u *V2BulkElementResult) UnmarshalJSON(data []byte) error

type V2BulkElementResultCreateTransactionSchemas ¶

type V2BulkElementResultCreateTransactionSchemas struct {
	Data         V2Transaction `json:"data"`
	ResponseType string        `json:"responseType"`
}

func (*V2BulkElementResultCreateTransactionSchemas) GetData ¶

func (*V2BulkElementResultCreateTransactionSchemas) GetResponseType ¶

type V2BulkElementResultDeleteMetadataSchemas ¶

type V2BulkElementResultDeleteMetadataSchemas struct {
	ResponseType string `json:"responseType"`
}

func (*V2BulkElementResultDeleteMetadataSchemas) GetResponseType ¶

func (o *V2BulkElementResultDeleteMetadataSchemas) GetResponseType() string

type V2BulkElementResultErrorSchemas ¶

type V2BulkElementResultErrorSchemas struct {
	ErrorCode        string  `json:"errorCode"`
	ErrorDescription string  `json:"errorDescription"`
	ErrorDetails     *string `json:"errorDetails,omitempty"`
	ResponseType     string  `json:"responseType"`
}

func (*V2BulkElementResultErrorSchemas) GetErrorCode ¶

func (o *V2BulkElementResultErrorSchemas) GetErrorCode() string

func (*V2BulkElementResultErrorSchemas) GetErrorDescription ¶

func (o *V2BulkElementResultErrorSchemas) GetErrorDescription() string

func (*V2BulkElementResultErrorSchemas) GetErrorDetails ¶

func (o *V2BulkElementResultErrorSchemas) GetErrorDetails() *string

func (*V2BulkElementResultErrorSchemas) GetResponseType ¶

func (o *V2BulkElementResultErrorSchemas) GetResponseType() string

type V2BulkElementResultRevertTransactionSchemas ¶

type V2BulkElementResultRevertTransactionSchemas struct {
	Data         V2Transaction `json:"data"`
	ResponseType string        `json:"responseType"`
}

func (*V2BulkElementResultRevertTransactionSchemas) GetData ¶

func (*V2BulkElementResultRevertTransactionSchemas) GetResponseType ¶

type V2BulkElementResultType ¶

type V2BulkElementResultType string
const (
	V2BulkElementResultTypeAddMetadata       V2BulkElementResultType = "ADD_METADATA"
	V2BulkElementResultTypeCreateTransaction V2BulkElementResultType = "CREATE_TRANSACTION"
	V2BulkElementResultTypeDeleteMetadata    V2BulkElementResultType = "DELETE_METADATA"
	V2BulkElementResultTypeError             V2BulkElementResultType = "ERROR"
	V2BulkElementResultTypeRevertTransaction V2BulkElementResultType = "REVERT_TRANSACTION"
)

type V2BulkElementRevertTransaction ¶

type V2BulkElementRevertTransaction struct {
	Action string                              `json:"action"`
	Data   *V2BulkElementRevertTransactionData `json:"data,omitempty"`
	Ik     *string                             `json:"ik,omitempty"`
}

func (*V2BulkElementRevertTransaction) GetAction ¶

func (o *V2BulkElementRevertTransaction) GetAction() string

func (*V2BulkElementRevertTransaction) GetData ¶

func (*V2BulkElementRevertTransaction) GetIk ¶

type V2BulkElementRevertTransactionData ¶

type V2BulkElementRevertTransactionData struct {
	AtEffectiveDate *bool    `json:"atEffectiveDate,omitempty"`
	Force           *bool    `json:"force,omitempty"`
	ID              *big.Int `json:"id"`
}

func (*V2BulkElementRevertTransactionData) GetAtEffectiveDate ¶

func (o *V2BulkElementRevertTransactionData) GetAtEffectiveDate() *bool

func (*V2BulkElementRevertTransactionData) GetForce ¶

func (*V2BulkElementRevertTransactionData) GetID ¶

func (V2BulkElementRevertTransactionData) MarshalJSON ¶

func (v V2BulkElementRevertTransactionData) MarshalJSON() ([]byte, error)

func (*V2BulkElementRevertTransactionData) UnmarshalJSON ¶

func (v *V2BulkElementRevertTransactionData) UnmarshalJSON(data []byte) error

type V2BulkElementType ¶

type V2BulkElementType string
const (
	V2BulkElementTypeAddMetadata       V2BulkElementType = "ADD_METADATA"
	V2BulkElementTypeCreateTransaction V2BulkElementType = "CREATE_TRANSACTION"
	V2BulkElementTypeDeleteMetadata    V2BulkElementType = "DELETE_METADATA"
	V2BulkElementTypeRevertTransaction V2BulkElementType = "REVERT_TRANSACTION"
)

type V2BulkResponse ¶

type V2BulkResponse struct {
	Data []V2BulkElementResult `json:"data"`
}

func (*V2BulkResponse) GetData ¶

func (o *V2BulkResponse) GetData() []V2BulkElementResult

type V2ConfigInfoResponse ¶

type V2ConfigInfoResponse struct {
	Server  string `json:"server"`
	Version string `json:"version"`
}

func (*V2ConfigInfoResponse) GetServer ¶

func (o *V2ConfigInfoResponse) GetServer() string

func (*V2ConfigInfoResponse) GetVersion ¶

func (o *V2ConfigInfoResponse) GetVersion() string

type V2Connector ¶

type V2Connector string
const (
	V2ConnectorStripe        V2Connector = "STRIPE"
	V2ConnectorDummyPay      V2Connector = "DUMMY-PAY"
	V2ConnectorWise          V2Connector = "WISE"
	V2ConnectorModulr        V2Connector = "MODULR"
	V2ConnectorCurrencyCloud V2Connector = "CURRENCY-CLOUD"
	V2ConnectorBankingCircle V2Connector = "BANKING-CIRCLE"
	V2ConnectorMangopay      V2Connector = "MANGOPAY"
	V2ConnectorMoneycorp     V2Connector = "MONEYCORP"
)

func (V2Connector) ToPointer ¶

func (e V2Connector) ToPointer() *V2Connector

func (*V2Connector) UnmarshalJSON ¶

func (e *V2Connector) UnmarshalJSON(data []byte) error

type V2CreateLedgerRequest ¶

type V2CreateLedgerRequest struct {
	Bucket   *string           `json:"bucket,omitempty"`
	Metadata map[string]string `json:"metadata,omitempty"`
}

func (*V2CreateLedgerRequest) GetBucket ¶

func (o *V2CreateLedgerRequest) GetBucket() *string

func (*V2CreateLedgerRequest) GetMetadata ¶

func (o *V2CreateLedgerRequest) GetMetadata() map[string]string

type V2CreateTransactionResponse ¶

type V2CreateTransactionResponse struct {
	Data V2Transaction `json:"data"`
}

func (*V2CreateTransactionResponse) GetData ¶

type V2CreateTriggerResponse ¶

type V2CreateTriggerResponse struct {
	Data V2Trigger `json:"data"`
}

func (*V2CreateTriggerResponse) GetData ¶

func (o *V2CreateTriggerResponse) GetData() V2Trigger

type V2CreateWorkflowRequest ¶

type V2CreateWorkflowRequest struct {
	Name   *string          `json:"name,omitempty"`
	Stages []map[string]any `json:"stages"`
}

func (*V2CreateWorkflowRequest) GetName ¶

func (o *V2CreateWorkflowRequest) GetName() *string

func (*V2CreateWorkflowRequest) GetStages ¶

func (o *V2CreateWorkflowRequest) GetStages() []map[string]any

type V2CreateWorkflowResponse ¶

type V2CreateWorkflowResponse struct {
	Data V2Workflow `json:"data"`
}

func (*V2CreateWorkflowResponse) GetData ¶

func (o *V2CreateWorkflowResponse) GetData() V2Workflow

type V2CreditWalletRequest ¶

type V2CreditWalletRequest struct {
	Amount V2Monetary `json:"amount"`
	// The balance to credit
	Balance *string `json:"balance,omitempty"`
	// Metadata associated with the wallet.
	Metadata  map[string]string `json:"metadata"`
	Reference *string           `json:"reference,omitempty"`
	Sources   []V2Subject       `json:"sources"`
	Timestamp *time.Time        `json:"timestamp,omitempty"`
}

func (*V2CreditWalletRequest) GetAmount ¶

func (o *V2CreditWalletRequest) GetAmount() V2Monetary

func (*V2CreditWalletRequest) GetBalance ¶

func (o *V2CreditWalletRequest) GetBalance() *string

func (*V2CreditWalletRequest) GetMetadata ¶

func (o *V2CreditWalletRequest) GetMetadata() map[string]string

func (*V2CreditWalletRequest) GetReference ¶

func (o *V2CreditWalletRequest) GetReference() *string

func (*V2CreditWalletRequest) GetSources ¶

func (o *V2CreditWalletRequest) GetSources() []V2Subject

func (*V2CreditWalletRequest) GetTimestamp ¶

func (o *V2CreditWalletRequest) GetTimestamp() *time.Time

func (V2CreditWalletRequest) MarshalJSON ¶

func (v V2CreditWalletRequest) MarshalJSON() ([]byte, error)

func (*V2CreditWalletRequest) UnmarshalJSON ¶

func (v *V2CreditWalletRequest) UnmarshalJSON(data []byte) error

type V2DebitWalletRequest ¶

type V2DebitWalletRequest struct {
	Amount      V2Monetary `json:"amount"`
	Balances    []string   `json:"balances,omitempty"`
	Description *string    `json:"description,omitempty"`
	Destination *V2Subject `json:"destination,omitempty"`
	// Metadata associated with the wallet.
	Metadata map[string]string `json:"metadata"`
	// Set to true to create a pending hold. If false, the wallet will be debited immediately.
	Pending *bool `json:"pending,omitempty"`
	// cannot be used in conjunction with `pending` property
	Timestamp *time.Time `json:"timestamp,omitempty"`
}

func (*V2DebitWalletRequest) GetAmount ¶

func (o *V2DebitWalletRequest) GetAmount() V2Monetary

func (*V2DebitWalletRequest) GetBalances ¶

func (o *V2DebitWalletRequest) GetBalances() []string

func (*V2DebitWalletRequest) GetDescription ¶

func (o *V2DebitWalletRequest) GetDescription() *string

func (*V2DebitWalletRequest) GetDestination ¶

func (o *V2DebitWalletRequest) GetDestination() *V2Subject

func (*V2DebitWalletRequest) GetDestinationAccount ¶

func (o *V2DebitWalletRequest) GetDestinationAccount() *V2LedgerAccountSubject

func (*V2DebitWalletRequest) GetDestinationWallet ¶

func (o *V2DebitWalletRequest) GetDestinationWallet() *V2WalletSubject

func (*V2DebitWalletRequest) GetMetadata ¶

func (o *V2DebitWalletRequest) GetMetadata() map[string]string

func (*V2DebitWalletRequest) GetPending ¶

func (o *V2DebitWalletRequest) GetPending() *bool

func (*V2DebitWalletRequest) GetTimestamp ¶

func (o *V2DebitWalletRequest) GetTimestamp() *time.Time

func (V2DebitWalletRequest) MarshalJSON ¶

func (v V2DebitWalletRequest) MarshalJSON() ([]byte, error)

func (*V2DebitWalletRequest) UnmarshalJSON ¶

func (v *V2DebitWalletRequest) UnmarshalJSON(data []byte) error

type V2ErrorResponse ¶ added in v3.1.0

type V2ErrorResponse struct {
	Details      *string      `json:"details,omitempty"`
	ErrorCode    V2ErrorsEnum `json:"errorCode"`
	ErrorMessage string       `json:"errorMessage"`
}

func (*V2ErrorResponse) GetDetails ¶ added in v3.1.0

func (o *V2ErrorResponse) GetDetails() *string

func (*V2ErrorResponse) GetErrorCode ¶ added in v3.1.0

func (o *V2ErrorResponse) GetErrorCode() V2ErrorsEnum

func (*V2ErrorResponse) GetErrorMessage ¶ added in v3.1.0

func (o *V2ErrorResponse) GetErrorMessage() string

type V2ErrorsEnum ¶

type V2ErrorsEnum string
const (
	V2ErrorsEnumInternal          V2ErrorsEnum = "INTERNAL"
	V2ErrorsEnumInsufficientFund  V2ErrorsEnum = "INSUFFICIENT_FUND"
	V2ErrorsEnumValidation        V2ErrorsEnum = "VALIDATION"
	V2ErrorsEnumConflict          V2ErrorsEnum = "CONFLICT"
	V2ErrorsEnumCompilationFailed V2ErrorsEnum = "COMPILATION_FAILED"
	V2ErrorsEnumMetadataOverride  V2ErrorsEnum = "METADATA_OVERRIDE"
	V2ErrorsEnumNotFound          V2ErrorsEnum = "NOT_FOUND"
	V2ErrorsEnumRevertOccurring   V2ErrorsEnum = "REVERT_OCCURRING"
	V2ErrorsEnumAlreadyRevert     V2ErrorsEnum = "ALREADY_REVERT"
	V2ErrorsEnumNoPostings        V2ErrorsEnum = "NO_POSTINGS"
	V2ErrorsEnumLedgerNotFound    V2ErrorsEnum = "LEDGER_NOT_FOUND"
	V2ErrorsEnumImport            V2ErrorsEnum = "IMPORT"
)

func (V2ErrorsEnum) ToPointer ¶

func (e V2ErrorsEnum) ToPointer() *V2ErrorsEnum

func (*V2ErrorsEnum) UnmarshalJSON ¶

func (e *V2ErrorsEnum) UnmarshalJSON(data []byte) error

type V2ExpandedTransaction ¶

type V2ExpandedTransaction struct {
	ID                *big.Int                       `json:"id"`
	Metadata          map[string]string              `json:"metadata"`
	PostCommitVolumes map[string]map[string]V2Volume `json:"postCommitVolumes,omitempty"`
	Postings          []V2Posting                    `json:"postings"`
	PreCommitVolumes  map[string]map[string]V2Volume `json:"preCommitVolumes,omitempty"`
	Reference         *string                        `json:"reference,omitempty"`
	Reverted          bool                           `json:"reverted"`
	Timestamp         time.Time                      `json:"timestamp"`
}

func (*V2ExpandedTransaction) GetID ¶

func (o *V2ExpandedTransaction) GetID() *big.Int

func (*V2ExpandedTransaction) GetMetadata ¶

func (o *V2ExpandedTransaction) GetMetadata() map[string]string

func (*V2ExpandedTransaction) GetPostCommitVolumes ¶

func (o *V2ExpandedTransaction) GetPostCommitVolumes() map[string]map[string]V2Volume

func (*V2ExpandedTransaction) GetPostings ¶

func (o *V2ExpandedTransaction) GetPostings() []V2Posting

func (*V2ExpandedTransaction) GetPreCommitVolumes ¶

func (o *V2ExpandedTransaction) GetPreCommitVolumes() map[string]map[string]V2Volume

func (*V2ExpandedTransaction) GetReference ¶

func (o *V2ExpandedTransaction) GetReference() *string

func (*V2ExpandedTransaction) GetReverted ¶

func (o *V2ExpandedTransaction) GetReverted() bool

func (*V2ExpandedTransaction) GetTimestamp ¶

func (o *V2ExpandedTransaction) GetTimestamp() time.Time

func (V2ExpandedTransaction) MarshalJSON ¶

func (v V2ExpandedTransaction) MarshalJSON() ([]byte, error)

func (*V2ExpandedTransaction) UnmarshalJSON ¶

func (v *V2ExpandedTransaction) UnmarshalJSON(data []byte) error

type V2GetLedgerResponse ¶

type V2GetLedgerResponse struct {
	Data V2Ledger `json:"data"`
}

func (*V2GetLedgerResponse) GetData ¶

func (o *V2GetLedgerResponse) GetData() V2Ledger

type V2GetTransactionResponse ¶

type V2GetTransactionResponse struct {
	Data V2ExpandedTransaction `json:"data"`
}

func (*V2GetTransactionResponse) GetData ¶

type V2GetWorkflowInstanceHistoryResponse ¶

type V2GetWorkflowInstanceHistoryResponse struct {
	Data []V2WorkflowInstanceHistory `json:"data"`
}

func (*V2GetWorkflowInstanceHistoryResponse) GetData ¶

type V2GetWorkflowInstanceHistoryStageResponse ¶

type V2GetWorkflowInstanceHistoryStageResponse struct {
	Data []V2WorkflowInstanceHistoryStage `json:"data"`
}

func (*V2GetWorkflowInstanceHistoryStageResponse) GetData ¶

type V2GetWorkflowInstanceResponse ¶

type V2GetWorkflowInstanceResponse struct {
	Data V2WorkflowInstance `json:"data"`
}

func (*V2GetWorkflowInstanceResponse) GetData ¶

type V2GetWorkflowResponse ¶

type V2GetWorkflowResponse struct {
	Data V2Workflow `json:"data"`
}

func (*V2GetWorkflowResponse) GetData ¶

func (o *V2GetWorkflowResponse) GetData() V2Workflow

type V2Hold ¶

type V2Hold struct {
	Description string     `json:"description"`
	Destination *V2Subject `json:"destination,omitempty"`
	// The unique ID of the hold.
	ID string `json:"id"`
	// Metadata associated with the hold.
	Metadata map[string]string `json:"metadata"`
	// The ID of the wallet the hold is associated with.
	WalletID string `json:"walletID"`
}

func (*V2Hold) GetDescription ¶

func (o *V2Hold) GetDescription() string

func (*V2Hold) GetDestination ¶

func (o *V2Hold) GetDestination() *V2Subject

func (*V2Hold) GetDestinationAccount ¶

func (o *V2Hold) GetDestinationAccount() *V2LedgerAccountSubject

func (*V2Hold) GetDestinationWallet ¶

func (o *V2Hold) GetDestinationWallet() *V2WalletSubject

func (*V2Hold) GetID ¶

func (o *V2Hold) GetID() string

func (*V2Hold) GetMetadata ¶

func (o *V2Hold) GetMetadata() map[string]string

func (*V2Hold) GetWalletID ¶

func (o *V2Hold) GetWalletID() string

type V2Ledger ¶

type V2Ledger struct {
	AddedAt  time.Time         `json:"addedAt"`
	Bucket   string            `json:"bucket"`
	Metadata map[string]string `json:"metadata,omitempty"`
	Name     string            `json:"name"`
}

func (*V2Ledger) GetAddedAt ¶

func (o *V2Ledger) GetAddedAt() time.Time

func (*V2Ledger) GetBucket ¶

func (o *V2Ledger) GetBucket() string

func (*V2Ledger) GetMetadata ¶

func (o *V2Ledger) GetMetadata() map[string]string

func (*V2Ledger) GetName ¶

func (o *V2Ledger) GetName() string

func (V2Ledger) MarshalJSON ¶

func (v V2Ledger) MarshalJSON() ([]byte, error)

func (*V2Ledger) UnmarshalJSON ¶

func (v *V2Ledger) UnmarshalJSON(data []byte) error

type V2LedgerAccountSubject ¶

type V2LedgerAccountSubject struct {
	Identifier string `json:"identifier"`
	Type       string `json:"type"`
}

func (*V2LedgerAccountSubject) GetIdentifier ¶

func (o *V2LedgerAccountSubject) GetIdentifier() string

func (*V2LedgerAccountSubject) GetType ¶

func (o *V2LedgerAccountSubject) GetType() string

type V2LedgerInfo ¶

type V2LedgerInfo struct {
	Name    *string              `json:"name,omitempty"`
	Storage *V2LedgerInfoStorage `json:"storage,omitempty"`
}

func (*V2LedgerInfo) GetName ¶

func (o *V2LedgerInfo) GetName() *string

func (*V2LedgerInfo) GetStorage ¶

func (o *V2LedgerInfo) GetStorage() *V2LedgerInfoStorage

type V2LedgerInfoResponse ¶

type V2LedgerInfoResponse struct {
	Data *V2LedgerInfo `json:"data,omitempty"`
}

func (*V2LedgerInfoResponse) GetData ¶

func (o *V2LedgerInfoResponse) GetData() *V2LedgerInfo

type V2LedgerInfoStorage ¶

type V2LedgerInfoStorage struct {
	Migrations []V2MigrationInfo `json:"migrations,omitempty"`
}

func (*V2LedgerInfoStorage) GetMigrations ¶

func (o *V2LedgerInfoStorage) GetMigrations() []V2MigrationInfo

type V2LedgerListResponse ¶

type V2LedgerListResponse struct {
	Cursor V2LedgerListResponseCursor `json:"cursor"`
}

func (*V2LedgerListResponse) GetCursor ¶

type V2LedgerListResponseCursor ¶

type V2LedgerListResponseCursor struct {
	Data     []V2Ledger `json:"data"`
	HasMore  bool       `json:"hasMore"`
	Next     *string    `json:"next,omitempty"`
	PageSize int64      `json:"pageSize"`
	Previous *string    `json:"previous,omitempty"`
}

func (*V2LedgerListResponseCursor) GetData ¶

func (o *V2LedgerListResponseCursor) GetData() []V2Ledger

func (*V2LedgerListResponseCursor) GetHasMore ¶

func (o *V2LedgerListResponseCursor) GetHasMore() bool

func (*V2LedgerListResponseCursor) GetNext ¶

func (o *V2LedgerListResponseCursor) GetNext() *string

func (*V2LedgerListResponseCursor) GetPageSize ¶

func (o *V2LedgerListResponseCursor) GetPageSize() int64

func (*V2LedgerListResponseCursor) GetPrevious ¶

func (o *V2LedgerListResponseCursor) GetPrevious() *string

type V2ListRunsResponse ¶

type V2ListRunsResponse struct {
	Cursor V2ListRunsResponseCursor `json:"cursor"`
}

func (*V2ListRunsResponse) GetCursor ¶

type V2ListRunsResponseCursor ¶

type V2ListRunsResponseCursor struct {
	Data     []V2WorkflowInstance `json:"data"`
	HasMore  bool                 `json:"hasMore"`
	Next     *string              `json:"next,omitempty"`
	PageSize int64                `json:"pageSize"`
	Previous *string              `json:"previous,omitempty"`
}

func (*V2ListRunsResponseCursor) GetData ¶

func (*V2ListRunsResponseCursor) GetHasMore ¶

func (o *V2ListRunsResponseCursor) GetHasMore() bool

func (*V2ListRunsResponseCursor) GetNext ¶

func (o *V2ListRunsResponseCursor) GetNext() *string

func (*V2ListRunsResponseCursor) GetPageSize ¶

func (o *V2ListRunsResponseCursor) GetPageSize() int64

func (*V2ListRunsResponseCursor) GetPrevious ¶

func (o *V2ListRunsResponseCursor) GetPrevious() *string

type V2ListTriggersOccurrencesResponse ¶

type V2ListTriggersOccurrencesResponse struct {
	Cursor V2ListTriggersOccurrencesResponseCursor `json:"cursor"`
}

func (*V2ListTriggersOccurrencesResponse) GetCursor ¶

type V2ListTriggersOccurrencesResponseCursor ¶

type V2ListTriggersOccurrencesResponseCursor struct {
	Data     []V2TriggerOccurrence `json:"data"`
	HasMore  bool                  `json:"hasMore"`
	Next     *string               `json:"next,omitempty"`
	PageSize int64                 `json:"pageSize"`
	Previous *string               `json:"previous,omitempty"`
}

func (*V2ListTriggersOccurrencesResponseCursor) GetData ¶

func (*V2ListTriggersOccurrencesResponseCursor) GetHasMore ¶

func (*V2ListTriggersOccurrencesResponseCursor) GetNext ¶

func (*V2ListTriggersOccurrencesResponseCursor) GetPageSize ¶

func (*V2ListTriggersOccurrencesResponseCursor) GetPrevious ¶

type V2ListTriggersResponse ¶

type V2ListTriggersResponse struct {
	Cursor V2ListTriggersResponseCursor `json:"cursor"`
}

func (*V2ListTriggersResponse) GetCursor ¶

type V2ListTriggersResponseCursor ¶

type V2ListTriggersResponseCursor struct {
	Data     []V2Trigger `json:"data"`
	HasMore  bool        `json:"hasMore"`
	Next     *string     `json:"next,omitempty"`
	PageSize int64       `json:"pageSize"`
	Previous *string     `json:"previous,omitempty"`
}

func (*V2ListTriggersResponseCursor) GetData ¶

func (o *V2ListTriggersResponseCursor) GetData() []V2Trigger

func (*V2ListTriggersResponseCursor) GetHasMore ¶

func (o *V2ListTriggersResponseCursor) GetHasMore() bool

func (*V2ListTriggersResponseCursor) GetNext ¶

func (o *V2ListTriggersResponseCursor) GetNext() *string

func (*V2ListTriggersResponseCursor) GetPageSize ¶

func (o *V2ListTriggersResponseCursor) GetPageSize() int64

func (*V2ListTriggersResponseCursor) GetPrevious ¶

func (o *V2ListTriggersResponseCursor) GetPrevious() *string

type V2ListWalletsResponse ¶

type V2ListWalletsResponse struct {
	Cursor V2ListWalletsResponseCursor `json:"cursor"`
}

func (*V2ListWalletsResponse) GetCursor ¶

type V2ListWalletsResponseCursor ¶

type V2ListWalletsResponseCursor struct {
	Data     []V2Wallet `json:"data"`
	HasMore  *bool      `json:"hasMore,omitempty"`
	Next     *string    `json:"next,omitempty"`
	PageSize int64      `json:"pageSize"`
	Previous *string    `json:"previous,omitempty"`
}

func (*V2ListWalletsResponseCursor) GetData ¶

func (o *V2ListWalletsResponseCursor) GetData() []V2Wallet

func (*V2ListWalletsResponseCursor) GetHasMore ¶

func (o *V2ListWalletsResponseCursor) GetHasMore() *bool

func (*V2ListWalletsResponseCursor) GetNext ¶

func (o *V2ListWalletsResponseCursor) GetNext() *string

func (*V2ListWalletsResponseCursor) GetPageSize ¶

func (o *V2ListWalletsResponseCursor) GetPageSize() int64

func (*V2ListWalletsResponseCursor) GetPrevious ¶

func (o *V2ListWalletsResponseCursor) GetPrevious() *string

type V2ListWorkflowsResponse ¶

type V2ListWorkflowsResponse struct {
	Cursor V2ListWorkflowsResponseCursor `json:"cursor"`
}

func (*V2ListWorkflowsResponse) GetCursor ¶

type V2ListWorkflowsResponseCursor ¶

type V2ListWorkflowsResponseCursor struct {
	Data     []V2Workflow `json:"data"`
	HasMore  bool         `json:"hasMore"`
	Next     *string      `json:"next,omitempty"`
	PageSize int64        `json:"pageSize"`
	Previous *string      `json:"previous,omitempty"`
}

func (*V2ListWorkflowsResponseCursor) GetData ¶

func (*V2ListWorkflowsResponseCursor) GetHasMore ¶

func (o *V2ListWorkflowsResponseCursor) GetHasMore() bool

func (*V2ListWorkflowsResponseCursor) GetNext ¶

func (o *V2ListWorkflowsResponseCursor) GetNext() *string

func (*V2ListWorkflowsResponseCursor) GetPageSize ¶

func (o *V2ListWorkflowsResponseCursor) GetPageSize() int64

func (*V2ListWorkflowsResponseCursor) GetPrevious ¶

func (o *V2ListWorkflowsResponseCursor) GetPrevious() *string

type V2Log ¶

type V2Log struct {
	Data map[string]any `json:"data"`
	Date time.Time      `json:"date"`
	Hash string         `json:"hash"`
	ID   *big.Int       `json:"id"`
	Type V2LogType      `json:"type"`
}

func (*V2Log) GetData ¶

func (o *V2Log) GetData() map[string]any

func (*V2Log) GetDate ¶

func (o *V2Log) GetDate() time.Time

func (*V2Log) GetHash ¶

func (o *V2Log) GetHash() string

func (*V2Log) GetID ¶

func (o *V2Log) GetID() *big.Int

func (*V2Log) GetType ¶

func (o *V2Log) GetType() V2LogType

func (V2Log) MarshalJSON ¶

func (v V2Log) MarshalJSON() ([]byte, error)

func (*V2Log) UnmarshalJSON ¶

func (v *V2Log) UnmarshalJSON(data []byte) error

type V2LogType ¶

type V2LogType string
const (
	V2LogTypeNewTransaction      V2LogType = "NEW_TRANSACTION"
	V2LogTypeSetMetadata         V2LogType = "SET_METADATA"
	V2LogTypeRevertedTransaction V2LogType = "REVERTED_TRANSACTION"
)

func (V2LogType) ToPointer ¶

func (e V2LogType) ToPointer() *V2LogType

func (*V2LogType) UnmarshalJSON ¶

func (e *V2LogType) UnmarshalJSON(data []byte) error

type V2LogsCursorResponse ¶

type V2LogsCursorResponse struct {
	Cursor V2LogsCursorResponseCursor `json:"cursor"`
}

func (*V2LogsCursorResponse) GetCursor ¶

type V2LogsCursorResponseCursor ¶

type V2LogsCursorResponseCursor struct {
	Data     []V2Log `json:"data"`
	HasMore  bool    `json:"hasMore"`
	Next     *string `json:"next,omitempty"`
	PageSize int64   `json:"pageSize"`
	Previous *string `json:"previous,omitempty"`
}

func (*V2LogsCursorResponseCursor) GetData ¶

func (o *V2LogsCursorResponseCursor) GetData() []V2Log

func (*V2LogsCursorResponseCursor) GetHasMore ¶

func (o *V2LogsCursorResponseCursor) GetHasMore() bool

func (*V2LogsCursorResponseCursor) GetNext ¶

func (o *V2LogsCursorResponseCursor) GetNext() *string

func (*V2LogsCursorResponseCursor) GetPageSize ¶

func (o *V2LogsCursorResponseCursor) GetPageSize() int64

func (*V2LogsCursorResponseCursor) GetPrevious ¶

func (o *V2LogsCursorResponseCursor) GetPrevious() *string

type V2MigrationInfo ¶

type V2MigrationInfo struct {
	Date    *time.Time            `json:"date,omitempty"`
	Name    *string               `json:"name,omitempty"`
	State   *V2MigrationInfoState `json:"state,omitempty"`
	Version *int64                `json:"version,omitempty"`
}

func (*V2MigrationInfo) GetDate ¶

func (o *V2MigrationInfo) GetDate() *time.Time

func (*V2MigrationInfo) GetName ¶

func (o *V2MigrationInfo) GetName() *string

func (*V2MigrationInfo) GetState ¶

func (o *V2MigrationInfo) GetState() *V2MigrationInfoState

func (*V2MigrationInfo) GetVersion ¶

func (o *V2MigrationInfo) GetVersion() *int64

func (V2MigrationInfo) MarshalJSON ¶

func (v V2MigrationInfo) MarshalJSON() ([]byte, error)

func (*V2MigrationInfo) UnmarshalJSON ¶

func (v *V2MigrationInfo) UnmarshalJSON(data []byte) error

type V2MigrationInfoState ¶

type V2MigrationInfoState string
const (
	V2MigrationInfoStateToDo V2MigrationInfoState = "TO DO"
	V2MigrationInfoStateDone V2MigrationInfoState = "DONE"
)

func (V2MigrationInfoState) ToPointer ¶

func (*V2MigrationInfoState) UnmarshalJSON ¶

func (e *V2MigrationInfoState) UnmarshalJSON(data []byte) error

type V2Monetary ¶

type V2Monetary struct {
	// The amount of the monetary value.
	Amount *big.Int `json:"amount"`
	// The asset of the monetary value.
	Asset string `json:"asset"`
}

func (*V2Monetary) GetAmount ¶

func (o *V2Monetary) GetAmount() *big.Int

func (*V2Monetary) GetAsset ¶

func (o *V2Monetary) GetAsset() string

func (V2Monetary) MarshalJSON ¶

func (v V2Monetary) MarshalJSON() ([]byte, error)

func (*V2Monetary) UnmarshalJSON ¶

func (v *V2Monetary) UnmarshalJSON(data []byte) error

type V2Payment ¶

type V2Payment struct {
	Adjustments          []V2PaymentAdjustment `json:"adjustments"`
	Asset                string                `json:"asset"`
	ConnectorID          string                `json:"connectorID"`
	CreatedAt            time.Time             `json:"createdAt"`
	DestinationAccountID string                `json:"destinationAccountID"`
	ID                   string                `json:"id"`
	InitialAmount        *big.Int              `json:"initialAmount"`
	Metadata             *V2PaymentMetadata    `json:"metadata"`
	Provider             *V2Connector          `json:"provider,omitempty"`
	Raw                  *V2PaymentRaw         `json:"raw"`
	Reference            string                `json:"reference"`
	Scheme               Scheme                `json:"scheme"`
	SourceAccountID      string                `json:"sourceAccountID"`
	Status               V2PaymentStatus       `json:"status"`
	Type                 V2PaymentType         `json:"type"`
}

func (*V2Payment) GetAdjustments ¶

func (o *V2Payment) GetAdjustments() []V2PaymentAdjustment

func (*V2Payment) GetAsset ¶

func (o *V2Payment) GetAsset() string

func (*V2Payment) GetConnectorID ¶

func (o *V2Payment) GetConnectorID() string

func (*V2Payment) GetCreatedAt ¶

func (o *V2Payment) GetCreatedAt() time.Time

func (*V2Payment) GetDestinationAccountID ¶

func (o *V2Payment) GetDestinationAccountID() string

func (*V2Payment) GetID ¶

func (o *V2Payment) GetID() string

func (*V2Payment) GetInitialAmount ¶

func (o *V2Payment) GetInitialAmount() *big.Int

func (*V2Payment) GetMetadata ¶

func (o *V2Payment) GetMetadata() *V2PaymentMetadata

func (*V2Payment) GetProvider ¶

func (o *V2Payment) GetProvider() *V2Connector

func (*V2Payment) GetRaw ¶

func (o *V2Payment) GetRaw() *V2PaymentRaw

func (*V2Payment) GetReference ¶

func (o *V2Payment) GetReference() string

func (*V2Payment) GetScheme ¶

func (o *V2Payment) GetScheme() Scheme

func (*V2Payment) GetSourceAccountID ¶

func (o *V2Payment) GetSourceAccountID() string

func (*V2Payment) GetStatus ¶

func (o *V2Payment) GetStatus() V2PaymentStatus

func (*V2Payment) GetType ¶

func (o *V2Payment) GetType() V2PaymentType

func (V2Payment) MarshalJSON ¶

func (v V2Payment) MarshalJSON() ([]byte, error)

func (*V2Payment) UnmarshalJSON ¶

func (v *V2Payment) UnmarshalJSON(data []byte) error

type V2PaymentAdjustment ¶

type V2PaymentAdjustment struct {
	Absolute bool                   `json:"absolute"`
	Amount   *big.Int               `json:"amount"`
	Date     time.Time              `json:"date"`
	Raw      V2PaymentAdjustmentRaw `json:"raw"`
	Status   V2PaymentStatus        `json:"status"`
}

func (*V2PaymentAdjustment) GetAbsolute ¶

func (o *V2PaymentAdjustment) GetAbsolute() bool

func (*V2PaymentAdjustment) GetAmount ¶

func (o *V2PaymentAdjustment) GetAmount() *big.Int

func (*V2PaymentAdjustment) GetDate ¶

func (o *V2PaymentAdjustment) GetDate() time.Time

func (*V2PaymentAdjustment) GetRaw ¶

func (*V2PaymentAdjustment) GetStatus ¶

func (o *V2PaymentAdjustment) GetStatus() V2PaymentStatus

func (V2PaymentAdjustment) MarshalJSON ¶

func (v V2PaymentAdjustment) MarshalJSON() ([]byte, error)

func (*V2PaymentAdjustment) UnmarshalJSON ¶

func (v *V2PaymentAdjustment) UnmarshalJSON(data []byte) error

type V2PaymentAdjustmentRaw ¶

type V2PaymentAdjustmentRaw struct {
}

type V2PaymentMetadata ¶

type V2PaymentMetadata struct {
	Key *string `json:"key,omitempty"`
}

func (*V2PaymentMetadata) GetKey ¶

func (o *V2PaymentMetadata) GetKey() *string

type V2PaymentRaw ¶

type V2PaymentRaw struct {
}

type V2PaymentStatus ¶

type V2PaymentStatus string
const (
	V2PaymentStatusPending    V2PaymentStatus = "PENDING"
	V2PaymentStatusActive     V2PaymentStatus = "ACTIVE"
	V2PaymentStatusTerminated V2PaymentStatus = "TERMINATED"
	V2PaymentStatusFailed     V2PaymentStatus = "FAILED"
	V2PaymentStatusSucceeded  V2PaymentStatus = "SUCCEEDED"
	V2PaymentStatusCancelled  V2PaymentStatus = "CANCELLED"
)

func (V2PaymentStatus) ToPointer ¶

func (e V2PaymentStatus) ToPointer() *V2PaymentStatus

func (*V2PaymentStatus) UnmarshalJSON ¶

func (e *V2PaymentStatus) UnmarshalJSON(data []byte) error

type V2PaymentType ¶

type V2PaymentType string
const (
	V2PaymentTypePayIn    V2PaymentType = "PAY-IN"
	V2PaymentTypePayout   V2PaymentType = "PAYOUT"
	V2PaymentTypeTransfer V2PaymentType = "TRANSFER"
	V2PaymentTypeOther    V2PaymentType = "OTHER"
)

func (V2PaymentType) ToPointer ¶

func (e V2PaymentType) ToPointer() *V2PaymentType

func (*V2PaymentType) UnmarshalJSON ¶

func (e *V2PaymentType) UnmarshalJSON(data []byte) error

type V2PostTransaction ¶

type V2PostTransaction struct {
	Metadata  map[string]string        `json:"metadata"`
	Postings  []V2Posting              `json:"postings,omitempty"`
	Reference *string                  `json:"reference,omitempty"`
	Script    *V2PostTransactionScript `json:"script,omitempty"`
	Timestamp *time.Time               `json:"timestamp,omitempty"`
}

func (*V2PostTransaction) GetMetadata ¶

func (o *V2PostTransaction) GetMetadata() map[string]string

func (*V2PostTransaction) GetPostings ¶

func (o *V2PostTransaction) GetPostings() []V2Posting

func (*V2PostTransaction) GetReference ¶

func (o *V2PostTransaction) GetReference() *string

func (*V2PostTransaction) GetScript ¶

func (*V2PostTransaction) GetTimestamp ¶

func (o *V2PostTransaction) GetTimestamp() *time.Time

func (V2PostTransaction) MarshalJSON ¶

func (v V2PostTransaction) MarshalJSON() ([]byte, error)

func (*V2PostTransaction) UnmarshalJSON ¶

func (v *V2PostTransaction) UnmarshalJSON(data []byte) error

type V2PostTransactionScript ¶

type V2PostTransactionScript struct {
	Plain string         `json:"plain"`
	Vars  map[string]any `json:"vars,omitempty"`
}

func (*V2PostTransactionScript) GetPlain ¶

func (o *V2PostTransactionScript) GetPlain() string

func (*V2PostTransactionScript) GetVars ¶

func (o *V2PostTransactionScript) GetVars() map[string]any

type V2Posting ¶

type V2Posting struct {
	Amount      *big.Int `json:"amount"`
	Asset       string   `json:"asset"`
	Destination string   `json:"destination"`
	Source      string   `json:"source"`
}

func (*V2Posting) GetAmount ¶

func (o *V2Posting) GetAmount() *big.Int

func (*V2Posting) GetAsset ¶

func (o *V2Posting) GetAsset() string

func (*V2Posting) GetDestination ¶

func (o *V2Posting) GetDestination() string

func (*V2Posting) GetSource ¶

func (o *V2Posting) GetSource() string

func (V2Posting) MarshalJSON ¶

func (v V2Posting) MarshalJSON() ([]byte, error)

func (*V2Posting) UnmarshalJSON ¶

func (v *V2Posting) UnmarshalJSON(data []byte) error

type V2ReadTriggerResponse ¶

type V2ReadTriggerResponse struct {
	Data V2Trigger `json:"data"`
}

func (*V2ReadTriggerResponse) GetData ¶

func (o *V2ReadTriggerResponse) GetData() V2Trigger

type V2RevertTransactionResponse ¶

type V2RevertTransactionResponse struct {
	Data V2Transaction `json:"data"`
}

func (*V2RevertTransactionResponse) GetData ¶

type V2RunWorkflowResponse ¶

type V2RunWorkflowResponse struct {
	Data V2WorkflowInstance `json:"data"`
}

func (*V2RunWorkflowResponse) GetData ¶

type V2ServerInfo ¶

type V2ServerInfo struct {
	Version string `json:"version"`
}

func (*V2ServerInfo) GetVersion ¶

func (o *V2ServerInfo) GetVersion() string

type V2Stage ¶

type V2Stage struct {
	V2StageSend      *V2StageSend
	V2StageDelay     *V2StageDelay
	V2StageWaitEvent *V2StageWaitEvent
	V2Update         *V2Update

	Type V2StageType
}

func CreateV2StageV2StageDelay ¶

func CreateV2StageV2StageDelay(v2StageDelay V2StageDelay) V2Stage

func CreateV2StageV2StageSend ¶

func CreateV2StageV2StageSend(v2StageSend V2StageSend) V2Stage

func CreateV2StageV2StageWaitEvent ¶

func CreateV2StageV2StageWaitEvent(v2StageWaitEvent V2StageWaitEvent) V2Stage

func CreateV2StageV2Update ¶

func CreateV2StageV2Update(v2Update V2Update) V2Stage

func (V2Stage) MarshalJSON ¶

func (u V2Stage) MarshalJSON() ([]byte, error)

func (*V2Stage) UnmarshalJSON ¶

func (u *V2Stage) UnmarshalJSON(data []byte) error

type V2StageDelay ¶

type V2StageDelay struct {
	Duration *string    `json:"duration,omitempty"`
	Until    *time.Time `json:"until,omitempty"`
}

func (*V2StageDelay) GetDuration ¶

func (o *V2StageDelay) GetDuration() *string

func (*V2StageDelay) GetUntil ¶

func (o *V2StageDelay) GetUntil() *time.Time

func (V2StageDelay) MarshalJSON ¶

func (v V2StageDelay) MarshalJSON() ([]byte, error)

func (*V2StageDelay) UnmarshalJSON ¶

func (v *V2StageDelay) UnmarshalJSON(data []byte) error

type V2StageSend ¶

type V2StageSend struct {
	Amount      *V2Monetary             `json:"amount,omitempty"`
	Destination *V2StageSendDestination `json:"destination,omitempty"`
	Metadata    map[string]string       `json:"metadata,omitempty"`
	Source      *V2StageSendSource      `json:"source,omitempty"`
	Timestamp   *time.Time              `json:"timestamp,omitempty"`
}

func (*V2StageSend) GetAmount ¶

func (o *V2StageSend) GetAmount() *V2Monetary

func (*V2StageSend) GetDestination ¶

func (o *V2StageSend) GetDestination() *V2StageSendDestination

func (*V2StageSend) GetMetadata ¶

func (o *V2StageSend) GetMetadata() map[string]string

func (*V2StageSend) GetSource ¶

func (o *V2StageSend) GetSource() *V2StageSendSource

func (*V2StageSend) GetTimestamp ¶

func (o *V2StageSend) GetTimestamp() *time.Time

func (V2StageSend) MarshalJSON ¶

func (v V2StageSend) MarshalJSON() ([]byte, error)

func (*V2StageSend) UnmarshalJSON ¶

func (v *V2StageSend) UnmarshalJSON(data []byte) error

type V2StageSendDestination ¶

type V2StageSendDestination struct {
	Account *V2StageSendDestinationAccount `json:"account,omitempty"`
	Payment *V2StageSendDestinationPayment `json:"payment,omitempty"`
	Wallet  *V2StageSendDestinationWallet  `json:"wallet,omitempty"`
}

func (*V2StageSendDestination) GetAccount ¶

func (*V2StageSendDestination) GetPayment ¶

func (*V2StageSendDestination) GetWallet ¶

type V2StageSendDestinationAccount ¶

type V2StageSendDestinationAccount struct {
	ID     string  `json:"id"`
	Ledger *string `json:"ledger,omitempty"`
}

func (*V2StageSendDestinationAccount) GetID ¶

func (*V2StageSendDestinationAccount) GetLedger ¶

func (o *V2StageSendDestinationAccount) GetLedger() *string

type V2StageSendDestinationPayment ¶

type V2StageSendDestinationPayment struct {
	Psp string `json:"psp"`
}

func (*V2StageSendDestinationPayment) GetPsp ¶

type V2StageSendDestinationWallet ¶

type V2StageSendDestinationWallet struct {
	Balance *string `json:"balance,omitempty"`
	ID      string  `json:"id"`
}

func (*V2StageSendDestinationWallet) GetBalance ¶

func (o *V2StageSendDestinationWallet) GetBalance() *string

func (*V2StageSendDestinationWallet) GetID ¶

type V2StageSendSource ¶

type V2StageSendSource struct {
	Account *V2StageSendSourceAccount `json:"account,omitempty"`
	Payment *V2StageSendSourcePayment `json:"payment,omitempty"`
	Wallet  *V2StageSendSourceWallet  `json:"wallet,omitempty"`
}

func (*V2StageSendSource) GetAccount ¶

func (*V2StageSendSource) GetPayment ¶

func (*V2StageSendSource) GetWallet ¶

type V2StageSendSourceAccount ¶

type V2StageSendSourceAccount struct {
	ID     string  `json:"id"`
	Ledger *string `json:"ledger,omitempty"`
}

func (*V2StageSendSourceAccount) GetID ¶

func (o *V2StageSendSourceAccount) GetID() string

func (*V2StageSendSourceAccount) GetLedger ¶

func (o *V2StageSendSourceAccount) GetLedger() *string

type V2StageSendSourcePayment ¶

type V2StageSendSourcePayment struct {
	ID string `json:"id"`
}

func (*V2StageSendSourcePayment) GetID ¶

func (o *V2StageSendSourcePayment) GetID() string

type V2StageSendSourceWallet ¶

type V2StageSendSourceWallet struct {
	Balance *string `json:"balance,omitempty"`
	ID      string  `json:"id"`
}

func (*V2StageSendSourceWallet) GetBalance ¶

func (o *V2StageSendSourceWallet) GetBalance() *string

func (*V2StageSendSourceWallet) GetID ¶

func (o *V2StageSendSourceWallet) GetID() string

type V2StageStatus ¶

type V2StageStatus struct {
	Error        *string    `json:"error,omitempty"`
	InstanceID   string     `json:"instanceID"`
	Stage        float64    `json:"stage"`
	StartedAt    time.Time  `json:"startedAt"`
	TerminatedAt *time.Time `json:"terminatedAt,omitempty"`
}

func (*V2StageStatus) GetError ¶

func (o *V2StageStatus) GetError() *string

func (*V2StageStatus) GetInstanceID ¶

func (o *V2StageStatus) GetInstanceID() string

func (*V2StageStatus) GetStage ¶

func (o *V2StageStatus) GetStage() float64

func (*V2StageStatus) GetStartedAt ¶

func (o *V2StageStatus) GetStartedAt() time.Time

func (*V2StageStatus) GetTerminatedAt ¶

func (o *V2StageStatus) GetTerminatedAt() *time.Time

func (V2StageStatus) MarshalJSON ¶

func (v V2StageStatus) MarshalJSON() ([]byte, error)

func (*V2StageStatus) UnmarshalJSON ¶

func (v *V2StageStatus) UnmarshalJSON(data []byte) error

type V2StageType ¶

type V2StageType string
const (
	V2StageTypeV2StageSend      V2StageType = "V2StageSend"
	V2StageTypeV2StageDelay     V2StageType = "V2StageDelay"
	V2StageTypeV2StageWaitEvent V2StageType = "V2StageWaitEvent"
	V2StageTypeV2Update         V2StageType = "V2Update"
)

type V2StageWaitEvent ¶

type V2StageWaitEvent struct {
	Event string `json:"event"`
}

func (*V2StageWaitEvent) GetEvent ¶

func (o *V2StageWaitEvent) GetEvent() string

type V2Stats ¶

type V2Stats struct {
	Accounts     int64    `json:"accounts"`
	Transactions *big.Int `json:"transactions"`
}

func (*V2Stats) GetAccounts ¶

func (o *V2Stats) GetAccounts() int64

func (*V2Stats) GetTransactions ¶

func (o *V2Stats) GetTransactions() *big.Int

func (V2Stats) MarshalJSON ¶

func (v V2Stats) MarshalJSON() ([]byte, error)

func (*V2Stats) UnmarshalJSON ¶

func (v *V2Stats) UnmarshalJSON(data []byte) error

type V2StatsResponse ¶

type V2StatsResponse struct {
	Data V2Stats `json:"data"`
}

func (*V2StatsResponse) GetData ¶

func (o *V2StatsResponse) GetData() V2Stats

type V2Subject ¶

type V2Subject struct {
	V2LedgerAccountSubject *V2LedgerAccountSubject
	V2WalletSubject        *V2WalletSubject

	Type V2SubjectType
}

func CreateV2SubjectAccount ¶

func CreateV2SubjectAccount(account V2LedgerAccountSubject) V2Subject

func CreateV2SubjectWallet ¶

func CreateV2SubjectWallet(wallet V2WalletSubject) V2Subject

func (V2Subject) MarshalJSON ¶

func (u V2Subject) MarshalJSON() ([]byte, error)

func (*V2Subject) UnmarshalJSON ¶

func (u *V2Subject) UnmarshalJSON(data []byte) error

type V2SubjectType ¶

type V2SubjectType string
const (
	V2SubjectTypeAccount V2SubjectType = "ACCOUNT"
	V2SubjectTypeWallet  V2SubjectType = "WALLET"
)

type V2TargetID ¶

type V2TargetID struct {
	Str    *string
	Bigint *big.Int

	Type V2TargetIDType
}

func CreateV2TargetIDBigint ¶

func CreateV2TargetIDBigint(bigint *big.Int) V2TargetID

func CreateV2TargetIDStr ¶

func CreateV2TargetIDStr(str string) V2TargetID

func (V2TargetID) MarshalJSON ¶

func (u V2TargetID) MarshalJSON() ([]byte, error)

func (*V2TargetID) UnmarshalJSON ¶

func (u *V2TargetID) UnmarshalJSON(data []byte) error

type V2TargetIDType ¶

type V2TargetIDType string
const (
	V2TargetIDTypeStr    V2TargetIDType = "str"
	V2TargetIDTypeBigint V2TargetIDType = "bigint"
)

type V2TargetType ¶

type V2TargetType string
const (
	V2TargetTypeTransaction V2TargetType = "TRANSACTION"
	V2TargetTypeAccount     V2TargetType = "ACCOUNT"
)

func (V2TargetType) ToPointer ¶

func (e V2TargetType) ToPointer() *V2TargetType

func (*V2TargetType) UnmarshalJSON ¶

func (e *V2TargetType) UnmarshalJSON(data []byte) error

type V2TestTriggerResponse ¶

type V2TestTriggerResponse struct {
	Data V2TriggerTest `json:"data"`
}

func (*V2TestTriggerResponse) GetData ¶

func (o *V2TestTriggerResponse) GetData() V2TriggerTest

type V2Transaction ¶

type V2Transaction struct {
	ID        *big.Int          `json:"id"`
	Metadata  map[string]string `json:"metadata"`
	Postings  []V2Posting       `json:"postings"`
	Reference *string           `json:"reference,omitempty"`
	Reverted  bool              `json:"reverted"`
	Timestamp time.Time         `json:"timestamp"`
}

func (*V2Transaction) GetID ¶

func (o *V2Transaction) GetID() *big.Int

func (*V2Transaction) GetMetadata ¶

func (o *V2Transaction) GetMetadata() map[string]string

func (*V2Transaction) GetPostings ¶

func (o *V2Transaction) GetPostings() []V2Posting

func (*V2Transaction) GetReference ¶

func (o *V2Transaction) GetReference() *string

func (*V2Transaction) GetReverted ¶

func (o *V2Transaction) GetReverted() bool

func (*V2Transaction) GetTimestamp ¶

func (o *V2Transaction) GetTimestamp() time.Time

func (V2Transaction) MarshalJSON ¶

func (v V2Transaction) MarshalJSON() ([]byte, error)

func (*V2Transaction) UnmarshalJSON ¶

func (v *V2Transaction) UnmarshalJSON(data []byte) error

type V2TransactionsCursorResponse ¶

type V2TransactionsCursorResponse struct {
	Cursor V2TransactionsCursorResponseCursor `json:"cursor"`
}

func (*V2TransactionsCursorResponse) GetCursor ¶

type V2TransactionsCursorResponseCursor ¶

type V2TransactionsCursorResponseCursor struct {
	Data     []V2ExpandedTransaction `json:"data"`
	HasMore  bool                    `json:"hasMore"`
	Next     *string                 `json:"next,omitempty"`
	PageSize int64                   `json:"pageSize"`
	Previous *string                 `json:"previous,omitempty"`
}

func (*V2TransactionsCursorResponseCursor) GetData ¶

func (*V2TransactionsCursorResponseCursor) GetHasMore ¶

func (o *V2TransactionsCursorResponseCursor) GetHasMore() bool

func (*V2TransactionsCursorResponseCursor) GetNext ¶

func (*V2TransactionsCursorResponseCursor) GetPageSize ¶

func (o *V2TransactionsCursorResponseCursor) GetPageSize() int64

func (*V2TransactionsCursorResponseCursor) GetPrevious ¶

func (o *V2TransactionsCursorResponseCursor) GetPrevious() *string

type V2Trigger ¶

type V2Trigger struct {
	CreatedAt  time.Time      `json:"createdAt"`
	Event      string         `json:"event"`
	Filter     *string        `json:"filter,omitempty"`
	ID         string         `json:"id"`
	Name       *string        `json:"name,omitempty"`
	Vars       map[string]any `json:"vars,omitempty"`
	WorkflowID string         `json:"workflowID"`
}

func (*V2Trigger) GetCreatedAt ¶

func (o *V2Trigger) GetCreatedAt() time.Time

func (*V2Trigger) GetEvent ¶

func (o *V2Trigger) GetEvent() string

func (*V2Trigger) GetFilter ¶

func (o *V2Trigger) GetFilter() *string

func (*V2Trigger) GetID ¶

func (o *V2Trigger) GetID() string

func (*V2Trigger) GetName ¶

func (o *V2Trigger) GetName() *string

func (*V2Trigger) GetVars ¶

func (o *V2Trigger) GetVars() map[string]any

func (*V2Trigger) GetWorkflowID ¶

func (o *V2Trigger) GetWorkflowID() string

func (V2Trigger) MarshalJSON ¶

func (v V2Trigger) MarshalJSON() ([]byte, error)

func (*V2Trigger) UnmarshalJSON ¶

func (v *V2Trigger) UnmarshalJSON(data []byte) error

type V2TriggerData ¶

type V2TriggerData struct {
	Event      string         `json:"event"`
	Filter     *string        `json:"filter,omitempty"`
	Name       *string        `json:"name,omitempty"`
	Vars       map[string]any `json:"vars,omitempty"`
	WorkflowID string         `json:"workflowID"`
}

func (*V2TriggerData) GetEvent ¶

func (o *V2TriggerData) GetEvent() string

func (*V2TriggerData) GetFilter ¶

func (o *V2TriggerData) GetFilter() *string

func (*V2TriggerData) GetName ¶

func (o *V2TriggerData) GetName() *string

func (*V2TriggerData) GetVars ¶

func (o *V2TriggerData) GetVars() map[string]any

func (*V2TriggerData) GetWorkflowID ¶

func (o *V2TriggerData) GetWorkflowID() string

type V2TriggerOccurrence ¶

type V2TriggerOccurrence struct {
	Date               time.Time           `json:"date"`
	Error              *string             `json:"error,omitempty"`
	Event              map[string]any      `json:"event"`
	TriggerID          string              `json:"triggerID"`
	WorkflowInstance   *V2WorkflowInstance `json:"workflowInstance,omitempty"`
	WorkflowInstanceID *string             `json:"workflowInstanceID,omitempty"`
}

func (*V2TriggerOccurrence) GetDate ¶

func (o *V2TriggerOccurrence) GetDate() time.Time

func (*V2TriggerOccurrence) GetError ¶

func (o *V2TriggerOccurrence) GetError() *string

func (*V2TriggerOccurrence) GetEvent ¶

func (o *V2TriggerOccurrence) GetEvent() map[string]any

func (*V2TriggerOccurrence) GetTriggerID ¶

func (o *V2TriggerOccurrence) GetTriggerID() string

func (*V2TriggerOccurrence) GetWorkflowInstance ¶

func (o *V2TriggerOccurrence) GetWorkflowInstance() *V2WorkflowInstance

func (*V2TriggerOccurrence) GetWorkflowInstanceID ¶

func (o *V2TriggerOccurrence) GetWorkflowInstanceID() *string

func (V2TriggerOccurrence) MarshalJSON ¶

func (v V2TriggerOccurrence) MarshalJSON() ([]byte, error)

func (*V2TriggerOccurrence) UnmarshalJSON ¶

func (v *V2TriggerOccurrence) UnmarshalJSON(data []byte) error

type V2TriggerTest ¶

type V2TriggerTest struct {
	Filter    *Filter              `json:"filter,omitempty"`
	Variables map[string]Variables `json:"variables,omitempty"`
}

func (*V2TriggerTest) GetFilter ¶

func (o *V2TriggerTest) GetFilter() *Filter

func (*V2TriggerTest) GetVariables ¶

func (o *V2TriggerTest) GetVariables() map[string]Variables

type V2Update ¶

type V2Update struct {
	Account *V2UpdateAccount `json:"account,omitempty"`
}

func (*V2Update) GetAccount ¶

func (o *V2Update) GetAccount() *V2UpdateAccount

type V2UpdateAccount ¶

type V2UpdateAccount struct {
	ID       string            `json:"id"`
	Ledger   string            `json:"ledger"`
	Metadata map[string]string `json:"metadata"`
}

func (*V2UpdateAccount) GetID ¶

func (o *V2UpdateAccount) GetID() string

func (*V2UpdateAccount) GetLedger ¶

func (o *V2UpdateAccount) GetLedger() string

func (*V2UpdateAccount) GetMetadata ¶

func (o *V2UpdateAccount) GetMetadata() map[string]string

type V2Volume ¶

type V2Volume struct {
	Balance *big.Int `json:"balance,omitempty"`
	Input   *big.Int `json:"input"`
	Output  *big.Int `json:"output"`
}

func (*V2Volume) GetBalance ¶

func (o *V2Volume) GetBalance() *big.Int

func (*V2Volume) GetInput ¶

func (o *V2Volume) GetInput() *big.Int

func (*V2Volume) GetOutput ¶

func (o *V2Volume) GetOutput() *big.Int

func (V2Volume) MarshalJSON ¶

func (v V2Volume) MarshalJSON() ([]byte, error)

func (*V2Volume) UnmarshalJSON ¶

func (v *V2Volume) UnmarshalJSON(data []byte) error

type V2VolumesWithBalance ¶

type V2VolumesWithBalance struct {
	Account string   `json:"account"`
	Asset   string   `json:"asset"`
	Balance *big.Int `json:"balance"`
	Input   *big.Int `json:"input"`
	Output  *big.Int `json:"output"`
}

func (*V2VolumesWithBalance) GetAccount ¶

func (o *V2VolumesWithBalance) GetAccount() string

func (*V2VolumesWithBalance) GetAsset ¶

func (o *V2VolumesWithBalance) GetAsset() string

func (*V2VolumesWithBalance) GetBalance ¶

func (o *V2VolumesWithBalance) GetBalance() *big.Int

func (*V2VolumesWithBalance) GetInput ¶

func (o *V2VolumesWithBalance) GetInput() *big.Int

func (*V2VolumesWithBalance) GetOutput ¶

func (o *V2VolumesWithBalance) GetOutput() *big.Int

func (V2VolumesWithBalance) MarshalJSON ¶

func (v V2VolumesWithBalance) MarshalJSON() ([]byte, error)

func (*V2VolumesWithBalance) UnmarshalJSON ¶

func (v *V2VolumesWithBalance) UnmarshalJSON(data []byte) error

type V2VolumesWithBalanceCursorResponse ¶

type V2VolumesWithBalanceCursorResponse struct {
	Cursor V2VolumesWithBalanceCursorResponseCursor `json:"cursor"`
}

func (*V2VolumesWithBalanceCursorResponse) GetCursor ¶

type V2VolumesWithBalanceCursorResponseCursor ¶

type V2VolumesWithBalanceCursorResponseCursor struct {
	Data     []V2VolumesWithBalance `json:"data"`
	HasMore  bool                   `json:"hasMore"`
	Next     *string                `json:"next,omitempty"`
	PageSize int64                  `json:"pageSize"`
	Previous *string                `json:"previous,omitempty"`
}

func (*V2VolumesWithBalanceCursorResponseCursor) GetData ¶

func (*V2VolumesWithBalanceCursorResponseCursor) GetHasMore ¶

func (*V2VolumesWithBalanceCursorResponseCursor) GetNext ¶

func (*V2VolumesWithBalanceCursorResponseCursor) GetPageSize ¶

func (*V2VolumesWithBalanceCursorResponseCursor) GetPrevious ¶

type V2Wallet ¶

type V2Wallet struct {
	CreatedAt time.Time `json:"createdAt"`
	// The unique ID of the wallet.
	ID     string `json:"id"`
	Ledger string `json:"ledger"`
	// Metadata associated with the wallet.
	Metadata map[string]string `json:"metadata"`
	Name     string            `json:"name"`
}

func (*V2Wallet) GetCreatedAt ¶

func (o *V2Wallet) GetCreatedAt() time.Time

func (*V2Wallet) GetID ¶

func (o *V2Wallet) GetID() string

func (*V2Wallet) GetLedger ¶

func (o *V2Wallet) GetLedger() string

func (*V2Wallet) GetMetadata ¶

func (o *V2Wallet) GetMetadata() map[string]string

func (*V2Wallet) GetName ¶

func (o *V2Wallet) GetName() string

func (V2Wallet) MarshalJSON ¶

func (v V2Wallet) MarshalJSON() ([]byte, error)

func (*V2Wallet) UnmarshalJSON ¶

func (v *V2Wallet) UnmarshalJSON(data []byte) error

type V2WalletSubject ¶

type V2WalletSubject struct {
	Balance    *string `json:"balance,omitempty"`
	Identifier string  `json:"identifier"`
	Type       string  `json:"type"`
}

func (*V2WalletSubject) GetBalance ¶

func (o *V2WalletSubject) GetBalance() *string

func (*V2WalletSubject) GetIdentifier ¶

func (o *V2WalletSubject) GetIdentifier() string

func (*V2WalletSubject) GetType ¶

func (o *V2WalletSubject) GetType() string

type V2WalletWithBalances ¶

type V2WalletWithBalances struct {
	Balances  Balances  `json:"balances"`
	CreatedAt time.Time `json:"createdAt"`
	// The unique ID of the wallet.
	ID     string `json:"id"`
	Ledger string `json:"ledger"`
	// Metadata associated with the wallet.
	Metadata map[string]string `json:"metadata"`
	Name     string            `json:"name"`
}

func (*V2WalletWithBalances) GetBalances ¶

func (o *V2WalletWithBalances) GetBalances() Balances

func (*V2WalletWithBalances) GetCreatedAt ¶

func (o *V2WalletWithBalances) GetCreatedAt() time.Time

func (*V2WalletWithBalances) GetID ¶

func (o *V2WalletWithBalances) GetID() string

func (*V2WalletWithBalances) GetLedger ¶

func (o *V2WalletWithBalances) GetLedger() string

func (*V2WalletWithBalances) GetMetadata ¶

func (o *V2WalletWithBalances) GetMetadata() map[string]string

func (*V2WalletWithBalances) GetName ¶

func (o *V2WalletWithBalances) GetName() string

func (V2WalletWithBalances) MarshalJSON ¶

func (v V2WalletWithBalances) MarshalJSON() ([]byte, error)

func (*V2WalletWithBalances) UnmarshalJSON ¶

func (v *V2WalletWithBalances) UnmarshalJSON(data []byte) error

type V2Workflow ¶

type V2Workflow struct {
	Config    V2WorkflowConfig `json:"config"`
	CreatedAt time.Time        `json:"createdAt"`
	ID        string           `json:"id"`
	UpdatedAt time.Time        `json:"updatedAt"`
}

func (*V2Workflow) GetConfig ¶

func (o *V2Workflow) GetConfig() V2WorkflowConfig

func (*V2Workflow) GetCreatedAt ¶

func (o *V2Workflow) GetCreatedAt() time.Time

func (*V2Workflow) GetID ¶

func (o *V2Workflow) GetID() string

func (*V2Workflow) GetUpdatedAt ¶

func (o *V2Workflow) GetUpdatedAt() time.Time

func (V2Workflow) MarshalJSON ¶

func (v V2Workflow) MarshalJSON() ([]byte, error)

func (*V2Workflow) UnmarshalJSON ¶

func (v *V2Workflow) UnmarshalJSON(data []byte) error

type V2WorkflowConfig ¶

type V2WorkflowConfig struct {
	Name   *string          `json:"name,omitempty"`
	Stages []map[string]any `json:"stages"`
}

func (*V2WorkflowConfig) GetName ¶

func (o *V2WorkflowConfig) GetName() *string

func (*V2WorkflowConfig) GetStages ¶

func (o *V2WorkflowConfig) GetStages() []map[string]any

type V2WorkflowInstance ¶

type V2WorkflowInstance struct {
	CreatedAt    time.Time       `json:"createdAt"`
	Error        *string         `json:"error,omitempty"`
	ID           string          `json:"id"`
	Status       []V2StageStatus `json:"status,omitempty"`
	Terminated   bool            `json:"terminated"`
	TerminatedAt *time.Time      `json:"terminatedAt,omitempty"`
	UpdatedAt    time.Time       `json:"updatedAt"`
	WorkflowID   string          `json:"workflowID"`
}

func (*V2WorkflowInstance) GetCreatedAt ¶

func (o *V2WorkflowInstance) GetCreatedAt() time.Time

func (*V2WorkflowInstance) GetError ¶

func (o *V2WorkflowInstance) GetError() *string

func (*V2WorkflowInstance) GetID ¶

func (o *V2WorkflowInstance) GetID() string

func (*V2WorkflowInstance) GetStatus ¶

func (o *V2WorkflowInstance) GetStatus() []V2StageStatus

func (*V2WorkflowInstance) GetTerminated ¶

func (o *V2WorkflowInstance) GetTerminated() bool

func (*V2WorkflowInstance) GetTerminatedAt ¶

func (o *V2WorkflowInstance) GetTerminatedAt() *time.Time

func (*V2WorkflowInstance) GetUpdatedAt ¶

func (o *V2WorkflowInstance) GetUpdatedAt() time.Time

func (*V2WorkflowInstance) GetWorkflowID ¶

func (o *V2WorkflowInstance) GetWorkflowID() string

func (V2WorkflowInstance) MarshalJSON ¶

func (v V2WorkflowInstance) MarshalJSON() ([]byte, error)

func (*V2WorkflowInstance) UnmarshalJSON ¶

func (v *V2WorkflowInstance) UnmarshalJSON(data []byte) error

type V2WorkflowInstanceHistory ¶

type V2WorkflowInstanceHistory struct {
	Error        *string    `json:"error,omitempty"`
	Input        V2Stage    `json:"input"`
	Name         string     `json:"name"`
	StartedAt    time.Time  `json:"startedAt"`
	Terminated   bool       `json:"terminated"`
	TerminatedAt *time.Time `json:"terminatedAt,omitempty"`
}

func (*V2WorkflowInstanceHistory) GetError ¶

func (o *V2WorkflowInstanceHistory) GetError() *string

func (*V2WorkflowInstanceHistory) GetInput ¶

func (o *V2WorkflowInstanceHistory) GetInput() V2Stage

func (*V2WorkflowInstanceHistory) GetName ¶

func (o *V2WorkflowInstanceHistory) GetName() string

func (*V2WorkflowInstanceHistory) GetStartedAt ¶

func (o *V2WorkflowInstanceHistory) GetStartedAt() time.Time

func (*V2WorkflowInstanceHistory) GetTerminated ¶

func (o *V2WorkflowInstanceHistory) GetTerminated() bool

func (*V2WorkflowInstanceHistory) GetTerminatedAt ¶

func (o *V2WorkflowInstanceHistory) GetTerminatedAt() *time.Time

func (V2WorkflowInstanceHistory) MarshalJSON ¶

func (v V2WorkflowInstanceHistory) MarshalJSON() ([]byte, error)

func (*V2WorkflowInstanceHistory) UnmarshalJSON ¶

func (v *V2WorkflowInstanceHistory) UnmarshalJSON(data []byte) error

type V2WorkflowInstanceHistoryStage ¶

type V2WorkflowInstanceHistoryStage struct {
	Attempt       int64                                 `json:"attempt"`
	Error         *string                               `json:"error,omitempty"`
	Input         V2WorkflowInstanceHistoryStageInput   `json:"input"`
	LastFailure   *string                               `json:"lastFailure,omitempty"`
	Name          string                                `json:"name"`
	NextExecution *time.Time                            `json:"nextExecution,omitempty"`
	Output        *V2WorkflowInstanceHistoryStageOutput `json:"output,omitempty"`
	StartedAt     time.Time                             `json:"startedAt"`
	Terminated    bool                                  `json:"terminated"`
	TerminatedAt  *time.Time                            `json:"terminatedAt,omitempty"`
}

func (*V2WorkflowInstanceHistoryStage) GetAttempt ¶

func (o *V2WorkflowInstanceHistoryStage) GetAttempt() int64

func (*V2WorkflowInstanceHistoryStage) GetError ¶

func (o *V2WorkflowInstanceHistoryStage) GetError() *string

func (*V2WorkflowInstanceHistoryStage) GetInput ¶

func (*V2WorkflowInstanceHistoryStage) GetLastFailure ¶

func (o *V2WorkflowInstanceHistoryStage) GetLastFailure() *string

func (*V2WorkflowInstanceHistoryStage) GetName ¶

func (*V2WorkflowInstanceHistoryStage) GetNextExecution ¶

func (o *V2WorkflowInstanceHistoryStage) GetNextExecution() *time.Time

func (*V2WorkflowInstanceHistoryStage) GetOutput ¶

func (*V2WorkflowInstanceHistoryStage) GetStartedAt ¶

func (o *V2WorkflowInstanceHistoryStage) GetStartedAt() time.Time

func (*V2WorkflowInstanceHistoryStage) GetTerminated ¶

func (o *V2WorkflowInstanceHistoryStage) GetTerminated() bool

func (*V2WorkflowInstanceHistoryStage) GetTerminatedAt ¶

func (o *V2WorkflowInstanceHistoryStage) GetTerminatedAt() *time.Time

func (V2WorkflowInstanceHistoryStage) MarshalJSON ¶

func (v V2WorkflowInstanceHistoryStage) MarshalJSON() ([]byte, error)

func (*V2WorkflowInstanceHistoryStage) UnmarshalJSON ¶

func (v *V2WorkflowInstanceHistoryStage) UnmarshalJSON(data []byte) error

type V2WorkflowInstanceHistoryStageInput ¶

type V2WorkflowInstanceHistoryStageInput struct {
	AddAccountMetadata *V2ActivityAddAccountMetadata `json:"AddAccountMetadata,omitempty"`
	ConfirmHold        *V2ActivityConfirmHold        `json:"ConfirmHold,omitempty"`
	CreateTransaction  *V2ActivityCreateTransaction  `json:"CreateTransaction,omitempty"`
	CreditWallet       *V2ActivityCreditWallet       `json:"CreditWallet,omitempty"`
	DebitWallet        *V2ActivityDebitWallet        `json:"DebitWallet,omitempty"`
	GetAccount         *V2ActivityGetAccount         `json:"GetAccount,omitempty"`
	GetPayment         *V2ActivityGetPayment         `json:"GetPayment,omitempty"`
	GetWallet          *V2ActivityGetWallet          `json:"GetWallet,omitempty"`
	ListWallets        *V2ActivityListWallets        `json:"ListWallets,omitempty"`
	StripeTransfer     *V2ActivityStripeTransfer     `json:"StripeTransfer,omitempty"`
	VoidHold           *V2ActivityVoidHold           `json:"VoidHold,omitempty"`
}

func (*V2WorkflowInstanceHistoryStageInput) GetAddAccountMetadata ¶

func (*V2WorkflowInstanceHistoryStageInput) GetConfirmHold ¶

func (*V2WorkflowInstanceHistoryStageInput) GetCreateTransaction ¶

func (*V2WorkflowInstanceHistoryStageInput) GetCreditWallet ¶

func (*V2WorkflowInstanceHistoryStageInput) GetDebitWallet ¶

func (*V2WorkflowInstanceHistoryStageInput) GetGetAccount ¶

func (*V2WorkflowInstanceHistoryStageInput) GetGetPayment ¶

func (*V2WorkflowInstanceHistoryStageInput) GetGetWallet ¶

func (*V2WorkflowInstanceHistoryStageInput) GetListWallets ¶

func (*V2WorkflowInstanceHistoryStageInput) GetStripeTransfer ¶

func (*V2WorkflowInstanceHistoryStageInput) GetVoidHold ¶

type V2WorkflowInstanceHistoryStageOutput ¶

type V2WorkflowInstanceHistoryStageOutput struct {
	CreateTransaction *V2ActivityCreateTransactionOutput `json:"CreateTransaction,omitempty"`
	DebitWallet       *V2ActivityDebitWalletOutput       `json:"DebitWallet,omitempty"`
	GetAccount        *V2ActivityGetAccountOutput        `json:"GetAccount,omitempty"`
	GetPayment        *V2ActivityGetPaymentOutput        `json:"GetPayment,omitempty"`
	GetWallet         *V2ActivityGetWalletOutput         `json:"GetWallet,omitempty"`
	ListWallets       *V2ListWalletsResponse             `json:"ListWallets,omitempty"`
}

func (*V2WorkflowInstanceHistoryStageOutput) GetCreateTransaction ¶

func (*V2WorkflowInstanceHistoryStageOutput) GetDebitWallet ¶

func (*V2WorkflowInstanceHistoryStageOutput) GetGetAccount ¶

func (*V2WorkflowInstanceHistoryStageOutput) GetGetPayment ¶

func (*V2WorkflowInstanceHistoryStageOutput) GetGetWallet ¶

func (*V2WorkflowInstanceHistoryStageOutput) GetListWallets ¶

type Variables ¶

type Variables struct {
	Error *string `json:"error,omitempty"`
	Value *string `json:"value,omitempty"`
}

func (*Variables) GetError ¶

func (o *Variables) GetError() *string

func (*Variables) GetValue ¶

func (o *Variables) GetValue() *string

type Version ¶

type Version struct {
	Health  bool   `json:"health"`
	Name    string `json:"name"`
	Version string `json:"version"`
}

func (*Version) GetHealth ¶

func (o *Version) GetHealth() bool

func (*Version) GetName ¶

func (o *Version) GetName() string

func (*Version) GetVersion ¶

func (o *Version) GetVersion() string

type Volume ¶

type Volume struct {
	Balance *big.Int `json:"balance,omitempty"`
	Input   *big.Int `json:"input"`
	Output  *big.Int `json:"output"`
}

func (*Volume) GetBalance ¶

func (o *Volume) GetBalance() *big.Int

func (*Volume) GetInput ¶

func (o *Volume) GetInput() *big.Int

func (*Volume) GetOutput ¶

func (o *Volume) GetOutput() *big.Int

func (Volume) MarshalJSON ¶

func (v Volume) MarshalJSON() ([]byte, error)

func (*Volume) UnmarshalJSON ¶

func (v *Volume) UnmarshalJSON(data []byte) error

type Wallet ¶

type Wallet struct {
	Balances  *WalletBalances `json:"balances,omitempty"`
	CreatedAt time.Time       `json:"createdAt"`
	// The unique ID of the wallet.
	ID     string `json:"id"`
	Ledger string `json:"ledger"`
	// Metadata associated with the wallet.
	Metadata map[string]string `json:"metadata"`
	Name     string            `json:"name"`
}

func (*Wallet) GetBalances ¶

func (o *Wallet) GetBalances() *WalletBalances

func (*Wallet) GetCreatedAt ¶

func (o *Wallet) GetCreatedAt() time.Time

func (*Wallet) GetID ¶

func (o *Wallet) GetID() string

func (*Wallet) GetLedger ¶

func (o *Wallet) GetLedger() string

func (*Wallet) GetMetadata ¶

func (o *Wallet) GetMetadata() map[string]string

func (*Wallet) GetName ¶

func (o *Wallet) GetName() string

func (Wallet) MarshalJSON ¶

func (w Wallet) MarshalJSON() ([]byte, error)

func (*Wallet) UnmarshalJSON ¶

func (w *Wallet) UnmarshalJSON(data []byte) error

type WalletBalances ¶

type WalletBalances struct {
	Main AssetHolder `json:"main"`
}

func (*WalletBalances) GetMain ¶

func (o *WalletBalances) GetMain() AssetHolder

type WalletSubject ¶

type WalletSubject struct {
	Balance    *string `json:"balance,omitempty"`
	Identifier string  `json:"identifier"`
	Type       string  `json:"type"`
}

func (*WalletSubject) GetBalance ¶

func (o *WalletSubject) GetBalance() *string

func (*WalletSubject) GetIdentifier ¶

func (o *WalletSubject) GetIdentifier() string

func (*WalletSubject) GetType ¶

func (o *WalletSubject) GetType() string

type WalletWithBalances ¶

type WalletWithBalances struct {
	Balances  WalletWithBalancesBalances `json:"balances"`
	CreatedAt time.Time                  `json:"createdAt"`
	// The unique ID of the wallet.
	ID     string `json:"id"`
	Ledger string `json:"ledger"`
	// Metadata associated with the wallet.
	Metadata map[string]string `json:"metadata"`
	Name     string            `json:"name"`
}

func (*WalletWithBalances) GetBalances ¶

func (*WalletWithBalances) GetCreatedAt ¶

func (o *WalletWithBalances) GetCreatedAt() time.Time

func (*WalletWithBalances) GetID ¶

func (o *WalletWithBalances) GetID() string

func (*WalletWithBalances) GetLedger ¶

func (o *WalletWithBalances) GetLedger() string

func (*WalletWithBalances) GetMetadata ¶

func (o *WalletWithBalances) GetMetadata() map[string]string

func (*WalletWithBalances) GetName ¶

func (o *WalletWithBalances) GetName() string

func (WalletWithBalances) MarshalJSON ¶

func (w WalletWithBalances) MarshalJSON() ([]byte, error)

func (*WalletWithBalances) UnmarshalJSON ¶

func (w *WalletWithBalances) UnmarshalJSON(data []byte) error

type WalletWithBalancesBalances ¶

type WalletWithBalancesBalances struct {
	Main AssetHolder `json:"main"`
}

func (*WalletWithBalancesBalances) GetMain ¶

type WalletsTransaction ¶

type WalletsTransaction struct {
	ID     int64   `json:"id"`
	Ledger *string `json:"ledger,omitempty"`
	// Metadata associated with the wallet.
	Metadata          map[string]string                   `json:"metadata"`
	PostCommitVolumes map[string]map[string]WalletsVolume `json:"postCommitVolumes,omitempty"`
	Postings          []Posting                           `json:"postings"`
	PreCommitVolumes  map[string]map[string]WalletsVolume `json:"preCommitVolumes,omitempty"`
	Reference         *string                             `json:"reference,omitempty"`
	Timestamp         time.Time                           `json:"timestamp"`
}

func (*WalletsTransaction) GetID ¶

func (o *WalletsTransaction) GetID() int64

func (*WalletsTransaction) GetLedger ¶

func (o *WalletsTransaction) GetLedger() *string

func (*WalletsTransaction) GetMetadata ¶

func (o *WalletsTransaction) GetMetadata() map[string]string

func (*WalletsTransaction) GetPostCommitVolumes ¶

func (o *WalletsTransaction) GetPostCommitVolumes() map[string]map[string]WalletsVolume

func (*WalletsTransaction) GetPostings ¶

func (o *WalletsTransaction) GetPostings() []Posting

func (*WalletsTransaction) GetPreCommitVolumes ¶

func (o *WalletsTransaction) GetPreCommitVolumes() map[string]map[string]WalletsVolume

func (*WalletsTransaction) GetReference ¶

func (o *WalletsTransaction) GetReference() *string

func (*WalletsTransaction) GetTimestamp ¶

func (o *WalletsTransaction) GetTimestamp() time.Time

func (WalletsTransaction) MarshalJSON ¶

func (w WalletsTransaction) MarshalJSON() ([]byte, error)

func (*WalletsTransaction) UnmarshalJSON ¶

func (w *WalletsTransaction) UnmarshalJSON(data []byte) error

type WalletsVolume ¶

type WalletsVolume struct {
	Balance *big.Int `json:"balance"`
	Input   *big.Int `json:"input"`
	Output  *big.Int `json:"output"`
}

func (*WalletsVolume) GetBalance ¶

func (o *WalletsVolume) GetBalance() *big.Int

func (*WalletsVolume) GetInput ¶

func (o *WalletsVolume) GetInput() *big.Int

func (*WalletsVolume) GetOutput ¶

func (o *WalletsVolume) GetOutput() *big.Int

func (WalletsVolume) MarshalJSON ¶

func (w WalletsVolume) MarshalJSON() ([]byte, error)

func (*WalletsVolume) UnmarshalJSON ¶

func (w *WalletsVolume) UnmarshalJSON(data []byte) error

type WebhooksConfig ¶

type WebhooksConfig struct {
	Active     bool      `json:"active"`
	CreatedAt  time.Time `json:"createdAt"`
	Endpoint   string    `json:"endpoint"`
	EventTypes []string  `json:"eventTypes"`
	ID         string    `json:"id"`
	Secret     string    `json:"secret"`
	UpdatedAt  time.Time `json:"updatedAt"`
}

func (*WebhooksConfig) GetActive ¶

func (o *WebhooksConfig) GetActive() bool

func (*WebhooksConfig) GetCreatedAt ¶

func (o *WebhooksConfig) GetCreatedAt() time.Time

func (*WebhooksConfig) GetEndpoint ¶

func (o *WebhooksConfig) GetEndpoint() string

func (*WebhooksConfig) GetEventTypes ¶

func (o *WebhooksConfig) GetEventTypes() []string

func (*WebhooksConfig) GetID ¶

func (o *WebhooksConfig) GetID() string

func (*WebhooksConfig) GetSecret ¶

func (o *WebhooksConfig) GetSecret() string

func (*WebhooksConfig) GetUpdatedAt ¶

func (o *WebhooksConfig) GetUpdatedAt() time.Time

func (WebhooksConfig) MarshalJSON ¶

func (w WebhooksConfig) MarshalJSON() ([]byte, error)

func (*WebhooksConfig) UnmarshalJSON ¶

func (w *WebhooksConfig) UnmarshalJSON(data []byte) error

type WebhooksErrorsEnum ¶

type WebhooksErrorsEnum string
const (
	WebhooksErrorsEnumInternal   WebhooksErrorsEnum = "INTERNAL"
	WebhooksErrorsEnumValidation WebhooksErrorsEnum = "VALIDATION"
	WebhooksErrorsEnumNotFound   WebhooksErrorsEnum = "NOT_FOUND"
)

func (WebhooksErrorsEnum) ToPointer ¶

func (e WebhooksErrorsEnum) ToPointer() *WebhooksErrorsEnum

func (*WebhooksErrorsEnum) UnmarshalJSON ¶

func (e *WebhooksErrorsEnum) UnmarshalJSON(data []byte) error

type WiseConfig ¶

type WiseConfig struct {
	APIKey string `json:"apiKey"`
	Name   string `json:"name"`
	// The frequency at which the connector will try to fetch new BalanceTransaction objects from Wise API.
	//
	PollingPeriod *string `default:"120s" json:"pollingPeriod"`
}

func (*WiseConfig) GetAPIKey ¶

func (o *WiseConfig) GetAPIKey() string

func (*WiseConfig) GetName ¶

func (o *WiseConfig) GetName() string

func (*WiseConfig) GetPollingPeriod ¶

func (o *WiseConfig) GetPollingPeriod() *string

func (WiseConfig) MarshalJSON ¶

func (w WiseConfig) MarshalJSON() ([]byte, error)

func (*WiseConfig) UnmarshalJSON ¶

func (w *WiseConfig) UnmarshalJSON(data []byte) error

type Workflow ¶

type Workflow struct {
	Config    WorkflowConfig `json:"config"`
	CreatedAt time.Time      `json:"createdAt"`
	ID        string         `json:"id"`
	UpdatedAt time.Time      `json:"updatedAt"`
}

func (*Workflow) GetConfig ¶

func (o *Workflow) GetConfig() WorkflowConfig

func (*Workflow) GetCreatedAt ¶

func (o *Workflow) GetCreatedAt() time.Time

func (*Workflow) GetID ¶

func (o *Workflow) GetID() string

func (*Workflow) GetUpdatedAt ¶

func (o *Workflow) GetUpdatedAt() time.Time

func (Workflow) MarshalJSON ¶

func (w Workflow) MarshalJSON() ([]byte, error)

func (*Workflow) UnmarshalJSON ¶

func (w *Workflow) UnmarshalJSON(data []byte) error

type WorkflowConfig ¶

type WorkflowConfig struct {
	Name   *string          `json:"name,omitempty"`
	Stages []map[string]any `json:"stages"`
}

func (*WorkflowConfig) GetName ¶

func (o *WorkflowConfig) GetName() *string

func (*WorkflowConfig) GetStages ¶

func (o *WorkflowConfig) GetStages() []map[string]any

type WorkflowInstance ¶

type WorkflowInstance struct {
	CreatedAt    time.Time     `json:"createdAt"`
	Error        *string       `json:"error,omitempty"`
	ID           string        `json:"id"`
	Status       []StageStatus `json:"status,omitempty"`
	Terminated   bool          `json:"terminated"`
	TerminatedAt *time.Time    `json:"terminatedAt,omitempty"`
	UpdatedAt    time.Time     `json:"updatedAt"`
	WorkflowID   string        `json:"workflowID"`
}

func (*WorkflowInstance) GetCreatedAt ¶

func (o *WorkflowInstance) GetCreatedAt() time.Time

func (*WorkflowInstance) GetError ¶

func (o *WorkflowInstance) GetError() *string

func (*WorkflowInstance) GetID ¶

func (o *WorkflowInstance) GetID() string

func (*WorkflowInstance) GetStatus ¶

func (o *WorkflowInstance) GetStatus() []StageStatus

func (*WorkflowInstance) GetTerminated ¶

func (o *WorkflowInstance) GetTerminated() bool

func (*WorkflowInstance) GetTerminatedAt ¶

func (o *WorkflowInstance) GetTerminatedAt() *time.Time

func (*WorkflowInstance) GetUpdatedAt ¶

func (o *WorkflowInstance) GetUpdatedAt() time.Time

func (*WorkflowInstance) GetWorkflowID ¶

func (o *WorkflowInstance) GetWorkflowID() string

func (WorkflowInstance) MarshalJSON ¶

func (w WorkflowInstance) MarshalJSON() ([]byte, error)

func (*WorkflowInstance) UnmarshalJSON ¶

func (w *WorkflowInstance) UnmarshalJSON(data []byte) error

type WorkflowInstanceHistory ¶

type WorkflowInstanceHistory struct {
	Error        *string    `json:"error,omitempty"`
	Input        Stage      `json:"input"`
	Name         string     `json:"name"`
	StartedAt    time.Time  `json:"startedAt"`
	Terminated   bool       `json:"terminated"`
	TerminatedAt *time.Time `json:"terminatedAt,omitempty"`
}

func (*WorkflowInstanceHistory) GetError ¶

func (o *WorkflowInstanceHistory) GetError() *string

func (*WorkflowInstanceHistory) GetInput ¶

func (o *WorkflowInstanceHistory) GetInput() Stage

func (*WorkflowInstanceHistory) GetName ¶

func (o *WorkflowInstanceHistory) GetName() string

func (*WorkflowInstanceHistory) GetStartedAt ¶

func (o *WorkflowInstanceHistory) GetStartedAt() time.Time

func (*WorkflowInstanceHistory) GetTerminated ¶

func (o *WorkflowInstanceHistory) GetTerminated() bool

func (*WorkflowInstanceHistory) GetTerminatedAt ¶

func (o *WorkflowInstanceHistory) GetTerminatedAt() *time.Time

func (WorkflowInstanceHistory) MarshalJSON ¶

func (w WorkflowInstanceHistory) MarshalJSON() ([]byte, error)

func (*WorkflowInstanceHistory) UnmarshalJSON ¶

func (w *WorkflowInstanceHistory) UnmarshalJSON(data []byte) error

type WorkflowInstanceHistoryStage ¶

type WorkflowInstanceHistoryStage struct {
	Attempt       int64                               `json:"attempt"`
	Error         *string                             `json:"error,omitempty"`
	Input         WorkflowInstanceHistoryStageInput   `json:"input"`
	LastFailure   *string                             `json:"lastFailure,omitempty"`
	Name          string                              `json:"name"`
	NextExecution *time.Time                          `json:"nextExecution,omitempty"`
	Output        *WorkflowInstanceHistoryStageOutput `json:"output,omitempty"`
	StartedAt     time.Time                           `json:"startedAt"`
	Terminated    bool                                `json:"terminated"`
	TerminatedAt  *time.Time                          `json:"terminatedAt,omitempty"`
}

func (*WorkflowInstanceHistoryStage) GetAttempt ¶

func (o *WorkflowInstanceHistoryStage) GetAttempt() int64

func (*WorkflowInstanceHistoryStage) GetError ¶

func (o *WorkflowInstanceHistoryStage) GetError() *string

func (*WorkflowInstanceHistoryStage) GetInput ¶

func (*WorkflowInstanceHistoryStage) GetLastFailure ¶

func (o *WorkflowInstanceHistoryStage) GetLastFailure() *string

func (*WorkflowInstanceHistoryStage) GetName ¶

func (o *WorkflowInstanceHistoryStage) GetName() string

func (*WorkflowInstanceHistoryStage) GetNextExecution ¶

func (o *WorkflowInstanceHistoryStage) GetNextExecution() *time.Time

func (*WorkflowInstanceHistoryStage) GetOutput ¶

func (*WorkflowInstanceHistoryStage) GetStartedAt ¶

func (o *WorkflowInstanceHistoryStage) GetStartedAt() time.Time

func (*WorkflowInstanceHistoryStage) GetTerminated ¶

func (o *WorkflowInstanceHistoryStage) GetTerminated() bool

func (*WorkflowInstanceHistoryStage) GetTerminatedAt ¶

func (o *WorkflowInstanceHistoryStage) GetTerminatedAt() *time.Time

func (WorkflowInstanceHistoryStage) MarshalJSON ¶

func (w WorkflowInstanceHistoryStage) MarshalJSON() ([]byte, error)

func (*WorkflowInstanceHistoryStage) UnmarshalJSON ¶

func (w *WorkflowInstanceHistoryStage) UnmarshalJSON(data []byte) error

type WorkflowInstanceHistoryStageInput ¶

type WorkflowInstanceHistoryStageInput struct {
	AddAccountMetadata *ActivityAddAccountMetadata `json:"AddAccountMetadata,omitempty"`
	ConfirmHold        *ActivityConfirmHold        `json:"ConfirmHold,omitempty"`
	CreateTransaction  *ActivityCreateTransaction  `json:"CreateTransaction,omitempty"`
	CreditWallet       *ActivityCreditWallet       `json:"CreditWallet,omitempty"`
	DebitWallet        *ActivityDebitWallet        `json:"DebitWallet,omitempty"`
	GetAccount         *ActivityGetAccount         `json:"GetAccount,omitempty"`
	GetPayment         *ActivityGetPayment         `json:"GetPayment,omitempty"`
	GetWallet          *ActivityGetWallet          `json:"GetWallet,omitempty"`
	ListWallets        *ActivityListWallets        `json:"ListWallets,omitempty"`
	RevertTransaction  *ActivityRevertTransaction  `json:"RevertTransaction,omitempty"`
	StripeTransfer     *ActivityStripeTransfer     `json:"StripeTransfer,omitempty"`
	VoidHold           *ActivityVoidHold           `json:"VoidHold,omitempty"`
}

func (*WorkflowInstanceHistoryStageInput) GetAddAccountMetadata ¶

func (*WorkflowInstanceHistoryStageInput) GetConfirmHold ¶

func (*WorkflowInstanceHistoryStageInput) GetCreateTransaction ¶

func (*WorkflowInstanceHistoryStageInput) GetCreditWallet ¶

func (*WorkflowInstanceHistoryStageInput) GetDebitWallet ¶

func (*WorkflowInstanceHistoryStageInput) GetGetAccount ¶

func (*WorkflowInstanceHistoryStageInput) GetGetPayment ¶

func (*WorkflowInstanceHistoryStageInput) GetGetWallet ¶

func (*WorkflowInstanceHistoryStageInput) GetListWallets ¶

func (*WorkflowInstanceHistoryStageInput) GetRevertTransaction ¶

func (*WorkflowInstanceHistoryStageInput) GetStripeTransfer ¶

func (*WorkflowInstanceHistoryStageInput) GetVoidHold ¶

type WorkflowInstanceHistoryStageOutput ¶

type WorkflowInstanceHistoryStageOutput struct {
	CreateTransaction *ActivityCreateTransactionOutput  `json:"CreateTransaction,omitempty"`
	DebitWallet       *ActivityDebitWalletOutput        `json:"DebitWallet,omitempty"`
	GetAccount        *ActivityGetAccountOutput         `json:"GetAccount,omitempty"`
	GetPayment        *ActivityGetPaymentOutput         `json:"GetPayment,omitempty"`
	GetWallet         *ActivityGetWalletOutput          `json:"GetWallet,omitempty"`
	ListWallets       *OrchestrationListWalletsResponse `json:"ListWallets,omitempty"`
	RevertTransaction *ActivityRevertTransactionOutput  `json:"RevertTransaction,omitempty"`
}

func (*WorkflowInstanceHistoryStageOutput) GetCreateTransaction ¶

func (*WorkflowInstanceHistoryStageOutput) GetDebitWallet ¶

func (*WorkflowInstanceHistoryStageOutput) GetGetAccount ¶

func (*WorkflowInstanceHistoryStageOutput) GetGetPayment ¶

func (*WorkflowInstanceHistoryStageOutput) GetGetWallet ¶

func (*WorkflowInstanceHistoryStageOutput) GetListWallets ¶

func (*WorkflowInstanceHistoryStageOutput) GetRevertTransaction ¶

Source Files ¶

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL