import { Component, OnInit } from '@angular/core';

@Component({
  selector: 'stswebfinance-installment-plan',
  templateUrl: './installment-plan.component.html',
  styleUrls: ['./installment-plan.component.scss']
})
export class InstallmentPlanComponent implements OnInit {

  data = {
      financedetails: {
        financeLabel: 'Selected Financing Options',
        selectedOption: 'Installation Plan',
        dealerLabel: 'Dealer',
        dealerDetail: 'Mercedes-Benz Queensland',
        deliveryLabel: 'Estimated Delivery',
        deliveryDate: '12 / 11 /2019'
      },
      address: [
        {
          label : 'State',
          value: 'Busan'
        },
        {
          label : 'Postal',
          value: '6211'
        },
        {
          label : 'Usage',
          value: 'Private'
        },
        {
          label : 'Insurer Code',
          value: '43'
        }
      ],
      details: [
        {
          label: `Manufacturer's Recommended List Price`,
          gst: '(Incl. GST)',
          linkText: 'More Info',
          linkurl: '',
          value: '49,500.00 KRW'
        },
        {
          label: `Recommended Retailer Delivery`,
          gst: '(Incl. GST)',
          linkText: 'More Info',
          linkurl: '',
          value: '2,269.23 KRW'
        },
        {
          label: `Luxury Car Tax (LCT)`,
          gst: '',
          linkText: 'More Info',
          linkurl: '',
          value: '0.00 KRW'
        },
        {
          label: `Total Registration`,
          gst: '',
          linkText: 'More Info',
          linkurl: '',
          value: '929.30 KRW'
        },
        {
          label: `Stamp Info`,
          gst: '',
          linkText: 'More Info',
          linkurl: '',
          value: '169.30 KRW'
        }
      ],
      terms: [
        {
          label: 'Terms',
          value: '24 Months'
        },
        {
          label: 'Deposit',
          value: '77,500.00 KRW'
        },
        {
          label: 'Interest Rate',
          value: '17.5%'
        },
        {
          label: 'Mileage',
          value: '20,000 Km'
        }
      ],
      price: [
        {
          label: 'Sub Total',
          text: '',
          linkText: 'More Info',
          linkUrl: '',
          value: '54,690.30 KRW'
        },
        {
          label: 'Drive Away Price',
          text: 'Base Model Featured Only',
          linkText: '',
          linkUrl: '',
          value: '$ 54,388.53 KRW'
        }
      ]
    };

  constructor() { }

  ngOnInit() {
  }

}
