Module: Peddler::Reports::Promotion

Defined in:
lib/peddler/reports/promotion.rb,
lib/peddler/reports/promotion/report.rb,
lib/peddler/reports/promotion/report_options.rb,
lib/peddler/reports/promotion/details_by_product.rb,
lib/peddler/reports/promotion/details_by_promotion.rb,
lib/peddler/reports/promotion/report_specification.rb,
sig/peddler/reports/promotion.rbs

Overview

The Promotion Performance report contains data to help vendors optimize their promotions and adjust their advertising strategies. Currently three promotion types are supported: Best Deal, Lightning Deal, and Price Discount. This report supports start dates up to two years before the current date.

Defined Under Namespace

Classes: DetailsByProduct, DetailsByPromotion, Report, ReportOptions, ReportSpecification

Class Method Summary collapse

Class Method Details

.parse(hash) ⇒ Peddler::Reports::Promotion::Report

Parameters:

  • (Hash[String | Symbol, untyped])

Returns:



14
15
16
# File 'lib/peddler/reports/promotion.rb', line 14

def parse(hash)
  Report.parse(hash)
end