<?php

declare( strict_types=1 );

namespace Brightfern\Invoice\Model;

/**
 * Payment instructions (BG-16).
 *
 *   BT-81  Payment means type code (UNCL4461): 30 = credit transfer,
 *          58 = SEPA credit transfer, 48 = card, 49 = direct debit, 10 = cash.
 *   BT-82  Payment means text.
 *   BT-83  Remittance information (structured/free; often the invoice number).
 *   BT-84  Payee account identifier (IBAN).
 *   BT-86  Payment service provider id (BIC).
 *   BT-20  Payment terms (free text).
 */
final class Payment {
	public string $meansCode = '30';   // Default: credit transfer.
	public string $meansText = '';
	public string $remittanceInfo = '';
	public string $payeeIban = '';     // BT-84.
	public string $payeeBic = '';      // BT-86.
	public string $payeeName = '';     // BG-10 payee name (if different from seller).
	public string $terms = '';         // BT-20.
}
