Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/packages / pages / Checkout / sections / PaymentMethods / state / PaymentMethodsContainer.d.ts
Size: Mime:
import { CreditCardDetails as CreditCardIemType } from '@skava/graphql-bindings';
import { TabItemType } from '../typings';
declare class ExpandablePaymentState {
    isExpanded: boolean;
    handleToggle(): void;
    setIsExpanded(isExpanded: boolean): void;
}
declare const expandableState: ExpandablePaymentState;
export { expandableState };
export declare class PaymentMethodsContainer {
    static debugName: string;
    savedCardList: CreditCardIemType[];
    tabList: TabItemType[];
    activeCard: CreditCardIemType;
    setActiveCard(card: CreditCardIemType): void;
    readonly nonActiveCardList: CreditCardIemType[];
    readonly hasSavedCards: boolean;
    readonly defaultCard: CreditCardIemType | undefined;
    readonly activeSavedCard: CreditCardIemType;
    updateTabListBasedOnUser(): void;
    loadCardList(cardList: CreditCardIemType[]): Promise<void>;
    readonly activeTab: TabItemType;
    readonly isSavedTabActive: boolean;
    readonly isAddNewTabActive: boolean;
    selectTab(item: TabItemType): void;
}