Development

Changeset 7005

You must first sign up to be able to contribute.

Changeset 7005

Show
Ignore:
Timestamp:
01/09/08 21:08:19 (11 months ago)
Author:
Stephen.Ostrow
Message:

Adding a setter and getter for custom attributes so you can add anything you want to the transaction. ie x_merchant_emaill

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfAuthorizeNetPlugin/lib/sfAuthorizeNet.class.php

    r6997 r7005  
    814814  { 
    815815    return $this->data['shipping']; 
     816  } 
     817   
     818  public function setCustom($attribute_name, $attribute_value) 
     819  { 
     820    $this->data['custom'][$attribute_name] = $attribute_value; 
     821  } 
     822   
     823  public function getCustom($attribute_name) 
     824  { 
     825    return $this->data['custom'][$attribute_name]; 
    816826  } 
    817827