@unchainedshop/plugins
Version:
Because of a Typescript issue with upstream "postfinancecheckout", the Postfinance plugin has been disabled from transpilation, import the source ts files from src and enable node_module tsc or copy over the src/payment/postfinance-checkout to your projec
21 lines • 640 B
JavaScript
import { QuotationDirector, QuotationAdapter } from '@unchainedshop/core';
const ManualOffering = {
...QuotationAdapter,
key: 'shop.unchained.quotations.manual',
version: '1.0.0',
label: 'Manual Offerings',
orderIndex: 0,
isActivatedFor: () => true,
actions: (params) => {
return {
...QuotationAdapter.actions(params),
quote: async () => {
return {
expires: new Date(new Date().getTime() + 3600 * 1000),
};
},
};
},
};
QuotationDirector.registerAdapter(ManualOffering);
//# sourceMappingURL=manual.js.map