Sha256: c0a54257fdd226536981637af191bb40390af30a3a595587e93747e4e266bfd0
Contents?: true
Size: 981 Bytes
Versions: 9
Compression:
Stored size: 981 Bytes
Contents
class QuerySaleAntiFraudAnalysisHistoryData # Status do antifraude attr_accessor :AntiFraudAnalysisStatus @@AntiFraudAnalysisStatusEnum = { :Undefined => '0', :PendingFraudAnalysisRequirement => '1', :FraudAnalysisRequirementSent => '2', :Approved => '3', :Reproved => '4', :PendingManualAnalysis => '5', :NoTransactionToAnalyse => '6', :FraudAnalysisWithError => '7' } # Código de retorno do serviço de anti fraude attr_accessor :ReturnCode # Status de retorno attr_accessor :ReturnStatus # Menssagem de retorno attr_accessor :ReturnMessage # Pontuação attr_accessor :Score # Data da alteração de status attr_accessor :StatusChangedDate def initialize @AntiFraudAnalysisStatus = self.AntiFraudAnalysisStatusEnum 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