Sha256: ea2d6ac494ee8823f1fa1b493783afd0e9b68032fd5ee4ff4fe4a620930227bf

Contents?: true

Size: 528 Bytes

Versions: 4

Compression:

Stored size: 528 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

4 entries across 4 versions & 2 rubygems

Version Path
stone_ecommerce-1.0.3 lib/gateway/Recurrency/recurrency.rb
mundipagg_sdk-1.0.3 lib/gateway/Recurrency/recurrency.rb
stone_ecommerce-1.0.2 lib/gateway/Recurrency/recurrency.rb
stone_ecommerce-1.0.0 lib/gateway/Recurrency/recurrency.rb