Skip to content

@sourceloop/payment-service / Exports / PaymentServiceComponent

Class: PaymentServiceComponent

Implements

  • Component

Table of contents

Constructors

Properties

Constructors

constructor

new PaymentServiceComponent(application, paymentConfig?, options?)

Parameters

Name Type Default value
application Application undefined
paymentConfig? PaymentServiceConfig undefined
options PaymentServiceComponentOptions DEFAULT_PAYMENT_SERVICE_OPTIONS

Defined in

services/payment-service/src/component.ts:84

Properties

application

Private Readonly application: Application

Defined in

services/payment-service/src/component.ts:86


bindings

Optional bindings: Binding<any>[] = []

Implementation of

Component.bindings

Defined in

services/payment-service/src/component.ts:82


controllers

Optional controllers: ControllerClass<any>[]

An array of controller classes

Implementation of

Component.controllers

Defined in

services/payment-service/src/component.ts:81


models

Optional models: Class<Model>[]

An optional list of Model classes to bind for dependency injection via app.model() API.

Defined in

services/payment-service/src/component.ts:76


options

Private Readonly options: PaymentServiceComponentOptions = DEFAULT_PAYMENT_SERVICE_OPTIONS

Defined in

services/payment-service/src/component.ts:90


paymentConfig

Private Optional Readonly paymentConfig: PaymentServiceConfig

Defined in

services/payment-service/src/component.ts:88


providers

Optional providers: ProviderMap = {}

Implementation of

Component.providers

Defined in

services/payment-service/src/component.ts:83


repositories

Optional repositories: Class<Repository<Model>>[]

Defined in

services/payment-service/src/component.ts:70