//
//  WifiOffer.swift
//  kt
//
//  Created by Assylkhan Rakhatov on 22.05.16.
//  Copyright © 2016 Alexandr Zalutskiy. All rights reserved.
//

import Foundation

class WifiOffer: WifiBaseOrder {
    
    var tariffId: Int?
    var offerKz: String?
    var offerRu: String?
    var price: Int?
    
    init(json: JSON) {
        self.tariffId = json["tariff_id"].intValue
        self.offerKz = json["offer_kz"].stringValue
        self.offerRu = json["offer_ru"].stringValue
        self.price = json["price"].intValue
        super.init(wifiOrderType: WifiOrderType.offer)
    }
    
}
