Sha256: 387afbad555a477ac5477503333e95da9dd52ed6ba66b903c42ba69d751f35ae

Contents?: true

Size: 420 Bytes

Versions: 5

Compression:

Stored size: 420 Bytes

Contents

module Gateway

  class BoletoTransactionOptions
    # Total de dias para expirar o boleto
    attr_accessor :DaysToAddInBoletoExpirationDate

    # Moeda. Opções: BRL, EUR, USD, ARS, BOB, CLP, COP, UYU, MXN, PYG
    attr_accessor :CurrencyIso

    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.3.0 lib/gateway/BoletoTransaction/boleto_transaction_options.rb
stone_ecommerce-1.2.4 lib/gateway/BoletoTransaction/boleto_transaction_options.rb
mundipagg_sdk-1.2.4 lib/gateway/BoletoTransaction/boleto_transaction_options.rb
mundipagg_sdk-1.2.3 lib/gateway/BoletoTransaction/boleto_transaction_options.rb
mundipagg_sdk-1.2.3rc lib/gateway/BoletoTransaction/boleto_transaction_options.rb