UNPKG

@spartacus/core

Version:

Spartacus - the core framework

9 lines (8 loc) 671 B
import { Observable } from 'rxjs'; import { CustomerCouponSearchResult, CustomerCouponNotification, CustomerCoupon2Customer } from '../../../model/customer-coupon.model'; export declare abstract class CustomerCouponAdapter { abstract getCustomerCoupons(userId: string, pageSize: number, currentPage: number, sort: string): Observable<CustomerCouponSearchResult>; abstract turnOnNotification(userId: string, couponCode: string): Observable<CustomerCouponNotification>; abstract turnOffNotification(userId: string, couponCode: string): Observable<{}>; abstract claimCustomerCoupon(userId: string, couponCode: string): Observable<CustomerCoupon2Customer>; }