Class: Mercadopago::Order::Request::InvoicePeriodRequest

Inherits:
Data
  • Object
show all
Includes:
HashConversion
Defined in:
lib/mercadopago/resources/order/request.rb

Overview

D3. subscription_data.invoice_period ==

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from HashConversion

#to_hash

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

#periodObject (readonly)

Returns the value of attribute period

Returns:

  • (Object)

    the current value of period



219
220
221
# File 'lib/mercadopago/resources/order/request.rb', line 219

def period
  @period
end

#typeObject (readonly)

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



219
220
221
# File 'lib/mercadopago/resources/order/request.rb', line 219

def type
  @type
end