Skip to content

Commit

Permalink
Change type of customerCost
Browse files Browse the repository at this point in the history
  • Loading branch information
inserve-paul committed Apr 24, 2024
1 parent 99bdcbc commit b4d6a10
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/Models/BillingData.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class BillingData
protected ?string $skuName = null;
protected ?string $billingCycle = null;
protected ?float $sellerCost = null;
protected ?float $customerCost = null;
protected int|float|null $customerCost = null;
protected ?float $margin = null;
protected ?int $usageQuantity = null;
protected ?string $currency = null;
Expand Down Expand Up @@ -76,9 +76,9 @@ public function getSellerCost(): ?float
}

/**
* @return float|null
* @return int|float|null
*/
public function getCustomerCost(): ?float
public function getCustomerCost(): int|float|null
{
return $this->customerCost;
}
Expand Down Expand Up @@ -192,11 +192,11 @@ public function setSellerCost(?float $sellerCost): self
}

/**
* @param float|null $customerCost
* @param int|float|null $customerCost
*
* @return $this
*/
public function setCustomerCost(?float $customerCost): self
public function setCustomerCost(int|float|null $customerCost): self
{
$this->customerCost = $customerCost;

Expand Down

0 comments on commit b4d6a10

Please sign in to comment.