com.chargebee.RequestWrap Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of chargebee-java Show documentation
Show all versions of chargebee-java Show documentation
Java client library for ChargeBee API
/*
* Copyright (c) 2017 ChargeBee Inc
* All Rights Reserved.
*/
package com.chargebee;
import com.chargebee.internal.RequestBase;
import java.util.concurrent.Callable;
/**
*
* @author cb-ajit
* @param
*/
public abstract class RequestWrap implements Callable {
public final Environment env;
public final T request;
public RequestWrap(Environment env, T request) {
this.env = env;
this.request = request;
}
public abstract ApiResponse call() throws Exception;
}