Skip to content

Commit

Permalink
feat(payments-plugin): Forgot to add files
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnvdbrug committed Feb 21, 2024
1 parent 9c1df83 commit 9e51be2
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions packages/payments-plugin/src/mollie/custom-fields.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { CustomFieldConfig, Order, CustomOrderFields } from '@vendure/core';

export interface OrderWithMollieReference extends Order {
customFields: CustomOrderFields & {
mollieOrderId?: string;
};
}

export const orderCustomFields: CustomFieldConfig[] = [
{
name: 'mollieOrderId',
type: 'string',
internal: true,
nullable: true,
},
];

0 comments on commit 9e51be2

Please sign in to comment.