react-native-unit-components
Version:
Unit React Native components
26 lines • 841 B
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;
};
};
//# sourceMappingURL=bookPayment.types.d.ts.map