Skip to content

Commit

Permalink
shippingAmountExcluded added (#190)
Browse files Browse the repository at this point in the history
Co-authored-by: byasar <byasar@gmail.com>
  • Loading branch information
byasarcse and byasar authored May 28, 2024
1 parent 053eac8 commit 0cfa5d3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/Iyzipay/Request/CreateCheckoutFormInitializeRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ class CreateCheckoutFormInitializeRequest extends Request
private $posOrderId;
private $enabledInstallments;
private $debitCardAllowed;
private $shippingAmountExcluded;

public function getPrice()
{
Expand Down Expand Up @@ -185,6 +186,16 @@ public function getDebitCardAllowed()
return $this->debitCardAllowed;
}

public function setShippingAmountExcluded($shippingAmountExcluded)
{
$this->shippingAmountExcluded = $shippingAmountExcluded;
}

public function getShippingAmountExcluded()
{
return $this->shippingAmountExcluded;
}

public function getJsonObject()
{
return JsonBuilder::fromJsonObject(parent::getJsonObject())
Expand All @@ -204,6 +215,7 @@ public function getJsonObject()
->add("cardUserKey", $this->getCardUserKey())
->addArray("enabledInstallments", $this->getEnabledInstallments())
->add("debitCardAllowed", $this->getDebitCardAllowed())
->add("shippingAmountExcluded", $this->getShippingAmountExcluded())
->getObject();
}

Expand Down

0 comments on commit 0cfa5d3

Please sign in to comment.