Skip to content

Commit

Permalink
Merge pull request paytrail#96 from paytrail/fix-report/settlement-su…
Browse files Browse the repository at this point in the history
…bmerchant

Fix submerchant parameter for SettlementRequest, ReportBySettlementRequest and ReportRequest
  • Loading branch information
loueranta-paytrail authored Jul 29, 2024
2 parents 7036f74 + 369da1a commit e7fc7ab
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions src/Request/ReportBySettlementRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class ReportBySettlementRequest implements \JsonSerializable
protected $requestType;
protected $callbackUrl;
protected $reportFields;
protected $subMerchant;
protected $submerchant;

public function validate()
{
Expand Down Expand Up @@ -74,12 +74,12 @@ public function setReportFields(array $reportFields): self
/**
* Set submerchant.
*
* @param int $subMerchant
* @param int $submerchant
* @return $this
*/
public function setSubMerchant(int $subMerchant): self
public function setSubMerchant(int $submerchant): self
{
$this->subMerchant = $subMerchant;
$this->submerchant = $submerchant;
return $this;
}

Expand Down
8 changes: 4 additions & 4 deletions src/Request/ReportRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class ReportRequest implements \JsonSerializable
private $endDate;
private $limit;
private $reportFields;
private $subMerchant;
private $submerchant;

public function validate()
{
Expand Down Expand Up @@ -164,12 +164,12 @@ public function setReportFields(array $reportFields): self
/**
* Set submerchant.
*
* @param int $subMerchant
* @param int $submerchant
* @return $this
*/
public function setSubMerchant(int $subMerchant): self
public function setSubMerchant(int $submerchant): self
{
$this->subMerchant = $subMerchant;
$this->submerchant = $submerchant;
return $this;
}

Expand Down
8 changes: 4 additions & 4 deletions src/Request/SettlementRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ class SettlementRequest implements \JsonSerializable
protected $endDate;
protected $reference;
protected $limit;
protected $subMerchant;
protected $submerchant;

public function validate()
{
Expand Down Expand Up @@ -102,12 +102,12 @@ public function setLimit(int $limit): self
/**
* Set submerchant.
*
* @param int $subMerchant
* @param int $submerchant
* @return $this
*/
public function setSubMerchant(int $subMerchant): self
public function setSubMerchant(int $submerchant): self
{
$this->subMerchant = $subMerchant;
$this->submerchant = $submerchant;
return $this;
}

Expand Down

0 comments on commit e7fc7ab

Please sign in to comment.