com.global.api.entities.reporting.DisputeSummary Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of globalpayments-sdk Show documentation
Show all versions of globalpayments-sdk Show documentation
API for processing payments through Global Payments
package com.global.api.entities.reporting;
import com.global.api.builders.ManagementBuilder;
import com.global.api.entities.DisputeDocument;
import com.global.api.entities.enums.TransactionType;
import com.global.api.paymentMethods.TransactionReference;
import lombok.Getter;
import lombok.Setter;
import org.joda.time.DateTime;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
@Getter
@Setter
public class DisputeSummary {
private String merchantHierarchy;
private String merchantName;
private String merchantDbaName;
private String merchantNumber;
private String merchantCategory;
private Date depositDate;
private String depositReference;
private String depositType;
private String type;
private BigDecimal caseAmount;
private String caseCurrency;
private String caseStage;
private DateTime caseStageTime;
private String caseStatus;
private String caseDescription;
private String transactionOrderId;
private DateTime transactionLocalTime;
private DateTime transactionTime;
private String transactionType;
private BigDecimal transactionAmount;
private String transactionCurrency;
private String caseNumber;
private DateTime caseTime;
private String caseId;
private DateTime caseIdTime;
private String caseMerchantId;
private String caseTerminalId;
private String transactionARN;
private String transactionReferenceNumber;
private String transactionSRD;
private String transactionAuthCode;
private String transactionCardType;
private String transactionMaskedCardNumber;
private String transactionBrandReference;
private String reason;
private String reasonCode;
private String result;
private String issuerComment;
private String issuerCaseNumber;
private BigDecimal disputeAmount;
private String disputeCurrency;
private BigDecimal disputeCustomerAmount;
private String disputeCustomerCurrency;
private DateTime respondByDate;
private String caseOriginalReference;
private BigDecimal lastAdjustmentAmount;
private String lastAdjustmentCurrency;
private String lastAdjustmentFunding;
private ArrayList documents;
public ManagementBuilder accept() {
return new ManagementBuilder(TransactionType.DisputeAcceptance, new TransactionReference())
.withDisputeId(caseId);
}
public ManagementBuilder challenge(ArrayList documents) {
return new ManagementBuilder(TransactionType.DisputeChallenge)
.withDisputeId(caseId)
.withDisputeDocuments(documents);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy