import Foundation
import ObjectMapper

public struct PromotionRedemptionContext: Mappable {
	
	public var customer: Customer?
	public var order: Order?
	public var metadata: Dictionary<String, AnyObject>?
	
	public init() {}
	
	public init?(map: Map) {
		mapping(map: map)
	}
	
	mutating public func mapping(map: Map) {
		customer    <- map["customer"]
		order       <- map["order"]
		metadata    <- map["metadata"]
	}
	
}
