Foodtruck Order — TypeScript Reference - v0.1.0
    Preparing search index...

    Narrow application port every refund adapter implements.

    Adapters translate their provider protocol, authentication, formats, and error vocabulary into this contract. They never return provider-specific values, and the application never sees one.

    interface RefundGateway {
        refund(
            request: RefundRequest,
            context?: OperationContext,
            onProviderReference?: RefundReferenceHandler,
        ): Promise<RefundResult>;
    }
    Index