fdk-pincode
Deprecation Notice
Vue-based themes will soon be deprecated. Please switch to React-based themes, as all future updates and support will focus exclusively on React.
Pincode Action Component
Tag
fdk-pincode
Description
This action component is used to perform actions related to pincode, which include validating pincode, getting Turn Around Time (information regarding delivery dates), and getting pincode details.
Props
| Key | Type | Description | Payload |
|---|---|---|---|
| validatePincode | function | This function is used to validate whether the entered pincode is valid or not, or has service or not. | validatePincode(action : object) |
| getTat Deprecated | function | This function is used to get the turn around time details of validated pincode. Here pincode and other details are passed as a parameter | getTat(body: TATViewRequest : object) |
| pincodeDetails | function | This function is used to get the information regarding the pincode. Pincode is passed as parameter | pincodeDetails( pincode : string ) |
Example
<fdk-pincode>
<template slot-scope="pincode">
//code
</template
</fdk-pincode>