@Configuration public class PayPalConfig extends Object
| Constructor and Description |
|---|
PayPalConfig() |
| Modifier and Type | Method and Description |
|---|---|
com.paypal.base.rest.APIContext |
blPayPalApiContext(String clientId,
String secret,
String mode) |
@Bean
@Scope(value="prototype")
public com.paypal.base.rest.APIContext blPayPalApiContext(@Value(value="${gateway.paypal.checkout.rest.clientId}")
String clientId,
@Value(value="${gateway.paypal.checkout.rest.secret}")
String secret,
@Value(value="${gateway.paypal.checkout.rest.mode}")
String mode)
Copyright © 2018. All rights reserved.