PaymentSDK
Mobile payment SDK
de.wirecard.paymentsdk.WirecardClientBuilder Class Reference

Payment processing client builder. More...

+ Collaboration diagram for de.wirecard.paymentsdk.WirecardClientBuilder:

Public Class Methods

static WirecardClientBuilder newInstance (Context context, String environment)
 Creates WirecardClientBuilder new instance. More...
 

Public Instance Methods

WirecardClientBuilder setRequestTimeout (int requestTimeout)
 Sets request timeout. More...
 
WirecardClient build () throws WirecardException
 Creates WirecardClient new instance. More...
 

Private Instance Methods

 WirecardClientBuilder (Context context, String environment)
 

Private Fields

Context context
 
String environment
 
int requestTimeout = 0
 

Detailed Description

Payment processing client builder.

Constructor & Destructor Documentation

de.wirecard.paymentsdk.WirecardClientBuilder.WirecardClientBuilder ( Context  context,
String  environment 
)
inlineprivate

Method Documentation

WirecardClient de.wirecard.paymentsdk.WirecardClientBuilder.build ( ) throws WirecardException
inline

Creates WirecardClient new instance.

Throws WirecardException when device is rooted.

static WirecardClientBuilder de.wirecard.paymentsdk.WirecardClientBuilder.newInstance ( Context  context,
String  environment 
)
inlinestatic

Creates WirecardClientBuilder new instance.

Parameters
contextused for launching SDK UI
environmentendpoint environment

Throws WirecardException when device is rooted.

WirecardClientBuilder de.wirecard.paymentsdk.WirecardClientBuilder.setRequestTimeout ( int  requestTimeout)
inline

Sets request timeout.

Parameters
requestTimeout

Member Data Documentation

Context de.wirecard.paymentsdk.WirecardClientBuilder.context
private
String de.wirecard.paymentsdk.WirecardClientBuilder.environment
private
int de.wirecard.paymentsdk.WirecardClientBuilder.requestTimeout = 0
private