Skip to content

Commit 8932032

Browse files
authored
Merge pull request #6793 from busrasengul/patch-4
Update shipping-providers.md
2 parents d529098 + a14fbde commit 8932032

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

13/umbraco-commerce/key-concepts/shipping-providers.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,16 @@ public class MyShippingProvider : ShippingProviderBase<MyShippingProviderSettin
2626
public class MyShippingProviderSettings
2727
{
2828
[ShippingProviderSetting(Name = "API Key",
29-
Description = "The API key to the shipping opperators API",
29+
Description = "The API key to the shipping operators API",
3030
SortOrder = 100)]
31-
public string ApieKey { get; set; }
31+
public string ApiKey { get; set; }
3232

3333
...
3434
}
3535

3636
```
3737

38-
All Shipping Providers inherit from a base class `ShippingProviderBase<TSettings>`. `TSettings` is the type of a Plain Old Class Object (POCO) model class representing the Shipping Providers settings. The class must be decorated with `ShippingProviderAttribute` which defines the Shipping Providers `alias`, `name` and `description`, and can also specify an `icon` to be displayed in the Umbraco Commerce backoffice.
38+
All Shipping Providers inherit from a base class `ShippingProviderBase<TSettings>`. `TSettings` is the type of a Plain Old Class Object (POCO) model class representing the Shipping Provider's settings. The class must be decorated with `ShippingProviderAttribute` which defines the Shipping Providers `alias`, `name` and `description`, and can also specify an `icon` to be displayed in the Umbraco Commerce backoffice.
3939

4040
The settings class consists of a series of properties, each decorated with a `ShippingProviderSettingAttribute` defining a name, description, and possible angular editor view file. These will all be used to dynamically build an editor interface for the given settings in the backoffice.
4141

0 commit comments

Comments
 (0)