react-native-unit-components
Version:
Unit React Native components
38 lines • 1.11 kB
TypeScript
import { UNCardData } from './card.types';
import { UNPaymentType, Cents, UNPaymentStatus, UNAstraExternalCardData } from './payments.types';
import { UNDirection, UNRelationshipData } from './types';
export type UNFundAccountPaymentOnLoadData = [UNAstraExternalCardData] | [UNCardData];
export type UNFundAccountPaymentData = {
type: UNPaymentType.CardToCardPayment;
id: string;
attributes: {
createdAt: Date;
amount: Cents;
direction: UNDirection;
description: string;
status: UNPaymentStatus;
reason?: string;
tags?: {
[key: string]: string;
};
astraRoutineId: string;
};
relationships: {
account: {
data: UNRelationshipData;
};
customer?: {
data: UNRelationshipData;
};
customers?: {
data: [UNRelationshipData];
};
transaction?: {
data: [UNRelationshipData];
};
card: {
data: UNRelationshipData;
};
};
};
//# sourceMappingURL=fundAccountPayment.types.d.ts.map