Versions in this module Expand all Collapse all v0 v0.0.30 Aug 2, 2022 v0.0.25 Jul 20, 2022 Changes in this version + type Action struct + Breakdown []Breakdown + ID string + ProcessedOn string + ResponseCode uint64 + ResponseDescription string + Type string + type Breakdown struct + Date string + PayoutCurrencyAmount *float64 + ProcessingCurrencyAmount *float64 + Type string + type Client struct + API checkout.HTTPClient + func NewClient(config checkout.Config) *Client + func (c *Client) PaymentReport(paymentID *string, request *Request) (*Response, error) + func (c *Client) PaymentsReport(request *Request) (*Response, error) + func (c *Client) PaymentsReportCSV(request *Request) (*Response, error) + func (c *Client) StatementPaymentReport(statementID string, request *Request) (*Response, error) + func (c *Client) StatementPaymentReportCSV(statementID *string) (*Response, error) + func (c *Client) StatementsReport(request *Request) (*Response, error) + func (c *Client) StatementsReportCSV(request *Request) (*Response, error) + type CurrentPeriodBreakdown struct + AdminFees *float64 + ChargebackAmount *float64 + GeneralAdjustments *float64 + ProcessedAmount *float64 + ProcessingFees *float64 + ProcessingFeesBreakdown *ProcessingFeesBreakdown + RefundAmount *float64 + RollingReserveAmount *float64 + Tax *float64 + type Payment struct + Actions []Action + CardCategory common.CardCategory + CardType common.CardType + ChannelName string + ID string + IssuerCountry string + Links map[string]common.Link + MID string + MerchantCountry string + PaymentMethod string + PayoutCurrency string + ProcessingCurrency string + Reference string + RequestedOn string + type PaymentParameter struct + Reference string + type PaymentsParameter struct + From time.Time + Limit uint64 + Reference string + To time.Time + type PaymentsReport struct + Count uint64 + Data []Payment + Links map[string]common.Link + type Payout struct + CarriedForwardAmount *float64 + Currency string + CurrentPeriodAmount *float64 + CurrentPeriodBreakdown *CurrentPeriodBreakdown + Date string + ID string + Links map[string]common.Link + NetAmount *float64 + PayoutFee *float64 + PeriodEnd string + PeriodStart string + Status string + type ProcessingFeesBreakdown struct + AccountUpdaterFees *float64 + ChargebackFees *float64 + InterchangeFees *float64 + PaymentGatewayFees *float64 + PremiumAndAPMFees *float64 + SchemeAndOtherNetworkFees *float64 + type Request struct + type Response struct + CSV [][]string + PaymentsReport *PaymentsReport + StatementsReport *StatementsReport + StatusResponse *checkout.StatusResponse + type Statement struct + Date string + ID string + Links map[string]common.Link + Payouts *[]Payout + PeriodEnd string + PeriodStart string + type StatementParameter struct + Limit uint64 + PayoutCurrency string + PayoutID string + type StatementsParameter struct + From time.Time + Include string + To time.Time + type StatementsReport struct + Count uint64 + Data []Statement + Links map[string]common.Link