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"
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.
19 20 21 |
# File 'lib/docdata/order/payment_method.rb', line 19 def initialize(payment_method) @payment_method = payment_method end |
Instance Attribute Details
#issuers ⇒ Object
Returns the value of attribute issuers.
17 18 19 |
# File 'lib/docdata/order/payment_method.rb', line 17 def issuers @issuers end |
#payment_method ⇒ Object
Returns the value of attribute payment_method.
17 18 19 |
# File 'lib/docdata/order/payment_method.rb', line 17 def payment_method @payment_method end |
Instance Method Details
#to_s ⇒ Object
23 24 25 |
# File 'lib/docdata/order/payment_method.rb', line 23 def to_s payment_method end |