Documentation ¶
Index ¶
- Constants
- func NewAmount(m *librefund.Money) *api.Amount
- type Adapter
- func (s *Adapter) GetLastPayments(from int, amount int) ([]*payment.Payment, error)
- func (s *Adapter) PaymentURL(paymentID string) (string, error)
- func (s *Adapter) RefundPayment(paymentID string, req *payment.RefundRequest) (*payment.RefundResponse, error)
- func (s *Adapter) SetLogger(log librefund.Logger)
- func (s *Adapter) StartPayment(req *payment.PaymentRequest) (*payment.PaymentResponse, error)
- func (s *Adapter) TransferMethod() string
Constants ¶
BufferDelay is the amount of time allowed after objective exparation for refunding contributions.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Adapter ¶
func (*Adapter) GetLastPayments ¶
func (*Adapter) PaymentURL ¶
OrderURL returns the URL for fulfilling the order.
func (*Adapter) RefundPayment ¶
func (s *Adapter) RefundPayment( paymentID string, req *payment.RefundRequest, ) (*payment.RefundResponse, error)
func (*Adapter) StartPayment ¶
func (s *Adapter) StartPayment( req *payment.PaymentRequest, ) (*payment.PaymentResponse, error)
Click to show internal directories.
Click to hide internal directories.