- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
- User Guide
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
- User Guide
updatePaymentCollections - Payment Module Reference
This documentation provides a reference to the updatePaymentCollections
method. This belongs to the Payment Module.
Note: You should only use this methods when implementing complex customizations. For common cases, check out available workflows instead.
updatePaymentCollections(paymentCollectionId, data, sharedContext?): Promise<PaymentCollectionDTO>#
This method updates an existing payment collection.
Example#
Parameters#
paymentCollectionId
stringThe payment collection's ID.
The attributes to update in the payment collection.
Returns#
Promise
Promise<PaymentCollectionDTO>The updated payment collection.
Promise
Promise<PaymentCollectionDTO>updatePaymentCollections(selector, data, sharedContext?): Promise<PaymentCollectionDTO[]>#
This method updates existing payment collections matching the specified filters.
Example#
Parameters#
selector
FilterablePaymentCollectionPropsThe filters specifying which payment collections to update.
selector
FilterablePaymentCollectionPropsThe attributes to update in the payment collections.
Returns#
Promise
Promise<PaymentCollectionDTO[]>The updated payment collections.
Promise
Promise<PaymentCollectionDTO[]>Was this page helpful?