/*
 * ============================================================================
 * = COPYRIGHT
 *          PAX Computer Technology(Shenzhen) Co., Ltd. PROPRIETARY INFORMATION
 *   This software is supplied under the terms of a license agreement or nondisclosure
 *   agreement with PAX Computer Technology(Shenzhen) Co., Ltd. and may not be copied or
 *   disclosed except in accordance with the terms in that agreement.
 *     Copyright (C) 2023 PAX Computer Technology(Shenzhen) Co., Ltd. All rights reserved.
 * ============================================================================
 */
/**
 Force Batch Close Response
 */

#import <Foundation/Foundation.h>
#if __has_include(<POSLinkAdmin/PLResponse.h>)
   #import <POSLinkAdmin/PLResponse.h>
#elif __has_include("PLResponse.h")
   #import "PLResponse.h"
#endif


#if __has_include(<POSLinkAdmin/PLSemiConst.h>)
   #import <POSLinkAdmin/PLSemiConst.h>
#elif __has_include("PLSemiConst.h")
   #import "PLSemiConst.h"
#endif


#if __has_include(<POSLinkAdmin/PLAdminConst.h>)
   #import <POSLinkAdmin/PLAdminConst.h>
#elif __has_include("PLAdminConst.h")
   #import "PLAdminConst.h"
#endif


#if __has_include(<POSLinkAdmin/PLTorResponse.h>)
   #import <POSLinkAdmin/PLTorResponse.h>
#elif __has_include("PLTorResponse.h")
   #import "PLTorResponse.h"
#endif


#if __has_include(<POSLinkAdmin/PLAdditionalResponseData.h>)
   #import <POSLinkAdmin/PLAdditionalResponseData.h>
#elif __has_include("PLAdditionalResponseData.h")
   #import "PLAdditionalResponseData.h"
#endif


#if __has_include(<POSLinkAdmin/PLHostInformationResponse.h>)
   #import <POSLinkAdmin/PLHostInformationResponse.h>
#elif __has_include("PLHostInformationResponse.h")
   #import "PLHostInformationResponse.h"
#endif


#if __has_include(<POSLinkAdmin/PLForceBatchCloseResponse.h>)
   #import <POSLinkAdmin/PLForceBatchCloseResponse.h>
#elif __has_include("PLForceBatchCloseResponse.h")
   #import "PLForceBatchCloseResponse.h"
#endif



@interface PLForceBatchCloseResponse : PLResponse
/**
 Host information. 
 */
@property (readwrite, nonatomic, strong)PLHostInformationResponse *hostInformation;
/**
 The line number in this package.

 Attribute : n...2 
 */
@property (readwrite, nonatomic, copy)NSString *lineNumber;
/**
 Lines message.

LineMessage:line1<US>line2<US>line3<US>...<US>line64, terminal only returns the max line number is 64.

The length of each line length should be less than 32 bytes.

 Attribute : ans...2112 
 */
@property (readwrite, nonatomic, copy)NSString *linesMessage;
/**
 The date time, YYYYMMDDhhmmss, If ECR doesn't send time stamp to terminal, this field is mandatory.

 Attribute : n14 
 */
@property (readwrite, nonatomic, copy)NSString *timeStamp;
/**
 Terminal ID, If terminal id exists, this field is mandatory.

 Attribute : ans...20 
 */
@property (readwrite, nonatomic, copy)NSString *tid;
/**
 Merchant ID, if merchant id exists, this field is mandatory.

 Attribute : ans...20 
 */
@property (readwrite, nonatomic, copy)NSString *mid;
/**
 Transaction number for failed transaction in terminal database during the BATCH uploading process for NON SAF transaction.

Batch process is blocked and failed transaction is still in normal database.

 Attribute : n...4 
 */
@property (readwrite, nonatomic, copy)NSString *failedTransactionNumber;
/**
 Number of failed records during the BATCH uploading process for NON SAF transaction.

Batch process has not been blocked for failed uploading while failed transaction has been moved to failed database.

 Attribute : n...4 
 */
@property (readwrite, nonatomic, copy)NSString *failedCount;
/**
 Number of failed records during the SAF uploading process.

 Attribute : n...4 
 */
@property (readwrite, nonatomic, copy)NSString *safFailedCount;
/**
 Number of total records in SAF failed Database after the SAF uploading process.

 Attribute : n...4 
 */
@property (readwrite, nonatomic, copy)NSString *safFailedTotal;
/**
 TOR Information. 
 */
@property (readwrite, nonatomic, strong)PLTorResponse *torInformation;


@end