PaymentService.ts
Source file: packages/app-core/src/contracts/PaymentService.ts
Module: package-app-core
Size: 19 lines
SHA-256: 8ad69b9d75921d420a12014d2a4d348dcafbd8467bb31e8bbb87e7bc35498061
Responsibility
Defines typed app contracts and business boundaries reusable across runtimes.
Declared entry points
SavedPaymentMethod— source line 4.PaymentService— source line 14.
Imports and dependencies
- Line 1:
import type { CapabilityResult } from './CapabilityResult.js';
Behaviour and audit locations
- Line 10:
/** A card is not assumed to work across all five Stripe accounts. */
Relationship to the system
This page is the file-level source reference, not the architecture rationale. Read the module explanation, the corresponding architecture decision and user guide before changing behaviour. Names and line locations above are extracted from this exact source version; they are reference points, not proof that an external service or a phone feature works.
Change verification
Review the entry points and errors in this file, then run the module’s associated tests, source dependency gate, history gate and documentation coverage check. If the file changes an API response, user interaction, data model, deployment or third-party dependency, revise those human explanations and disaster recovery/licensing when relevant. Do not infer actual native or external API operation from source presence.