UNPKG

react-native-unit-components

Version:

Unit React Native components

48 lines (47 loc) 885 B
import { UNCents } from '../payment/payments.types'; import { UNDirection } from '../types'; import { UNTransactionTypes } from './transactions.types'; export type UNAtmTransaction = { type: UNTransactionTypes.ATM id: number attributes: { createdAt: Date amount: UNCents direction: UNDirection balance: UNCents summary: string atmName: string atmLocation?: string interchange?: number | null networkTransactionId?: string cardLast4Digits: string } relationships: { account: { data: { type: string id: number } } customer?: { data: { type: string id: number } } customers?: { data: [ { type: 'customer' id: string } ] } org?: { data: { type: string id: number } } } };