Reporting Services

<back to all web services

DuplicateTransactionEditRequest

Requires Authentication
The following routes are available for this service:
All Verbs/Transactions/Duplicate
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class DuplicateTransactionEditRequest
    {
        public ArrayList<DuplicateTransactionDetail> duplicateTrans = null;
        
        public ArrayList<DuplicateTransactionDetail> getDuplicateTrans() { return duplicateTrans; }
        public DuplicateTransactionEditRequest setDuplicateTrans(ArrayList<DuplicateTransactionDetail> value) { this.duplicateTrans = value; return this; }
    }

    public static class DuplicateTransactionDetail
    {
        public String objectId = null;
        public Date createdOn = null;
        public String route = null;
        public String serialNumber = null;
        public String transactionType = null;
        public BigDecimal amountProcessed = null;
        public String locationName = null;
        public String locationId = null;
        public String computerName = null;
        public BigDecimal amex = null;
        public BigDecimal noAmex = null;
        public Integer uniqueTransIdNum = null;
        public String uniqueTransId = null;
        public String transactionId = null;
        public String deviceBatchNumber = null;
        public String developerName = null;
        public String deviceName = null;
        public String version = null;
        public Date computerDateTime = null;
        public Date terminalDateTime = null;
        public String companyName = null;
        public String maskedAccount = null;
        public String approvalNumberResult = null;
        public String merchantId = null;
        public String companyId = null;
        public Boolean missingTransactions = null;
        public Integer numberMissing = null;
        public String startDateFilter = null;
        public String endDateFilter = null;
        public String adjustmentTypeId = null;
        public String fromLogFile = null;
        public String resultStatus = null;
        public Integer minsTermOffBy = null;
        public String source = null;
        public String duplicateFlag = null;
        public String comment = null;
        public Date dupCreatedOn = null;
        public String dupCreatedBy = null;
        public Integer dupCount = null;
        public String processorTransactionId = null;
        public String transactionReference = null;
        public String billingName = null;
        public String resultMessage = null;
        public Boolean transrefDiff = null;
        public String cashier = null;
        public String accountCardType = null;
        
        public String getObjectId() { return objectId; }
        public DuplicateTransactionDetail setObjectId(String value) { this.objectId = value; return this; }
        public Date getCreatedOn() { return createdOn; }
        public DuplicateTransactionDetail setCreatedOn(Date value) { this.createdOn = value; return this; }
        public String getRoute() { return route; }
        public DuplicateTransactionDetail setRoute(String value) { this.route = value; return this; }
        public String getSerialNumber() { return serialNumber; }
        public DuplicateTransactionDetail setSerialNumber(String value) { this.serialNumber = value; return this; }
        public String getTransactionType() { return transactionType; }
        public DuplicateTransactionDetail setTransactionType(String value) { this.transactionType = value; return this; }
        public BigDecimal getAmountProcessed() { return amountProcessed; }
        public DuplicateTransactionDetail setAmountProcessed(BigDecimal value) { this.amountProcessed = value; return this; }
        public String getLocationName() { return locationName; }
        public DuplicateTransactionDetail setLocationName(String value) { this.locationName = value; return this; }
        public String getLocationId() { return locationId; }
        public DuplicateTransactionDetail setLocationId(String value) { this.locationId = value; return this; }
        public String getComputerName() { return computerName; }
        public DuplicateTransactionDetail setComputerName(String value) { this.computerName = value; return this; }
        public BigDecimal getAmex() { return amex; }
        public DuplicateTransactionDetail setAmex(BigDecimal value) { this.amex = value; return this; }
        public BigDecimal getNoAmex() { return noAmex; }
        public DuplicateTransactionDetail setNoAmex(BigDecimal value) { this.noAmex = value; return this; }
        public Integer getUniqueTransIdNum() { return uniqueTransIdNum; }
        public DuplicateTransactionDetail setUniqueTransIdNum(Integer value) { this.uniqueTransIdNum = value; return this; }
        public String getUniqueTransId() { return uniqueTransId; }
        public DuplicateTransactionDetail setUniqueTransId(String value) { this.uniqueTransId = value; return this; }
        public String getTransactionId() { return transactionId; }
        public DuplicateTransactionDetail setTransactionId(String value) { this.transactionId = value; return this; }
        public String getDeviceBatchNumber() { return deviceBatchNumber; }
        public DuplicateTransactionDetail setDeviceBatchNumber(String value) { this.deviceBatchNumber = value; return this; }
        public String getDeveloperName() { return developerName; }
        public DuplicateTransactionDetail setDeveloperName(String value) { this.developerName = value; return this; }
        public String getDeviceName() { return deviceName; }
        public DuplicateTransactionDetail setDeviceName(String value) { this.deviceName = value; return this; }
        public String getVersion() { return version; }
        public DuplicateTransactionDetail setVersion(String value) { this.version = value; return this; }
        public Date getComputerDateTime() { return computerDateTime; }
        public DuplicateTransactionDetail setComputerDateTime(Date value) { this.computerDateTime = value; return this; }
        public Date getTerminalDateTime() { return terminalDateTime; }
        public DuplicateTransactionDetail setTerminalDateTime(Date value) { this.terminalDateTime = value; return this; }
        public String getCompanyName() { return companyName; }
        public DuplicateTransactionDetail setCompanyName(String value) { this.companyName = value; return this; }
        public String getMaskedAccount() { return maskedAccount; }
        public DuplicateTransactionDetail setMaskedAccount(String value) { this.maskedAccount = value; return this; }
        public String getApprovalNumberResult() { return approvalNumberResult; }
        public DuplicateTransactionDetail setApprovalNumberResult(String value) { this.approvalNumberResult = value; return this; }
        public String getMerchantId() { return merchantId; }
        public DuplicateTransactionDetail setMerchantId(String value) { this.merchantId = value; return this; }
        public String getCompanyId() { return companyId; }
        public DuplicateTransactionDetail setCompanyId(String value) { this.companyId = value; return this; }
        public Boolean isMissingTransactions() { return missingTransactions; }
        public DuplicateTransactionDetail setMissingTransactions(Boolean value) { this.missingTransactions = value; return this; }
        public Integer getNumberMissing() { return numberMissing; }
        public DuplicateTransactionDetail setNumberMissing(Integer value) { this.numberMissing = value; return this; }
        public String getStartDateFilter() { return startDateFilter; }
        public DuplicateTransactionDetail setStartDateFilter(String value) { this.startDateFilter = value; return this; }
        public String getEndDateFilter() { return endDateFilter; }
        public DuplicateTransactionDetail setEndDateFilter(String value) { this.endDateFilter = value; return this; }
        public String getAdjustmentTypeId() { return adjustmentTypeId; }
        public DuplicateTransactionDetail setAdjustmentTypeId(String value) { this.adjustmentTypeId = value; return this; }
        public String getFromLogFile() { return fromLogFile; }
        public DuplicateTransactionDetail setFromLogFile(String value) { this.fromLogFile = value; return this; }
        public String getResultStatus() { return resultStatus; }
        public DuplicateTransactionDetail setResultStatus(String value) { this.resultStatus = value; return this; }
        public Integer getMinsTermOffBy() { return minsTermOffBy; }
        public DuplicateTransactionDetail setMinsTermOffBy(Integer value) { this.minsTermOffBy = value; return this; }
        public String getSource() { return source; }
        public DuplicateTransactionDetail setSource(String value) { this.source = value; return this; }
        public String getDuplicateFlag() { return duplicateFlag; }
        public DuplicateTransactionDetail setDuplicateFlag(String value) { this.duplicateFlag = value; return this; }
        public String getComment() { return comment; }
        public DuplicateTransactionDetail setComment(String value) { this.comment = value; return this; }
        public Date getDupCreatedOn() { return dupCreatedOn; }
        public DuplicateTransactionDetail setDupCreatedOn(Date value) { this.dupCreatedOn = value; return this; }
        public String getDupCreatedBy() { return dupCreatedBy; }
        public DuplicateTransactionDetail setDupCreatedBy(String value) { this.dupCreatedBy = value; return this; }
        public Integer getDupCount() { return dupCount; }
        public DuplicateTransactionDetail setDupCount(Integer value) { this.dupCount = value; return this; }
        public String getProcessorTransactionId() { return processorTransactionId; }
        public DuplicateTransactionDetail setProcessorTransactionId(String value) { this.processorTransactionId = value; return this; }
        public String getTransactionReference() { return transactionReference; }
        public DuplicateTransactionDetail setTransactionReference(String value) { this.transactionReference = value; return this; }
        public String getBillingName() { return billingName; }
        public DuplicateTransactionDetail setBillingName(String value) { this.billingName = value; return this; }
        public String getResultMessage() { return resultMessage; }
        public DuplicateTransactionDetail setResultMessage(String value) { this.resultMessage = value; return this; }
        public Boolean isTransrefDiff() { return transrefDiff; }
        public DuplicateTransactionDetail setTransrefDiff(Boolean value) { this.transrefDiff = value; return this; }
        public String getCashier() { return cashier; }
        public DuplicateTransactionDetail setCashier(String value) { this.cashier = value; return this; }
        public String getAccountCardType() { return accountCardType; }
        public DuplicateTransactionDetail setAccountCardType(String value) { this.accountCardType = value; return this; }
    }

}

