Class: Mercadopago::Order::Request::ConfigRequest
- Inherits:
-
Data
- Object
- Data
- Mercadopago::Order::Request::ConfigRequest
- Includes:
- HashConversion
- Defined in:
- lib/mercadopago/resources/order/request.rb
Overview
H. config ==
Holds the online sub-object where transaction_security lives (under
config.online, NOT root). payment_method and online are kept as
free-form Hashes / typed objects; both convert recursively.
Instance Attribute Summary collapse
-
#default_payment_due_date ⇒ Object
readonly
Returns the value of attribute default_payment_due_date.
-
#notification_url ⇒ Object
readonly
Returns the value of attribute notification_url.
-
#online ⇒ Object
readonly
Returns the value of attribute online.
-
#payment_method ⇒ Object
readonly
Returns the value of attribute payment_method.
-
#statement_descriptor ⇒ Object
readonly
Returns the value of attribute statement_descriptor.
Instance Method Summary collapse
-
#initialize(notification_url: nil, statement_descriptor: nil, default_payment_due_date: nil, payment_method: nil, online: nil) ⇒ ConfigRequest
constructor
A new instance of ConfigRequest.
Methods included from HashConversion
Constructor Details
#initialize(notification_url: nil, statement_descriptor: nil, default_payment_due_date: nil, payment_method: nil, online: nil) ⇒ ConfigRequest
Returns a new instance of ConfigRequest.
370 371 372 373 374 375 |
# File 'lib/mercadopago/resources/order/request.rb', line 370 def initialize( notification_url: nil, statement_descriptor: nil, default_payment_due_date: nil, payment_method: nil, online: nil ) super end |
Instance Attribute Details
#default_payment_due_date ⇒ Object (readonly)
Returns the value of attribute default_payment_due_date
361 362 363 |
# File 'lib/mercadopago/resources/order/request.rb', line 361 def default_payment_due_date @default_payment_due_date end |
#notification_url ⇒ Object (readonly)
Returns the value of attribute notification_url
361 362 363 |
# File 'lib/mercadopago/resources/order/request.rb', line 361 def notification_url @notification_url end |
#online ⇒ Object (readonly)
Returns the value of attribute online
361 362 363 |
# File 'lib/mercadopago/resources/order/request.rb', line 361 def online @online end |
#payment_method ⇒ Object (readonly)
Returns the value of attribute payment_method
361 362 363 |
# File 'lib/mercadopago/resources/order/request.rb', line 361 def payment_method @payment_method end |
#statement_descriptor ⇒ Object (readonly)
Returns the value of attribute statement_descriptor
361 362 363 |
# File 'lib/mercadopago/resources/order/request.rb', line 361 def statement_descriptor @statement_descriptor end |