public interface EstimateMessagesApi
| Modifier and Type | Method and Description |
|---|---|
EstimateMessage |
create(Reference<Estimate> estimateReference,
EstimateMessage creationInfo)
Create a new EstimateMessage
|
void |
delete(Reference<Estimate> estimateReference,
Reference<EstimateMessage> estimateMessageReference)
Delete an existing EstimateMessage.
|
List<EstimateMessage> |
list(Reference<Estimate> estimateReference,
Instant updatedSince) |
Pagination<EstimateMessage> |
list(Reference<Estimate> estimateReference,
Instant updatedSince,
int page,
int perPage) |
EstimateMessage |
markAs(Reference<Estimate> estimateReference,
EstimateMessage.EventType eventType)
Change the state of an estimate to the given eventType.
|
List<EstimateMessage> list(Reference<Estimate> estimateReference, Instant updatedSince)
updatedSince - return only EstimateMessages that have been updated at least 1
second after updatedSince. Set to null to disable filtering.estimateReference - the estimate containing the messagesPagination<EstimateMessage> list(Reference<Estimate> estimateReference, Instant updatedSince, int page, int perPage)
updatedSince - return only EstimateMessages that have been updated at least 1
second after updatedSince. Set to null to disable filtering.estimateReference - the estimate containing the messagespage - the page numberperPage - how many results to return for one page. Max 100EstimateMessage create(Reference<Estimate> estimateReference, EstimateMessage creationInfo)
estimateReference - the estimate that will contain the messagecreationInfo - creation informationEstimateMessage markAs(Reference<Estimate> estimateReference, EstimateMessage.EventType eventType)
estimateReference - the estimate against which to record the eventeventType - the event you want to record for this estimatevoid delete(Reference<Estimate> estimateReference, Reference<EstimateMessage> estimateMessageReference)
estimateReference - the estimate that contains the messageestimateMessageReference - An existing EstimateMessage to be deleted