Java DuplicateTransactionEditRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /Transactions/Duplicate HTTP/1.1 
Host: cip-reporting-dev.chargeitpro.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<DuplicateTransactionEditRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ReportingService.Services.Rest.Transactions">
  <DuplicateTrans xmlns:d2p1="http://schemas.datacontract.org/2004/07/ReportingService.Data.Models.Transactions">
    <d2p1:DuplicateTransactionDetail>
      <d2p1:AccountCardType>String</d2p1:AccountCardType>
      <d2p1:AdjustmentTypeId>String</d2p1:AdjustmentTypeId>
      <d2p1:Amex>0</d2p1:Amex>
      <d2p1:AmountProcessed>0</d2p1:AmountProcessed>
      <d2p1:ApprovalNumberResult>String</d2p1:ApprovalNumberResult>
      <d2p1:BillingName>String</d2p1:BillingName>
      <d2p1:Cashier>String</d2p1:Cashier>
      <d2p1:Comment>String</d2p1:Comment>
      <d2p1:CompanyId>String</d2p1:CompanyId>
      <d2p1:CompanyName>String</d2p1:CompanyName>
      <d2p1:ComputerDateTime>0001-01-01T00:00:00</d2p1:ComputerDateTime>
      <d2p1:ComputerName>String</d2p1:ComputerName>
      <d2p1:CreatedOn>0001-01-01T00:00:00</d2p1:CreatedOn>
      <d2p1:DeveloperName>String</d2p1:DeveloperName>
      <d2p1:DeviceBatchNumber>String</d2p1:DeviceBatchNumber>
      <d2p1:DeviceName>String</d2p1:DeviceName>
      <d2p1:DupCount>0</d2p1:DupCount>
      <d2p1:DupCreatedBy>String</d2p1:DupCreatedBy>
      <d2p1:DupCreatedOn>0001-01-01T00:00:00</d2p1:DupCreatedOn>
      <d2p1:DuplicateFlag>String</d2p1:DuplicateFlag>
      <d2p1:EndDateFilter>String</d2p1:EndDateFilter>
      <d2p1:FromLogFile>String</d2p1:FromLogFile>
      <d2p1:LocationId>String</d2p1:LocationId>
      <d2p1:LocationName>String</d2p1:LocationName>
      <d2p1:MaskedAccount>String</d2p1:MaskedAccount>
      <d2p1:MerchantId>String</d2p1:MerchantId>
      <d2p1:MinsTermOffBy>0</d2p1:MinsTermOffBy>
      <d2p1:MissingTransactions>false</d2p1:MissingTransactions>
      <d2p1:NoAmex>0</d2p1:NoAmex>
      <d2p1:NumberMissing>0</d2p1:NumberMissing>
      <d2p1:ObjectId>String</d2p1:ObjectId>
      <d2p1:ProcessorTransactionId>String</d2p1:ProcessorTransactionId>
      <d2p1:ResultMessage>String</d2p1:ResultMessage>
      <d2p1:ResultStatus>String</d2p1:ResultStatus>
      <d2p1:Route>String</d2p1:Route>
      <d2p1:SerialNumber>String</d2p1:SerialNumber>
      <d2p1:Source>String</d2p1:Source>
      <d2p1:StartDateFilter>String</d2p1:StartDateFilter>
      <d2p1:TerminalDateTime>0001-01-01T00:00:00</d2p1:TerminalDateTime>
      <d2p1:TransactionId>String</d2p1:TransactionId>
      <d2p1:TransactionReference>String</d2p1:TransactionReference>
      <d2p1:TransactionType>String</d2p1:TransactionType>
      <d2p1:TransrefDiff>false</d2p1:TransrefDiff>
      <d2p1:UniqueTransId>String</d2p1:UniqueTransId>
      <d2p1:UniqueTransIdNum>0</d2p1:UniqueTransIdNum>
      <d2p1:Version>String</d2p1:Version>
    </d2p1:DuplicateTransactionDetail>
  </DuplicateTrans>
</DuplicateTransactionEditRequest>