net.authorize.sim.data.HostedReceiptPageSettings Maven / Gradle / Ivy
package net.authorize.sim.data;
import net.authorize.sim.LinkMethod;
/**
* The hosted receipt page provides the customer with the status of their transaction and can include a
* link back to the merchant's website. It can be customized to reflect the look and feel of the
* merchant's website.
*
* @deprecated since version 1.9.8
* @deprecated We have reorganized and simplified the Authorize.Net API to ease integration and to focus on merchants' needs.
* @deprecated We have deprecated AIM, ARB, CIM, and Reporting as separate options, in favor of AuthorizeNet::API (package: net.authorize.api.*).
* @deprecated We have also deprecated SIM as a separate option, in favor of Accept Hosted. See https://developer.authorize.net/api/reference/features/accept_hosted.html for details on Accept Hosted.
* @deprecated For details on AIM, see https://github.com/AuthorizeNet/sample-code-java/tree/master/src/main/java/net/authorize/sample/PaymentTransactions.
* @deprecated For details on the deprecation and replacement of legacy Authorize.Net methods, visit https://developer.authorize.net/api/upgrade_guide/.
*
*/
@Deprecated
public class HostedReceiptPageSettings {
private LinkMethod linkMethod;
private String linkText;
private String linkUrl;
private HostedReceiptPageSettings() { }
/**
* Creates an instance of a HostedReceiptPageSettings class.
*
* @return a HostedReceiptPageSettings object.
*/
public static HostedReceiptPageSettings createHostedReceiptPageSettings() {
return new HostedReceiptPageSettings();
}
/**
* @return the linkMethod
*/
public LinkMethod getLinkMethod() {
return linkMethod;
}
/**
* @param linkMethod the linkMethod to set
*/
public void setLinkMethod(LinkMethod linkMethod) {
this.linkMethod = linkMethod;
}
/**
* @return the linkText
*/
public String getLinkText() {
return linkText;
}
/**
* @param linkText the linkText to set
*/
public void setLinkText(String linkText) {
this.linkText = linkText;
}
/**
* @return the linkUrl
*/
public String getLinkUrl() {
return linkUrl;
}
/**
* @param linkUrl the linkUrl to set
*/
public void setLinkUrl(String linkUrl) {
this.linkUrl = linkUrl;
}
}