Module: Buckaruby::PaymentMethod

Defined in:
lib/buckaruby/payment_method.rb

Overview

Supported payment methods.

Constant Summary collapse

IDEAL =

iDEAL collecting

'ideal'
IDEAL_PROCESSING =

iDEAL processing

'idealprocessing'
SEPA_DIRECT_DEBIT =
'sepadirectdebit'
PAYPAL =
'paypal'
BANCONTACT =
'bancontactmrcash'
SOFORT =
'sofortueberweisung'
GIROPAY =
'giropay'
TRANSFER =
'transfer'
VISA =

Credit cards

'visa'
MASTER_CARD =
'mastercard'
MAESTRO =
'maestro'
AMERICAN_EXPRESS =
'amex'

Class Method Summary collapse

Class Method Details

.allObject

Returns an array of all payment method values.



23
24
25
# File 'lib/buckaruby/payment_method.rb', line 23

def all
  constants.map { |c| const_get(c) }
end