Class: C2eCore::Drops::OrderPaymentMethodDrop

Inherits:
BaseDrop
  • Object
show all
Includes:
Helpers::OrderConversions
Defined in:
/build/app/mailers/c2e_core/drops/order_payment_method_drop.rb

Instance Method Summary collapse

Constructor Details

#initialize(order_payment_method) ⇒ OrderPaymentMethodDrop

Returns a new instance of OrderPaymentMethodDrop.

Instance Method Details

#formatted_priceString

Returns - The amount paid converted to the order’s currency and formatted. E.g.: "123,45 Kč".

Returns:

  • (String)
    • The amount paid converted to the order’s currency and formatted. E.g.: "123,45 Kč".

#payment_methodPaymentMethodDrop

Returns - Payment method as a drop objects.

Returns:

#priceFloat

Returns - The amount paid converted to the order’s currency. E.g.: 123.45.

Returns:

  • (Float)
    • The amount paid converted to the order’s currency. E.g.: 123.45.