tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

DefaultData.js (1006B)


      1 // testing data declation
      2 const defaultMethods = [
      3  {
      4    supportedMethods: "basic-card",
      5    data: {
      6      supportedNetworks: [
      7        "unionpay",
      8        "visa",
      9        "mastercard",
     10        "amex",
     11        "discover",
     12        "diners",
     13        "jcb",
     14        "mir",
     15      ],
     16    },
     17  },
     18  {
     19    supportedMethods: "testing-payment-method",
     20  },
     21 ];
     22 
     23 const defaultDetails = {
     24  total: {
     25    label: "Total",
     26    amount: {
     27      currency: "USD",
     28      value: "1.00",
     29    },
     30  },
     31  shippingOptions: [
     32    {
     33      id: "NormalShipping",
     34      label: "NormalShipping",
     35      amount: {
     36        currency: "USD",
     37        value: "10.00",
     38      },
     39      selected: false,
     40    },
     41    {
     42      id: "FastShipping",
     43      label: "FastShipping",
     44      amount: {
     45        currency: "USD",
     46        value: "5.00",
     47      },
     48      selected: false,
     49    },
     50  ],
     51 };
     52 
     53 const defaultOptions = {
     54  requestPayerName: true,
     55  requestPayerEmail: false,
     56  requestPayerPhone: false,
     57  requestShipping: true,
     58  shippingType: "shipping",
     59 };