-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into feat/improve-code-quality-rector
- Loading branch information
Showing
155 changed files
with
30,597 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"symbol-whitelist" : [ | ||
"apcu_enabled", | ||
"apcu_fetch", | ||
"apcu_store" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,101 @@ | ||
<?php | ||
|
||
/*********************************************************************************************************************** | ||
* This file is auto-generated. If you have an issue, please create a GitHub issue. * | ||
***********************************************************************************************************************/ | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Shopify\Rest\Admin2024_04; | ||
|
||
use Shopify\Auth\Session; | ||
use Shopify\Rest\Base; | ||
|
||
/** | ||
* @property string|null $abandoned_checkout_url | ||
* @property array|null $billing_address | ||
* @property bool|null $buyer_accepts_marketing | ||
* @property bool|null $buyer_accepts_sms_marketing | ||
* @property string|null $cart_token | ||
* @property string|null $closed_at | ||
* @property string|null $completed_at | ||
* @property string|null $created_at | ||
* @property Currency|null $currency | ||
* @property Customer|null $customer | ||
* @property string|null $customer_locale | ||
* @property int|null $device_id | ||
* @property DiscountCode[]|null $discount_codes | ||
* @property string|null $email | ||
* @property string|null $gateway | ||
* @property int|null $id | ||
* @property string|null $landing_site | ||
* @property array|null $line_items | ||
* @property int|null $location_id | ||
* @property string|null $note | ||
* @property string|null $phone | ||
* @property string|null $presentment_currency | ||
* @property string|null $referring_site | ||
* @property array|null $shipping_address | ||
* @property array|null $shipping_lines | ||
* @property string|null $sms_marketing_phone | ||
* @property string|null $source_name | ||
* @property string|null $subtotal_price | ||
* @property array|null $tax_lines | ||
* @property bool|null $taxes_included | ||
* @property string|null $token | ||
* @property string|null $total_discounts | ||
* @property string|null $total_duties | ||
* @property string|null $total_line_items_price | ||
* @property string|null $total_price | ||
* @property string|null $total_tax | ||
* @property int|null $total_weight | ||
* @property string|null $updated_at | ||
* @property int|null $user_id | ||
*/ | ||
class AbandonedCheckout extends Base | ||
{ | ||
public static string $API_VERSION = "2024-04"; | ||
protected static array $HAS_ONE = [ | ||
"currency" => Currency::class, | ||
"customer" => Customer::class | ||
]; | ||
protected static array $HAS_MANY = [ | ||
"discount_codes" => DiscountCode::class | ||
]; | ||
protected static array $PATHS = [ | ||
["http_method" => "get", "operation" => "checkouts", "ids" => [], "path" => "checkouts.json"], | ||
["http_method" => "get", "operation" => "checkouts", "ids" => [], "path" => "checkouts.json"] | ||
]; | ||
|
||
/** | ||
* @param Session $session | ||
* @param array $urlIds | ||
* @param mixed[] $params Allowed indexes: | ||
* since_id, | ||
* created_at_min, | ||
* created_at_max, | ||
* updated_at_min, | ||
* updated_at_max, | ||
* status, | ||
* limit | ||
* | ||
* @return array|null | ||
*/ | ||
public static function checkouts( | ||
Session $session, | ||
array $urlIds = [], | ||
array $params = [] | ||
): ?array { | ||
$response = parent::request( | ||
"get", | ||
"checkouts", | ||
$session, | ||
[], | ||
$params, | ||
[], | ||
); | ||
|
||
return $response->getDecodedBody(); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
<?php | ||
|
||
/*********************************************************************************************************************** | ||
* This file is auto-generated. If you have an issue, please create a GitHub issue. * | ||
***********************************************************************************************************************/ | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Shopify\Rest\Admin2024_04; | ||
|
||
use Shopify\Auth\Session; | ||
use Shopify\Rest\Base; | ||
|
||
/** | ||
* @property string $handle | ||
* @property array[]|null $access_scopes | ||
*/ | ||
class AccessScope extends Base | ||
{ | ||
public static string $API_VERSION = "2024-04"; | ||
protected static array $HAS_ONE = []; | ||
protected static array $HAS_MANY = []; | ||
protected static ?string $CUSTOM_PREFIX = "/admin/oauth"; | ||
protected static array $PATHS = [ | ||
["http_method" => "get", "operation" => "get", "ids" => [], "path" => "access_scopes.json"] | ||
]; | ||
|
||
/** | ||
* @param Session $session | ||
* @param array $urlIds | ||
* @param mixed[] $params | ||
* | ||
* @return AccessScope[] | ||
*/ | ||
public static function all( | ||
Session $session, | ||
array $urlIds = [], | ||
array $params = [] | ||
): array { | ||
return parent::baseFind( | ||
$session, | ||
[], | ||
$params, | ||
); | ||
} | ||
|
||
} |
Oops, something went wrong.