52 lines
808 B
Plaintext
52 lines
808 B
Plaintext
---
|
|
displayed_sidebar: modules
|
|
---
|
|
|
|
import ParameterTypes from "@site/src/components/ParameterTypes"
|
|
|
|
# Cart
|
|
|
|
A cart represents a virtual shopping bag. It can be used to complete an order, a swap, or a claim.
|
|
|
|
## constructor
|
|
|
|
A cart represents a virtual shopping bag. It can be used to complete an order, a swap, or a claim.
|
|
|
|
___
|
|
|
|
## Methods
|
|
|
|
### afterLoad
|
|
|
|
#### Returns
|
|
|
|
<ParameterTypes parameters={[
|
|
{
|
|
"name": "void",
|
|
"type": "`void`",
|
|
"optional": true,
|
|
"defaultValue": "",
|
|
"description": "",
|
|
"expandable": false,
|
|
"children": []
|
|
}
|
|
]} />
|
|
|
|
___
|
|
|
|
### beforeInsert
|
|
|
|
#### Returns
|
|
|
|
<ParameterTypes parameters={[
|
|
{
|
|
"name": "void",
|
|
"type": "`void`",
|
|
"optional": true,
|
|
"defaultValue": "",
|
|
"description": "",
|
|
"expandable": false,
|
|
"children": []
|
|
}
|
|
]} />
|