Skip to content

Commit

Permalink
Update Shopify API to 2023-10 (#166)
Browse files Browse the repository at this point in the history
* Remove deprecated attribute and getter/setter

* Mark Asset service and model deprecated
  • Loading branch information
mCassy authored Nov 30, 2023
1 parent d5ed49d commit 4e32ae0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 19 deletions.
3 changes: 3 additions & 0 deletions src/Models/Asset.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@
use BoldApps\ShopifyToolkit\Contracts\Serializeable;
use BoldApps\ShopifyToolkit\Traits\HasAttributesTrait;

/**
* @deprecated
*/
class Asset implements Serializeable, \JsonSerializable
{
use HasAttributesTrait;
Expand Down
19 changes: 0 additions & 19 deletions src/Models/Order.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@ class Order implements Serializeable, \JsonSerializable
/** @var string */
protected $financialStatus;

/** @var string */
protected $gateway;

/** @var string */
protected $landingSite;

Expand Down Expand Up @@ -323,14 +320,6 @@ public function getFinancialStatus()
return $this->financialStatus;
}

/**
* @return string
*/
public function getGateway()
{
return $this->gateway;
}

/**
* @return string
*/
Expand Down Expand Up @@ -811,14 +800,6 @@ public function setEmail($email)
$this->email = $email;
}

/**
* @param string $gateway
*/
public function setGateway($gateway)
{
$this->gateway = $gateway;
}

/**
* @param string $landingSite
*/
Expand Down
3 changes: 3 additions & 0 deletions src/Services/Asset.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
use BoldApps\ShopifyToolkit\Services\Theme as ShopifyThemeService;
use Illuminate\Support\Collection;

/**
* @deprecated
*/
class Asset extends Base
{
/**
Expand Down

0 comments on commit 4e32ae0

Please sign in to comment.