UNPKG

react-native-unit-components

Version:

Unit React Native components

50 lines (49 loc) 893 B
import { UNCents } from '../payment/payments.types'; import { UNTransactionTypes } from './transactions.types'; import { UNDirection } from '../types'; export type UNCardReversalTransaction = { type: UNTransactionTypes.CardReversal id: number attributes: { createdAt: Date amount: UNCents direction: UNDirection balance: UNCents summary: string networkTransactionId?: string } relationships: { account: { data: { type: string id: number } } customer?: { data: { type: string id: number } } customers?: { data: [ { type: 'customer' id: string } ] } relatedTransaction?: { data: { type: string id: number } } org?: { data: { type: string id: number } } } };