Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | 8x 8x 8x 8x 36x | import PaymentDetails from "../types/paymentDetails"; import { inject, injectable } from "inversify"; import { injectables } from "../../core/types/injectables"; import PaymentDetailsFactory from "../factories/paymentDetailsFactory"; @injectable() export abstract class AbstractPaymentDetailsStrategy<T extends PaymentDetails> { protected readonly paymentDetailsFactory; public constructor( @inject(injectables.PaymentDetailsFactory) paymentDetailsFactory: PaymentDetailsFactory ) { this.paymentDetailsFactory = paymentDetailsFactory; } /** * @throws PaymentDetailsProcessingError **/ abstract tryCreate(paymentDetailsRaw: string[], additionalDetailsRaw: string[]): T; } |