Class: Spree::Debit

Inherits:
StoreCredit show all
Includes:
DisableNegativePaymentModeAndSetBalanceAbility
Defined in:
app/models/spree/debit.rb

Constant Summary collapse

PAYMENT_MODE =

Negative Payment Mode cannot be set manually. They are reserved for some particular task internally.

{ 'Order Purchase' => -1, 'Deduce' => 0 }

Instance Attribute Summary

Attributes inherited from StoreCredit

#disable_negative_payment_mode

Method Summary

Methods included from DisableNegativePaymentModeAndSetBalanceAbility

included, #set_balance