Skip to content

Commit

Permalink
Added missing new checkout methods to test dummy
Browse files Browse the repository at this point in the history
  • Loading branch information
fulopattila122 committed Feb 26, 2024
1 parent f207f3f commit cb15431
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions src/Checkout/Tests/Example/MemoryStore.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
use Vanilo\Contracts\Address;
use Vanilo\Contracts\Billpayer;
use Vanilo\Contracts\CheckoutSubject;
use Vanilo\Contracts\DetailedAmount;

class MemoryStore implements CheckoutStore
{
Expand Down Expand Up @@ -111,6 +112,26 @@ public function getCustomAttributes(): array
return $this->customAttributes;
}

public function getShippingAmount(): DetailedAmount
{
return new \Vanilo\Support\Dto\DetailedAmount(0);
}

public function setShippingAmount(float|DetailedAmount $amount): void
{
// TODO: Implement setShippingAmount() method.
}

public function getTaxesAmount(): DetailedAmount
{
return new \Vanilo\Support\Dto\DetailedAmount(0);
}

public function setTaxesAmount(float|DetailedAmount $amount): void
{
// TODO: Implement setTaxesAmount() method.
}

public function update(array $data)
{
// TODO: Implement update() method.
Expand Down

0 comments on commit cb15431

Please sign in to comment.