Documentation ¶
Index ¶
- type Action
- type Breakdown
- type Client
- func (c *Client) GetSinglePaymentReport(paymentId string) (*PaymentReportsResponse, error)
- func (c *Client) QueryPaymentsReport(query PaymentReportsQuery) (*PaymentReportsResponse, error)
- func (c *Client) QueryStatementsReport(query common.DateRangeQuery) (*StatementReportsResponse, error)
- func (c *Client) RetrieveCVSPaymentsReport(query common.DateRangeQuery) (*common.ContentResponse, error)
- func (c *Client) RetrieveCVSSingleStatementReport(statementId string) (*common.ContentResponse, error)
- func (c *Client) RetrieveCVSStatementsReport(query common.DateRangeQuery) (*common.ContentResponse, error)
- type PaymentReportData
- type PaymentReportsQuery
- type PaymentReportsResponse
- type PayoutStatement
- type StatementReportsData
- type StatementReportsResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct { Type string `json:"type,omitempty"` Id string `json:"id,omitempty"` ProcessedOn string `json:"processed_on,omitempty"` ResponseCode string `json:"response_code,omitempty"` ResponseDescription string `json:"response_description,omitempty"` Breakdown []Breakdown `json:"breakdown,omitempty"` }
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func NewClient ¶
func NewClient(configuration *configuration.Configuration, apiClient client.HttpClient) *Client
func (*Client) GetSinglePaymentReport ¶ added in v1.0.2
func (c *Client) GetSinglePaymentReport(paymentId string) (*PaymentReportsResponse, error)
func (*Client) QueryPaymentsReport ¶ added in v1.0.2
func (c *Client) QueryPaymentsReport(query PaymentReportsQuery) (*PaymentReportsResponse, error)
func (*Client) QueryStatementsReport ¶ added in v1.0.2
func (c *Client) QueryStatementsReport(query common.DateRangeQuery) (*StatementReportsResponse, error)
func (*Client) RetrieveCVSPaymentsReport ¶ added in v1.0.2
func (c *Client) RetrieveCVSPaymentsReport(query common.DateRangeQuery) (*common.ContentResponse, error)
func (*Client) RetrieveCVSSingleStatementReport ¶ added in v1.0.2
func (c *Client) RetrieveCVSSingleStatementReport(statementId string) (*common.ContentResponse, error)
func (*Client) RetrieveCVSStatementsReport ¶ added in v1.0.2
func (c *Client) RetrieveCVSStatementsReport(query common.DateRangeQuery) (*common.ContentResponse, error)
type PaymentReportData ¶ added in v1.0.2
type PaymentReportData struct { Id string `json:"id,omitempty"` ProcessingCurrency common.Currency `json:"processing_currency,omitempty"` PayoutCurrency common.Currency `json:"payout_currency,omitempty"` RequestedOn string `json:"requested_on,omitempty"` ChannelName string `json:"channel_name,omitempty"` Reference string `json:"reference,omitempty"` PaymentMethod string `json:"payment_method,omitempty"` CardType string `json:"card_type,omitempty"` CardCategory string `json:"card_category,omitempty"` IssuerCountry common.Country `json:"issuer_country,omitempty"` MerchantCountry common.Country `json:"merchant_country,omitempty"` Mid string `json:"mid,omitempty"` Actions []Action `json:"actions,omitempty"` Links map[string]common.Link `json:"_links"` }
type PaymentReportsQuery ¶ added in v1.0.2
type PaymentReportsResponse ¶ added in v1.0.2
type PaymentReportsResponse struct { HttpMetadata common.HttpMetadata Count int `json:"count,omitempty"` Data []PaymentReportData `json:"data,omitempty"` Links map[string]common.Link `json:"_links"` }
type PayoutStatement ¶ added in v1.0.2
type PayoutStatement struct { Id string `json:"id,omitempty"` Currency common.Currency `json:"currency,omitempty"` CarriedForwardAmount float64 `json:"carried_forward_amount,omitempty"` CurrentPeriodAmount float64 `json:"current_period_amount,omitempty"` NetAmount float64 `json:"net_amount,omitempty"` Date string `json:"date,omitempty"` PeriodStart string `json:"period_start,omitempty"` PeriodEnd string `json:"period_end,omitempty"` Status string `json:"status,omitempty"` PayoutFee float64 `json:"payout_fee,omitempty"` Links map[string]common.Link `json:"_links"` }
type StatementReportsData ¶ added in v1.0.2
type StatementReportsData struct { Id string `json:"id,omitempty"` PeriodStart string `json:"period_start,omitempty"` PeriodEnd string `json:"period_end,omitempty"` Date string `json:"date,omitempty"` Payouts []PayoutStatement `json:"payouts,omitempty"` Links map[string]common.Link `json:"_links"` }
type StatementReportsResponse ¶ added in v1.0.2
type StatementReportsResponse struct { HttpMetadata common.HttpMetadata Count int `json:"count,omitempty"` Data []StatementReportsData `json:"data,omitempty"` Links map[string]common.Link `json:"_links"` }
Click to show internal directories.
Click to hide internal directories.