Class: C2eCore::Drops::PaymentTypeDrop

Inherits:
BaseDrop
  • Object
show all
Defined in:
/build/app/mailers/c2e_core/drops/payment_type_drop.rb

Instance Method Summary collapse

Constructor Details

#initialize(payment_type) ⇒ PaymentTypeDrop

Returns a new instance of PaymentTypeDrop.

Instance Method Details

#enumString

Returns - The enum value of the PaymentType, e.g. CASH, CREDIT, or WALLET_CREDIT. For a complete list, check API.

Returns:

  • (String)
    • The enum value of the PaymentType, e.g. CASH, CREDIT, or

    WALLET_CREDIT. For a complete list, check API.

#labelString

Returns - The localised name of the PaymentType, e.g. "Cash", "Credit Card", or "Wallet Credit". For a complete list, check API.

Returns:

  • (String)
    • The localised name of the PaymentType, e.g. "Cash", "Credit Card", or

    "Wallet Credit". For a complete list, check API.