Class: AdminPaymentCollectionsResource
Hierarchy
default
↳
AdminPaymentCollectionsResource
Methods
delete
▸ delete(id
, customHeaders?
): ResponsePromise
<AdminPaymentCollectionDeleteRes
>
Parameters
Name | Type |
---|---|
id | string |
customHeaders | Record <string , any > |
Returns
ResponsePromise
<AdminPaymentCollectionDeleteRes
>
Defined in
medusa-js/src/resources/admin/payment-collections.ts:36
markAsAuthorized
▸ markAsAuthorized(id
, customHeaders?
): ResponsePromise
<AdminPaymentCollectionsRes
>
Parameters
Name | Type |
---|---|
id | string |
customHeaders | Record <string , any > |
Returns
ResponsePromise
<AdminPaymentCollectionsRes
>
Defined in
medusa-js/src/resources/admin/payment-collections.ts:44
retrieve
▸ retrieve(id
, query?
, customHeaders?
): ResponsePromise
<AdminPaymentCollectionsRes
>
Parameters
Name | Type |
---|---|
id | string |
query? | GetPaymentCollectionsParams |
customHeaders | Record <string , any > |
Returns
ResponsePromise
<AdminPaymentCollectionsRes
>
Defined in
medusa-js/src/resources/admin/payment-collections.ts:12
update
▸ update(id
, payload
, customHeaders?
): ResponsePromise
<AdminPaymentCollectionsRes
>
Parameters
Name | Type |
---|---|
id | string |
payload | AdminUpdatePaymentCollectionsReq |
customHeaders | Record <string , any > |
Returns
ResponsePromise
<AdminPaymentCollectionsRes
>