-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b9f5859
commit 3cd768b
Showing
11 changed files
with
244 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
[@square/site-theme-sdk](../GettingStarted.md) / [Modules](../modules.md) / [types/api/cart](../modules/types_api_cart.md) / CartErrorNext | ||
|
||
# Interface: CartErrorNext | ||
|
||
[types/api/cart](../modules/types_api_cart.md).CartErrorNext | ||
|
||
## Table of contents | ||
|
||
### Properties | ||
|
||
- [time](types_api_cart.CartErrorNext.md#time) | ||
- [time\_formatted](types_api_cart.CartErrorNext.md#time_formatted) | ||
- [time\_unix](types_api_cart.CartErrorNext.md#time_unix) | ||
- [date](types_api_cart.CartErrorNext.md#date) | ||
- [label](types_api_cart.CartErrorNext.md#label) | ||
- [prep\_time\_duration](types_api_cart.CartErrorNext.md#prep_time_duration) | ||
- [pickup\_window](types_api_cart.CartErrorNext.md#pickup_window) | ||
- [delivery\_window](types_api_cart.CartErrorNext.md#delivery_window) | ||
|
||
## Properties | ||
|
||
### time | ||
|
||
• **time**: `string` | ||
|
||
RFC3339 formatted date-time. | ||
|
||
___ | ||
|
||
### time\_formatted | ||
|
||
• **time\_formatted**: `string` | ||
|
||
Human-readable label for time. Dependent on fulfillment type. | ||
|
||
___ | ||
|
||
### time\_unix | ||
|
||
• **time\_unix**: `number` | ||
|
||
UNIX timestamp of pickup/delivery time. | ||
|
||
___ | ||
|
||
### date | ||
|
||
• **date**: `string` | ||
|
||
RFC3339 date based on the store location's timezone. | ||
|
||
___ | ||
|
||
### label | ||
|
||
• **label**: `string` | ||
|
||
Prescribed localized time-only label for use in buyer-facing time selectors. | ||
|
||
___ | ||
|
||
### prep\_time\_duration | ||
|
||
• **prep\_time\_duration**: `Object` | ||
|
||
Details about Prep time duration. | ||
|
||
#### Type declaration | ||
|
||
| Name | Type | Description | | ||
| :------ | :------ | :------ | | ||
| `in_minutes` | `number` | Duration in minutes. | | ||
| `rfc3339_interval` | `string` | Duration in RFC3339 format. | | ||
|
||
___ | ||
|
||
### pickup\_window | ||
|
||
• `Optional` **pickup\_window**: `Object` | ||
|
||
Included if using a window for pickup hours. | ||
|
||
#### Type declaration | ||
|
||
| Name | Type | Description | | ||
| :------ | :------ | :------ | | ||
| `start` | [`CartErrorNextFulfillmentWindow`](types_api_cart.CartErrorNextFulfillmentWindow.md) | Start of the window for the pickup hours. | | ||
| `end` | [`CartErrorNextFulfillmentWindow`](types_api_cart.CartErrorNextFulfillmentWindow.md) | End of the window for the pickup hours. | | ||
|
||
___ | ||
|
||
### delivery\_window | ||
|
||
• `Optional` **delivery\_window**: `Object` | ||
|
||
Included if the fulfillment is delivery. | ||
|
||
#### Type declaration | ||
|
||
| Name | Type | Description | | ||
| :------ | :------ | :------ | | ||
| `start` | [`CartErrorNextFulfillmentWindow`](types_api_cart.CartErrorNextFulfillmentWindow.md) | Start of the window for the delivery hours. | | ||
| `end` | [`CartErrorNextFulfillmentWindow`](types_api_cart.CartErrorNextFulfillmentWindow.md) | End of the window for the delivery hours. | |
37 changes: 37 additions & 0 deletions
37
typedocs/interfaces/types_api_cart.CartErrorNextFulfillmentWindow.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
[@square/site-theme-sdk](../GettingStarted.md) / [Modules](../modules.md) / [types/api/cart](../modules/types_api_cart.md) / CartErrorNextFulfillmentWindow | ||
|
||
# Interface: CartErrorNextFulfillmentWindow | ||
|
||
[types/api/cart](../modules/types_api_cart.md).CartErrorNextFulfillmentWindow | ||
|
||
## Table of contents | ||
|
||
### Properties | ||
|
||
- [time](types_api_cart.CartErrorNextFulfillmentWindow.md#time) | ||
- [time\_formatted](types_api_cart.CartErrorNextFulfillmentWindow.md#time_formatted) | ||
- [time\_unix](types_api_cart.CartErrorNextFulfillmentWindow.md#time_unix) | ||
|
||
## Properties | ||
|
||
### time | ||
|
||
• **time**: `string` | ||
|
||
RFC3339 formatted date-time. | ||
|
||
___ | ||
|
||
### time\_formatted | ||
|
||
• **time\_formatted**: `string` | ||
|
||
Human-readable label for time. | ||
|
||
___ | ||
|
||
### time\_unix | ||
|
||
• **time\_unix**: `number` | ||
|
||
UNIX timestamp of pickup/delivery time. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters