import { createSelector , createFeatureSelector , } from '@ngrx/store' ; import { DaffPaymentReducersState } from '../reducers/payment-reducers.interface' ; import { DaffPaymentReducerState } from '../reducers/payment/payment-reducer.interface' ; /**
 * Payment Feature State
 */ export const selectPaymentFeatureState = createFeatureSelector < DaffPaymentReducersState > ( 'payment' ) ; /**
 * Payment State
 */ export const selectPaymentState = createSelector ( selectPaymentFeatureState , ( state ) => state . payment ) ; export const selectPaymentInfo = createSelector ( selectPaymentState , ( state ) => state . paymentInfo ) ;