Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 616 Bytes

File metadata and controls

24 lines (18 loc) · 616 Bytes

SendX::RevenueEventRequest

Properties

Name Type Description Notes
identifier String Contact email address
amount Float Revenue amount
source String Source of the revenue event [optional]
time Integer Unix timestamp (in seconds since January 1, 1970) representing when the event occurred. [optional]

Example

require 'sendx-ruby-sdk'

instance = SendX::RevenueEventRequest.new(
  identifier: customer@example.com,
  amount: 99.99,
  source: website,
  time: 1669990400
)