Show / Hide Table of Contents

Class TLockChangeDetails

This class contains the postal payment lock/unlock changes: lock/unlock result and current lock details.

Inheritance
System.Object
TLockChangeDetails
Namespace: EDIPlatformFinance.BusinessLayer.DataContracts.Locking
Assembly: EDIPlatformFinance.BusinessLayer.Core.dll
Syntax
[Serializable]
[DataContract]
public class TLockChangeDetails

Properties

LockDetails

Declaration
[DataMember(EmitDefaultValue = false)]
public TLockDetails LockDetails { get; set; }
Property Value
Type Description
TLockDetails

Details of the current lock on the postal payment.

MoId

Declaration
[DataMember(EmitDefaultValue = false)]
public string MoId { get; set; }
Property Value
Type Description
System.String

Postal payment international identifier.

ResultCd

Declaration
[DataMember(EmitDefaultValue = false)]
public string ResultCd { get; set; }
Property Value
Type Description
System.String

Result of the postal payment locking indicating if the locking or unlocking could be recorded or not in the UPU-IP.

  • Success: Result when the operation was a success;
  • ErrorTimeOut: Result when the operation failed because of time out;
  • ErrorUndefined: Result when the operation failed because of undefined reason (support case);
  • ImpossibleLockedByOtherPartner : Result when the operation failed because it is not authorized as the postal payment is locked by the other organization;
  • ImpossibleAlreadyLocked : Result when the locking operation failed because the postal payment is already locked by the current organization;
  • UnAuthorizedOperation:
    - Result when the operation failed because the current organization is not authorized to perform this operation on the postal payment;
    - Result when the unlocking operation failed because the current organization is not the owner of the postal payment locking;
    - Result when the locking operation failed because the lock owner is an external partner.
  • MoneyOrderNotExist: Result when the operation failed because the specified postal payment does not exist;
  • ImpossibleNotLocked: Result when the unlocking operation failed because the postal payment was not already locked;
  • InvalidLockReason: Result when the operation failed because invalid locking reason was used in the call.

ResultDesc

Declaration
[DataMember(EmitDefaultValue = false)]
public string ResultDesc { get; set; }
Property Value
Type Description
System.String

Full text description of the result in case of failure. In case of success, null shall be returned.

Back to top Generated by DocFX