co.omise.resources.ChargeSpecificResource Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of omise-java Show documentation
Show all versions of omise-java Show documentation
Java bindings for the Omise API
package co.omise.resources;
import okhttp3.OkHttpClient;
public class ChargeSpecificResource extends Resource {
private final String chargeId;
public ChargeSpecificResource(OkHttpClient httpClient, String chargeId) {
super(httpClient);
this.chargeId = chargeId;
}
public RefundResource refunds() {
return new RefundResource(httpClient(), chargeId);
}
}