Skip navigation links
A B C D E F G H I M O P R S U V W 

A

async() - Method in class pl.rspective.voucherify.client.module.VoucherModule
Returns the asynchronous extension of this module.

B

build() - Method in class pl.rspective.voucherify.client.VoucherifyClient.Builder
 
Builder() - Constructor for class pl.rspective.voucherify.client.VoucherifyClient.Builder
 

C

call() - Method in class pl.rspective.voucherify.client.utils.RxUtils.DefFunc
 
callbackExecutor() - Method in class pl.rspective.voucherify.client.utils.Platform
 
cancel() - Method in class pl.rspective.voucherify.client.callback.VoucherifyCallback
Cancels this callback.
Constants - Class in pl.rspective.voucherify.client
Holds all constants for voucherify java client

D

defer(RxUtils.DefFunc<R>) - Static method in class pl.rspective.voucherify.client.utils.RxUtils
Requests are manged in io thread by default
DefFunc() - Constructor for class pl.rspective.voucherify.client.utils.RxUtils.DefFunc
 
DiscountType - Enum in pl.rspective.voucherify.client.model
Type of the voucher discount

E

ENDPOINT_DATE_FORMAT - Static variable in class pl.rspective.voucherify.client.Constants
 
ENDPOINT_VOUCHERIFY - Static variable in class pl.rspective.voucherify.client.Constants
 

F

fetch(String) - Method in interface pl.rspective.voucherify.client.api.VoucherifyApi
Fetch details for specific voucher

G

get() - Static method in class pl.rspective.voucherify.client.utils.Platform
 
getAdditionalInfo() - Method in class pl.rspective.voucherify.client.model.Voucher
 
getCampaign() - Method in class pl.rspective.voucherify.client.model.Voucher
 
getCode() - Method in class pl.rspective.voucherify.client.model.Voucher
 
getDate() - Method in class pl.rspective.voucherify.client.model.UsageEntry
 
getDiscount() - Method in class pl.rspective.voucherify.client.model.Voucher
 
getDiscountType() - Method in class pl.rspective.voucherify.client.model.Voucher
 
getExpirationDate() - Method in class pl.rspective.voucherify.client.model.Voucher
 
getId() - Method in class pl.rspective.voucherify.client.model.Voucher
 
getQuantity() - Method in class pl.rspective.voucherify.client.model.VoucherUsage
 
getTrackingId() - Method in class pl.rspective.voucherify.client.model.UsageEntry
 
getUsage() - Method in class pl.rspective.voucherify.client.model.Voucher
 
getUsageEntries() - Method in class pl.rspective.voucherify.client.model.VoucherUsage
 
getUsedQuantity() - Method in class pl.rspective.voucherify.client.model.VoucherUsage
 

H

HTTP_HEADER_APP_ID - Static variable in class pl.rspective.voucherify.client.Constants
 
HTTP_HEADER_APP_TOKEN - Static variable in class pl.rspective.voucherify.client.Constants
 

I

isCancelled() - Method in class pl.rspective.voucherify.client.callback.VoucherifyCallback
Returns true in case this callback instance was previously cancelled.

M

method() - Method in class pl.rspective.voucherify.client.utils.RxUtils.DefFunc
 

O

onFailure(RetrofitError) - Method in class pl.rspective.voucherify.client.callback.VoucherifyCallback
Callback to be invoked in case the request was unsuccessful.
onSuccess(T) - Method in class pl.rspective.voucherify.client.callback.VoucherifyCallback
Callback to be invoked in case the request was successful.

P

pl.rspective.voucherify.client - package pl.rspective.voucherify.client
 
pl.rspective.voucherify.client.api - package pl.rspective.voucherify.client.api
 
pl.rspective.voucherify.client.callback - package pl.rspective.voucherify.client.callback
 
pl.rspective.voucherify.client.exception - package pl.rspective.voucherify.client.exception
 
pl.rspective.voucherify.client.model - package pl.rspective.voucherify.client.model
 
pl.rspective.voucherify.client.module - package pl.rspective.voucherify.client.module
 
pl.rspective.voucherify.client.utils - package pl.rspective.voucherify.client.utils
 
Platform - Class in pl.rspective.voucherify.client.utils
Util class to get information about current system platform.
Platform() - Constructor for class pl.rspective.voucherify.client.utils.Platform
 

R

