Class: C2eCore::Drops::OrderPaymentMethodDrop
- Includes:
- Helpers::OrderConversions
- Defined in:
- /build/app/mailers/c2e_core/drops/order_payment_method_drop.rb
Instance Method Summary collapse
-
#formatted_price ⇒ String
-
The amount paid converted to the order’s currency and formatted.
-
-
#initialize(order_payment_method) ⇒ OrderPaymentMethodDrop
constructor
A new instance of OrderPaymentMethodDrop.
-
#payment_method ⇒ PaymentMethodDrop
-
Payment method as a drop objects.
-
-
#price ⇒ Float
-
The amount paid converted to the order’s currency.
-
Constructor Details
#initialize(order_payment_method) ⇒ OrderPaymentMethodDrop
Returns a new instance of OrderPaymentMethodDrop.
Instance Method Details
#formatted_price ⇒ String
Returns - The amount paid converted to the order’s currency and formatted. E.g.: "123,45 Kč".
#payment_method ⇒ PaymentMethodDrop
Returns - Payment method as a drop objects.
#price ⇒ Float
Returns - The amount paid converted to the order’s currency. E.g.: 123.45.