Sha256: 64514cb04d8d6bca7bd715787db611b6ddda04e309a2a9326d0563bcdf9326dd

Contents?: true

Size: 360 Bytes

Versions: 5

Compression:

Stored size: 360 Bytes

Contents

module Gateway

  class RetrySaleOptions
    # Indica se o limite extendido está habilitado
    attr_accessor :ExtendedLimitEnabled

    # Código do limite extendido
    attr_accessor :ExtendedLimitCode

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

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
mundipagg_sdk-1.4.1 lib/gateway/Sale/retry_sale_options.rb
stone_ecommerce-1.4.0 lib/gateway/Sale/retry_sale_options.rb
mundipagg_sdk-1.4.0 lib/gateway/Sale/retry_sale_options.rb
stone_ecommerce-1.3.0 lib/gateway/Sale/retry_sale_options.rb
stone_ecommerce-1.2.3 lib/gateway/Sale/retry_sale_options.rb