public class

ConnectorConnectionStrategy

extends Object
java.lang.Object
   ↳ com.wsl.modules.stripe.strategy.ConnectorConnectionStrategy
Known Direct Subclasses

Class Overview

Connection Management Strategy

Summary

Fields
private static final Logger LOGGER
private String apiVersion
Public Constructors
ConnectorConnectionStrategy()
Public Methods
void connect(String apiKey)
Connect
String connectionId()
The Connection Identifier For now, we are using the Stripe SDK Version, arbitrarily
void disconnect()
Disconnect
String getApiVersion()
Get configured API Version
boolean isConnected()
Are we connected
void setApiVersion(String apiVersion)
Set API Version
[Expand]
Inherited Methods
From class java.lang.Object

Fields

private static final Logger LOGGER

private String apiVersion

Public Constructors

public ConnectorConnectionStrategy ()

Public Methods

public void connect (String apiKey)

Connect

Parameters
apiKey Your Stripe API Key
Throws
ConnectionException

public String connectionId ()

The Connection Identifier For now, we are using the Stripe SDK Version, arbitrarily

Returns
  • The Connection Identifier

public void disconnect ()

Disconnect

public String getApiVersion ()

Get configured API Version

public boolean isConnected ()

Are we connected

public void setApiVersion (String apiVersion)

Set API Version

Parameters
apiVersion The API Version