com.global.api.network.abstractions.IBatchProvider 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.network.abstractions;
import com.global.api.entities.enums.PaymentMethodType;
import com.global.api.entities.enums.TransactionType;
import com.global.api.entities.exceptions.BatchFullException;
import com.global.api.network.entities.PriorMessageInformation;
import com.global.api.utils.IRequestEncoder;
import java.math.BigDecimal;
import java.util.LinkedList;
public interface IBatchProvider {
int getBatchNumber();
int getSequenceNumber() throws BatchFullException;
int getTransactionCount();
BigDecimal getTotalCredits();
BigDecimal getTotalDebits();
IRequestEncoder getRequestEncoder();
LinkedList getEncodedRequests();
PriorMessageInformation getPriorMessageData();
void setPriorMessageData(PriorMessageInformation value);
void reportDataCollect(TransactionType transactionType, PaymentMethodType paymentMethodType, BigDecimal amount, String encodedRequest);
void closeBatch(boolean inBalance);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy