| Constructor and Description |
|---|
SessionBuilder() |
| Modifier and Type | Method and Description |
|---|---|
Session |
build()
Creates a fully initialized
Session object. |
SessionBuilder |
withAPIEndpoint(URI apiEndpoint)
Sets the Ingenico ePayments platform API endpoint URI to use.
|
SessionBuilder |
withAuthenticator(Authenticator authenticator)
Sets the
Authenticator to use. |
SessionBuilder |
withConnection(Connection connection)
Sets the
Connection to use. |
SessionBuilder |
withMetaDataProvider(MetaDataProvider metaDataProvider)
Sets the
MetaDataProvider to use. |
public SessionBuilder withAPIEndpoint(URI apiEndpoint)
public SessionBuilder withConnection(Connection connection)
Connection to use.public SessionBuilder withAuthenticator(Authenticator authenticator)
Authenticator to use.public SessionBuilder withMetaDataProvider(MetaDataProvider metaDataProvider)
MetaDataProvider to use.public Session build()
Session object.IllegalArgumentException - if not all required components are setCopyright © 2024 Ingenico ePayments. All rights reserved.