Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- config {
- paymentTypes: ['Visa', 'Mastercard']
- },
- query rentalSelectionView(contentItemId, voucher) {
- products: [
- {
- id: 'sku1',
- name: 'HD', //video format
- originalPrice: '$8.99',
- currentPrice: '$3.99'
- rentalPeriodDays: 30,
- viewingPeriodHours: 48,
- paymentMessage: 'Your card will be charged {price}'
- },
- ]
- }
- {
- __typename: 'Title',
- id: 'xxx',
- ldId: 'xxy',
- videoRefId: 'xxx-xx-xxx', // hd or sd
- purchased: false, // rented or subscribed
- products(coupon): [
- {
- id: 'sku1',
- name: 'HD', //video format
- originalPrice: '8.99',
- rentalPeriodDays: 30,
- viewingPeriodHours: 48,
- },
- {
- id: 'sku2',
- name: 'SD',
- originalPrice: 5.99,
- rentalPeriodDays: 30,
- viewingPeriodHours: 48,
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement