paymentdispatchers

package
v0.0.0-...-c846bbc Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CirclePaymentDispatcher

type CirclePaymentDispatcher struct {
	// contains filtered or unexported fields
}

func NewCirclePaymentDispatcher

func NewCirclePaymentDispatcher(sdpModels *data.Models, circleService circle.ServiceInterface, distAccountResolver signing.DistributionAccountResolver) *CirclePaymentDispatcher

func (*CirclePaymentDispatcher) DispatchPayments

func (c *CirclePaymentDispatcher) DispatchPayments(ctx context.Context, sdpDBTx db.DBTransaction, tenantID string, paymentsToDispatch []*data.Payment) error

func (*CirclePaymentDispatcher) SupportedPlatform

func (c *CirclePaymentDispatcher) SupportedPlatform() schema.Platform

type PaymentDispatcherInterface

type PaymentDispatcherInterface interface {
	DispatchPayments(ctx context.Context, sdpDBTx db.DBTransaction, tenantID string, paymentsToDispatch []*data.Payment) error
	SupportedPlatform() schema.Platform
}

type StellarPaymentDispatcher

type StellarPaymentDispatcher struct {
	// contains filtered or unexported fields
}

func NewStellarPaymentDispatcher

func NewStellarPaymentDispatcher(sdpModels *data.Models, tssModel *txSubStore.TransactionModel, distAccountResolver signing.DistributionAccountResolver) *StellarPaymentDispatcher

func (*StellarPaymentDispatcher) DispatchPayments

func (s *StellarPaymentDispatcher) DispatchPayments(ctx context.Context, sdpDBTx db.DBTransaction, tenantID string, paymentsToDispatch []*data.Payment) error

func (*StellarPaymentDispatcher) SupportedPlatform

func (s *StellarPaymentDispatcher) SupportedPlatform() schema.Platform

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL