forked from go-packages/paypal
Update README.md
wrong parameter name for listing payments
This commit is contained in:
parent
36f64e9a3b
commit
d5a45e7e9a
|
@ -133,7 +133,7 @@ filter.AddTextField("sort_order").Is = "desc"
|
||||||
|
|
||||||
//And time fields
|
//And time fields
|
||||||
filter.AddTimeField("start_time").Is = time.Now().Add(-time.Hour * 24 * 30)
|
filter.AddTimeField("start_time").Is = time.Now().Add(-time.Hour * 24 * 30)
|
||||||
filter.AddTimeField("stop_time").Is = time.Now()
|
filter.AddTimeField("end_time").Is = time.Now()
|
||||||
|
|
||||||
payments, err := c.GetPaymentsWithFilter(filter)
|
payments, err := c.GetPaymentsWithFilter(filter)
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue
Block a user