<commit_before>/*
 * #%L
 * BroadleafCommerce Authorize.net
 * %%
 * Copyright (C) 2009 - 2014 Broadleaf Commerce
 * %%
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *       http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * #L%
 */
package org.broadleafcommerce.payment.service.gateway;

import org.broadleafcommerce.common.payment.service.PaymentGatewayConfiguration;

/**
 * @author <NAME> (charchar)
 */
public interface AuthorizeNetConfiguration extends PaymentGatewayConfiguration {

    public String getLoginId();

    public String getTransactionKey();

    public String getMd5Key();

    public String getTransactionVersion();

    public String getResponseUrl();

    public String getConfirmUrl();

    public String getErrorUrl();

    public String getServerUrl();

    public String getXTestRequest();

}
<commit_msg>Added javadocs to interfaces<commit_after>/*
 * #%L
 * BroadleafCommerce Authorize.net
 * %%
 * Copyright (C) 2009 - 2014 Broadleaf Commerce
 * %%
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * 
 *       http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 * #L%
 */
package org.broadleafcommerce.payment.service.gateway;

import org.broadleafcommerce.common.payment.service.PaymentGatewayConfiguration;

/**
 * @author <NAME> (charchar)
 */
public interface AuthorizeNetConfiguration extends PaymentGatewayConfiguration {
    
    /**
    * This is the merchant API Login ID, provided by the
    * Merchant Interface.
    *
    * @return String
    */
    public String getLoginId();

    /**
    * This is the transaction fingerprint, provided by the
    * Merchant Interface.
    *
    * @return String
    */
    public String getTransactionKey();

    /**
    * This is the MD5 Hash, generated through the
    * Merchant Interface.
    *
    * @return String
    */
    public String getMd5Key();

    /**
     * The merchant’s transaction version.
     * 
     * @return
     */
    public String getTransactionVersion();

    /**
    * This is the URL to which Authorize.net returns.
    * This must be a publicly accessible URL and also
    * must be the same value you entered in your account settings.
    * (e.g. http://mycompany.com/authorizenet/process)
    *
    * @return String
    */
    public String getResponseUrl();

    /**
    * This is the URL to which Authorize.net returns upon a 
    * successful transaction.
    * (e.g. http://mycompany.com/confirmation)
    *
    * @return String
    */
    public String getConfirmUrl();

    /**
    * This is the URL to which Authorize.net returns upon a
    * failed transaction.
    * (e.g. http://mycompany.com/authorizenet/error)
    *
    * @return String
    */
    public String getErrorUrl();

    /**
     * This is the URL to which Authorize.net returns upon a
     * failed transaction.
     * 
     * Developer test environment:
     * https://test.authorize.net/gateway/transact.dll
     * (Make sure xTestRequest is set to false)
     * 
     * Staging:
     * https://secure.authorize.net/gateway/transact.dll
     * (Make sure xTestRequest is set to true)
     * 
     * Production:
     * https://secure.authorize.net/gateway/transact.dll
     * (Make sure xTestRequest is set to false)
     *
     * @return String
     */
    public String getServerUrl();

    /**
    * This value should only be true when testing in a live environment, e.g. staging.
    *
    * @return String
    */
    public String getXTestRequest();

}

{'fraction_non_alphanumeric': 0.0939797794117647, 'fraction_numerical': 0.0062040441176470585, 'mean_word_length': 2.8556244464127545, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 3, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '684397', 'n_tokens_mistral': 1228, 'n_tokens_neox': 1171, 'n_words': 425}