UNPKG

@inbridge/oif-ts

Version:

TypeScript integration for the Open Invoice Format (OIF) schema. Easily create OIF-compliant PDFs and parse/validate JSON.

21 lines (18 loc) 763 B
import { CreditCardInformationType } from '../../types/credit-card-information.type.js'; import { PaymentInformationType } from '../../enums/payment-information-type.enum.js'; import { PrivatePersonInformation } from '../../types/private-person-information.type.js'; import { BusinessInformation } from '../../types/business-information.type.js'; import '../../types/address.type.js'; import '../../enums/country-code.enum.js'; declare class CashPayment { readonly paymentType = PaymentInformationType.CASH; /** * @inheritDoc */ debitor: CreditCardInformationType & (BusinessInformation | PrivatePersonInformation); /** * @inheritDoc */ creditor: BusinessInformation | PrivatePersonInformation; } export { CashPayment };