Class: C2eCore::Drops::FinancialReportCreditTransferDrop
- Inherits:
-
BaseDrop
- Object
- Liquid::Drop
- BaseDrop
- C2eCore::Drops::FinancialReportCreditTransferDrop
- Includes:
- Helpers::FinancialReportConversions
- Defined in:
- /build/app/mailers/c2e_core/drops/financial_report_credit_transfer_drop.rb
Instance Method Summary collapse
-
#balance_credit_funds_transfers ⇒ Array[FinancialReportPaymentTypeDrop]
-
Array of statistics on the balance of credit funds transfers grouped by payment method.
-
-
#formatted_total_balance_credit_funds_transfers_value ⇒ String
-
Formatted sum of all credit funds transfers.
-
-
#formatted_total_refund_value ⇒ String
-
Formatted sum of all refund credit funds transfers.
-
-
#formatted_total_top_up_value ⇒ String
-
Formatted sum of all top up credit funds transfers.
-
-
#initialize(financial_report) ⇒ FinancialReportCreditTransferDrop
constructor
A new instance of FinancialReportCreditTransferDrop.
-
#refund_credit_funds_transfers ⇒ Array[FinancialReportPaymentTypeDrop]
-
Array of refund credit funds transfer statistics grouped by payment method.
-
-
#top_up_credit_funds_transfers ⇒ Array[FinancialReportPaymentTypeDrop]
-
Array of top up credit funds transfer statistics grouped by payment method.
-
-
#total_balance_credit_funds_transfers_value ⇒ Float
-
Sum of all credit funds transfers.
-
-
#total_refund_storno_count ⇒ Integer
-
The number of canceled refund transfers that belong to financial report.
-
-
#total_refund_transfers_count ⇒ Integer
-
The number of refund credit funds transfers that belong to financial report.
-
-
#total_refund_value ⇒ Float
-
Sum of all refund credit funds transfers.
-
-
#total_top_up_storno_count ⇒ Integer
-
The number of canceled top up transfers that belong to financial report.
-
-
#total_top_up_transfers_count ⇒ Integer
-
The number of top up credit funds transfers that belong to financial report.
-
-
#total_top_up_value ⇒ Float
-
Sum of all top up credit funds transfers.
-
Constructor Details
#initialize(financial_report) ⇒ FinancialReportCreditTransferDrop
Returns a new instance of FinancialReportCreditTransferDrop.
Instance Method Details
#balance_credit_funds_transfers ⇒ Array[FinancialReportPaymentTypeDrop]
Returns - Array of statistics on the balance of credit funds transfers grouped by payment method.
#formatted_total_balance_credit_funds_transfers_value ⇒ String
Returns - Formatted sum of all credit funds transfers. E.g.: "123,45 Kč".
#formatted_total_refund_value ⇒ String
Returns - Formatted sum of all refund credit funds transfers. E.g.: "123,45 Kč".
#formatted_total_top_up_value ⇒ String
Returns - Formatted sum of all top up credit funds transfers. E.g.: "123,45 Kč".
#refund_credit_funds_transfers ⇒ Array[FinancialReportPaymentTypeDrop]
Returns - Array of refund credit funds transfer statistics grouped by payment method.
#top_up_credit_funds_transfers ⇒ Array[FinancialReportPaymentTypeDrop]
Returns - Array of top up credit funds transfer statistics grouped by payment method.
#total_balance_credit_funds_transfers_value ⇒ Float
Returns - Sum of all credit funds transfers. E.g.: 78.
#total_refund_storno_count ⇒ Integer
Returns - The number of canceled refund transfers that belong to financial report. E.g.: 42.
#total_refund_transfers_count ⇒ Integer
Returns - The number of refund credit funds transfers that belong to financial report. E.g.: 42.
#total_refund_value ⇒ Float
Returns - Sum of all refund credit funds transfers. E.g.: 78.
#total_top_up_storno_count ⇒ Integer
Returns - The number of canceled top up transfers that belong to financial report. E.g.: 42.
#total_top_up_transfers_count ⇒ Integer
Returns - The number of top up credit funds transfers that belong to financial report. E.g.: 42.
#total_top_up_value ⇒ Float
Returns - Sum of all top up credit funds transfers. E.g.: 78.