import { ReceiptDTO } from '@generated/swagger/oms-api';
import { EntityContainer } from '@isa/common/data-access';
import { ReceiptItem } from './receipt-item';
import { Buyer } from './buyer';
import { ShippingAddress2 } from './shipping-address-2';

export interface Receipt extends ReceiptDTO {
  id: number;
  items: EntityContainer<ReceiptItem>[];
  buyer: Buyer;
  shipping?: ShippingAddress2;
}
