--- displayed_sidebar: servicesSidebar --- import ParameterTypes from "@site/src/components/ParameterTypes" # PaymentCollection A payment collection allows grouping and managing a list of payments at one. This can be helpful when making additional payment for order edits or integrating installment payments. ## Constructors ### constructor `**new PaymentCollection**()` A payment collection allows grouping and managing a list of payments at one. This can be helpful when making additional payment for order edits or integrating installment payments. ## Properties `", "description": "An optional key-value map with additional details", "optional": false, "defaultValue": "", "expandable": false, "children": [] }, { "name": "payment_sessions", "type": "[PaymentSession](PaymentSession.mdx)[]", "description": "The details of the payment sessions created as part of the payment collection.", "optional": false, "defaultValue": "", "expandable": true, "children": [] }, { "name": "payments", "type": "[Payment](Payment.mdx)[]", "description": "The details of the payments created as part of the payment collection.", "optional": false, "defaultValue": "", "expandable": true, "children": [] }, { "name": "region", "type": "[Region](Region.mdx)", "description": "The details of the region this payment collection is associated with.", "optional": false, "defaultValue": "", "expandable": true, "children": [] }, { "name": "region_id", "type": "`string`", "description": "The ID of the region this payment collection is associated with.", "optional": false, "defaultValue": "", "expandable": false, "children": [] }, { "name": "status", "type": "[PaymentCollectionStatus](../enums/PaymentCollectionStatus.mdx)", "description": "The type of the payment collection", "optional": false, "defaultValue": "", "expandable": false, "children": [] }, { "name": "type", "type": "[ORDER_EDIT](../index.md#order_edit)", "description": "The type of the payment collection", "optional": false, "defaultValue": "", "expandable": false, "children": [] }, { "name": "updated_at", "type": "`Date`", "description": "The date with timezone at which the resource was updated.", "optional": false, "defaultValue": "", "expandable": false, "children": [] } ]} /> ## Methods ### beforeInsert `Private **beforeInsert**(): void` #### Returns `void`