@paydock/client-sdk
Version:
Paydock client sdk
18 lines • 1.08 kB
TypeScript
export { AfterpayOnSiteMessaging } from './afterpay-on-site-messaging';
/**
* Interface of data used for Afterpay On Site Messaging configuration.
* For further information refer to [the documentation](https://developers.afterpay.com/docs/api/afterpay-messaging/getting-started-with-afterpay-on-site-messaging).
* @interface IAfterpayOnSiteMessagingConfig
*
* @type {object}
* @param {string} [mpid] Used for indicating the MPID.
* @param {string} [placement_id] Used for indicating the product Placement ID.
* @param {'cart'|'product'} [page_type] Used for indicating the page type. Allowed values are: cart, product.
* @param {string} [amount] Used for indicating the amount.
* @param {string} [currency] Used for indicating the currency.
* @param {string} [consumer_locale] Used for indicating the consumer locale.
* @param {string} [item_skus] Used for indicating the SKU.
* @param {string} [item_categories] Used for indicating the category.
* @param {boolean} [is_eligible] Used for indicating if the user is eligible.
*/
//# sourceMappingURL=index.d.ts.map