@fabrix/spool-cart
Version:
Spool - eCommerce Spool for Fabrix
26 lines (25 loc) • 1.24 kB
TypeScript
import { FabrixService as Service } from '@fabrix/fabrix/dist/common';
export declare class AccountService extends Service {
publish(type: any, event: any, options?: {
save?: boolean;
transaction?: any;
include?: any;
}): any;
resolvePaymentDetailsToSources(customer: any, paymentDetails: any, options: any): any;
getDefaultSource(customer: any, options: any): any;
updateAll(customer: any): void;
update(account: any, updates: any, options: any): any;
findAndCreate(account: any, options: any): any;
addSource(account: any, gatewayToken: any, options: any): any;
findSource(account: any, source: any, options: any): any;
updateSource(account: any, source: any, updates: any, options: any): any;
removeSource(source: any, options: any): any;
syncSources(account: any, options: any): any;
sourceRetryTransactions(source: any, options: any): any;
sourceExpired(source: any, options: any): any;
sourceWillExpire(source: any, options: any): any;
afterSourceCreate(source: any, options: any): any;
afterSourceDestroy(source: any, options: any): any;
sourcesExpiredThisMonth(options: any): any;
sourcesWillExpireNextMonth(options: any): any;
}