var discountItem = {
  "id": 96894,
  "product_name": "",
  "encoded": "",
  "code": "",
  "tag": "good_pass",
  "product_id": 61350,
  "relation_type": "",
  "par_value": "2000.00",
  "used_par_value": "20.00",
  "limit_status": "enable",
  "limited_relation_product_data": {
    "id": 0,
    "type": "products",
    "product_ids": [61687],
    "product_collection_id": [],
    "filter": 0,
    "exclude_product_ids": []
  },
  "balance": "20.00",
  "format_title": {
    "en": "Sophia test",
    "ja": "Sophia test",
    "pt": "Sophia test",
    "auto": "Sophia test",
    "zh-CN": "Sophia test",
    "zh-HK": "Sophia test",
    "original": "Sophia test"
  },
  "product": {
    "id": 61687,
    "title": "",
    "is_charge_tax": 1,
    "base_price": "30.00"
  },
  "type": "good_pass",
  "resource_id": 96894,
  "isEditMode": true,
  "isSelected": true,
  "isAvailable": true,
  "isUsed": true,
  "isDisabled": true,
  "amount": 20,
  "discount": {
    "title": {
      "en": "Sophia test",
      "ja": "Sophia test",
      "pt": "Sophia test",
      "auto": "Sophia test",
      "zh-CN": "Sophia test",
      "zh-HK": "Sophia test",
      "original": "Sophia test"
    },
    "percent": "1.00",
    "resource_id": 96894,
    "fixed_amount": 20,
    "original_amount": "2000.00",
    "discount_product_id": 61350,
    "discount_calculation_mode": "item_level"
  },
  "applicableProductDetails": [{
    "amount": "20.00",
    "type": "good_pass",
    "resource_id": 96894,
    "title": {
      "en": "Sophia test",
      "ja": "Sophia test",
      "pt": "Sophia test",
      "auto": "Sophia test",
      "zh-CN": "Sophia test",
      "zh-HK": "Sophia test",
      "original": "Sophia test"
    },
    "original_amount": "2000.00",
    "num": 1,
    "metadata": {
      "num": 1,
      "optionDiscountAmount": 0,
      "mainProductDiscountAmount": 20
    },
    "discount": {
      "title": {
        "en": "Sophia test",
        "ja": "Sophia test",
        "pt": "Sophia test",
        "auto": "Sophia test",
        "zh-CN": "Sophia test",
        "zh-HK": "Sophia test",
        "original": "Sophia test"
      },
      "percent": "1.00",
      "resource_id": 96894,
      "fixed_amount": 20,
      "original_amount": "2000.00",
      "discount_product_id": 61350
    },
    "_num": 1
  }],
  "appliedProductDetails": [{
    "amount": "20.00",
    "type": "good_pass",
    "resource_id": 96894,
    "title": {
      "en": "Sophia test",
      "ja": "Sophia test",
      "pt": "Sophia test",
      "auto": "Sophia test",
      "zh-CN": "Sophia test",
      "zh-HK": "Sophia test",
      "original": "Sophia test"
    },
    "original_amount": "2000.00",
    "num": 1,
    "metadata": {
      "num": 1,
      "optionDiscountAmount": 0,
      "mainProductDiscountAmount": 20
    },
    "discount": {
      "title": {
        "en": "Sophia test",
        "ja": "Sophia test",
        "pt": "Sophia test",
        "auto": "Sophia test",
        "zh-CN": "Sophia test",
        "zh-HK": "Sophia test",
        "original": "Sophia test"
      },
      "percent": "1.00",
      "resource_id": 96894,
      "fixed_amount": 20,
      "original_amount": "2000.00",
      "discount_product_id": 61350
    },
    "_num": 1
  }],
  "savedAmount": 20
};