| Package | Description |
|---|---|
| com.approveapi |
| Modifier and Type | Method and Description |
|---|---|
Prompt |
Prompt.answer(PromptAnswer answer) |
Prompt |
ApproveApi.createPrompt(CreatePromptRequest createPromptRequest)
Sending a prompt
Creates a prompt and pushes it to the user (sends via email, sms, or other supported protocols).
|
Prompt |
Prompt.expiresAt(BigDecimal expiresAt) |
Prompt |
ApproveApi.getPrompt(String id,
Boolean longPoll)
Retrieve a prompt
Retrieve the prompt object with the given ID.
|
Prompt |
Prompt.id(String id) |
Prompt |
Prompt.metadata(PromptMetadata metadata) |
Prompt |
Prompt.sentAt(BigDecimal sentAt) |
| Modifier and Type | Method and Description |
|---|---|
ApiResponse<Prompt> |
ApproveApi.createPromptWithHttpInfo(CreatePromptRequest createPromptRequest)
Sending a prompt
Creates a prompt and pushes it to the user (sends via email, sms, or other supported protocols).
|
ApiResponse<Prompt> |
ApproveApi.getPromptWithHttpInfo(String id,
Boolean longPoll)
Retrieve a prompt
Retrieve the prompt object with the given ID.
|
| Modifier and Type | Method and Description |
|---|---|
okhttp3.Call |
ApproveApi.createPromptAsync(CreatePromptRequest createPromptRequest,
ApiCallback<Prompt> callback)
Sending a prompt (asynchronously)
Creates a prompt and pushes it to the user (sends via email, sms, or other supported protocols).
|
okhttp3.Call |
ApproveApi.getPromptAsync(String id,
Boolean longPoll,
ApiCallback<Prompt> callback)
Retrieve a prompt (asynchronously)
Retrieve the prompt object with the given ID.
|
Copyright © 2019. All rights reserved.