jp.gopay.sdk.builders.batch_charge.BatchCreateCharge Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gopay-java-sdk Show documentation
Show all versions of gopay-java-sdk Show documentation
Official Gyro-n Payments Java SDK
package jp.gopay.sdk.builders.batch_charge;
import jp.gopay.sdk.builders.ResourceMonitor;
import jp.gopay.sdk.builders.charge.ChargesBuilders;
import jp.gopay.sdk.models.common.ChargeId;
import jp.gopay.sdk.models.common.StoreId;
import jp.gopay.sdk.models.response.charge.Charge;
import retrofit2.Retrofit;
public class BatchCreateCharge extends AbstractBatchCreateCharge {
public BatchCreateCharge(Retrofit retrofit, int createMaxRetry, int statusCheckTimeout) {
super(retrofit, createMaxRetry, statusCheckTimeout);
}
@Override
public ResourceMonitor createChargeCompletionMonitor(Retrofit retrofit, StoreId storeId, ChargeId chargeId) {
return ChargesBuilders.createChargeCompletionMonitor(retrofit, storeId, chargeId);
}
}