Sha256: 827ffb8fc424a82eefddc3d6e9497e7da36b2f6f3a1abb8f7fcb0d03e5241704

Contents?: true

Size: 404 Bytes

Versions: 4

Compression:

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

4 entries across 4 versions & 2 rubygems

Version Path
stone_ecommerce-1.4.0 lib/gateway/BoletoTransaction/boleto_transaction_options.rb
mundipagg_sdk-1.4.0 lib/gateway/BoletoTransaction/boleto_transaction_options.rb
stone_ecommerce-1.3.0 lib/gateway/BoletoTransaction/boleto_transaction_options.rb
stone_ecommerce-1.2.3 lib/gateway/BoletoTransaction/boleto_transaction_options.rb