Class X12AgreementContent

java.lang.Object
com.azure.resourcemanager.logic.models.X12AgreementContent

public final class X12AgreementContent extends Object
The X12 agreement content.
  • Constructor Details

    • X12AgreementContent

      public X12AgreementContent()
      Creates an instance of X12AgreementContent class.
  • Method Details

    • receiveAgreement

      public X12OneWayAgreement receiveAgreement()
      Get the receiveAgreement property: The X12 one-way receive agreement.
      Returns:
      the receiveAgreement value.
    • withReceiveAgreement

      public X12AgreementContent withReceiveAgreement(X12OneWayAgreement receiveAgreement)
      Set the receiveAgreement property: The X12 one-way receive agreement.
      Parameters:
      receiveAgreement - the receiveAgreement value to set.
      Returns:
      the X12AgreementContent object itself.
    • sendAgreement

      public X12OneWayAgreement sendAgreement()
      Get the sendAgreement property: The X12 one-way send agreement.
      Returns:
      the sendAgreement value.
    • withSendAgreement

      public X12AgreementContent withSendAgreement(X12OneWayAgreement sendAgreement)
      Set the sendAgreement property: The X12 one-way send agreement.
      Parameters:
      sendAgreement - the sendAgreement value to set.
      Returns:
      the X12AgreementContent object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.