Sha256: 46281b0f315d18db48cb92d630dde7fce6d70a8bf74aeb8a65ff02677a1dd650
Contents?: true
Size: 954 Bytes
Versions: 9
Compression:
Stored size: 954 Bytes
Contents
class QuerySaleRequest attr_accessor :OrderKey attr_accessor :OrderReference attr_accessor :CreditCardTransactionKey attr_accessor :CreditCardTransactionReference attr_accessor :BoletoTransactionKey attr_accessor :BoletoTransactionReference attr_accessor :QuerySaleRequestEnum # Enum feito para as chamadas do método query @@QuerySaleRequestEnum = { :OrderKey => 'OrderKey', :OrderReference => 'OrderReference', :CreditCardTransactionKey => 'CreditCardTransactionKey', :CreditCardTransactionReference => 'CreditCardTransactionReference', :BoletoTransactionKey => 'BoletoTransactionKey', :BoletoTransactionReference => 'BoletoTransactionReference' } def self.QuerySaleRequestEnum @@QuerySaleRequestEnum end def to_json hash = {} instance_variables.each {|var| hash[var.to_s.delete('@')] = instance_variable_get(var) } hash end end
Version data entries
9 entries across 9 versions & 2 rubygems