for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the slince/shopify-api-php
*
* (c) Slince <[email protected]>
* This source file is subject to the MIT license that is bundled
* with this source code in the file LICENSE.
*/
namespace Slince\Shopify\Manager\Order;
use Slince\Shopify\Common\Model\Model;
class DiscountAllocation extends Model
{
/**
* @var string
protected $amount;
protected $discountApplicationIndex;
* @return string
public function getAmount()
return $this->amount;
}
* @param string $amount
* @return DiscountAllocation
public function setAmount($amount)
$this->amount = $amount;
return $this;
public function getDiscountApplicationIndex()
return $this->discountApplicationIndex;
* @param string $discountApplicationIndex
public function setDiscountApplicationIndex($discountApplicationIndex)
$this->discountApplicationIndex = $discountApplicationIndex;