Class InMemoryPayPalConfigurationRepository
- java.lang.Object
-
- net.officefloor.tutorial.paypalhttpserver.InMemoryPayPalConfigurationRepository
-
- All Implemented Interfaces:
PayPalConfigurationRepository
public class InMemoryPayPalConfigurationRepository extends java.lang.Object implements PayPalConfigurationRepository
In memoryPayPalConfigurationRepository
.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description InMemoryPayPalConfigurationRepository()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.paypal.core.PayPalEnvironment
createPayPalEnvironment()
Creates thePayPalEnvironment
.void
loadEnvironment(java.lang.String clientId, java.lang.String clientSecret)
-
-
-
Method Detail
-
loadEnvironment
public void loadEnvironment(java.lang.String clientId, java.lang.String clientSecret)
-
createPayPalEnvironment
public com.paypal.core.PayPalEnvironment createPayPalEnvironment()
Description copied from interface:PayPalConfigurationRepository
Creates thePayPalEnvironment
.- Specified by:
createPayPalEnvironment
in interfacePayPalConfigurationRepository
- Returns:
PayPalEnvironment
.
-
-