Versions in this module Expand all Collapse all v0 v0.7.0 Apr 9, 2023 v0.6.0 Apr 9, 2023 v0.5.0 Apr 8, 2023 v0.4.0 Apr 8, 2023 v0.3.0 Apr 8, 2023 v0.2.0 Apr 8, 2023 v0.1.0 Apr 6, 2023 Changes in this version + type BulkTransfer struct + Currency string + Source string + Transfers []map[string]interface{} + type DefaultTransferService struct + func (s *DefaultTransferService) CreateRecipient(recipient *Recipient) (*Recipient, error) + func (s *DefaultTransferService) DisableOTP() (response.Response, error) + func (s *DefaultTransferService) EnableOTP() (response.Response, error) + func (s *DefaultTransferService) Finalize(code, otp string) (response.Response, error) + func (s *DefaultTransferService) FinalizeOTPDisable(otp string) (response.Response, error) + func (s *DefaultTransferService) Get(idCode string) (*Transfer, error) + func (s *DefaultTransferService) Initiate(req *Request) (*Transfer, error) + func (s *DefaultTransferService) List() (*List, error) + func (s *DefaultTransferService) ListN(count, offset int) (*List, error) + func (s *DefaultTransferService) ListRecipients() (*RecipientList, error) + func (s *DefaultTransferService) ListRecipientsN(count, offset int) (*RecipientList, error) + func (s *DefaultTransferService) MakeBulkTransfer(req *BulkTransfer) (response.Response, error) + func (s *DefaultTransferService) ResendOTP(transferCode, reason string) (response.Response, error) + type List struct + Meta response.ListMeta + Values []Transfer + type Recipient struct + AccountNumber string + Active bool + BankCode string + CreatedAt string + Currency string + Description string + Details map[string]interface{} + Domain string + ID int + Metadata client.Metadata + Name string + RecipientCode string + Type string + UpdatedAt string + type RecipientList struct + Meta response.ListMeta + Values []Recipient + type Request struct + Amount float32 + Currency string + Reason string + Recipient string + Source string + type Service interface + CreateRecipient func(recipient *Recipient) (*Recipient, error) + DisableOTP func() (response.Response, error) + EnableOTP func() (response.Response, error) + Finalize func(code, otp string) (response.Response, error) + FinalizeOTPDisable func(otp string) (response.Response, error) + Get func(idCode string) (*Transfer, error) + Initiate func(req *Request) (*Transfer, error) + List func() (*List, error) + ListN func(count, offset int) (*List, error) + ListRecipients func() (*RecipientList, error) + ListRecipientsN func(count, offset int) (*RecipientList, error) + MakeBulkTransfer func(req *BulkTransfer) (response.Response, error) + ResendOTP func(transferCode, reason string) (response.Response, error) + type Transfer struct + Amount float32 + CreatedAt string + Currency string + Domain string + Failures interface{} + ID int + Integration int + Reason string + Recipient interface{} + Source string + SourceDetails interface{} + Status string + TitanCode string + TransferCode string + TransferredAt string + UpdatedAt string