Class: Peddler::Reports::Promotion::Report

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/reports/promotion.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#promotionsArray[Peddler::Reports::Promotion::DetailsByPromotion] (readonly)

Returns the value of attribute promotions.



73
74
75
# File 'sig/peddler/reports/promotion.rbs', line 73

def promotions
  @promotions
end

#report_specificationPeddler::Reports::Promotion::ReportSpecification (readonly)

Returns the value of attribute report_specification.



74
75
76
# File 'sig/peddler/reports/promotion.rbs', line 74

def report_specification
  @report_specification
end

Class Method Details

.[](promotions:, report_specification:) ⇒ Peddler::Reports::Promotion::Report .[](arg0, arg1) ⇒ Peddler::Reports::Promotion::Report



66
67
# File 'sig/peddler/reports/promotion.rbs', line 66

def self.[]: (promotions: Array[Peddler::Reports::Promotion::DetailsByPromotion], report_specification: Peddler::Reports::Promotion::ReportSpecification) -> Peddler::Reports::Promotion::Report
| (Array[Peddler::Reports::Promotion::DetailsByPromotion], Peddler::Reports::Promotion::ReportSpecification) -> Peddler::Reports::Promotion::Report

.members[ :promotions, :report_specification ]

Returns:

  • ([ :promotions, :report_specification ])


69
# File 'sig/peddler/reports/promotion.rbs', line 69

def self.members: () -> [ :promotions, :report_specification ]

.new(promotions:, report_specification:) ⇒ Peddler::Reports::Promotion::Report .new(arg0, arg1) ⇒ Peddler::Reports::Promotion::Report



64
65
# File 'sig/peddler/reports/promotion.rbs', line 64

def self.new: (promotions: Array[Peddler::Reports::Promotion::DetailsByPromotion], report_specification: Peddler::Reports::Promotion::ReportSpecification) -> Peddler::Reports::Promotion::Report
| (Array[Peddler::Reports::Promotion::DetailsByPromotion], Peddler::Reports::Promotion::ReportSpecification) -> Peddler::Reports::Promotion::Report

.parsePeddler::Reports::Promotion::Report

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



71
# File 'sig/peddler/reports/promotion.rbs', line 71

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Reports::Promotion::Report

Instance Method Details

#members[ :promotions, :report_specification ]

Returns:

  • ([ :promotions, :report_specification ])


76
# File 'sig/peddler/reports/promotion.rbs', line 76

def members: () -> [ :promotions, :report_specification ]

#to_h{ promotions: Array[Peddler::Reports::Promotion::DetailsByPromotion], report_specification: Peddler::Reports::Promotion::ReportSpecification }



77
# File 'sig/peddler/reports/promotion.rbs', line 77

def to_h: () -> { promotions: Array[Peddler::Reports::Promotion::DetailsByPromotion], report_specification: Peddler::Reports::Promotion::ReportSpecification }