- IAccountProvider
IAccountProvider
Namespace: Middleware.Accounts
Assembly: Middleware
Provides user account services predominantly used by UserAccount.Plugin module. This item must be implemented by the host application and made available via DI.Methods
ChangePassword(Int64, String) | Change a password for a specific user. |
GetAddressOptions(Middleware.AddressOption) | Retrieves the appropriate address options that are available for user addresses. |
GetUserAccountDetails(Int64, String, String, String, Boolean, String, Boolean) | Retrieves default user account details. |
SetUserAccountDetails(Int64, String, String, String, String) | Updates default user account details. The values provided during this request will depend on the AddressOptions rules that are in place. |
ConfirmEmailAddress(Int64, String) | Provides a mechanism whereby the website can confirm the users telephone number. Primarily the site sends a unique code associated with the account, the user then enters the code for verification. |
ConfirmTelephoneNumber(Int64, String) | Provides a mechanism whereby the website can confirm the users telephone number. Primarily the site sends a unique code associated with the account, the user then enters the code for verification. |
CreateAccount(String, String, String, String, String, String, String, String, String, String, String, String, String, Int64) | Creates a new user account. The values provided during this request will depend on the AddressOptions rules that are in place. |
DeleteAccount(Int64) | Delete's a user account |
AccountLock(Int64) | Locks a user account, preventing access to the system |
AccountUnlock(Int64) | Unlocks a user account enabling access to the system |
SetBillingAddress(Int64, Middleware.Address) | Updates a billing address for a specific user. |
GetBillingAddress(Int64) | Retrieves the billing address for a specific user. |
SetDeliveryAddress(Int64, Middleware.Accounts.DeliveryAddress) | Updates a delivery address for a user. |
GetDeliveryAddresses(Int64) | Retrieve all delivery addresses for a specific user. |
GetDeliveryAddress(Int64, Int64) | Retrieves a specific delivery address for a user. |
DeleteDeliveryAddress(Int64, Middleware.Accounts.DeliveryAddress) | Deletes a delivery address for a user. |
AddDeliveryAddress(Int64, Middleware.Accounts.DeliveryAddress) | Adds a new delivery address for the user. |
GetMarketingOptions() | Retrieves marketing preferences available to be viewed on the website. |
GetMarketingPreferences(Int64) | Retrieves marketing preferences for a specific user. |
SetMarketingPreferences(Int64, Middleware.Accounts.Marketing) | Updates marketing preferences for a specific user. |
OrdersGet(Int64) | Retrieves all orders for the user. |
OrderPaid(Middleware.Accounts.Orders.Order, Middleware.PaymentStatus, String) | Indicates that payment was successful for an order. Implemntors would typically need to create an Invoice for the Order item that has been paid for. |
InvoicesGet(Int64) | Retrieve all Invoice items for the user. |