Class: AWSCDK::B2BI::CfnPartnership::X12FunctionalGroupHeadersProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::B2BI::CfnPartnership::X12FunctionalGroupHeadersProperty
- Defined in:
- b2_bi/cfn_partnership.rb
Overview
Part of the X12 message structure.
These are the functional group headers for the X12 EDI object.
Instance Attribute Summary collapse
-
#application_receiver_code ⇒ String?
readonly
A value representing the code used to identify the party receiving a message, at position GS-03.
-
#application_sender_code ⇒ String?
readonly
A value representing the code used to identify the party transmitting a message, at position GS-02.
-
#responsible_agency_code ⇒ String?
readonly
A code that identifies the issuer of the standard, at position GS-07.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(application_receiver_code: nil, application_sender_code: nil, responsible_agency_code: nil) ⇒ X12FunctionalGroupHeadersProperty
constructor
A new instance of X12FunctionalGroupHeadersProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(application_receiver_code: nil, application_sender_code: nil, responsible_agency_code: nil) ⇒ X12FunctionalGroupHeadersProperty
Returns a new instance of X12FunctionalGroupHeadersProperty.
1033 1034 1035 1036 1037 1038 1039 1040 |
# File 'b2_bi/cfn_partnership.rb', line 1033 def initialize(application_receiver_code: nil, application_sender_code: nil, responsible_agency_code: nil) @application_receiver_code = application_receiver_code Jsii::Type.check_type(@application_receiver_code, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "applicationReceiverCode") unless @application_receiver_code.nil? @application_sender_code = application_sender_code Jsii::Type.check_type(@application_sender_code, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "applicationSenderCode") unless @application_sender_code.nil? @responsible_agency_code = responsible_agency_code Jsii::Type.check_type(@responsible_agency_code, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "responsibleAgencyCode") unless @responsible_agency_code.nil? end |
Instance Attribute Details
#application_receiver_code ⇒ String? (readonly)
A value representing the code used to identify the party receiving a message, at position GS-03.
1046 1047 1048 |
# File 'b2_bi/cfn_partnership.rb', line 1046 def application_receiver_code @application_receiver_code end |
#application_sender_code ⇒ String? (readonly)
A value representing the code used to identify the party transmitting a message, at position GS-02.
1051 1052 1053 |
# File 'b2_bi/cfn_partnership.rb', line 1051 def application_sender_code @application_sender_code end |
#responsible_agency_code ⇒ String? (readonly)
A code that identifies the issuer of the standard, at position GS-07.
1056 1057 1058 |
# File 'b2_bi/cfn_partnership.rb', line 1056 def responsible_agency_code @responsible_agency_code end |
Class Method Details
.jsii_properties ⇒ Object
1058 1059 1060 1061 1062 1063 1064 |
# File 'b2_bi/cfn_partnership.rb', line 1058 def self.jsii_properties { :application_receiver_code => "applicationReceiverCode", :application_sender_code => "applicationSenderCode", :responsible_agency_code => "responsibleAgencyCode", } end |
Instance Method Details
#to_jsii ⇒ Object
1066 1067 1068 1069 1070 1071 1072 1073 1074 |
# File 'b2_bi/cfn_partnership.rb', line 1066 def to_jsii result = {} result.merge!({ "applicationReceiverCode" => @application_receiver_code, "applicationSenderCode" => @application_sender_code, "responsibleAgencyCode" => @responsible_agency_code, }) result.compact end |