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

A

addMetadata(String, Object) - Method in class pl.rspective.voucherify.client.model.Customer.Builder
 
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.model.Customer.Builder
 
build() - Method in class pl.rspective.voucherify.client.VoucherifyClient.Builder
 
Builder() - Constructor for class pl.rspective.voucherify.client.model.Customer.Builder
 
Builder() - Constructor for class pl.rspective.voucherify.client.VoucherifyClient.Builder
 

C

calculateDiscount(BigDecimal, Voucher, BigDecimal) - Static method in class pl.rspective.voucherify.client.VoucherifyUtils
 
calculatePrice(BigDecimal, Voucher, BigDecimal) - Static method in class pl.rspective.voucherify.client.VoucherifyUtils
 
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
Customer - Class in pl.rspective.voucherify.client.model
 
Customer(String, String, String, String, Map<String, Object>) - Constructor for class pl.rspective.voucherify.client.model.Customer
 
Customer.Builder - Class in pl.rspective.voucherify.client.model
 

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
 
Discount - Class in pl.rspective.voucherify.client.model
 
Discount() - Constructor for class pl.rspective.voucherify.client.model.Discount
 
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 a specific voucher.
from(DiscountType, int) - Static method in class pl.rspective.voucherify.client.model.Discount
 

G

get() - Static method in class pl.rspective.voucherify.client.utils.Platform
 
getAdditionalInfo() - Method in class pl.rspective.voucherify.client.model.Voucher
 
getAmountOff() - Method in class pl.rspective.voucherify.client.model.Discount
 
getCampaign() - Method in class pl.rspective.voucherify.client.model.Voucher
 
getCategory() - Method in class pl.rspective.voucherify.client.model.Voucher
 
getCode() - Method in class pl.rspective.voucherify.client.model.Voucher
 
getCustomer() - Method in class pl.rspective.voucherify.client.model.VoucherRedemptionContext
 
getDate() - Method in class pl.rspective.voucherify.client.model.RedemptionEntry
 
getDate() - Method in class pl.rspective.voucherify.client.model.VoucherRedemptionResult
 
getDescription() - Method in class pl.rspective.voucherify.client.model.Customer
 
getDiscount() - Method in class pl.rspective.voucherify.client.model.Voucher
 
getEmail() - Method in class pl.rspective.voucherify.client.model.Customer
 
getExpirationDate() - Method in class pl.rspective.voucherify.client.model.Voucher
 
getId() - Method in class pl.rspective.voucherify.client.model.Customer
 
getId() - Method in class pl.rspective.voucherify.client.model.RedemptionEntry
 
getId() - Method in class pl.rspective.voucherify.client.model.Voucher
 
getId() - Method in class pl.rspective.voucherify.client.model.VoucherRedemptionResult
 
getMetadata() - Method in class pl.rspective.voucherify.client.model.Customer
 
getMetadata() - Method in class pl.rspective.voucherify.client.model.RedemptionEntry
 
getMetadata() - Method in class pl.rspective.voucherify.client.model.VoucherRedemptionContext
 
getMetadata() - Method in class pl.rspective.voucherify.client.model.VoucherRedemptionResult
 
getName() - Method in class pl.rspective.voucherify.client.model.Customer
 
getObject() - Method in class pl.rspective.voucherify.client.model.RedemptionEntry
 
getObject() - Method in class pl.rspective.voucherify.client.model.VoucherRedemptionResult
 
getPercentOff() - Method in class pl.rspective.voucherify.client.model.Discount
 
getQuantity() - Method in class pl.rspective.voucherify.client.model.VoucherRedemption
 
getReason() - Method in class pl.rspective.voucherify.client.model.RedemptionEntry
 
getReason() - Method in class pl.rspective.voucherify.client.model.VoucherRedemptionResult
 
getRedeemedQuantity() - Method in class pl.rspective.voucherify.client.model.VoucherRedemption
 
getRedemption() - Method in class pl.rspective.voucherify.client.model.RedemptionEntry
 
