Module: Dolla::Terms
- Included in:
- Gateway
- Defined in:
- lib/dolla/terms.rb
Constant Summary collapse
- BANK_FINANCED =
1
- NOT_FINANCED =
0
Instance Method Summary collapse
-
#payment_plan ⇒ Object
TODO: when implementing montlhy payments will require to have logic for set if financing is available.
Instance Method Details
#payment_plan ⇒ Object
TODO: when implementing montlhy payments will require to have logic for set if financing is available
8 9 10 |
# File 'lib/dolla/terms.rb', line 8 def payment_plan bank_account_terms > 1 ? BANK_FINANCED : NOT_FINANCED end |