Class EdifactAgreementContent

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

public final class EdifactAgreementContent extends Object
The Edifact agreement content.
  • Constructor Details

    • EdifactAgreementContent

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

    • receiveAgreement

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

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

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

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

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