package com.mercadopago.android.px.tracking.internal.model;

import android.support.annotation.Keep;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import java.math.BigDecimal;
import java.util.List;

@SuppressWarnings("unused")
@Keep
public class ReviewAndConfirmData extends AvailableMethod {

    @NonNull private final List<ItemInfo> items;
    @NonNull private final BigDecimal preferenceAmount;
    @Nullable private final DiscountInfo discountInfo;

    public ReviewAndConfirmData(@NonNull final AvailableMethod method,
        @NonNull final List<ItemInfo> itemInfos,
        @NonNull final BigDecimal totalAmount,
        @Nullable final DiscountInfo discountInfo) {
        super(method.paymentMethodId, method.paymentMethodType);
        items = itemInfos;
        preferenceAmount = totalAmount;
        this.discountInfo = discountInfo;
    }
}

@@ -483,20 +483,16 @@
 discount
-Info
 ;%0A%0A    p
@@ -698,20 +698,16 @@
 discount
-Info
 ) %7B%0A    
@@ -855,20 +855,16 @@
 discount
-Info
  = disco
@@ -866,20 +866,16 @@
 discount
-Info
 ;%0A    %7D%0A

fix tracking param (#1588)