com.paypal.core.AuthenticationStrategy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of paypal-core Show documentation
Show all versions of paypal-core Show documentation
PayPal Java SDK Core library base and common to PayPal SDKs. The paypal-core library is a dependency for all PayPal related Java SDKs
package com.paypal.core;
import com.paypal.core.credential.ICredential;
/**
* A Strategy pattern to retrieve {@link ICredential} as any conceivable
* datatype as required by the application
*
* @param
* Return data type
* @param
* Operated {@link ICredential}
*/
public interface AuthenticationStrategy {
/**
* Generates Headers {@link ICredential} as any type as chosen by the
* implementation
*
* @param e
* {@link ICredential} instance
* @return T
* @throws Exception
*/
T generateHeaderStrategy(E e) throws Exception;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy