All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.paypal.core.AuthenticationStrategy Maven / Gradle / Ivy

Go to download

PayPal Java SDK Core library base and common to PayPal SDKs. The paypal-core library is a dependency for all PayPal related Java SDKs

There is a newer version: 1.7.2
Show newest version
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 - 2024 Weber Informatics LLC | Privacy Policy