cancel
Showing results for 
Search instead for 
Did you mean: 

Code error

Project : AuthorizeNet 

File: /AIM/GatewayRequest.cs

 

I have highlighted in red what I think is incorrect in the GatewayRequest.cs file starting at line 342.

 

 

        /// <summary>
        /// Gets or sets the type of the bank account.
        /// </summary>
        /// <value>The type of the bank account.</value>
        public BankAccountType BankAccountType {
            get { return (BankAccountType)Enum.Parse(BankAccountType.GetType(), Get(ApiFields.BankAcctType)); }
            set { Queue(ApiFields.Address, value.ToString().ToUpper()); }
        }
        /// <summary>
        /// Gets or sets the name of the bank.
        /// </summary>
        /// <value>The name of the bank.</value>
        public string BankName {
            get { return Get(ApiFields.BankName); }
            set { Queue(ApiFields.BankName, value); }
        }
        /// <summary>
        /// Gets or sets the name of the bank account.
        /// </summary>
        /// <value>The name of the bank account.</value>
        public string BankAccountName {
            get { return Get(ApiFields.BankAcctName); }
            set { Queue(ApiFields.BankAcctName, value); }
        }
        /// <summary>
        /// Gets or sets the type of the echeck.
        /// </summary>
        /// <value>The type of the echeck.</value>
        public EcheckType EcheckType {
            get { return (EcheckType)Enum.Parse(EcheckType.GetType(),Get(ApiFields.EcheckType)); }
            set { Queue(ApiFields.
Address
, value.ToString()); }
        }

 

 

levoswased
Member
1 REPLY 1

Hi levoswased,

I just checked the current SDK and I am not seeing the code you highlighted. It is possible that you are looking at an old version of the SDK before the eCheck transaction support was completed. I would suggest that you make sure you have the most up to date version of the SDK.

Thanks,
Joy

Joy
Administrator Administrator
Administrator