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.



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

def promotions
  @promotions
end

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

Returns the value of attribute report_specification.



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

def report_specification
  @report_specification
end

Class Method Details

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



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

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 ])


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

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

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



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

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:



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

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

Instance Method Details

#members[ :promotions, :report_specification ]

Returns:

  • ([ :promotions, :report_specification ])


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

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

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



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

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