php-edifact / edifact-generator

Formatter for EDI messages
GNU Lesser General Public License v3.0
36 stars 29 forks source link

Added Percetage details segment (PCD) #7

Closed davidvandertuijn closed 5 years ago

davidvandertuijn commented 5 years ago

Example:

$oPercentageDetails = (new \EDI\Generator\Segment\PercentageDetails())
->setPercentageDetails(146, 6.90)
->compose();

Output: PCD+146:6.90'