@@ -17,9 +17,8 @@ namespace {{invokerPackage}};
1717use BadMethodCallException;
1818use RuntimeException;
1919use {{ apiPackage }} \CP\ContentProviderApi;
20- use {{ apiPackage }} \DSV\DropShipVendorApi;
2120use {{ apiPackage }} \MP\MarketplaceApi;
22- use {{ apiPackage }} \WS\WarehouseSupplierApi ;
21+ use {{ apiPackage }} \Supplier\SupplierApi ;
2322use {{ invokerPackage }} \Configuration;
2423
2524abstract class Walmart
@@ -93,14 +92,14 @@ abstract class Walmart
9392 }
9493
9594 /**
96- * Return an instance of the Drop Ship Vendor API provider.
95+ * Return an instance of the 1P Supplier API provider.
9796 *
9897 * @param Configuration $config
99- * @return DropShipVendorApi
98+ * @return SupplierApi
10099 */
101- public static function dropShipVendor (Configuration $config): DropShipVendorApi
100+ public static function supplier (Configuration $config): SupplierApi
102101 {
103- return new DropShipVendorApi ($config);
102+ return new SupplierApi ($config);
104103 }
105104
106105 /**
@@ -113,15 +112,4 @@ abstract class Walmart
113112 {
114113 return new MarketplaceApi($config);
115114 }
116-
117- /**
118- * Return an instance of the Warehouse Supplier API provider.
119- *
120- * @param Configuration $config
121- * @return WarehouseSupplierApi
122- */
123- public static function warehouseSupplier(Configuration $config): WarehouseSupplierApi
124- {
125- return new WarehouseSupplierApi($config);
126- }
127115}
0 commit comments