export interface BankingDetailsListDataTypeInterface
    extends BankDetailsFormDataInterface {
    key: React.Key
}

export interface BankingDetailsListInterface {
    bankingDetailsList: BankingDetailsListDataTypeInterface[]
    bankingDetailsListCount: number
}

export interface BankDetailsFormDataInterface {
    accountName: string
    accountNo: string
    branch: string
    description: string
    iban: string
    paymentOptionId: string
    paymentOptionTitle: string
    swiftCode: string
}

export interface BankDetailsFormInterface {
    onSave: (
        data: BankDetailsFormDataInterface,
        callBack: CallableFunction
    ) => void
    editData: BankDetailsFormDataInterface
    isLoadingModal: boolean
}

export interface BankDetailsExpandViewInterface {
    bankDetailsData: BankingDetailsListDataTypeInterface
}

export interface BankingDetailsPayloadInterface {
    data: BankDetailsFormDataInterface[]
    noOfRecords: number
}
