Sha256: b3538e97267ea52b0f8b3fde4bbc35cafb90b86f978c16dcfeaf864c042e74d7
Contents?: true
Size: 654 Bytes
Versions: 15
Compression:
Stored size: 654 Bytes
Contents
module Eancom module Edifact class CNT < Segment TAG = 'CNT'.freeze TYPE = :body.freeze attr_reader :segment_type def initialize( tag: nil, control_total_type_code_quantifier:, control_total_value:, measurment_unit_code: nil ) @tag = tag @control_total_type_code_quantifier = control_total_type_code_quantifier @control_total_value = control_total_value @measurment_unit_code = measurment_unit_code super(tag: tag || TAG) end def to_json_hash {} end def segment_type TYPE end end end end
Version data entries
15 entries across 15 versions & 1 rubygems