Class: Mercadopago::Order::Request::PaymentMethodRequest
- Inherits:
-
Data
- Object
- Data
- Mercadopago::Order::Request::PaymentMethodRequest
- Includes:
- HashConversion
- Defined in:
- lib/mercadopago/resources/order/request.rb
Overview
C. payment_method ==
Instance Attribute Summary collapse
-
#financial_institution ⇒ Object
readonly
Returns the value of attribute financial_institution.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#installments ⇒ Object
readonly
Returns the value of attribute installments.
-
#statement_descriptor ⇒ Object
readonly
Returns the value of attribute statement_descriptor.
-
#token ⇒ Object
readonly
Returns the value of attribute token.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(id: nil, type: nil, token: nil, statement_descriptor: nil, installments: nil, financial_institution: nil) ⇒ PaymentMethodRequest
constructor
A new instance of PaymentMethodRequest.
Methods included from HashConversion
Constructor Details
#initialize(id: nil, type: nil, token: nil, statement_descriptor: nil, installments: nil, financial_institution: nil) ⇒ PaymentMethodRequest
Returns a new instance of PaymentMethodRequest.
155 156 157 158 159 160 |
# File 'lib/mercadopago/resources/order/request.rb', line 155 def initialize( id: nil, type: nil, token: nil, statement_descriptor: nil, installments: nil, financial_institution: nil ) super end |
Instance Attribute Details
#financial_institution ⇒ Object (readonly)
Returns the value of attribute financial_institution
145 146 147 |
# File 'lib/mercadopago/resources/order/request.rb', line 145 def financial_institution @financial_institution end |
#id ⇒ Object (readonly)
Returns the value of attribute id
145 146 147 |
# File 'lib/mercadopago/resources/order/request.rb', line 145 def id @id end |
#installments ⇒ Object (readonly)
Returns the value of attribute installments
145 146 147 |
# File 'lib/mercadopago/resources/order/request.rb', line 145 def installments @installments end |
#statement_descriptor ⇒ Object (readonly)
Returns the value of attribute statement_descriptor
145 146 147 |
# File 'lib/mercadopago/resources/order/request.rb', line 145 def statement_descriptor @statement_descriptor end |
#token ⇒ Object (readonly)
Returns the value of attribute token
145 146 147 |
# File 'lib/mercadopago/resources/order/request.rb', line 145 def token @token end |
#type ⇒ Object (readonly)
Returns the value of attribute type
145 146 147 |
# File 'lib/mercadopago/resources/order/request.rb', line 145 def type @type end |