Sha256: 55b6e0429bc54f03dd83aa2d8da8886b4dd39068846ddca124668b7048db51d3
Contents?: true
Size: 1.96 KB
Versions: 15
Compression:
Stored size: 1.96 KB
Contents
module Eancom module Edifact class PAC < Segment TAG = 'PAC'.freeze TYPE = :body.freeze def initialize( tag: nil, package_quantity: nil, packaging_level_code: nil, packaging_related_description_code: nil, packaging_terms_and_conditions: nil, package_type_description_code: nil, code_list_identification_code: nil, code_list_responsible_agency_code: nil, type_of_packages: nil, description_format_code: nil, type_of_packages_1: nil, item_type_identification_code_1: nil, type_of_packages_2: nil, item_type_identification_code_2: nil, returnable_package_freight_payment_responsibility_code: nil, returnable_package_load_contents_code: nil ) @tag = tag @package_quantity = package_quantity @packaging_level_code = packaging_level_code @packaging_related_description_code = packaging_related_description_code @packaging_terms_and_conditions = packaging_terms_and_conditions @package_type_description_code = package_type_description_code @code_list_identification_code = code_list_identification_code @code_list_responsible_agency_code = code_list_responsible_agency_code @type_of_packages = type_of_packages @description_format_code = description_format_code @type_of_packages_1 = type_of_packages_1 @item_type_identification_code_1 = item_type_identification_code_1 @type_of_packages_2 = type_of_packages_2 @item_type_identification_code_2 = item_type_identification_code_2 @returnable_package_freight_payment_responsibility_code = returnable_package_freight_payment_responsibility_code @returnable_package_load_contents_code = returnable_package_load_contents_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