Documentation ¶
Index ¶
- type LedgerService
- func (ls *LedgerService) CreatePayment(p entities.Payment) (entities.Payment, error)
- func (ls *LedgerService) ReadPayment(id uuid.UUID) (entities.Payment, error)
- func (ls *LedgerService) ReadPaymentUsingBankReference(bankPaymentID uuid.UUID) (entities.Payment, error)
- func (ls *LedgerService) SetPaymentFail(p entities.Payment) (entities.Payment, error)
- func (ls *LedgerService) SetPaymentPending(p entities.Payment) (entities.Payment, error)
- func (ls *LedgerService) SetPaymentSuccess(p entities.Payment) (entities.Payment, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LedgerService ¶
type LedgerService struct {
// contains filtered or unexported fields
}
func NewLedgerService ¶
func NewLedgerService(ctx context.Context, address string) *LedgerService
func (*LedgerService) CreatePayment ¶
func (*LedgerService) ReadPayment ¶
func (*LedgerService) ReadPaymentUsingBankReference ¶
func (*LedgerService) SetPaymentFail ¶
func (*LedgerService) SetPaymentPending ¶
func (*LedgerService) SetPaymentSuccess ¶
Click to show internal directories.
Click to hide internal directories.