Class: Mercadopago::Order::Request::PaymentRequest
- Inherits:
-
Data
- Object
- Data
- Mercadopago::Order::Request::PaymentRequest
- Includes:
- HashConversion
- Defined in:
- lib/mercadopago/resources/order/request.rb
Overview
B. payments ==
Instance Attribute Summary collapse
-
#amount ⇒ Object
readonly
Returns the value of attribute amount.
-
#automatic_payments ⇒ Object
readonly
Returns the value of attribute automatic_payments.
-
#date_of_expiration ⇒ Object
readonly
Returns the value of attribute date_of_expiration.
-
#expiration_time ⇒ Object
readonly
Returns the value of attribute expiration_time.
-
#payment_method ⇒ Object
readonly
Returns the value of attribute payment_method.
-
#stored_credential ⇒ Object
readonly
Returns the value of attribute stored_credential.
-
#subscription_data ⇒ Object
readonly
Returns the value of attribute subscription_data.
Instance Method Summary collapse
-
#initialize(amount: nil, expiration_time: nil, date_of_expiration: nil, payment_method: nil, automatic_payments: nil, stored_credential: nil, subscription_data: nil) ⇒ PaymentRequest
constructor
A new instance of PaymentRequest.
Methods included from HashConversion
Constructor Details
#initialize(amount: nil, expiration_time: nil, date_of_expiration: nil, payment_method: nil, automatic_payments: nil, stored_credential: nil, subscription_data: nil) ⇒ PaymentRequest
Returns a new instance of PaymentRequest.
135 136 137 138 139 140 141 |
# File 'lib/mercadopago/resources/order/request.rb', line 135 def initialize( amount: nil, expiration_time: nil, date_of_expiration: nil, payment_method: nil, automatic_payments: nil, stored_credential: nil, subscription_data: nil ) super end |
Instance Attribute Details
#amount ⇒ Object (readonly)
Returns the value of attribute amount
124 125 126 |
# File 'lib/mercadopago/resources/order/request.rb', line 124 def amount @amount end |
#automatic_payments ⇒ Object (readonly)
Returns the value of attribute automatic_payments
124 125 126 |
# File 'lib/mercadopago/resources/order/request.rb', line 124 def automatic_payments @automatic_payments end |
#date_of_expiration ⇒ Object (readonly)
Returns the value of attribute date_of_expiration
124 125 126 |
# File 'lib/mercadopago/resources/order/request.rb', line 124 def date_of_expiration @date_of_expiration end |
#expiration_time ⇒ Object (readonly)
Returns the value of attribute expiration_time
124 125 126 |
# File 'lib/mercadopago/resources/order/request.rb', line 124 def expiration_time @expiration_time end |
#payment_method ⇒ Object (readonly)
Returns the value of attribute payment_method
124 125 126 |
# File 'lib/mercadopago/resources/order/request.rb', line 124 def payment_method @payment_method end |
#stored_credential ⇒ Object (readonly)
Returns the value of attribute stored_credential
124 125 126 |
# File 'lib/mercadopago/resources/order/request.rb', line 124 def stored_credential @stored_credential end |
#subscription_data ⇒ Object (readonly)
Returns the value of attribute subscription_data
124 125 126 |
# File 'lib/mercadopago/resources/order/request.rb', line 124 def subscription_data @subscription_data end |