Interface: Api
Entry point for expenses in Smokeball.Methods
create()
create(Creates a new expense and returns the newly created expense.request
):Promise
<Expense
>
Parameters
request
CreateExpenseRequest
the create request.
Returns
Promise
<Expense
>
Example
get()
get(Gets the expense associated with the specified id.request
):Promise
<Expense
>
Parameters
request
GetExpenseRequest
Returns
Promise
<Expense
>
the expense associated with the specified id.