Interface IShippingService
Namespace: DirectScale.Disco.Extension.Services
Assembly: DirectScale.Disco.Extension.Abstractions.dll
Syntax
public interface IShippingService
Methods
GetShippingMethod(Int32)
Gets the shipping details for a specifc shipMethodId
.
Declaration
Task<ShipMethod> GetShippingMethod(int shipMethodId)
Parameters
Type | Name | Description |
---|---|---|
System. |
shipMethodId | The id to look up. |
Returns
Type | Description |
---|---|
System. |
Shipping method details. |
GetShippingMethods(Address, Int32)
Get possible shipping methods from storeId
to address
.
Declaration
Task<ShipMethod[]> GetShippingMethods(Address address, int storeId)
Parameters
Type | Name | Description |
---|---|---|
Address | address | The address shipping to. |
System. |
storeId | The store the order is being placed from. Zero can be passed in to include all stores. |
Returns
Type | Description |
---|---|
System. |
All possible ship methods. |