Commit 819f569b authored by Tomek Jankowski's avatar Tomek Jankowski

update to support recurring transacitons

parent c5bbed9b
...@@ -34,7 +34,33 @@ class Operation extends FragmentAbstract ...@@ -34,7 +34,33 @@ class Operation extends FragmentAbstract
$this->options["parenttransactionreference"] = $reference; $this->options["parenttransactionreference"] = $reference;
return $this; return $this;
} }
/**
* Set the subscriptionnumber.
*/
public function setSubscriptionNumber($number)
{
$this->options["subscriptionnumber"] = $number;
return $this;
}
/**
* Set the subscriptiontype.
*/
public function setSubscriptionType($type)
{
$this->options["subscriptiontype"] = $type;
return $this;
}
/**
* Set the credentialsonfile 1 - store, 2 - use stored, not set - do not store
*/
public function setCredentialsOnFile($number)
{
$this->options["credentialsonfile"] = $number;
return $this;
}
/** /**
* Set the site reference that is being used in this operation. * Set the site reference that is being used in this operation.
...@@ -76,4 +102,4 @@ class Operation extends FragmentAbstract ...@@ -76,4 +102,4 @@ class Operation extends FragmentAbstract
$this->options["pares"] = $value; $this->options["pares"] = $value;
return $this; return $this;
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment