Class X12OneWayAgreement

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

public final class X12OneWayAgreement extends Object
The X12 one-way agreement.
  • Constructor Details

    • X12OneWayAgreement

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

    • senderBusinessIdentity

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

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

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

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

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

      public X12OneWayAgreement withProtocolSettings(X12ProtocolSettings protocolSettings)
      Set the protocolSettings property: The X12 protocol settings.
      Parameters:
      protocolSettings - the protocolSettings value to set.
      Returns:
      the X12OneWayAgreement object itself.
    • validate

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