mangopay v0.1.0 MangoPay.Event

Functions for MangoPay event.

Link to this section Summary

Functions

List all disputes

List all disputes

Get path called

Get path called

Link to this section Functions

Link to this function all(query \\ %{})

List all disputes.

Examples

query         = %{
                  "Page": 1,
                  "Per_Page": 25,
                  "Sort": "CreationDate:DESC",
                  "BeforeDate": 1463440221,
                  "AfterDate": 1431817821,
                  "EventType": "PAYIN_NORMAL_CREATED"
}
{:ok, events} = MangoPay.Event.all(query)
Link to this function all!(query \\ %{})

List all disputes.

Examples

query  = %{
           "Page": 1,
           "Per_Page": 25,
           "Sort": "CreationDate:DESC",
           "BeforeDate": 1463440221,
           "AfterDate": 1431817821,
           "EventType": "PAYIN_NORMAL_CREATED"
}
events = MangoPay.Event.all!(query)

Get path called.

Examples

"/users" = MangoPay.User.path()

Get path called.

Examples

"/users/id" = MangoPay.User.path(id)