react-native-unit-components
Version:
Unit React Native components
39 lines (37 loc) • 675 B
text/typescript
import { UNPaymentType } from './payments.types';
export interface UNCheckPayment {
type: UNPaymentType.CheckPayment
id: string
attributes: {
counterparty: UNCheckPaymentCounterparty
amount: number
idempotencyKey: string
description: string
memo: string
}
relationships: {
account: {
data: {
type: string
id: string
}
}
customer: {
data: {
type: string
id: string
}
}
}
}
export interface UNCheckPaymentCounterparty {
name: string
address: {
street: string
street2?: string
city: string
state: string
postalCode: string
country: string
}
}