Class: Mercadopago::Order::Request::InvoicePeriodRequest
- Inherits:
-
Data
- Object
- Data
- Mercadopago::Order::Request::InvoicePeriodRequest
- Includes:
- HashConversion
- Defined in:
- lib/mercadopago/resources/order/request.rb
Overview
D3. subscription_data.invoice_period ==
Instance Attribute Summary collapse
-
#period ⇒ Object
readonly
Returns the value of attribute period.
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type: nil, period: nil) ⇒ InvoicePeriodRequest
constructor
A new instance of InvoicePeriodRequest.
Methods included from HashConversion
Constructor Details
#initialize(type: nil, period: nil) ⇒ InvoicePeriodRequest
Returns a new instance of InvoicePeriodRequest.
222 223 224 |
# File 'lib/mercadopago/resources/order/request.rb', line 222 def initialize(type: nil, period: nil) super end |
Instance Attribute Details
#period ⇒ Object (readonly)
Returns the value of attribute period
219 220 221 |
# File 'lib/mercadopago/resources/order/request.rb', line 219 def period @period end |
#type ⇒ Object (readonly)
Returns the value of attribute type
219 220 221 |
# File 'lib/mercadopago/resources/order/request.rb', line 219 def type @type end |