M2_AuthorizeNetTransaction

A class that contains all fields for a CIM Transaction.

Defined (1)

The class is defined in the following location(s).

/lib/authorize.net/lib/shared/AuthorizeNetTypes.php  
  1. class M2_AuthorizeNetTransaction 
  2. public $amount; 
  3. public $tax; 
  4. public $shipping; 
  5. public $duty; 
  6. public $lineItems = array(); 
  7. public $customerProfileId; 
  8. public $customerPaymentProfileId; 
  9. public $customerShippingAddressId; 
  10. public $creditCardNumberMasked; 
  11. public $bankRoutingNumberMasked; 
  12. public $bankAccountNumberMasked; 
  13. public $order; 
  14. public $taxExempt; 
  15. public $recurringBilling; 
  16. public $cardCode; 
  17. public $splitTenderId; 
  18. public $approvalCode; 
  19. public $transId; 
  20.  
  21. public function __construct() 
  22. $this->tax = (object)array(); 
  23. $this->tax->amount = ""; 
  24. $this->tax->name = ""; 
  25. $this->tax->description = ""; 
  26.  
  27. $this->shipping = (object)array(); 
  28. $this->shipping->amount = ""; 
  29. $this->shipping->name = ""; 
  30. $this->shipping->description = ""; 
  31.  
  32. $this->duty = (object)array(); 
  33. $this->duty->amount = ""; 
  34. $this->duty->name = ""; 
  35. $this->duty->description = ""; 
  36.  
  37. // line items 
  38.  
  39. $this->order = (object)array(); 
  40. $this->order->invoiceNumber = ""; 
  41. $this->order->description = ""; 
  42. $this->order->purchaseOrderNumber = ""; 
  43.