Class: AWSCDK::B2BI::CfnPartnership::X12AcknowledgmentOptionsProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
b2_bi/cfn_partnership.rb

Overview

Contains options for configuring X12 acknowledgments.

These options control how functional and technical acknowledgments are handled.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(functional_acknowledgment:, technical_acknowledgment:) ⇒ X12AcknowledgmentOptionsProperty

Returns a new instance of X12AcknowledgmentOptionsProperty.

Parameters:

  • functional_acknowledgment (String)

    Specifies whether functional acknowledgments (997/999) should be generated for incoming X12 transactions.

  • technical_acknowledgment (String)

    Specifies whether technical acknowledgments (TA1) should be generated for incoming X12 interchanges.



812
813
814
815
816
817
# File 'b2_bi/cfn_partnership.rb', line 812

def initialize(functional_acknowledgment:, technical_acknowledgment:)
  @functional_acknowledgment = functional_acknowledgment
  Jsii::Type.check_type(@functional_acknowledgment, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "functionalAcknowledgment")
  @technical_acknowledgment = technical_acknowledgment
  Jsii::Type.check_type(@technical_acknowledgment, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "technicalAcknowledgment")
end

Instance Attribute Details

#functional_acknowledgmentString (readonly)

Specifies whether functional acknowledgments (997/999) should be generated for incoming X12 transactions.

Valid values are DO_NOT_GENERATE , GENERATE_ALL_SEGMENTS and GENERATE_WITHOUT_TRANSACTION_SET_RESPONSE_LOOP .

If you choose GENERATE_WITHOUT_TRANSACTION_SET_RESPONSE_LOOP , AWS B2B Data Interchange skips the AK2_Loop when generating an acknowledgment document.



827
828
829
# File 'b2_bi/cfn_partnership.rb', line 827

def functional_acknowledgment
  @functional_acknowledgment
end

#technical_acknowledgmentString (readonly)

Specifies whether technical acknowledgments (TA1) should be generated for incoming X12 interchanges.

Valid values are DO_NOT_GENERATE and GENERATE_ALL_SEGMENTS and.



834
835
836
# File 'b2_bi/cfn_partnership.rb', line 834

def technical_acknowledgment
  @technical_acknowledgment
end

Class Method Details

.jsii_propertiesObject



836
837
838
839
840
841
# File 'b2_bi/cfn_partnership.rb', line 836

def self.jsii_properties
  {
    :functional_acknowledgment => "functionalAcknowledgment",
    :technical_acknowledgment => "technicalAcknowledgment",
  }
end

Instance Method Details

#to_jsiiObject



843
844
845
846
847
848
849
850
# File 'b2_bi/cfn_partnership.rb', line 843

def to_jsii
  result = {}
  result.merge!({
    "functionalAcknowledgment" => @functional_acknowledgment,
    "technicalAcknowledgment" => @technical_acknowledgment,
  })
  result.compact
end