public final class X12AgreementContent extends Object
Constructor and Description |
---|
X12AgreementContent() |
Modifier and Type | Method and Description |
---|---|
X12OneWayAgreement |
receiveAgreement()
Get the receiveAgreement property: The X12 one-way receive agreement.
|
X12OneWayAgreement |
sendAgreement()
Get the sendAgreement property: The X12 one-way send agreement.
|
void |
validate()
Validates the instance.
|
X12AgreementContent |
withReceiveAgreement(X12OneWayAgreement receiveAgreement)
Set the receiveAgreement property: The X12 one-way receive agreement.
|
X12AgreementContent |
withSendAgreement(X12OneWayAgreement sendAgreement)
Set the sendAgreement property: The X12 one-way send agreement.
|
public X12OneWayAgreement receiveAgreement()
public X12AgreementContent withReceiveAgreement(X12OneWayAgreement receiveAgreement)
receiveAgreement
- the receiveAgreement value to set.public X12OneWayAgreement sendAgreement()
public X12AgreementContent withSendAgreement(X12OneWayAgreement sendAgreement)
sendAgreement
- the sendAgreement value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.