Class: C2eCore::Drops::FinancialReportRecipeDrop
- Includes:
- Helpers::FinancialReportConversions
- Defined in:
- /build/app/mailers/c2e_core/drops/financial_report_recipe_drop.rb
Instance Method Summary collapse
-
#formated_total_price ⇒ Object
Float - formated sum of the price of all items sold.
-
#initialize(data, financial_report) ⇒ FinancialReportRecipeDrop
constructor
A new instance of FinancialReportRecipeDrop.
-
#name ⇒ Object
String - name of the recipe.
-
#total_number ⇒ Object
Integer - number of items sold.
-
#total_price ⇒ Object
Float - sum of the price of all items sold.
Constructor Details
#initialize(data, financial_report) ⇒ FinancialReportRecipeDrop
Returns a new instance of FinancialReportRecipeDrop.
Instance Method Details
#formated_total_price ⇒ Object
Returns Float - formated sum of the price of all items sold.
#name ⇒ Object
Returns String - name of the recipe.
#total_number ⇒ Object
Returns Integer - number of items sold.
#total_price ⇒ Object
Returns Float - sum of the price of all items sold.