-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0497f49
commit 13ac584
Showing
8 changed files
with
1,535 additions
and
0 deletions.
There are no files selected for viewing
28 changes: 28 additions & 0 deletions
28
src/Payment/Saferpay/Data/Billpay/BillpayPayCompleteParameter.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?php | ||
|
||
namespace Payment\Saferpay\Data\Billpay; | ||
|
||
use Payment\Saferpay\Data\AbstractGetSet; | ||
use Payment\Saferpay\Data\SubBaseInterface; | ||
|
||
class BillpayPayCompleteParameter extends AbstractGetSet implements BillpayPayCompleteParameterInterface, SubBaseInterface | ||
{ | ||
/** | ||
* @param string $popDeplay | ||
* @return $this | ||
*/ | ||
public function setPobDelay($popDeplay) | ||
{ | ||
$this->set('POB_DELAY', $popDeplay); | ||
|
||
return $this; | ||
} | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getPobDelay() | ||
{ | ||
return $this->get('POB_DELAY'); | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
src/Payment/Saferpay/Data/Billpay/BillpayPayCompleteParameterInterface.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
<?php | ||
|
||
namespace Payment\Saferpay\Data\Billpay; | ||
|
||
interface BillpayPayCompleteParameterInterface | ||
{ | ||
/** | ||
* optional, only on buy with invoice | ||
* An additional invoice payment delay to the usual 20 or 30 days, default is 0 | ||
*/ | ||
const POB_DELAY = 'n[..2]'; | ||
|
||
/** | ||
* @param string $pobDelay | ||
* @return $this | ||
*/ | ||
public function setPobDelay($pobDelay); | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getPobDelay(); | ||
} |
28 changes: 28 additions & 0 deletions
28
src/Payment/Saferpay/Data/Billpay/BillpayPayCompleteResponse.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<?php | ||
|
||
namespace Payment\Saferpay\Data\Billpay; | ||
|
||
use Payment\Saferpay\Data\AbstractGetSet; | ||
use Payment\Saferpay\Data\SubBaseInterface; | ||
|
||
class BillpayPayCompleteResponse extends AbstractGetSet implements BillpayPayCompleteResponseInterface, SubBaseInterface | ||
{ | ||
/** | ||
* @param string $pobDuedate | ||
* @return $this | ||
*/ | ||
public function setPobDuedate($pobDuedate) | ||
{ | ||
$this->set('POB_DUEDATE', $pobDuedate); | ||
|
||
return $this; | ||
} | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getPobDuedate() | ||
{ | ||
return $this->get('POB_DUEDATE'); | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
src/Payment/Saferpay/Data/Billpay/BillpayPayCompleteResponseInterface.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php | ||
|
||
namespace Payment\Saferpay\Data\Billpay; | ||
|
||
interface BillpayPayCompleteResponseInterface | ||
{ | ||
/** | ||
* optional, only on buy with invoice | ||
* Defines the date until the customer has to pay the bill | ||
* Format: YYYYMMDD | ||
*/ | ||
const POB_DUEDATE = 'n[8]'; | ||
|
||
/** | ||
* @param string $pobDuedate | ||
* @return $this | ||
*/ | ||
public function setPobDuedate($pobDuedate); | ||
|
||
/** | ||
* @return string | ||
*/ | ||
public function getPobDuedate(); | ||
} |
Oops, something went wrong.