@spartacus/order
Version:
Order feature library for Spartacus
20 lines (19 loc) • 991 B
TypeScript
import { FormControl, FormGroup } from '@angular/forms';
import { OrderEntry, Price } from '@spartacus/core';
import { Observable } from 'rxjs';
import { OrderAmendService } from '../amend-order.service';
import * as i0 from "@angular/core";
export declare class CancelOrReturnItemsComponent {
protected orderAmendService: OrderAmendService;
entries: OrderEntry[];
isConfirmation: boolean;
form$: Observable<FormGroup>;
constructor(orderAmendService: OrderAmendService);
getControl(form: FormGroup, entry: OrderEntry): FormControl;
setAll(form: FormGroup): void;
getItemPrice(entry: OrderEntry): Price;
getMaxAmendQuantity(entry: OrderEntry): number;
isCancellation(): boolean;
static ɵfac: i0.ɵɵFactoryDeclaration<CancelOrReturnItemsComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<CancelOrReturnItemsComponent, "cx-amend-order-items", never, { "entries": "entries"; "isConfirmation": "isConfirmation"; }, {}, never, never>;
}