@springtree/eva-core
Version:
The EVA core typings
45 lines (35 loc) • 1.06 kB
TypeScript
declare module EVA.Intersolve {
export namespace Errors {
export namespace Intersolve {
export const IssuingFailed = 'Intersolve:IssuingFailed';
export const MissingCardNumber = 'Intersolve:MissingCardNumber';
export const ActivateValueNotInValues = 'Intersolve:ActivateValueNotInValues';
export const ActivateValueTooLow = 'Intersolve:ActivateValueTooLow';
export const ActivateValueTooHigh = 'Intersolve:ActivateValueTooHigh';
}
}
export interface AddVoucherToShoppingCart {
SessionID?: string;
OrderID: number;
VoucherID: number;
}
export interface ListVoucherConfigurations {
}
export interface ListVoucherConfigurationsResponse {
VoucherProviders: VoucherProvider[];
Error: EVA.Core.ServiceError;
}
export interface VoucherProvider {
Options: VoucherOption[];
Name: string;
}
export interface VoucherOption {
Name: string;
VoucherID: number;
EAN: string;
Value?: number;
LayoutID: string;
Layout: string;
UnitCost?: number;
}
}