Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 864 Bytes

ProductUnitAnalyticsDataPoint.md

File metadata and controls

25 lines (18 loc) · 864 Bytes

TalonOne::ProductUnitAnalyticsDataPoint

Properties

Name Type Description Notes
start_time DateTime The start of the aggregation time frame in UTC.
end_time DateTime The end of the aggregation time frame in UTC.
units_sold AnalyticsDataPointWithTrend
product_id Integer The ID of the product.
product_name String The name of the product.

Code Sample

require 'TalonOne'

instance = TalonOne::ProductUnitAnalyticsDataPoint.new(start_time: 2024-02-01T00:00Z,
                                 end_time: null,
                                 units_sold: null,
                                 product_id: 1,
                                 product_name: MyProduct)