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

com.exaroton.api.request.billing.pools.GetCreditPoolRequest Maven / Gradle / Ivy

There is a newer version: 1.5.0
Show newest version
package com.exaroton.api.request.billing.pools;

import com.exaroton.api.APIResponse;
import com.exaroton.api.ExarotonClient;
import com.exaroton.api.billing.pools.CreditPool;
import com.google.gson.reflect.TypeToken;

import java.lang.reflect.Type;

public class GetCreditPoolRequest extends CreditPoolRequest {
    public GetCreditPoolRequest(ExarotonClient client, String id) {
        super(client, id);
    }

    @Override
    protected String getEndpoint() {
        return "billing/pools/{id}/";
    }

    @Override
    protected Type getType() {
        return new TypeToken>(){}.getType();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy