co.omise.resources.CustomerSpecificResource 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 CustomerSpecificResource extends Resource {
private final String customerId;
private final CardResource cards;
public CustomerSpecificResource(OkHttpClient httpClient, String customerId) {
super(httpClient);
this.customerId = customerId;
cards = new CardResource(httpClient, customerId);
}
public CardResource cards() {
return cards;
}
}