All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.global.api.gateways.bill_pay.responses.CreateCustomerAccountResponse Maven / Gradle / Ivy

There is a newer version: 14.2.3
Show newest version
package com.global.api.gateways.bill_pay.responses;

import com.global.api.entities.billing.TokenResponse;

public class CreateCustomerAccountResponse extends BillPayResponseBase {
    public TokenResponse map() {
        TokenResponse result = new TokenResponse();
        
        result.setIsSuccessful(response.getBool("a:isSuccessful"));
        result.setResponseCode(response.getString("a:ResponseCode"));
        result.setResponseMessage(getFirstResponseMessage(response));
        result.setToken(response.getString("a:Token"));
        
        return result;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy