Class: C2eCore::Drops::PaymentTypeDrop
- Defined in:
- /build/app/mailers/c2e_core/drops/payment_type_drop.rb
Instance Method Summary collapse
-
#enum ⇒ String
-
The enum value of the PaymentType, e.g.
-
-
#initialize(payment_type) ⇒ PaymentTypeDrop
constructor
A new instance of PaymentTypeDrop.
-
#label ⇒ String
-
The localised name of the PaymentType, e.g.
-
Constructor Details
#initialize(payment_type) ⇒ PaymentTypeDrop
Returns a new instance of PaymentTypeDrop.
Instance Method Details
#enum ⇒ String
Returns - The enum value of the PaymentType, e.g. CASH, CREDIT, or WALLET_CREDIT. For a complete list, check API.
#label ⇒ String
Returns - The localised name of the PaymentType, e.g. "Cash", "Credit Card", or "Wallet Credit". For a complete list, check API.