AuthorizeNet/sdk-dotnet

View on GitHub
Authorize.NET/Api/Controllers/createProfileController.cs

Summary

Maintainability
A
0 mins
Test Coverage
namespace AuthorizeNet.Api.Controllers
{
    using System;
    using AuthorizeNet.Api.Contracts.V1;
    using AuthorizeNet.Api.Controllers.Bases;

#pragma warning disable 1591
    public class createProfileController
        //: ApiOperationBase<createProfileRequest, createProfileResponse> 
    {

        public createProfileController(customerProfilePaymentType apiRequest)// : base(apiRequest) 
        {
        }

        //override 
        protected void ValidateRequest() {
            //var request = GetApiRequest();
        
            //validate required fields        
            //if ( 0 == request.SearchType) throw new ArgumentException( "SearchType cannot be null");
            //if ( null == request.Paging) throw new ArgumentException("Paging cannot be null");
        
            //validate not-required fields        
        }

        //protected override void BeforeExecute()
        protected void BeforeExecute()
        {
            //var request = GetApiRequest();
            //RequestFactoryWithSpecified.createProfileType(request);
        }
    }
#pragma warning restore 1591
}