001/* 002 * =========================================================================================== 003 * = COPYRIGHT 004 * PAX Computer Technology (Shenzhen) Co., Ltd. PROPRIETARY INFORMATION 005 * This software is supplied under the terms of a license agreement or nondisclosure 006 * agreement with PAX Computer Technology (Shenzhen) Co., Ltd. and may not be copied or 007 * disclosed except in accordance with the terms in that agreement. 008 * Copyright (C) 2017-2023 PAX Computer Technology (Shenzhen) Co., Ltd. All rights reserved. 009 * Description: // Detail description about the function of this module, 010 * // interfaces with the other modules, and dependencies. 011 * Revision History: 012 * Date Author Action 013 * 2017/04/01 PAX Create/Add/Modify/Delete 014 * =========================================================================================== 015 */ 016package com.pax.dal.entity; 017 018/** 019 * <div class="zh">Trans-Armor加密结果。</div> 020 * <div class="en">Trans-Armor encrypted result.</div> 021 */ 022public class TAEncryptedResult { 023 private byte[] encryptedData; 024 private String merchantId; 025 026 /** 027 * @param encryptedData <div class="zh">加密结果。</div> <div class="en">Encrypted result.</div> 028 * @param merchantId <div class="zh">商户ID。</div> <div class="en">Merchant ID.</div> 029 */ 030 public TAEncryptedResult(byte[] encryptedData, String merchantId) { 031 this.encryptedData = encryptedData; 032 this.merchantId = merchantId; 033 } 034 035 /** 036 * <div class="zh">加密结果。</div> <div class="en">Encrypted result.</div> 037 * 038 * @return <div class="zh">加密结果。</div> <div class="en">Encrypted result.</div> 039 */ 040 public byte[] getEncryptedData() { 041 return encryptedData; 042 } 043 044 /** 045 * <div class="zh">商户ID。</div> <div class="en">Merchant ID.</div> 046 * 047 * @return <div class="zh">商户ID。</div> <div class="en">Merchant ID.</div> 048 */ 049 public String getMerchantId() { 050 return merchantId; 051 } 052}