- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
Menu
- Get Started
- Product
- Resources
- Tools & SDKs
- Framework
- Reference
throwUnlessPaymentCollectionNotPaid - Medusa Core Workflows Reference
This documentation provides a reference to the throwUnlessPaymentCollectionNotPaid
. It belongs to the @medusajs/medusa/core-flows
package.
This step validates that the payment collection is not paid. If not valid, the step will throw an error.
Example#
Input#
ThrowUnlessPaymentCollectionNotePaidInput
ThrowUnlessPaymentCollectionNotePaidInputThe details of the payment collection to validate.
ThrowUnlessPaymentCollectionNotePaidInput
ThrowUnlessPaymentCollectionNotePaidInputpaymentCollection
PaymentCollectionDTOThe payment collection to validate.
paymentCollection
PaymentCollectionDTOWas this page helpful?