Class: C2eCore::Drops::CreditsFundsTransferDrop
- Includes:
- ActionView::Helpers::NumberHelper
- Defined in:
- /build/app/mailers/c2e_core/drops/credits_funds_transfer_drop.rb
Instance Method Summary collapse
-
#amount ⇒ Float
-
The transferred amount, e.g.
-
-
#cash_box ⇒ CashBoxDrop?
-
The cash register where the transfer was performed as a drop object, if present.
-
-
#company_branch ⇒ CompanyBranchDrop
-
Company branch to which the funds transfer belongs as a drop object.
-
-
#currency ⇒ CurrencyDrop
-
The currency to which the funds transfer belongs to as a drop object.
-
-
#data_from_terminal ⇒ String?
-
Data from the terminal about the last successful transaction related to the transfer, if present.
-
-
#formatted_amount ⇒ String
-
The transferred amount formatted in its currency, e.g.
-
-
#id ⇒ Integer
-
ID of the funds transfer in the database.
-
-
#initialize(funds_transfer) ⇒ CreditsFundsTransferDrop
constructor
A new instance of CreditsFundsTransferDrop.
-
#order ⇒ OrderDrop?
-
The order the transfer is associate with as a drop object, if present.
-
-
#payment_method ⇒ PaymentMethodDrop?
-
The funds transfer payment method as a drop object, if present.
-
-
#user ⇒ UserDrop
-
The user who created funds transfer as a drop object.
-
-
#wallet ⇒ CreditsWalletDrop?
-
The wallet to which the funds transfer belongs to as a drop object, if present.
-
Constructor Details
#initialize(funds_transfer) ⇒ CreditsFundsTransferDrop
Returns a new instance of CreditsFundsTransferDrop.
Instance Method Details
#amount ⇒ Float
Returns - The transferred amount, e.g. 123.45 or -67.89.
#cash_box ⇒ CashBoxDrop?
Returns - The cash register where the transfer was performed as a drop object, if present.
#company_branch ⇒ CompanyBranchDrop
Returns - Company branch to which the funds transfer belongs as a drop object.
#currency ⇒ CurrencyDrop
Returns - The currency to which the funds transfer belongs to as a drop object.
#data_from_terminal ⇒ String?
Returns - Data from the terminal about the last successful transaction related to the transfer, if present.
#formatted_amount ⇒ String
Returns - The transferred amount formatted in its currency, e.g. "123,45 Kč" or "-67,89 Kč".
#id ⇒ Integer
Returns - ID of the funds transfer in the database.
#order ⇒ OrderDrop?
Returns - The order the transfer is associate with as a drop object, if present.
#payment_method ⇒ PaymentMethodDrop?
Returns - The funds transfer payment method as a drop object, if present.
#user ⇒ UserDrop
Returns - The user who created funds transfer as a drop object.
#wallet ⇒ CreditsWalletDrop?
Returns - The wallet to which the funds transfer belongs to as a drop object, if present.