Skip to content

Commit

Permalink
Adjust return type around payment details
Browse files Browse the repository at this point in the history
  • Loading branch information
zaporylie committed Aug 1, 2024
1 parent a2bff92 commit dd6bd9d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/Model/Checkout/v3/WalletPaymentDetails.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ class WalletPaymentDetails
protected $amount;

/**
* @var int
* @var string
* @Serializer\Type("integer")
*/
protected $state;

/**
* @var \zaporylie\Vipps\Model\Checkout\v3\Aggregate
* @var \zaporylie\Vipps\Model\Checkout\v3\Aggregate|null
* @Serializer\Type("zaporylie\Vipps\Model\Checkout\v3\Aggregate")
*/
protected $aggregate;
Expand All @@ -43,18 +43,18 @@ public function getAmount(): Amount {
/**
* Gets state value.
*
* @return int
* @return string
*/
public function getState(): int {
public function getState(): string {
return $this->state;
}

/**
* Gets aggregate value.
*
* @return \zaporylie\Vipps\Model\Checkout\v3\Aggregate
* @return \zaporylie\Vipps\Model\Checkout\v3\Aggregate|null
*/
public function getAggregate(): Aggregate {
public function getAggregate(): ?Aggregate {
return $this->aggregate;
}

Expand Down

0 comments on commit dd6bd9d

Please sign in to comment.