Skip to content

Commit

Permalink
Merge 3b46e22 into 482c70c
Browse files Browse the repository at this point in the history
  • Loading branch information
codesource committed Apr 28, 2022
2 parents 482c70c + 3b46e22 commit 378e7ef
Show file tree
Hide file tree
Showing 9 changed files with 558 additions and 22 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Have a look at the [example folder](/example) for more.
Find the most current documentation of the Saferpay JSON API here:<br>
https://saferpay.github.io/jsonapi/

This library is currently based on v1.18 of the Saferpay JSON API.
This library is currently based on v1.20 of the Saferpay JSON API.

## Contribution
You are [welcome to contribute](/.github/contributing.md) to this repo.
25 changes: 25 additions & 0 deletions lib/SaferpayJson/Request/Container/Options.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,12 @@ final class Options
*/
private $preAuth;

/**
* @var bool|null
* @SerializedName("AllowPartialAuthorization")
*/
private $allowPartialAuthorization;

public function isPreAuth(): ?bool
{
return $this->preAuth;
Expand All @@ -24,4 +30,23 @@ public function setPreAuth(?bool $preAuth): self

return $this;
}

/**
* @return bool|null
*/
public function getAllowPartialAuthorization(): ?bool
{
return $this->allowPartialAuthorization;
}

/**
* @param bool|null $allowPartialAuthorization
* @return Options
*/
public function setAllowPartialAuthorization(?bool $allowPartialAuthorization): self
{
$this->allowPartialAuthorization = $allowPartialAuthorization;

return $this;
}
}

0 comments on commit 378e7ef

Please sign in to comment.