Class: AWSCDK::B2BI::CfnPartnership::X12ControlNumbersProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::B2BI::CfnPartnership::X12ControlNumbersProperty
- Defined in:
- b2_bi/cfn_partnership.rb
Overview
Contains configuration for X12 control numbers used in X12 EDI generation.
Control numbers are used to uniquely identify interchanges, functional groups, and transaction sets.
Instance Attribute Summary collapse
-
#starting_functional_group_control_number ⇒ Numeric?
readonly
Specifies the starting functional group control number (GS06) to use for X12 EDI generation.
-
#starting_interchange_control_number ⇒ Numeric?
readonly
Specifies the starting interchange control number (ISA13) to use for X12 EDI generation.
-
#starting_transaction_set_control_number ⇒ Numeric?
readonly
Specifies the starting transaction set control number (ST02) to use for X12 EDI generation.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(starting_functional_group_control_number: nil, starting_interchange_control_number: nil, starting_transaction_set_control_number: nil) ⇒ X12ControlNumbersProperty
constructor
A new instance of X12ControlNumbersProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(starting_functional_group_control_number: nil, starting_interchange_control_number: nil, starting_transaction_set_control_number: nil) ⇒ X12ControlNumbersProperty
Returns a new instance of X12ControlNumbersProperty.
864 865 866 867 868 869 870 871 |
# File 'b2_bi/cfn_partnership.rb', line 864 def initialize(starting_functional_group_control_number: nil, starting_interchange_control_number: nil, starting_transaction_set_control_number: nil) @starting_functional_group_control_number = starting_functional_group_control_number Jsii::Type.check_type(@starting_functional_group_control_number, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "startingFunctionalGroupControlNumber") unless @starting_functional_group_control_number.nil? @starting_interchange_control_number = starting_interchange_control_number Jsii::Type.check_type(@starting_interchange_control_number, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "startingInterchangeControlNumber") unless @starting_interchange_control_number.nil? @starting_transaction_set_control_number = starting_transaction_set_control_number Jsii::Type.check_type(@starting_transaction_set_control_number, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "startingTransactionSetControlNumber") unless @starting_transaction_set_control_number.nil? end |
Instance Attribute Details
#starting_functional_group_control_number ⇒ Numeric? (readonly)
Specifies the starting functional group control number (GS06) to use for X12 EDI generation.
This number is incremented for each new functional group. For the GS (functional group) envelope, AWS B2B Data Interchange generates a functional group control number that is unique to the sender ID, receiver ID, and functional identifier code combination.
879 880 881 |
# File 'b2_bi/cfn_partnership.rb', line 879 def starting_functional_group_control_number @starting_functional_group_control_number end |
#starting_interchange_control_number ⇒ Numeric? (readonly)
Specifies the starting interchange control number (ISA13) to use for X12 EDI generation.
This number is incremented for each new interchange. For the ISA (interchange) envelope, AWS B2B Data Interchange generates an interchange control number that is unique for the ISA05 and ISA06 (sender) & ISA07 and ISA08 (receiver) combination.
886 887 888 |
# File 'b2_bi/cfn_partnership.rb', line 886 def starting_interchange_control_number @starting_interchange_control_number end |
#starting_transaction_set_control_number ⇒ Numeric? (readonly)
Specifies the starting transaction set control number (ST02) to use for X12 EDI generation.
This number is incremented for each new transaction set.
893 894 895 |
# File 'b2_bi/cfn_partnership.rb', line 893 def starting_transaction_set_control_number @starting_transaction_set_control_number end |
Class Method Details
.jsii_properties ⇒ Object
895 896 897 898 899 900 901 |
# File 'b2_bi/cfn_partnership.rb', line 895 def self.jsii_properties { :starting_functional_group_control_number => "startingFunctionalGroupControlNumber", :starting_interchange_control_number => "startingInterchangeControlNumber", :starting_transaction_set_control_number => "startingTransactionSetControlNumber", } end |
Instance Method Details
#to_jsii ⇒ Object
903 904 905 906 907 908 909 910 911 |
# File 'b2_bi/cfn_partnership.rb', line 903 def to_jsii result = {} result.merge!({ "startingFunctionalGroupControlNumber" => @starting_functional_group_control_number, "startingInterchangeControlNumber" => @starting_interchange_control_number, "startingTransactionSetControlNumber" => @starting_transaction_set_control_number, }) result.compact end |