Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
zaporylie committed Aug 30, 2024
1 parent c4c4430 commit 85a5ee1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion examples/checkout/01-checkout-create.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
->setTotalAmount(1000)
->setTotalAmountExcludingTax(800)
->setTotalTaxAmount(200)
->setTaxPercentago(25)]))
->setTaxPercentage(25)]))
->setPaymentDescription('This is test checkout order session'));
$result = $checkout->createCheckoutSession($request);
echo '<pre>';
Expand Down
12 changes: 6 additions & 6 deletions src/Model/Checkout/v3/OrderLine.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class OrderLine
*
* @deprecated Use TaxRate property instead
*/
protected $taxPercentago;
protected $taxPercentage;

/**
* @var int
Expand Down Expand Up @@ -160,18 +160,18 @@ public function setProductUrl(string $productUrl)
}

/**
* Sets taxPercentago variable.
* Sets taxPercentage variable.
*
* @param int $taxPercentago
* @param int $taxPercentage
*
* @return $this
*
* @deprecated
* @see self::$taxPercentago
* @see self::$taxPercentage
*/
public function setTaxPercentago(int $taxPercentago)
public function setTaxPercentage(int $taxPercentage)
{
$this->taxPercentago = $taxPercentago;
$this->taxPercentage = $taxPercentage;
return $this;
}

Expand Down

0 comments on commit 85a5ee1

Please sign in to comment.