Sha256: 1dfbf32cc84e14a42d0b38350a3f6f77a22f4c0171ccb1c610d8ffc7d1cf665d

Contents?: true

Size: 362 Bytes

Versions: 4

Compression:

Stored size: 362 Bytes

Contents

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

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
stone_ecommerce-1.0.3 lib/gateway/BoletoTransaction/boleto_transaction_options.rb
mundipagg_sdk-1.0.3 lib/gateway/BoletoTransaction/boleto_transaction_options.rb
stone_ecommerce-1.0.2 lib/gateway/BoletoTransaction/boleto_transaction_options.rb
stone_ecommerce-1.0.0 lib/gateway/BoletoTransaction/boleto_transaction_options.rb