You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -190,7 +190,7 @@ export class AbstractFulfillmentProviderService
190
190
/**
191
191
* This method validates whether a shippin option's price can be calculated during checkout. It's executed when the admin user creates a shipping
192
192
* option of type `calculated`. If this method returns `false`, an error is thrown as the shipping option's price can't be calculated.
193
-
*
193
+
*
194
194
* You can perform the checking using the third-party provider if applicable. The `data` parameter will hold the shipping option's `data` property, which
195
195
* includes the data of a fulfillment option returned by {@link getFulfillmentOptions}.
196
196
*
@@ -232,10 +232,10 @@ export class AbstractFulfillmentProviderService
232
232
* class MyFulfillmentProviderService extends AbstractFulfillmentProviderService {
233
233
* // ...
234
234
* async calculatePrice(
235
-
optionData: Record<string, unknown>,
236
-
data: Record<string, unknown>,
237
-
context: any
238
-
): Promise<CalculatedShippingOptionPrice> {
235
+
* optionData: Record<string, unknown>,
236
+
* data: Record<string, unknown>,
237
+
* context: any
238
+
* ): Promise<CalculatedShippingOptionPrice> {
239
239
* // assuming the client can calculate the price using
0 commit comments