Skip to content

Commit a048aaf

Browse files
authored
Merge pull request #237 from AuthorizeNet/future
Changes for Release v1.9.6
2 parents 572735d + dfc7636 commit a048aaf

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+1071
-523
lines changed

Authorize.NET/AIM/Gateway.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@ public enum ServiceMode {
1919
Live
2020
}
2121

22+
//@deprecated since version 1.9.8
23+
//@deprecated We have reorganized and simplified the Authorize.Net API to ease integration and to focus on merchants' needs.
24+
//@deprecated We have deprecated AIM, ARB, CIM, and Reporting as separate options, in favor of AuthorizeNet::API.
25+
//@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.
26+
//@deprecated For details on the deprecation and replacement of legacy Authorize.Net methods, visit https://developer.authorize.net/api/upgrade_guide/.
27+
//@deprecated For AIM, refer examples in https://github.com/AuthorizeNet/sample-code-php/tree/master/PaymentTransactions
28+
[Obsolete("AuthorizeNetAIM is deprecated, use AuthorizeNet::API instead. For AIM, see examples in https://github.com/AuthorizeNet/sample-code-php/tree/master/PaymentTransactions.", false)]
2229
public class Gateway : AuthorizeNet.IGateway {
2330

2431
public const string TEST_URL = "https://test.authorize.net/gateway/transact.dll";

Authorize.NET/AIM/IGateway.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22
using System.Collections.Specialized;
33
using System.Xml;
44
namespace AuthorizeNet {
5+
6+
//@deprecated since version 1.9.8
7+
//@deprecated We have reorganized and simplified the Authorize.Net API to ease integration and to focus on merchants' needs.
8+
//@deprecated We have deprecated AIM, ARB, CIM, and Reporting as separate options, in favor of AuthorizeNet::API.
9+
//@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.
10+
//@deprecated For details on the deprecation and replacement of legacy Authorize.Net methods, visit https://developer.authorize.net/api/upgrade_guide/.
11+
//@deprecated For AIM, refer examples in https://github.com/AuthorizeNet/sample-code-php/tree/master/PaymentTransactions
12+
[Obsolete("AuthorizeNetAIM is deprecated, use AuthorizeNet::API instead. For AIM, see examples in https://github.com/AuthorizeNet/sample-code-php/tree/master/PaymentTransactions.", false)]
513
public interface IGateway {
614
string ApiLogin { get; set; }
715
string TransactionKey { get; set; }

Authorize.NET/AIM/Requests/AuthorizationRequest.cs

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,20 @@
66
using System.Globalization;
77

88
namespace AuthorizeNet {
9-
9+
1010
/// <summary>
1111
/// A request that authorizes a transaction, no capture
1212
/// </summary>
13-
public class AuthorizationRequest:GatewayRequest {
13+
14+
//@deprecated since version 1.9.8
15+
//@deprecated We have reorganized and simplified the Authorize.Net API to ease integration and to focus on merchants' needs.
16+
//@deprecated We have deprecated AIM, ARB, CIM, and Reporting as separate options, in favor of AuthorizeNet::API.
17+
//@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.
18+
//@deprecated For details on the deprecation and replacement of legacy Authorize.Net methods, visit https://developer.authorize.net/api/upgrade_guide/.
19+
//@deprecated For AIM, refer examples in https://github.com/AuthorizeNet/sample-code-php/tree/master/PaymentTransactions
20+
[Obsolete("AuthorizeNetAIM is deprecated, use AuthorizeNet::API instead. For AIM, see examples in https://github.com/AuthorizeNet/sample-code-php/tree/master/PaymentTransactions.", false)]
21+
public class AuthorizationRequest : GatewayRequest
22+
{
1423

1524
/// <summary>
1625
/// Initializes a new instance of the <see cref="AuthorizationRequest"/> class.
@@ -61,7 +70,7 @@ protected virtual void SetQueue(string cardNumber, string expirationMonthAndYear
6170

6271

6372

64-
73+
6574

6675

6776
}

Authorize.NET/AIM/Requests/CaptureRequest.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ namespace AuthorizeNet
99
/// <summary>
1010
/// A request representing a Capture - the final transfer of funds that happens after an auth.
1111
/// </summary>
12+
13+
//@deprecated since version 1.9.8
14+
//@deprecated We have reorganized and simplified the Authorize.Net API to ease integration and to focus on merchants' needs.
15+
//@deprecated We have deprecated AIM, ARB, CIM, and Reporting as separate options, in favor of AuthorizeNet::API.
16+
//@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.
17+
//@deprecated For details on the deprecation and replacement of legacy Authorize.Net methods, visit https://developer.authorize.net/api/upgrade_guide/.
18+
//@deprecated For AIM, refer examples in https://github.com/AuthorizeNet/sample-code-php/tree/master/PaymentTransactions
19+
[Obsolete("AuthorizeNetAIM is deprecated, use AuthorizeNet::API instead. For AIM, see examples in https://github.com/AuthorizeNet/sample-code-php/tree/master/PaymentTransactions.", false)]
1220
public class CaptureRequest : GatewayRequest
1321
{
1422

Authorize.NET/AIM/Requests/CreditRequest.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,14 @@ public class CreditRequest:GatewayRequest {
1616
/// <param name="transactionId">The transaction id.</param>
1717
/// <param name="amount">The amount.</param>
1818
/// <param name="cardNumber">The card number.</param>
19+
20+
//@deprecated since version 1.9.8
21+
//@deprecated We have reorganized and simplified the Authorize.Net API to ease integration and to focus on merchants' needs.
22+
//@deprecated We have deprecated AIM, ARB, CIM, and Reporting as separate options, in favor of AuthorizeNet::API.
23+
//@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.
24+
//@deprecated For details on the deprecation and replacement of legacy Authorize.Net methods, visit https://developer.authorize.net/api/upgrade_guide/.
25+
//@deprecated For AIM, refer examples in https://github.com/AuthorizeNet/sample-code-php/tree/master/PaymentTransactions
26+
[Obsolete("AuthorizeNetAIM is deprecated, use AuthorizeNet::API instead. For AIM, see examples in https://github.com/AuthorizeNet/sample-code-php/tree/master/PaymentTransactions.", false)]
1927
public CreditRequest(string transactionId, decimal amount, string cardNumber) {
2028

2129
this.SetApiAction(RequestAction.Credit);

Authorize.NET/AIM/Requests/EcheckRequest.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,14 @@ public class EcheckRequest:GatewayRequest {
1717
/// <param name="bankName">The name of the bank that holds the customer’s account</param>
1818
/// <param name="acctName">The name associated with the bank account</param>
1919
/// <param name="bankCheckNumber">The check number on the customer’s paper check</param>
20+
21+
//@deprecated since version 1.9.8
22+
//@deprecated We have reorganized and simplified the Authorize.Net API to ease integration and to focus on merchants' needs.
23+
//@deprecated We have deprecated AIM, ARB, CIM, and Reporting as separate options, in favor of AuthorizeNet::API.
24+
//@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.
25+
//@deprecated For details on the deprecation and replacement of legacy Authorize.Net methods, visit https://developer.authorize.net/api/upgrade_guide/.
26+
//@deprecated For AIM, refer examples in https://github.com/AuthorizeNet/sample-code-php/tree/master/PaymentTransactions
27+
[Obsolete("AuthorizeNetAIM is deprecated, use AuthorizeNet::API instead. For AIM, see examples in https://github.com/AuthorizeNet/sample-code-php/tree/master/PaymentTransactions.", false)]
2028
public EcheckRequest(decimal amount, string bankABACode, string bankAccountNumber,
2129
BankAccountType acctType, string bankName, string acctName, string bankCheckNumber) :
2230
this(EcheckType.WEB, amount, bankABACode, bankAccountNumber, acctType, bankName, acctName, bankCheckNumber) { }

Authorize.NET/AIM/Requests/GatewayRequest.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,14 @@ public enum EcheckType {
9595
/// <summary>
9696
/// An abstract base class, from which all Request classes must inherit
9797
/// </summary>
98+
99+
//@deprecated since version 1.9.8
100+
//@deprecated We have reorganized and simplified the Authorize.Net API to ease integration and to focus on merchants' needs.
101+
//@deprecated We have deprecated AIM, ARB, CIM, and Reporting as separate options, in favor of AuthorizeNet::API.
102+
//@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.
103+
//@deprecated For details on the deprecation and replacement of legacy Authorize.Net methods, visit https://developer.authorize.net/api/upgrade_guide/.
104+
//@deprecated For AIM, refer examples in https://github.com/AuthorizeNet/sample-code-php/tree/master/PaymentTransactions
105+
[Obsolete("AuthorizeNetAIM is deprecated, use AuthorizeNet::API instead. For AIM, see examples in https://github.com/AuthorizeNet/sample-code-php/tree/master/PaymentTransactions.", false)]
98106
public abstract class GatewayRequest : IGatewayRequest {
99107
//public Dictionary<string,string> Post { get; set; }
100108
public NameValueCollection Post { get; set; }

Authorize.NET/AIM/Requests/IGatewayRequest.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
using System;
22
namespace AuthorizeNet {
3+
4+
//@deprecated since version 1.9.8
5+
//@deprecated We have reorganized and simplified the Authorize.Net API to ease integration and to focus on merchants' needs.
6+
//@deprecated We have deprecated AIM, ARB, CIM, and Reporting as separate options, in favor of AuthorizeNet::API.
7+
//@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.
8+
//@deprecated For details on the deprecation and replacement of legacy Authorize.Net methods, visit https://developer.authorize.net/api/upgrade_guide/.
9+
//@deprecated For AIM, refer examples in https://github.com/AuthorizeNet/sample-code-php/tree/master/PaymentTransactions
10+
[Obsolete("AuthorizeNetAIM is deprecated, use AuthorizeNet::API instead. For AIM, see examples in https://github.com/AuthorizeNet/sample-code-php/tree/master/PaymentTransactions.", false)]
311
public interface IGatewayRequest {
412
IGatewayRequest AddCardCode(string cardCode);
513
IGatewayRequest AddCustomer(string ID, string email,string first, string last, string address, string city, string state, string zip);

Authorize.NET/AIM/Requests/PriorAuthCaptureRequest.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@ namespace AuthorizeNet
99
/// <summary>
1010
/// A request representing a PriorAuthCapture - the final transfer of funds that happens after an auth.
1111
/// </summary>
12+
13+
//@deprecated since version 1.9.8
14+
//@deprecated We have reorganized and simplified the Authorize.Net API to ease integration and to focus on merchants' needs.
15+
//@deprecated We have deprecated AIM, ARB, CIM, and Reporting as separate options, in favor of AuthorizeNet::API.
16+
//@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.
17+
//@deprecated For details on the deprecation and replacement of legacy Authorize.Net methods, visit https://developer.authorize.net/api/upgrade_guide/.
18+
//@deprecated For AIM, refer examples in https://github.com/AuthorizeNet/sample-code-php/tree/master/PaymentTransactions
19+
[Obsolete("AuthorizeNetAIM is deprecated, use AuthorizeNet::API instead. For AIM, see examples in https://github.com/AuthorizeNet/sample-code-php/tree/master/PaymentTransactions.", false)]
1220
public class PriorAuthCaptureRequest : GatewayRequest
1321
{
1422

Authorize.NET/AIM/Requests/UnlinkedCredit.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@
55
using System.Globalization;
66

77
namespace AuthorizeNet {
8+
9+
//@deprecated since version 1.9.8
10+
//@deprecated We have reorganized and simplified the Authorize.Net API to ease integration and to focus on merchants' needs.
11+
//@deprecated We have deprecated AIM, ARB, CIM, and Reporting as separate options, in favor of AuthorizeNet::API.
12+
//@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.
13+
//@deprecated For details on the deprecation and replacement of legacy Authorize.Net methods, visit https://developer.authorize.net/api/upgrade_guide/.
14+
//@deprecated For AIM, refer examples in https://github.com/AuthorizeNet/sample-code-php/tree/master/PaymentTransactions
15+
[Obsolete("AuthorizeNetAIM is deprecated, use AuthorizeNet::API instead. For AIM, see examples in https://github.com/AuthorizeNet/sample-code-php/tree/master/PaymentTransactions.", false)]
816
public class UnlinkedCredit:GatewayRequest {
917

1018
public UnlinkedCredit(decimal amount, string cardNumber, string expirationMonthAndYear) {

0 commit comments

Comments
 (0)