Update API docss
All checks were successful
Build and Deploy MkDocs / build-next (push) Successful in 2m11s
All checks were successful
Build and Deploy MkDocs / build-next (push) Successful in 2m11s
This commit is contained in:
parent
4c2e60a775
commit
a703139760
@ -260,7 +260,9 @@ Add a shipping insurance provider.
|
|||||||
|
|
||||||
**Example**
|
**Example**
|
||||||
```js
|
```js
|
||||||
async function getQuote(value, parcel, carrier, service) {
|
async function getQuote(value, parcel, carrier, service, rateObject) {
|
||||||
|
// See shipping rate provider documentation for rateObject structure.
|
||||||
|
|
||||||
// Do math, etc
|
// Do math, etc
|
||||||
var cost = value / 100;
|
var cost = value / 100;
|
||||||
|
|
||||||
|
|||||||
@ -244,7 +244,7 @@ the customerSignatureCollected event is emitted with the data
|
|||||||
|
|
||||||
| Param | Type | Default | Description |
|
| Param | Type | Default | Description |
|
||||||
| --- | --- | --- | --- |
|
| --- | --- | --- | --- |
|
||||||
| title | <code>string</code> | <code>null</code> | Display a title/header on the customer screen. Currently ignored, but may be used in the future. |
|
| title | <code>string</code> | <code>null</code> | Display some title/header text on the customer screen near the signature box. Not shown if terms are set. |
|
||||||
| terms | <code>string</code> \| <code>boolean</code> | <code>false</code> | Set to a string to display terms and conditions or other text content next to the signature pad. |
|
| terms | <code>string</code> \| <code>boolean</code> | <code>false</code> | Set to a string to display terms and conditions or other text content next to the signature pad. |
|
||||||
| termstype | <code>string</code> | <code>"body"</code> | "html", "pdf", "raw", or "body". See setCustomerScreen() |
|
| termstype | <code>string</code> | <code>"body"</code> | "html", "pdf", "raw", or "body". See setCustomerScreen() |
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user