Skip to content

Commit

Permalink
EventsSDK: Add Value property to EventPayload
Browse files Browse the repository at this point in the history
  • Loading branch information
Ethan Jaffee committed Oct 25, 2023
1 parent 6cebbf3 commit 8650c76
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/EventPayload.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,13 @@ export interface EventPayload {
/** The algorithm to use to anonymize the IP address after collection. */
algorithm?: string;
};
/** The monetary value of the event. */
value?: {
/** The monetary value. */
amount: number;
/** The ISO 4217 currency code of the currency the value is expressed in. */
currency: string;
};
/**
* Information used to associate analytics with a particular user.
*
Expand Down

0 comments on commit 8650c76

Please sign in to comment.