in client/fixtures/productBuilder/baseProducts.ts [200:262]
export function baseDigitalPack(): ProductDetail {
return {
tier: 'Digital Pack',
isPaidTier: true,
selfServiceCancellation: {
isAllowed: true,
shouldDisplayEmail: false,
phoneRegionsToDisplay: ['UK & ROW'],
},
joinDate: '2021-11-11',
subscription: {
contactId: '0039E00001KA26BQAT',
deliveryAddress: {
addressLine1: 'Kings Place',
addressLine2: '90 York Way',
town: 'London',
postcode: 'N1 9GU',
country: 'United Kingdom',
},
safeToUpdatePaymentMethod: true,
start: '2021-11-27',
end: '2022-11-11',
nextPaymentPrice: 14900,
nextPaymentDate: '2021-11-27',
lastPaymentDate: null,
potentialCancellationDate: null,
chargedThroughDate: null,
renewalDate: '2022-11-11',
anniversaryDate: '2022-11-27',
cancelledAt: false,
subscriptionId: 'A-S00278175',
trialLength: 12,
autoRenew: true,
plan: {
name: 'Digital Pack',
price: 14900,
currency: '£',
currencyISO: 'GBP',
billingPeriod: 'year',
start: '2022-12-23',
end: '2024-12-11',
shouldBeVisible: true,
features: '',
},
currentPlans: [],
futurePlans: [
{
name: null,
start: '2022-06-05',
end: '2023-05-20',
shouldBeVisible: true,
chargedThrough: null,
price: 14900,
currency: '£',
currencyISO: 'GBP',
billingPeriod: 'year',
},
],
readerType: 'Direct',
},
isTestUser: false,
};
}