@@ -23,7 +23,7 @@ public static function register() {
2323 register_graphql_enum_type (
2424 'CouponIdTypeEnum ' ,
2525 array (
26- 'description ' => __ ( 'The Type of Identifier used to fetch a single resource . Default is ID. ' , 'wp-graphql ' ),
26+ 'description ' => __ ( 'The Type of Identifier used to fetch a single Coupon . Default is ID. ' , 'wp-graphql ' ),
2727 'values ' => array (
2828 'id ' => self ::get_value ( 'id ' ),
2929 'database_id ' => self ::get_value ( 'database_id ' ),
@@ -39,7 +39,7 @@ public static function register() {
3939 register_graphql_enum_type (
4040 'OrderIdTypeEnum ' ,
4141 array (
42- 'description ' => __ ( 'The Type of Identifier used to fetch a single resource . Default is ID. ' , 'wp-graphql ' ),
42+ 'description ' => __ ( 'The Type of Identifier used to fetch a single Order . Default is ID. ' , 'wp-graphql ' ),
4343 'values ' => array (
4444 'id ' => self ::get_value ( 'id ' ),
4545 'database_id ' => self ::get_value ( 'database_id ' ),
@@ -55,7 +55,7 @@ public static function register() {
5555 register_graphql_enum_type (
5656 'ProductIdTypeEnum ' ,
5757 array (
58- 'description ' => __ ( 'The Type of Identifier used to fetch a single resource . Default is ID. ' , 'wp-graphql ' ),
58+ 'description ' => __ ( 'The Type of Identifier used to fetch a single Product . Default is ID. ' , 'wp-graphql ' ),
5959 'values ' => array (
6060 'id ' => self ::get_value ( 'id ' ),
6161 'database_id ' => self ::get_value ( 'database_id ' ),
@@ -72,7 +72,7 @@ public static function register() {
7272 register_graphql_enum_type (
7373 'ProductVariationIdTypeEnum ' ,
7474 array (
75- 'description ' => __ ( 'The Type of Identifier used to fetch a single resource . Default is ID. ' , 'wp-graphql ' ),
75+ 'description ' => __ ( 'The Type of Identifier used to fetch a single ProductVariation . Default is ID. ' , 'wp-graphql ' ),
7676 'values ' => array (
7777 'id ' => self ::get_value ( 'id ' ),
7878 'database_id ' => self ::get_value ( 'database_id ' ),
@@ -83,7 +83,18 @@ public static function register() {
8383 register_graphql_enum_type (
8484 'RefundIdTypeEnum ' ,
8585 array (
86- 'description ' => __ ( 'The Type of Identifier used to fetch a single resource. Default is ID. ' , 'wp-graphql ' ),
86+ 'description ' => __ ( 'The Type of Identifier used to fetch a single Refund. Default is ID. ' , 'wp-graphql ' ),
87+ 'values ' => array (
88+ 'id ' => self ::get_value ( 'id ' ),
89+ 'database_id ' => self ::get_value ( 'database_id ' ),
90+ ),
91+ )
92+ );
93+
94+ register_graphql_enum_type (
95+ 'ShippingMethodIdTypeEnum ' ,
96+ array (
97+ 'description ' => __ ( 'The Type of Identifier used to fetch a single Shipping Method. Default is ID. ' , 'wp-graphql ' ),
8798 'values ' => array (
8899 'id ' => self ::get_value ( 'id ' ),
89100 'database_id ' => self ::get_value ( 'database_id ' ),
0 commit comments