Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
const item = {
  name: 'Short Sleeve T-Shirts For Women',
  imageURL: 'https://raderain.sirv.com/T-Giant/516B_420010110_alt1.png',
  regPrice: '$20.00',
  salePrice: '$15.00',
  quantity: 2,
  skuId: '1234567890',
  deliveryDate: 'Thursday, August 16',
  details: [
    {
      label: 'T-Giant Clear is recommended for sensitive skin',
      value: '',
    },
    {
      label: '100% free of perfumes and dyes',
      value: '',
    },
    {
      label: 'This laundry agent is suitable for all machine use',
      value: '',
    },
  ],
  productOptionsList: [
    {
      isSelected: true,
      label: 'Regular',
      value: 'regular',
    },
    {
      isSelected: false,
      label: 'Medium',
      value: 'medium',
    },
    {
      isSelected: false,
      label: 'Fit',
      value: 'fit',
    },
  ],
  dropdownList: [
    {
      label: 'Every Four Weeks',
      value: 'Every Four Weeks',
      isSelected: true,
    },
    {
      label: 'Every Two Month',
      value: 'Every Two Month',
      isSelected: false,
    },
    {
      label: 'Every Two Weeks',
      value: 'Every Two Weeks',
      isSelected: false,
    },
  ],
}

const paymentInformationCardList = [
  {
    nameOnCard: 'Sri',
    cardNumber: '2354234234234',
    expiry: '02/23',
    type: 'visa', // visa, mastero, amex, discover
    defaultBillingAddress: true,
    name: 'Sri',
    addressLine1: '3415 Breakfast Ave',
    addressLine2: '',
    city: 'San Francisco',
    state: 'CA',
    zipCode: '55555',
    isSubscriptionPayment: true,
    isDefaultPayment: true,
  },
  {
    nameOnCard: 'Elizabeth',
    cardNumber: '99935456549976655',
    expiry: '02/23',
    type: 'master', // visa, mastero, amex, discover
    isSubscriptionPayment: false,
  },
]

const ShippingAddressCardList = [
  {
    firstName: 'John',
    lastName: 'Pancake',
    addressLine1: '3415 Breakfast Ave',
    addressLine2: '',
    country: 'USA',
    city: 'San Francisco',
    state: 'CA',
    zipCode: '55555',
    isSubscriptionAddress: true,
    isDefaultAddress: true,
  },
  {
    firstName: 'John',
    lastName: 'Pancake',
    addressLine1: '3415 Breakfast Ave',
    addressLine2: '',
    country: 'USA',
    city: 'San Francisco',
    state: 'CA',
    zipCode: '55555',
    isSubscriptionAddress: true,
  },
  {
    firstName: 'John',
    lastName: 'Pancake',
    addressLine1: '3415 Breakfast Ave',
    addressLine2: '',
    country: 'USA',
    city: 'San Francisco',
    state: 'CA',
    zipCode: '55555',
    isSubscriptionAddress: false,
  },
]

const MySubscriptionInfo = {
  orderStatus: 'active',
  subscriptionInfo: {
    orderInfoDetails: [
      {
        'label': 'last ordered #',
        'value': 'june 7, 2018',
        'data-qa': 'qa-last-order-date',
      },
      {
        'label': 'last date to update this order',
        'value': 'july 2, 2018',
        'data-qa': 'qa-last-update-order-date',
      },
      {
        'label': 'expected delivery',
        'value': 'tuesday, august 7',
        'data-qa': 'qa-expected-delivery-date',
      },
    ],

    orderInfoLink: {
      value: 'change date',
      src: 'google.com',
    },
  },

  productItemInfo: {
    image: 'https://raderain.sirv.com/T-Giant/521F_420011110_main.png',
    title: 'T-Giant',
    skuId: [
      {
        label: 'SKU #',
        value: '123456',
      },
    ],
    description: `Women's Striped CrewNeck Short Sleeve Loose Fit T Shirt`,
    salePrice: '$692.00',
    regularPrice: '$700.00',
    navigationUrl: 'https://schema.org/Product',
  },
}

const UpcomingDeliveriesItemInfo = {
  image: 'https://raderain.sirv.com/T-Giant/521F_420011110_main.png',
  label: 'Expected delivery',
  date: 'sep 22, 2018',
}

const UpcomingDeliveriesItemList = [
  {
    image: 'https://raderain.sirv.com/T-Giant/521F_420011110_main.png',
    label: 'Expected delivery',
    date: 'sep 22, 2018',
  },
  {
    image: 'https://raderain.sirv.com/T-Giant/521F_420011110_main.png',
    label: 'Expected delivery',
    date: 'sep 22, 2018',
  },
]

export {
  item,
  paymentInformationCardList,
  ShippingAddressCardList,
  MySubscriptionInfo,
  UpcomingDeliveriesItemInfo,
  UpcomingDeliveriesItemList,
}