Advertisement
Guest User

Untitled

a guest
Aug 16th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. config {
  2. paymentTypes: ['Visa', 'Mastercard']
  3. },
  4.  
  5. query rentalSelectionView(contentItemId, voucher) {
  6.  
  7. products: [
  8. {
  9. id: 'sku1',
  10. name: 'HD', //video format
  11. originalPrice: '$8.99',
  12. currentPrice: '$3.99'
  13. rentalPeriodDays: 30,
  14. viewingPeriodHours: 48,
  15. paymentMessage: 'Your card will be charged {price}'
  16. },
  17. ]
  18. }
  19.  
  20. {
  21. __typename: 'Title',
  22. id: 'xxx',
  23. ldId: 'xxy',
  24. videoRefId: 'xxx-xx-xxx', // hd or sd
  25. purchased: false, // rented or subscribed
  26. products(coupon): [
  27. {
  28. id: 'sku1',
  29. name: 'HD', //video format
  30. originalPrice: '8.99',
  31. rentalPeriodDays: 30,
  32. viewingPeriodHours: 48,
  33. },
  34. {
  35. id: 'sku2',
  36. name: 'SD',
  37. originalPrice: 5.99,
  38. rentalPeriodDays: 30,
  39. viewingPeriodHours: 48,
  40. }
  41. ]
  42. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement