purchasePayments top-level property

List<FinDoc> purchasePayments
getter/setter pair

Implementation

List<FinDoc> purchasePayments = [
  FinDoc(
    sales: false,
    docType: FinDocType.payment,
    otherCompany: supplierCompanies[0],
    paymentInstrument: PaymentInstrument.cash,
    grandTotal: Decimal.parse("22.22"),
    items: [FinDocItem(paymentType: PaymentType(accountCode: '21200'))],
  ),
  FinDoc(
    sales: false,
    docType: FinDocType.payment,
    otherCompany: supplierCompanies[1],
    paymentInstrument: PaymentInstrument.creditcard,
    grandTotal: Decimal.parse("33.33"),
    items: [FinDocItem(paymentType: PaymentType(accountCode: '21200'))],
  ),
  FinDoc(
    sales: false,
    docType: FinDocType.payment,
    otherCompany: supplierCompanies[2],
    paymentInstrument: PaymentInstrument.check,
    grandTotal: Decimal.parse("44.44"),
    items: [FinDocItem(paymentType: PaymentType(accountCode: '21200'))],
  ),
  FinDoc(
    sales: false,
    docType: FinDocType.payment,
    otherCompany: supplierCompanies[3],
    paymentInstrument: PaymentInstrument.bank,
    grandTotal: Decimal.parse("55.55"),
    items: [FinDocItem(paymentType: PaymentType(accountCode: '21200'))],
  ),
  FinDoc(
    sales: false,
    docType: FinDocType.payment,
    otherCompany: supplierCompanies[3],
    paymentInstrument: PaymentInstrument.creditcard,
    grandTotal: Decimal.parse("66.66"),
    items: [FinDocItem(paymentType: PaymentType(accountCode: '21600'))],
  ),
  FinDoc(
    sales: false,
    docType: FinDocType.payment,
    otherCompany: supplierCompanies[2],
    paymentInstrument: PaymentInstrument.cash,
    grandTotal: Decimal.parse("77.77"),
    items: [FinDocItem(paymentType: PaymentType(accountCode: '2160'))],
  ),
  FinDoc(
    sales: false,
    docType: FinDocType.payment,
    otherCompany: supplierCompanies[1],
    paymentInstrument: PaymentInstrument.bank,
    grandTotal: Decimal.parse("88.88"),
    items: [FinDocItem(paymentType: PaymentType(accountCode: '21600'))],
  ),
  FinDoc(
    sales: false,
    docType: FinDocType.payment,
    otherCompany: supplierCompanies[0],
    paymentInstrument: PaymentInstrument.check,
    grandTotal: Decimal.parse("9.99"),
    items: [FinDocItem(paymentType: PaymentType(accountCode: '21600'))],
  ),
];