Files
github-actions[bot] 5216ad2f15 chore(docs): Generated References (automated) (#10866)
Generated the following references:
- `auth`
- `auth_provider`
- `core_flows`
- `fulfillment`
- `fulfillment_provider`
- `js_sdk`
- `medusa`
- `modules`
- `modules_sdk`
- `order`
- `payment`
- `stock_location_next`
- `stock_location_next_models`
- `types`
- `utils`

Co-authored-by: Oli Juhl <59018053+olivermrbl@users.noreply.github.com>
2025-01-07 13:14:10 +00:00

12 lines
2.0 KiB
Plaintext

---
displayed_sidebar: paymentReference
---
import { TypeList } from "docs-ui"
# PaymentCollectionUpdatableFields
The attributes to update in the payment collection.
<TypeList types={[{"name":"region_id","type":"`string`","description":"The associated region's ID.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"currency_code","type":"`string`","description":"The ISO 3 character currency code of the payment collection.","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"status","type":"[PaymentCollectionStatus](../../types/payment.PaymentCollectionStatus/page.mdx)","description":"The status of the payment collection","optional":true,"defaultValue":"","expandable":false,"children":[]},{"name":"amount","type":"[BigNumberInput](../../types/payment.BigNumberInput/page.mdx)","description":"The amount of the payment collection.","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"numeric","type":"`number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]},{"name":"raw","type":"[BigNumberRawValue](../../types/payment.BigNumberRawValue/page.mdx)","description":"","optional":true,"defaultValue":"","expandable":false,"children":[{"name":"value","type":"`string` \\| `number`","description":"","optional":false,"defaultValue":"","expandable":false,"children":[]}]},{"name":"bigNumber","type":"`BigNumber`","description":"","optional":true,"defaultValue":"","expandable":false,"children":[]}]},{"name":"metadata","type":"`Record<string, unknown>`","description":"Holds custom data in key-value pairs.","optional":true,"defaultValue":"","expandable":false,"children":[]}]} expandUrl="https://docs.medusajs.com/learn/fundamentals/data-models/manage-relationships#retrieve-records-of-relation" sectionTitle="PaymentCollectionUpdatableFields"/>