Class: Docdata::Order::PaymentMethod
- Inherits:
-
Object
- Object
- Docdata::Order::PaymentMethod
- Defined in:
- lib/docdata/order/payment_method.rb
Overview
Payment method in Docdata, optionally with issuers.
Constant Summary collapse
- IDEAL =
'IDEAL'- VISA =
'VISA'- MASTER_CARD =
'MASTERCARD'- MAESTRO =
'MAESTRO'- AMERICAN_EXPRESS =
'AMEX'- PAYPAL =
'PAYPAL_EXPRESS_CHECKOUT'- SEPA_DIRECT_DEBIT =
'SEPA_DIRECT_DEBIT'- BANCONTACT =
'MISTERCASH'- SOFORT =
'EBANKING'- GIROPAY =
'GIROPAY'
Instance Attribute Summary collapse
-
#issuers ⇒ Object
Returns the value of attribute issuers.
-
#payment_method ⇒ Object
Returns the value of attribute payment_method.
Instance Method Summary collapse
-
#initialize(payment_method) ⇒ PaymentMethod
constructor
A new instance of PaymentMethod.
- #to_s ⇒ Object
Constructor Details
#initialize(payment_method) ⇒ PaymentMethod
Returns a new instance of PaymentMethod.
20 21 22 |
# File 'lib/docdata/order/payment_method.rb', line 20 def initialize(payment_method) @payment_method = payment_method end |
Instance Attribute Details
#issuers ⇒ Object
Returns the value of attribute issuers.
18 19 20 |
# File 'lib/docdata/order/payment_method.rb', line 18 def issuers @issuers end |
#payment_method ⇒ Object
Returns the value of attribute payment_method.
18 19 20 |
# File 'lib/docdata/order/payment_method.rb', line 18 def payment_method @payment_method end |
Instance Method Details
#to_s ⇒ Object
24 25 26 |
# File 'lib/docdata/order/payment_method.rb', line 24 def to_s payment_method end |