diff --git a/rector.php b/rector.php index c441d8d..22b358d 100644 --- a/rector.php +++ b/rector.php @@ -41,7 +41,6 @@ //this makes code unreadable \Rector\Strict\Rector\Ternary\BooleanInTernaryOperatorRuleFixerRector::class, \Rector\Strict\Rector\BooleanNot\BooleanInBooleanNotRuleFixerRector::class, - \Rector\Php81\Rector\Property\ReadOnlyPropertyRector::class, ]) ->withFileExtensions(['php']) ->withCache( diff --git a/src/CXml/Model/Accounting.php b/src/CXml/Model/Accounting.php new file mode 100644 index 0000000..b012e77 --- /dev/null +++ b/src/CXml/Model/Accounting.php @@ -0,0 +1,24 @@ +')] + private array $accountingSegments, + #[Serializer\SerializedName('Charge')] + private MoneyWrapper $charge, + ) { + } +} diff --git a/src/CXml/Model/AccountingSegment.php b/src/CXml/Model/AccountingSegment.php new file mode 100644 index 0000000..b35242b --- /dev/null +++ b/src/CXml/Model/AccountingSegment.php @@ -0,0 +1,22 @@ +parentLineNumber; } + + public function getShipTo(): ?ShipTo + { + return $this->shipTo; + } + + public function getDistribution(): ?Distribution + { + return $this->distribution; + } + + public function getControlKeys(): ?ControlKeys + { + return $this->controlKeys; + } + + public function getScheduleLine(): ?ScheduleLine + { + return $this->scheduleLine; + } } diff --git a/src/CXml/Model/ScheduleLine.php b/src/CXml/Model/ScheduleLine.php new file mode 100644 index 0000000..56e6dd4 --- /dev/null +++ b/src/CXml/Model/ScheduleLine.php @@ -0,0 +1,23 @@ +