Skip to main content

MGCLatticeSettlementRequestContract

Data contract for transaction settlement requests containing AccountNum, PaymentTransRecId, and settlement lines.

Methods​

new​

Initializes a new instance of the MGCLatticeSettlementRequestContract class.

  • Visibility: public
  • Returns: void

No parameters.

construct​

Creates a new instance of the MGCLatticeSettlementRequestContract class.

  • Visibility: public
  • Returns: MGCLatticeSettlementRequestContract A new MGCLatticeSettlementRequestContract instance.

No parameters.

parmCorrelationId​

Gets or sets the correlation identifier for tracing the request across systems.

  • Visibility: public
  • Returns: Guid The CorrelationId value.
NameTypeOptionalDescription
_correlationIdGuidYesThe CorrelationId value.

parmRequestId​

Gets or sets the unique request identifier for idempotency.

  • Visibility: public
  • Returns: Guid The RequestId value.
NameTypeOptionalDescription
_requestIdGuidYesThe RequestId value.

parmLegalEntityId​

Gets or sets the legal entity (company) in which to execute the operation.

  • Visibility: public
  • Returns: DataAreaId The LegalEntityId value.
NameTypeOptionalDescription
_legalEntityIdDataAreaIdYesThe LegalEntityId value.

parmUserContext​

Gets or sets the user context under which the operation executes.

  • Visibility: public
  • Returns: UserId The UserContext value.
NameTypeOptionalDescription
_userContextUserIdYesThe UserContext value.

parmAccountNum​

Gets or sets the customer or vendor account number.

  • Visibility: public
  • Returns: str The AccountNum value.
NameTypeOptionalDescription
_accountNumstrYesThe AccountNum value.

parmPaymentTransRecId​

Gets or sets the record identifier of the payment transaction for settlement.

  • Visibility: public
  • Returns: int64 The PaymentTransRecId value.
NameTypeOptionalDescription
_paymentTransRecIdint64YesThe PaymentTransRecId value.

parmPaymentInvoiceId​

Gets or sets the invoice number the payment carries, used to resolve the payment transaction when neither PaymentTransRecId nor PaymentVoucher is supplied. It is matched against the invoice number of the payment transaction (CustTrans / VendTrans of type Payment) of AccountNum; a customer payment posted by postCustomerPaymentJournal carries the line's InvoiceId. A vendor payment carries no invoice number: identify it by PaymentVoucher.

  • Visibility: public
  • Returns: str The PaymentInvoiceId value.
NameTypeOptionalDescription
_paymentInvoiceIdstrYesThe PaymentInvoiceId value.

parmPaymentVoucher​

Gets or sets the voucher of the posted payment, used to resolve the payment transaction when PaymentTransRecId is not supplied. It is matched against the voucher of the payment transaction (CustTrans / VendTrans of type Payment) of AccountNum.

  • Visibility: public
  • Returns: Voucher The PaymentVoucher value.
NameTypeOptionalDescription
_paymentVoucherVoucherYesThe PaymentVoucher value.

parmLines​

Gets or sets the collection of line-level details for the operation.

  • Visibility: public
  • Returns: List The collection of line items.
NameTypeOptionalDescription
_linesListYesThe collection of line items.

parmExternalSystem​

Gets or sets the external system whose keys the request's external key members hold.

  • Visibility: public
  • Returns: MGCLatticeExternalSystemId The ExternalSystem value.
NameTypeOptionalDescription
_externalSystemMGCLatticeExternalSystemIdYesThe ExternalSystem value.

parmAccountNumExternalKey​

Gets or sets the external system's key of the customer (customer settlements) or vendor (vendor settlements), in place of AccountNum.

  • Visibility: public
  • Returns: MGCLatticeExternalKey The AccountNumExternalKey value.
NameTypeOptionalDescription
_accountNumExternalKeyMGCLatticeExternalKeyYesThe AccountNumExternalKey value.

parmPreviewMode​

Gets or sets whether the request runs in preview mode. This operation does not implement a preview: a request with PreviewMode set to true is refused with PreviewUnsupported before anything is created or posted.

  • Visibility: public
  • Returns: boolean The current preview flag.
NameTypeOptionalDescription
_previewModebooleanYesThe preview flag to set.