@unchainedshop/plugins
Version:
Official plugin collection for the Unchained Engine with payment, delivery, and pricing adapters
7 lines (6 loc) • 328 B
TypeScript
import type { Order, OrderDelivery } from '@unchainedshop/core-orders';
export default function isDeliveryAddressInCountry({ orderDelivery, order, countryCode: forceCountryCode, }: {
orderDelivery?: OrderDelivery | null;
order?: Order | null;
countryCode?: string | null;
}, allowedCountryCodes: string[]): boolean;