Files
medusa-store/docs/content/references/js-client/classes/PaymentCollectionsResource.md
2022-12-13 12:40:33 +02:00

4.8 KiB

Class: PaymentCollectionsResource

Hierarchy

  • default

    PaymentCollectionsResource

Methods

authorizePaymentSession

authorizePaymentSession(id, session_id, customHeaders?): ResponsePromise<StorePaymentCollectionsRes>

Parameters

Name Type
id string
session_id string
customHeaders Record<string, any>

Returns

ResponsePromise<StorePaymentCollectionsRes>

Defined in

medusa-js/src/resources/payment-collections.ts:29


authorizePaymentSessionsBatch

authorizePaymentSessionsBatch(id, payload, customHeaders?): ResponsePromise<StorePaymentCollectionsRes>

Parameters

Name Type
id string
payload StorePostPaymentCollectionsBatchSessionsAuthorizeReq
customHeaders Record<string, any>

Returns

ResponsePromise<StorePaymentCollectionsRes>

Defined in

medusa-js/src/resources/payment-collections.ts:38


managePaymentSession

managePaymentSession(id, payload, customHeaders?): ResponsePromise<StorePaymentCollectionsRes>

Parameters

Name Type
id string
payload StorePaymentCollectionSessionsReq
customHeaders Record<string, any>

Returns

ResponsePromise<StorePaymentCollectionsRes>

Defined in

medusa-js/src/resources/payment-collections.ts:56


managePaymentSessionsBatch

managePaymentSessionsBatch(id, payload, customHeaders?): ResponsePromise<StorePaymentCollectionsRes>

Parameters

Name Type
id string
payload StorePostPaymentCollectionsBatchSessionsReq
customHeaders Record<string, any>

Returns

ResponsePromise<StorePaymentCollectionsRes>

Defined in

medusa-js/src/resources/payment-collections.ts:47


refreshPaymentSession

refreshPaymentSession(id, session_id, customHeaders?): ResponsePromise<StorePaymentCollectionsSessionRes>

Parameters

Name Type
id string
session_id string
customHeaders Record<string, any>

Returns

ResponsePromise<StorePaymentCollectionsSessionRes>

Defined in

medusa-js/src/resources/payment-collections.ts:65


retrieve

retrieve(id, query?, customHeaders?): ResponsePromise<StorePaymentCollectionsRes>

Parameters

Name Type
id string
query? GetPaymentCollectionsParams
customHeaders Record<string, any>

Returns

ResponsePromise<StorePaymentCollectionsRes>

Defined in

medusa-js/src/resources/payment-collections.ts:14