Skip to main content

Class: SystemPaymentProviderService

Hierarchy

  • "medusa-interfaces"

    SystemPaymentProviderService

Constructors

constructor

new SystemPaymentProviderService(_)

Parameters

NameType
_any

Overrides

BaseService.constructor

Defined in

services/system-payment-provider.js:6

Properties

identifier

Static identifier: string = "system"

Defined in

services/system-payment-provider.js:4

Methods

authorizePayment

authorizePayment(_): Promise<{ data: {} = {}; status: string = "authorized" }>

Parameters

NameType
_any

Returns

Promise<{ data: {} = {}; status: string = "authorized" }>

Defined in

services/system-payment-provider.js:22


cancelPayment

cancelPayment(_): Promise<{}>

Parameters

NameType
_any

Returns

Promise<{}>

Defined in

services/system-payment-provider.js:46


capturePayment

capturePayment(_): Promise<{}>

Parameters

NameType
_any

Returns

Promise<{}>

Defined in

services/system-payment-provider.js:38


createPayment

createPayment(_): Promise<{}>

Parameters

NameType
_any

Returns

Promise<{}>

Defined in

services/system-payment-provider.js:10


deletePayment

deletePayment(_): Promise<{}>

Parameters

NameType
_any

Returns

Promise<{}>

Defined in

services/system-payment-provider.js:34


getPaymentData

getPaymentData(_): Promise<{}>

Parameters

NameType
_any

Returns

Promise<{}>

Defined in

services/system-payment-provider.js:18


getStatus

getStatus(_): Promise<string>

Parameters

NameType
_any

Returns

Promise<string>

Defined in

services/system-payment-provider.js:14


refundPayment

refundPayment(_): Promise<{}>

Parameters

NameType
_any

Returns

Promise<{}>

Defined in

services/system-payment-provider.js:42


updatePayment

updatePayment(_): Promise<{}>

Parameters

NameType
_any

Returns

Promise<{}>

Defined in

services/system-payment-provider.js:30


updatePaymentData

updatePaymentData(_): Promise<{}>

Parameters

NameType
_any

Returns

Promise<{}>

Defined in

services/system-payment-provider.js:26