Home > @vsf-enterprise/mollie-commercetools
# mollie-commercetools package
Mollie and commercetools integration for Vue Storefront 2.
# Remarks
The @vsf-enterprise/mollie-commercetools library is complete solution to integrate with Mollie commercetools extension (opens new window).
# Interfaces
| Interface | Description |
|---|---|
| ApiClientRequestParams | Request's configuration for commercetools' API Client. |
| ApiCreateOrderParams | Integration createOrder endpoint's params. |
| ApiEndpoints | API Endpoints accessible via useVSFContext().$mollie.api. |
| ApiFetchOrderByCartIdParams | Integration fetchOrderByCartId endpoint's params. |
| ApiGetPaymentMethodParams | Integration getPaymentMethodsRequest endpoint's params. |
| ApiGetPaymentMethodsResponse | Response from getPaymentMethodsRequest. |
| BeforeCreatePaymentParams | Data used to build MollieCreatePaymentRequestPayload. |
| BuiltGetPaymentMethodsPayloadParams | Built parameters used to create commercetools' payment object. |
| CommercetoolsClient | Commercetools' client. |
| CreatePaymentObject | Object creating payment of Mollie Integration payment type (opens new window) in commercetools. |
| MollieAmount | Money value representation in Mollie. |
| MollieClientConfig | Configuration of the nuxt module inside nuxt.config.js. Not available fields for now. |
| MollieCreatePaymentRequestPayload | Payload sent to the Create order (opens new window) endpoint. Fields you can overwrite are limited to these (opens new window). |
| MollieIntegrationContext | Context available in every integration's endpoint. |
| MolliePaymentMethod | Mollie's payment method. |
| MolliePaymentMethodIssuer | Mollie's issuer (element of payment method). |
| MolliePaymentMethodsRequestPayload | Payload sent to the List payment methods (opens new window) endpoint. Fields you can overwrite are limited to these (opens new window). |
| MollieServerConfig | Configuration of integration inside middleware.config.js. |
| PaymentAndOrder | Commercetools' payment object including created order. |
| VSFContext | Minimal interface for context returned by useVSFContext method in relation to commercetools and mollie. |
# Variables
| Variable | Description |
|---|---|
| LOGGER_PREFIX | Unique integration prefix put in Logger messages. |
| useMollie | Composable for communication with API endpoints created by the integration. |
# Type Aliases
| Type Alias | Description |
|---|---|
| PaymentWithFields | Commercetools' Payment type with custom fields from Mollie Integration payment type (opens new window). |