diff --git a/payment.go b/payment.go index 9ef76c8..d6a4f6a 100644 --- a/payment.go +++ b/payment.go @@ -134,7 +134,7 @@ func (c *Client) GetPayments() ([]Payment, error) { return c.getPayments(nil) } -// GetPayments retrieve payments resources from Paypal by the provided filter +// GetPaymentsWithFilter retrieve payments resources from Paypal by the provided filter // Endpoint: GET /v1/payments/payment/ func (c *Client) GetPaymentsWithFilter(filter *Filter) ([]Payment, error) { return c.getPayments(filter)