UNPKG

@spartacus/storefront

Version:

Spartacus Storefront is a package that you can include in your application, which allows you to add default storefront features.

23 lines (22 loc) 1.05 kB
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"; /** * @deprecated since 4.2 - use order lib instead */ 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>; }