/*
 * Copyright (c) 2014 Snowplow Analytics Ltd. All rights reserved.
 *
 * This program is licensed to you under the Apache License Version 2.0,
 * and you may not use this file except in compliance with the Apache License Version 2.0.
 * You may obtain a copy of the Apache License Version 2.0 at http://www.apache.org/licenses/LICENSE-2.0.
 *
 * Unless required by applicable law or agreed to in writing,
 * software distributed under the Apache License Version 2.0 is distributed on an
 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the Apache License Version 2.0 for the specific language governing permissions and limitations there under.
 */

package com.snowplowanalytics.snowplow.tracker;

import java.util.HashMap;

public class TransactionItem extends HashMap {
    public TransactionItem (String order_id, String sku,
                            Float price, String category,
                            String currency, String context) {
        // Do magic
    }
}

@@ -743,16 +743,100 @@
 acker;%0A%0A
+import org.codehaus.jackson.JsonNode;%0A%0Aimport java.io.UnsupportedEncodingException;%0A
 import j
@@ -853,16 +853,16 @@
 ashMap;%0A
-
 %0Apublic 
@@ -990,20 +990,79 @@
     
-Float
+String
  price,
+ String quantity,%0A                            String name,
  Str
@@ -1120,22 +1120,24 @@
 rrency, 
-String
+JsonNode
  context
@@ -1142,29 +1142,46 @@
 xt) 
-%7B%0A        // Do magic
+throws UnsupportedEncodingException %7B%0A
 %0A   

Fix constructor