rx() - Method in class pl.rspective.voucherify.client.module.VoucherModule
Returns the RxJava extension of this module.
RxUtils - Class in pl.rspective.voucherify.client.utils
Utils's class used to wrap sync and async calls into RX world
RxUtils() - Constructor for class pl.rspective.voucherify.client.utils.RxUtils
 
RxUtils.DefFunc<T> - Class in pl.rspective.voucherify.client.utils
Convert method into observable

S

SCHEME_HTTP - Static variable in class pl.rspective.voucherify.client.Constants
 
SCHEME_HTTPS - Static variable in class pl.rspective.voucherify.client.Constants
 
setAppId(String) - Method in class pl.rspective.voucherify.client.VoucherifyClient.Builder
 
setAppToken(String) - Method in class pl.rspective.voucherify.client.VoucherifyClient.Builder
 
setClient(Client) - Method in class pl.rspective.voucherify.client.VoucherifyClient.Builder
Sets a custom client to be used for making HTTP requests.
setClientProvider(Client.Provider) - Method in class pl.rspective.voucherify.client.VoucherifyClient.Builder
Sets a provider of clients to be used for making HTTP requests.
setEndpoint(String) - Method in class pl.rspective.voucherify.client.VoucherifyClient.Builder
Overrides the default remote address.
setLogLevel(RestAdapter.LogLevel) - Method in class pl.rspective.voucherify.client.VoucherifyClient.Builder
Change the log level.
subscribe(Executor, Observable<R>, VoucherifyCallback<R>) - Static method in class pl.rspective.voucherify.client.utils.RxUtils
 

U

usage(String) - Method in interface pl.rspective.voucherify.client.api.VoucherifyApi
Fetch information about voucher usage details
UsageEntry - Class in pl.rspective.voucherify.client.model
I hold a history information about voucher usage
UsageEntry() - Constructor for class pl.rspective.voucherify.client.model.UsageEntry
 
use(String, String) - Method in interface pl.rspective.voucherify.client.api.VoucherifyApi
Method used to consume the voucher based on his code

V

valueOf(String) - Static method in enum pl.rspective.voucherify.client.model.DiscountType
Returns the enum constant of this type with the specified name.
values() - Static method in enum pl.rspective.voucherify.client.model.DiscountType
Returns an array containing the constants of this enum type, in the order they are declared.
Voucher - Class in pl.rspective.voucherify.client.model
Class represents a voucher
Voucher() - Constructor for class pl.rspective.voucherify.client.model.Voucher
 
VoucherifyApi - Interface in pl.rspective.voucherify.client.api
An interface used internally to create a Retrofit API.
VoucherifyCallback<T> - Class in pl.rspective.voucherify.client.callback
Callback to use with any of the asynchronous client methods.
VoucherifyCallback() - Constructor for class pl.rspective.voucherify.client.callback.VoucherifyCallback
 
VoucherifyClient - Class in pl.rspective.voucherify.client
It's entrypoint to use voucherify java client
VoucherifyClient.Builder - Class in pl.rspective.voucherify.client
 
VoucherifyException - Exception in pl.rspective.voucherify.client.exception
General exception which can occurred during HTTP communication
VoucherifyException(RetrofitError.Kind, String) - Constructor for exception pl.rspective.voucherify.client.exception.VoucherifyException
 
VoucherifyException(String) - Constructor for exception pl.rspective.voucherify.client.exception.VoucherifyException
 
VoucherifyException(String, Throwable) - Constructor for exception pl.rspective.voucherify.client.exception.VoucherifyException
 
VoucherifyException(Throwable) - Constructor for exception pl.rspective.voucherify.client.exception.VoucherifyException
 
VoucherifyException(String, Throwable, boolean, boolean) - Constructor for exception pl.rspective.voucherify.client.exception.VoucherifyException
 
VoucherModule - Class in pl.rspective.voucherify.client.module
Vouchers Module to manage communication with Voucherify
VoucherModule(VoucherifyApi, Executor) - Constructor for class pl.rspective.voucherify.client.module.VoucherModule
 
vouchers() - Method in class pl.rspective.voucherify.client.VoucherifyClient
Returns the Vouchers module.
VoucherUsage - Class in pl.rspective.voucherify.client.model
Represents voucher usage
VoucherUsage() - Constructor for class pl.rspective.voucherify.client.model.VoucherUsage
 

W

withSSL() - Method in class pl.rspective.voucherify.client.VoucherifyClient.Builder
Makes the client execute all requests via HTTPS instead of HTTP - use with caution.
A B C D E F G H I M O P R S U V W 
Skip navigation links