
com.paypal.base.AuthenticationStrategy Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rest-api-sdk Show documentation
Show all versions of rest-api-sdk Show documentation
PayPal SDK for integrating with the REST APIs
package com.paypal.base;
import com.paypal.base.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