com.global.api.gateways.bill_pay.responses.ConvenienceFeeRequestResponse 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.gateways.bill_pay.responses;
import com.global.api.entities.billing.ConvenienceFeeResponse;
public class ConvenienceFeeRequestResponse extends BillPayResponseBase {
public ConvenienceFeeResponse map() {
ConvenienceFeeResponse result = new ConvenienceFeeResponse();
result.setIsSuccessful(response.getBool("a:isSuccessful"));
result.setResponseCode(response.getString("a:ResponseCode"));
result.setResponseMessage(getFirstResponseMessage(response));
result.setConvenienceFee(response.getDecimal("a:ConvenienceFee"));
return result;
}
}