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
a20191d4
Commit
a20191d4
authored
Jun 29, 2021
by
Tomek Jankowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added filter for TRANSACTIONQUERY request
parent
180d27f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
0 deletions
+45
-0
lib/Fragment/Filter.php
lib/Fragment/Filter.php
+45
-0
No files found.
lib/Fragment/Filter.php
0 → 100644
View file @
a20191d4
<?php
/**
* PHP based wrapper for SecureTrading's new STPP protocol.
*
* This is the object that represents a filter.
*
*
* @version: 2.0.0
* @author: Tomek J
*/
namespace
OUTRAGElib\Payment\STPP\Fragment
;
class
Filter
extends
FragmentAbstract
{
public
function
setOrderreference
(
$val
)
{
$this
->
options
[
"orderreference"
]
=
$val
;
return
$this
;
}
public
function
setParenttransactionreference
(
$val
)
{
$this
->
options
[
"parenttransactionreference"
]
=
$val
;
return
$this
;
}
public
function
setRequesttypedescription
(
$val
)
{
$this
->
options
[
"requesttypedescription"
]
=
$val
;
return
$this
;
}
public
function
setTransactionreference
(
$val
)
{
$this
->
options
[
"transactionreference"
]
=
$val
;
return
$this
;
}
}
\ No newline at end of file
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