lib/gateway/Sale/sale_data.rb in stone_ecommerce-1.0.3 vs lib/gateway/Sale/sale_data.rb in stone_ecommerce-1.2.3
- old
+ new
@@ -1,7 +1,6 @@
require_relative 'sale_order_data'
-require_relative '../../gateway/AntiFraud/query_sale_anti_fraud_analysis_data'
class SaleData
# Lista transações de cartão de crédito
attr_accessor :CreditCardTransactionDataCollection
@@ -19,10 +18,9 @@
def initialize
@CreditCardTransactionDataCollection = Array.new
@BoletoTransactionDataCollection = Array.new
@OrderData = SaleOrderData.new
- @AntiFraudAnalysisData = QuerySaleAntiFraudAnalysisData.new
end
def to_json
hash = {}
instance_variables.each {|var| hash[var.to_s.delete('@')] = instance_variable_get(var) }
\ No newline at end of file