Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions src/main/java/com/meteroid/api/Events.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ public WithRawResponse withRawResponse() {
* <p>Ingest usage events for metering and billing purposes.
*
* <p>Events are deduplicated by <code>(event_id, customer_id)</code> — re-sending the same pair
* will not be double-counted. If timestamps differ across duplicates, the event with the latest
* timestamp is used.
* will not be double-counted. The first copy received is kept and later copies are ignored,
* whatever they change.
*
* <p>By default, any invalid event rejects the entire batch. Set <code>allow_partial_failures
* </code> to <code>true</code> to ingest valid events and receive per-event failure details in
Expand All @@ -64,8 +64,8 @@ public IngestEventsResponse ingest(final IngestEventsRequest ingestEventsRequest
* <p>Ingest usage events for metering and billing purposes.
*
* <p>Events are deduplicated by <code>(event_id, customer_id)</code> — re-sending the same pair
* will not be double-counted. If timestamps differ across duplicates, the event with the latest
* timestamp is used.
* will not be double-counted. The first copy received is kept and later copies are ignored,
* whatever they change.
*
* <p>By default, any invalid event rejects the entire batch. Set <code>allow_partial_failures
* </code> to <code>true</code> to ingest valid events and receive per-event failure details in
Expand Down Expand Up @@ -101,8 +101,8 @@ private WithRawResponse() {}
* <p>Ingest usage events for metering and billing purposes.
*
* <p>Events are deduplicated by <code>(event_id, customer_id)</code> — re-sending the same
* pair will not be double-counted. If timestamps differ across duplicates, the event with
* the latest timestamp is used.
* pair will not be double-counted. The first copy received is kept and later copies are
* ignored, whatever they change.
*
* <p>By default, any invalid event rejects the entire batch. Set <code>
* allow_partial_failures</code> to <code>true</code> to ingest valid events and receive
Expand All @@ -122,8 +122,8 @@ public ApiResponse<IngestEventsResponse> ingest(
* <p>Ingest usage events for metering and billing purposes.
*
* <p>Events are deduplicated by <code>(event_id, customer_id)</code> — re-sending the same
* pair will not be double-counted. If timestamps differ across duplicates, the event with
* the latest timestamp is used.
* pair will not be double-counted. The first copy received is kept and later copies are
* ignored, whatever they change.
*
* <p>By default, any invalid event rejects the entire batch. Set <code>
* allow_partial_failures</code> to <code>true</code> to ingest valid events and receive
Expand Down
16 changes: 8 additions & 8 deletions src/main/java/com/meteroid/api/EventsAsync.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ public WithRawResponse withRawResponse() {
* <p>Ingest usage events for metering and billing purposes.
*
* <p>Events are deduplicated by <code>(event_id, customer_id)</code> — re-sending the same pair
* will not be double-counted. If timestamps differ across duplicates, the event with the latest
* timestamp is used.
* will not be double-counted. The first copy received is kept and later copies are ignored,
* whatever they change.
*
* <p>By default, any invalid event rejects the entire batch. Set <code>allow_partial_failures
* </code> to <code>true</code> to ingest valid events and receive per-event failure details in
Expand All @@ -62,8 +62,8 @@ public CompletableFuture<IngestEventsResponse> ingest(
* <p>Ingest usage events for metering and billing purposes.
*
* <p>Events are deduplicated by <code>(event_id, customer_id)</code> — re-sending the same pair
* will not be double-counted. If timestamps differ across duplicates, the event with the latest
* timestamp is used.
* will not be double-counted. The first copy received is kept and later copies are ignored,
* whatever they change.
*
* <p>By default, any invalid event rejects the entire batch. Set <code>allow_partial_failures
* </code> to <code>true</code> to ingest valid events and receive per-event failure details in
Expand All @@ -88,8 +88,8 @@ private WithRawResponse() {}
* <p>Ingest usage events for metering and billing purposes.
*
* <p>Events are deduplicated by <code>(event_id, customer_id)</code> — re-sending the same
* pair will not be double-counted. If timestamps differ across duplicates, the event with
* the latest timestamp is used.
* pair will not be double-counted. The first copy received is kept and later copies are
* ignored, whatever they change.
*
* <p>By default, any invalid event rejects the entire batch. Set <code>
* allow_partial_failures</code> to <code>true</code> to ingest valid events and receive
Expand All @@ -109,8 +109,8 @@ public CompletableFuture<ApiResponse<IngestEventsResponse>> ingest(
* <p>Ingest usage events for metering and billing purposes.
*
* <p>Events are deduplicated by <code>(event_id, customer_id)</code> — re-sending the same
* pair will not be double-counted. If timestamps differ across duplicates, the event with
* the latest timestamp is used.
* pair will not be double-counted. The first copy received is kept and later copies are
* ignored, whatever they change.
*
* <p>By default, any invalid event rejects the entire batch. Set <code>
* allow_partial_failures</code> to <code>true</code> to ingest valid events and receive
Expand Down
Loading