Class EdifactOneWayAgreement

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

public final class EdifactOneWayAgreement extends Object
The Edifact one way agreement.
  • Constructor Details

    • EdifactOneWayAgreement

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

    • senderBusinessIdentity

      public BusinessIdentity senderBusinessIdentity()
      Get the senderBusinessIdentity property: The sender business identity.
      Returns:
      the senderBusinessIdentity value.
    • withSenderBusinessIdentity

      public EdifactOneWayAgreement withSenderBusinessIdentity(BusinessIdentity senderBusinessIdentity)
      Set the senderBusinessIdentity property: The sender business identity.
      Parameters:
      senderBusinessIdentity - the senderBusinessIdentity value to set.
      Returns:
      the EdifactOneWayAgreement object itself.
    • receiverBusinessIdentity

      public BusinessIdentity receiverBusinessIdentity()
      Get the receiverBusinessIdentity property: The receiver business identity.
      Returns:
      the receiverBusinessIdentity value.
    • withReceiverBusinessIdentity

      public EdifactOneWayAgreement withReceiverBusinessIdentity(BusinessIdentity receiverBusinessIdentity)
      Set the receiverBusinessIdentity property: The receiver business identity.
      Parameters:
      receiverBusinessIdentity - the receiverBusinessIdentity value to set.
      Returns:
      the EdifactOneWayAgreement object itself.
    • protocolSettings

      public EdifactProtocolSettings protocolSettings()
      Get the protocolSettings property: The EDIFACT protocol settings.
      Returns:
      the protocolSettings value.
    • withProtocolSettings

      public EdifactOneWayAgreement withProtocolSettings(EdifactProtocolSettings protocolSettings)
      Set the protocolSettings property: The EDIFACT protocol settings.
      Parameters:
      protocolSettings - the protocolSettings value to set.
      Returns:
      the EdifactOneWayAgreement object itself.
    • validate

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