in client/fixtures/productBuilder/baseProducts.ts [878:952]
export function baseTierThree(): ProductDetail {
return {
tier: 'Tier Three',
isPaidTier: true,
selfServiceCancellation: {
isAllowed: true,
shouldDisplayEmail: true,
phoneRegionsToDisplay: ['UK & ROW', 'US', 'AUS'],
},
billingCountry: 'United Kingdom',
joinDate: '2021-11-29',
optIn: true,
subscription: {
paymentMethod: 'Card',
card: {
last4: '4242',
expiry: { month: 2, year: 2029 },
type: 'Visa',
stripePublicKeyForUpdate: 'pk_test_Qm3CGRdrV4WfGYCpm0sftR0f',
email: 'rupert.bates+t3@observer.co.uk',
},
contactId: '003UD00000BDAMbYAP',
deliveryAddress: {
addressLine1: 'Kings Place',
addressLine2: '',
town: 'London',
postcode: 'N19GU',
country: 'United Kingdom',
},
safeToUpdatePaymentMethod: true,
start: '2021-12-24',
end: '2022-12-15',
nextPaymentPrice: 2500,
nextPaymentDate: '2024-06-28',
lastPaymentDate: null,
potentialCancellationDate: null,
chargedThroughDate: null,
renewalDate: '2022-12-15',
anniversaryDate: '2022-12-24',
cancelledAt: false,
subscriptionId: 'A-S00897035',
trialLength: 4,
autoRenew: true,
plan: {
name: 'Tier Three',
price: 2500,
currency: '£',
currencyISO: 'GBP',
billingPeriod: 'month',
start: '',
end: '',
shouldBeVisible: false,
features: '',
},
currentPlans: [],
futurePlans: [
{
name: null,
start: '2021-12-10',
end: '2022-11-29',
shouldBeVisible: true,
chargedThrough: null,
price: 2500,
currency: '£',
currencyISO: 'GBP',
billingPeriod: 'month',
features: '',
},
],
readerType: 'Direct',
accountId: '8ad08f069010dd31019011e437574822',
},
isTestUser: false,
};
}