getRedemption() - Method in class pl.rspective.voucherify.client.model.Voucher
 
getRedemption() - Method in class pl.rspective.voucherify.client.model.VoucherRedemptionResult
 
getRedemptionEntries() - Method in class pl.rspective.voucherify.client.model.VoucherRedemption
 
getStartDate() - Method in class pl.rspective.voucherify.client.model.Voucher
 
getTrackingId() - Method in class pl.rspective.voucherify.client.model.RedemptionEntry
 
getTrackingId() - Method in class pl.rspective.voucherify.client.model.VoucherRedemptionResult
 
getType() - Method in class pl.rspective.voucherify.client.model.Discount
 
getUnitOff() - Method in class pl.rspective.voucherify.client.model.Discount
 
getUnitType() - Method in class pl.rspective.voucherify.client.model.Discount
 
getVoucher() - Method in class pl.rspective.voucherify.client.model.VoucherRedemptionResult
 

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
 
HTTP_HEADER_VOUCHERIFY_CHANNEL - 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

redeem(String, String) - Method in interface pl.rspective.voucherify.client.api.VoucherifyApi
Method used to redeem a voucher identified by code
redeem(String, VoucherRedemptionContext) - Method in interface pl.rspective.voucherify.client.api.VoucherifyApi
Method used to redeem a voucher and provide a context information.
redemption(String) - Method in interface pl.rspective.voucherify.client.api.VoucherifyApi
Fetch information about voucher redemption details
RedemptionEntry - Class in pl.rspective.voucherify.client.model
I hold a history information about voucher redemption
RedemptionEntry() - Constructor for class pl.rspective.voucherify.client.model.RedemptionEntry
 
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.
setDescription(String) - Method in class pl.rspective.voucherify.client.model.Customer.Builder
 
setDiscount(Discount) - Method in class pl.rspective.voucherify.client.model.Voucher
 
setEmail(String) - Method in class pl.rspective.voucherify.client.model.Customer.Builder
 
setEndpoint(String) - Method in class pl.rspective.voucherify.client.VoucherifyClient.Builder
Overrides the default remote address.
setId(String) - Method in class pl.rspective.voucherify.client.model.Customer.Builder
 
setLogLevel(RestAdapter.LogLevel) - Method in class pl.rspective.voucherify.client.VoucherifyClient.Builder
Change the log level.
setMetadata(Map<String, Object>) - Method in class pl.rspective.voucherify.client.model.Customer.Builder
 
setName(String) - Method in class pl.rspective.voucherify.client.model.Customer.Builder
 
subscribe(Executor, Observable<R>, VoucherifyCallback<R>) - Static method in class pl.rspective.voucherify.client.utils.RxUtils
 

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
 
VOUCHERIFY_CHANNEL_NAME - Static variable in class pl.rspective.voucherify.client.Constants
 
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
 
VoucherifyUtils - Class in pl.rspective.voucherify.client
 
VoucherifyUtils() - Constructor for class pl.rspective.voucherify.client.VoucherifyUtils
 
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
 
VoucherRedemption - Class in pl.rspective.voucherify.client.model
Represents voucher redemption
VoucherRedemption() - Constructor for class pl.rspective.voucherify.client.model.VoucherRedemption
 
VoucherRedemptionContext - Class in pl.rspective.voucherify.client.model
 
VoucherRedemptionContext(Customer, Map<String, Object>) - Constructor for class pl.rspective.voucherify.client.model.VoucherRedemptionContext
 
VoucherRedemptionContext(Customer) - Constructor for class pl.rspective.voucherify.client.model.VoucherRedemptionContext
 
VoucherRedemptionResult - Class in pl.rspective.voucherify.client.model
 
VoucherRedemptionResult() - Constructor for class pl.rspective.voucherify.client.model.VoucherRedemptionResult
 
vouchers() - Method in class pl.rspective.voucherify.client.VoucherifyClient
Returns the Vouchers module.

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 V W 
Skip navigation links