Skip to content

Commit

Permalink
Update shipping-providers.md
Browse files Browse the repository at this point in the history
  • Loading branch information
busrasengul authored Jan 14, 2025
1 parent 16db790 commit 280c858
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 13/umbraco-commerce/key-concepts/shipping-providers.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ public class MyShippingProviderSettings
[ShippingProviderSetting(Name = "API Key",
Description = "The API key to the shipping opperators API",
SortOrder = 100)]
public string ApieKey { get; set; }
public string ApiKey { get; set; }

...
}

```

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.
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.

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.

Expand Down

0 comments on commit 280c858

Please sign in to comment.