Sha256: 735ed7789fa86d925d7e1ab208215721191c579af2b42711d542cd41a3fad3e7

Contents?: true

Size: 550 Bytes

Versions: 9

Compression:

Stored size: 550 Bytes

Contents

class Recurrency
  # Frequência da recorrência
  attr_accessor :Frequency

  # Intervalo de recorrência
  attr_accessor :Interval

  # Data da primeira cobrança
  attr_accessor :DateToStartBilling

  # Total de recorrências
  attr_accessor :Recurrences

  # Informa se será necessário efetuar o procedimento OneDollarAuth antes de registrar a recorrência
  attr_accessor :OneDollarAuth

  def to_json
    hash = {}
    instance_variables.each { |var| hash[var.to_s.delete('@')] = instance_variable_get(var) }
    hash
  end

end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
mundipagg_sdk-1.0.2 lib/gateway/Recurrency/recurrency.rb
mundipagg_sdk-1.0.1 lib/gateway/Recurrency/recurrency.rb
mundipagg_sdk-1.0.0 lib/gateway/Recurrency/recurrency.rb
mundipagg_api-1.3.1 lib/mundipagg/Recurrency/recurrency.rb
mundipagg_api-1.3.0 lib/mundipagg/Recurrency/recurrency.rb
mundipagg_api-1.1.1 lib/mundipagg/Recurrency/recurrency.rb
mundipagg_api-1.1.0 lib/mundipagg/Recurrency/recurrency.rb
mundipagg_api-1.0.1 lib/mundipagg/Recurrency/recurrency.rb
mundipagg_api-1.0.0 lib/mundipagg/Recurrency/recurrency.rb