Skip to content

Commit 326d69c

Browse files
fixed grammatical error
1 parent 0606782 commit 326d69c

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

authorization.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ func (c *Client) VoidAuthorization(ctx context.Context, authID string) (*Authori
6868
}
6969

7070
// ReauthorizeAuthorization reauthorize a Paypal account payment.
71-
// PayPal recommends to reauthorize payment after ~3 days
71+
// PayPal recommends reauthorizing payment after ~3 days
7272
// Endpoint: POST /v2/payments/authorizations/ID/reauthorize
7373
func (c *Client) ReauthorizeAuthorization(ctx context.Context, authID string, a *Amount) (*Authorization, error) {
7474
buf := bytes.NewBuffer([]byte(`{"amount":{"currency":"` + a.Currency + `","total":"` + a.Total + `"}}`))

client.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ func (c *Client) SetReturnRepresentation() {
7878
}
7979

8080
// Send makes a request to the API, the response body will be
81-
// unmarshaled into v, or if v is an io.Writer, the response will
81+
// unmarshalled into v, or if v is an io.Writer, the response will
8282
// be written to it without decoding
8383
func (c *Client) Send(req *http.Request, v interface{}) error {
8484
var (

webprofile.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ func (c *Client) GetWebProfile(ctx context.Context, profileID string) (*WebProfi
5151
return &wp, nil
5252
}
5353

54-
// GetWebProfiles retreieves web experience profiles from Paypal
54+
// GetWebProfiles retrieves web experience profiles from Paypal
5555
//
5656
// Endpoint: GET /v1/payment-experience/web-profiles
5757
func (c *Client) GetWebProfiles(ctx context.Context) ([]WebProfile, error) {

0 commit comments

Comments
 (0)