import { Observable } from 'rxjs'; import { Order, NewPaymentResponse, ProcessPayPalResponse, OrderPromotionType, OrderPromotionByCount, OrderPromotionByAmount, CartPrice } from './order-models'; import { AutoTablePageableResponse } from '@muchencute/mrrs-types'; import { HttpClient } from '@angular/common/http'; export declare class OrderService { private httpClient; private coreConfig; private _baseURL; private _sendOrderURL; private _newPaymentURL; private _processPayPalURL; private _cancelPayPalURL; private _promotionURL; private _orderPromotionURL; constructor(httpClient: HttpClient, coreConfig: any); getOrderList(params: { [param: string]: any; }): Observable>; newOrder(products: { code: number; priceID: number; }[]): Observable; newOrderAnonymous(email: string, products: { code: number; priceID: number; }[]): Observable; getOrder(orderCode: string): Observable; getOrderAnonymous(orderCode: string): Observable; updateOrder(orderCode: string, params: { [name: string]: string; }): Observable; sendOrder(code: string, email: string): Observable; pay(orderCode: string, paymentMethod: string, returnURL?: string, cancelURL?: string): Observable; processPayPal(orderCode: string, paymentID: string, payerID: string): Observable; cancelPayPal(orderCode: string): Observable; discountDate(manufacturerName: string, discountRate: number, discountStartDate: string, discountDeadline: string): Observable; discountCreationDate(manufacturerName: string, startCreationDate: string, endCreationDate: string, discountRate: number, discountStartDate: string, discountDeadline: string): Observable; discountCatalog(manufacturerName: string, catalog: number, discountRate: number, discountStartDate: string, discountDeadline: string): Observable; discountIndividual(code: number, discountRate: number, discountStartDate: string, discountDeadline: string): Observable; newOrderPromotionByCount(manufacturerName: string, description: string, startDate: string, endDate: string, count: number, discountRate: number): Observable; newOrderPromotionByAmount(manufacturerName: string, description: string, startDate: string, endDate: string, amount: number, discountAmount: number): Observable; getOrderPromotionsByCount(params: { [name: string]: any; }): Observable>; getOrderPromotionsByAmount(params: { [name: string]: any; }): Observable>; removeOrderPromotion(type: OrderPromotionType, manufacturerName: string): Observable; updateOrderPromotionByCount(manufacturerName: string, description: string, startDate: string, endDate: string, count: number, discountRate: number): Observable; updateOrderPromotionByAmount(manufacturerName: string, description: string, startDate: string, endDate: string, amount: number, discountAmount: number): Observable; getOrderPromotionByCount(manufacturerName: string): Observable; getOrderPromotionByAmount(manufacturerName: string): Observable; getCartPrice(codes: string[], priceIDs: string[]): Observable; }