<?php
namespace ModulesAbstract\ElectronicInvoice\UBL30Structure; class AllowanceCharge extends AbstractPeppolElement { public $ChargeIndicator = null; public $AllowanceChargeReasonCode = null; public $AllowanceChargeReason = null; public $MultiplierFactorNumeric = null; public $Amount = null; public $BaseAmount = null; public $TaxCategory = null; public function renderField(string $field, $value): string { $fieldMapping = [ 'ChargeIndicator' => 'B', ]; return $this->customRenderer($fieldMapping[$field], $value); } } 