Sha256: 2cb204078cdca1180741ea2f4880317123938c4fcbdc1f05913d5fa4462e19f7
Contents?: true
Size: 991 Bytes
Versions: 5
Compression:
Stored size: 991 Bytes
Contents
module Gateway 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 end
Version data entries
5 entries across 5 versions & 2 rubygems