Skip to content

@sourceloop/payment-service / Exports / PaymentServiceComponent

Class: PaymentServiceComponent

Implements

  • Component

Table of contents

Constructors

Properties

Constructors

constructor

new PaymentServiceComponent(application, paymentConfig?, options?, tenantConfig?)

Parameters

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

Defined in

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

Properties

application

Private Readonly application: Application

Defined in

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


bindings

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

Implementation of

Component.bindings

Defined in

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


controllers

Optional controllers: ControllerClass<any>[]

An array of controller classes

Implementation of

Component.controllers

Defined in

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


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:91


options

Private Readonly options: PaymentServiceComponentOptions = DEFAULT_PAYMENT_SERVICE_OPTIONS

Defined in

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


paymentConfig

Private Optional Readonly paymentConfig: PaymentServiceConfig

Defined in

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


providers

Optional providers: ProviderMap = {}

Implementation of

Component.providers

Defined in

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


repositories

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

Defined in

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


tenantConfig

Private Optional Readonly tenantConfig: ITenantUtilitiesConfig

Defined in

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