react-native-unit-components
Version:
Unit React Native components
27 lines (25 loc) • 720 B
text/typescript
import type { UNPaymentStatus, UNPaymentType } from './payments.types';
import type { UNTags, UNRelationship } from './types';
export type UNBookPaymentData = {
type: UNPaymentType.BookPayment,
id: string,
attributes: {
createdAt: string | Date,
status: UNPaymentStatus,
reason: string,
direction: 'Debit' | 'Credit',
description: string,
transactionSummaryOverride?: string,
amount: string,
tags: UNTags,
},
relationships: {
account: UNRelationship,
customer?: UNRelationship,
customers?: UNRelationship,
counterpartyAccount: UNRelationship,
counterpartyCustomer: UNRelationship,
transaction: UNRelationship,
recurringPayment: UNRelationship
}
}