GitHub

DaffPaypalExpressServiceInterface

import { DaffPaypalExpressServiceInterface } from '@daffodil/paypal/driver'

interface DaffPaypalExpressServiceInterface<T extends DaffPaypalExpressTokenRequest = DaffPaypalExpressTokenRequest, V extends DaffPaypalExpressTokenResponse = DaffPaypalExpressTokenResponse> {
  generateToken(
    cartId: string
    generateTokenRequest: T
  ): Observable<V>
}

() Methods

generateToken
Observable<V>
Parameters
ParametercartId: string
Description
ParametergenerateTokenRequest: T
Description