Package io.voucherify.client.module
Class VoucherModule
java.lang.Object
io.voucherify.client.module.VoucherModule
public final class VoucherModule
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classVoucherModule.ExtAsyncclassVoucherModule.ExtRxJava -
Constructor Summary
Constructors Constructor Description VoucherModule(VoucherifyApi api, java.util.concurrent.Executor executor) -
Method Summary
Modifier and Type Method Description AddBalanceResponseaddBalance(java.lang.String code, AddBalance addBalance)VoucherModule.ExtAsyncasync()VoucherResponsecreate(CreateVoucher createVoucher)voiddelete(java.lang.String code, java.lang.Boolean force)VoucherResponsedisable(java.lang.String code)VoucherResponseenable(java.lang.String code)protected <T> TexecuteSyncApiCall(retrofit2.Call<T> call)VoucherResponseget(java.lang.String code)QualificationList<VoucherResponse>getQualified(QualificationContext context, QualifiedResourceFilter filter)voidimportVouchers(ImportVouchers vouchers)VouchersResponselist(VouchersFilter vouchersFilter)VoucherModule.ExtRxJavarx()VoucherResponseupdate(java.lang.String code, VoucherUpdate voucherUpdate)
-
Constructor Details
-
Method Details
-
create
-
get
-
update
-
delete
public void delete(java.lang.String code, java.lang.Boolean force) -
list
-
disable
-
enable
-
addBalance
-
importVouchers
-
getQualified
public QualificationList<VoucherResponse> getQualified(QualificationContext context, QualifiedResourceFilter filter) -
async
-
rx
-
executeSyncApiCall
protected <T> T executeSyncApiCall(retrofit2.Call<T> call)
-