//
//  GetCardInfoRequest.swift
//  iPOS
//
//  Created by Apple iMac on 03/07/2018.
//  Copyright © 2018 BBC. All rights reserved.
//

import Foundation
import ObjectMapper

class GetCardInfoRequest: Mappable{
    var storeId: Int = Int(settings.StoreId)!
    var cashRegister: Int = Int(settings.CashRegister)!
    var barcode: String = ""
    
    func mapping(map: Map) {
        storeId <- map["StoreId"]
        cashRegister <- map["CashRegister"]
        barcode <- map["Barcode"]
    }
    
    required init?(map: Map) {
    }
    
    init() {
    }
    
    init(barcode: String) {
        self.barcode = barcode
    }
}
