Beispiel #1
0
    def __init__(self):
        self.helpers = helpers.Helpers()
        self.fields = [
            'id',
            'legacy_id',
            'customer_id',
            'customer_info_id',
            'vehicle_id',
            'dealer_id',
            'file_type',
            'deal_type',
            'new_used',
            'deal_number',
            'mileage',
            'sales_price',
            'deal_status',
            'contract_date',
            'back_gross',
            'front_gross',
            'total_fee_aftermarket_sale',
            'warranty_5_sale',
            'warranty_4_sale',
            'warranty_3_sale',
            'warranty_2_sale',
            'warranty_1_sale',
            'finance_profit',
            'total_front_sales',
            'import_time',
            'created_at',
            'updated_at'
        ]

        self.first_time = True
Beispiel #2
0
 def __init__(self):
     self.helpers = helpers.Helpers()
     self.fields = [
         'customer_id', 'dealer_id', 'birth_date', 'address_line_1',
         'address_line_2', 'city', 'state', 'zip', 'county', 'home_phone',
         'cell_phone', 'work_phone', 'work_extension', 'email_1', 'email_2',
         'email_3', 'language', 'import_time'
     ]
    def __init__(self):
        self.helpers = helpers.Helpers()
        self.fields = [
            'id', 'legacy_id', 'customer_id', 'customer_info_id', 'vehicle_id',
            'dealer_id', 'file_type', 'ro_number', 'ro_mileage',
            'operation_sale_types', 'open_date', 'warranty_labor_cost',
            'customer_total_cost', 'warranty_total_sale',
            'customer_total_sale', 'earned', 'import_time', 'created_at',
            'updated_at'
        ]

        self.first_time = True
Beispiel #4
0
    def __init__(self):
        self.config = config.Config()
        self.helpers = helpers.Helpers()

        self.merged_customers = merged_customers.MergedCustomers()
        self.merged_dict = self.merged_customers.get_merged_dict()

        # Clean up
        del (self.merged_customers)
        self.insert_customer_rows = insert_customer_rows.InsertCustomerRows()
        self.insert_customer_info_rows = insert_customer_info_rows.InsertCustomerInfoRows(
        )
Beispiel #5
0
 def __init__(self):
     self.config = config.Config()
     self.helpers = helpers.Helpers()
     self.insert_vehicle_rows = insert_vehicle_rows.InsertVehicleRows()
 def __init__(self):
     self.helpers = helpers.Helpers()
     self.fields = [
         'vin', 'year', 'make', 'model', 'model_number', 'import_time'
     ]
Beispiel #7
0
 def __init__(self):
     self.helpers = helpers.Helpers()
     self.fields = [
         'full_name', 'first_name', 'middle_name', 'last_name', 'suffix',
         'confidence_score', 'import_time'
     ]