Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
P
php-stpp
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
common
php-stpp
Commits
493a39d8
Commit
493a39d8
authored
Jun 29, 2021
by
Tomek Jankowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update Request.php
parent
a20191d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
lib/Request.php
lib/Request.php
+17
-0
No files found.
lib/Request.php
View file @
493a39d8
...
@@ -14,6 +14,7 @@ use \OUTRAGElib\Payment\STPP\Fragment\Customer;
...
@@ -14,6 +14,7 @@ use \OUTRAGElib\Payment\STPP\Fragment\Customer;
use
\OUTRAGElib\Payment\STPP\Fragment\Merchant
;
use
\OUTRAGElib\Payment\STPP\Fragment\Merchant
;
use
\OUTRAGElib\Payment\STPP\Fragment\Operation
;
use
\OUTRAGElib\Payment\STPP\Fragment\Operation
;
use
\OUTRAGElib\Payment\STPP\Fragment\Settlement
;
use
\OUTRAGElib\Payment\STPP\Fragment\Settlement
;
use
\OUTRAGElib\Payment\STPP\Fragment\Filter
;
use
\OUTRAGElib\Payment\STPP\Response
;
use
\OUTRAGElib\Payment\STPP\Response
;
use
\SimpleXMLElement
;
use
\SimpleXMLElement
;
...
@@ -90,6 +91,22 @@ class Request
...
@@ -90,6 +91,22 @@ class Request
}
}
public
function
setFilter
(
Filter
$filter
)
{
$this
->
objects
[
"filter"
]
=
$filter
;
return
$this
;
}
public
function
getFilter
()
{
if
(
!
isset
(
$this
->
objects
[
"filter"
]))
$this
->
objects
[
"filter"
]
=
new
Filter
();
return
$this
->
objects
[
"filter"
];
}
/**
/**
* Sets the merchant object - you can either separately supply an object
* Sets the merchant object - you can either separately supply an object
* that represents a merchant, or you can use the simulated methods which
* that represents a merchant, or you can use the simulated methods which
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment