Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix submerchant parameter for SettlementRequest, ReportBySettlementRequest and ReportRequest #96

Merged
merged 1 commit into from
Jul 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading