PHP Classes

File: sdk/resources/ControllerTemplate.phpt

Recommend this page to a friend!
  Classes of Samuel Adeshina   PHP Authorize.net SIM   sdk/resources/ControllerTemplate.phpt   Download  
File: sdk/resources/ControllerTemplate.phpt
Role: Auxiliary data
Content type: text/plain
Description: First Commit
Class: PHP Authorize.net SIM
Generate payment forms for Authorize.net SIM API
Author: By
Last change:
Date: 9 years ago
Size: 605 bytes
 

Contents

Class file image Download
<?php namespace net\authorize\api\controller; use net\authorize\api\contract\v1\AnetApiRequestType; use net\authorize\api\controller\base\ApiOperationBase; class APICONTROLLERNAMEController extends ApiOperationBase { public function __construct(AnetApiRequestType $request) { $responseType = 'net\authorize\api\contract\v1\APICONTROLLERNAMEResponse'; parent::__construct($request, $responseType); } protected function validateRequest() { //validate required fields of $this->apiRequest-> //validate non-required fields of $this->apiRequest-> } }