Class: AWSCDK::B2BI::CfnPartnership::X12EnvelopeProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::B2BI::CfnPartnership::X12EnvelopeProperty
- Defined in:
- b2_bi/cfn_partnership.rb
Overview
A wrapper structure for an X12 definition object.
the X12 envelope ensures the integrity of the data and the efficiency of the information exchange. The X12 message structure has hierarchical levels. From highest to the lowest, they are:
- Interchange Envelope
- Functional Group
- Transaction Set
Instance Attribute Summary collapse
-
#common ⇒ AWSCDK::IResolvable, ...
readonly
A container for the X12 outbound EDI headers.
- #wrap_options ⇒ AWSCDK::IResolvable, ... readonly
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(common: nil, wrap_options: nil) ⇒ X12EnvelopeProperty
constructor
A new instance of X12EnvelopeProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(common: nil, wrap_options: nil) ⇒ X12EnvelopeProperty
Returns a new instance of X12EnvelopeProperty.
989 990 991 992 993 994 |
# File 'b2_bi/cfn_partnership.rb', line 989 def initialize(common: nil, wrap_options: nil) @common = common.is_a?(Hash) ? ::AWSCDK::B2BI::CfnPartnership::X12OutboundEdiHeadersProperty.new(**common.transform_keys(&:to_sym)) : common Jsii::Type.check_type(@common, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iMmJpLkNmblBhcnRuZXJzaGlwLlgxMk91dGJvdW5kRWRpSGVhZGVyc1Byb3BlcnR5In1dfX0=")), "common") unless @common.nil? @wrap_options = .is_a?(Hash) ? ::AWSCDK::B2BI::CfnPartnership::WrapOptionsProperty.new(**.transform_keys(&:to_sym)) : Jsii::Type.check_type(@wrap_options, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImZxbiI6ImF3cy1jZGstbGliLmF3c19iMmJpLkNmblBhcnRuZXJzaGlwLldyYXBPcHRpb25zUHJvcGVydHkifV19fQ==")), "wrapOptions") unless @wrap_options.nil? end |
Instance Attribute Details
#common ⇒ AWSCDK::IResolvable, ... (readonly)
A container for the X12 outbound EDI headers.
1000 1001 1002 |
# File 'b2_bi/cfn_partnership.rb', line 1000 def common @common end |
#wrap_options ⇒ AWSCDK::IResolvable, ... (readonly)
1003 1004 1005 |
# File 'b2_bi/cfn_partnership.rb', line 1003 def @wrap_options end |
Class Method Details
.jsii_properties ⇒ Object
1005 1006 1007 1008 1009 1010 |
# File 'b2_bi/cfn_partnership.rb', line 1005 def self.jsii_properties { :common => "common", :wrap_options => "wrapOptions", } end |
Instance Method Details
#to_jsii ⇒ Object
1012 1013 1014 1015 1016 1017 1018 1019 |
# File 'b2_bi/cfn_partnership.rb', line 1012 def to_jsii result = {} result.merge!({ "common" => @common, "wrapOptions" => @wrap_options, }) result.compact end |