public abstract class Customer<TAddress, TPhone, TFax, TEmail, TWebsite, TAffiliation> : NetForumEntity,
ICustomerWithFinancialData, ICustomerIdentity, ICustomer
where TAddress : CustomerAddress
where TPhone : CustomerPhone
where TFax : CustomerFax
where TEmail : CustomerEmail
where TWebsite : CustomerWebsite
where TAffiliation : CustomerAffiliation
Public MustInherit Class Customer(Of TAddress As CustomerAddress, TPhone As CustomerPhone, TFax As CustomerFax, TEmail As CustomerEmail, TWebsite As CustomerWebsite, TAffiliation As CustomerAffiliation)
Inherits NetForumEntity
Implements ICustomerWithFinancialData, ICustomerIdentity, ICustomer
generic<typename TAddress, typename TPhone, typename TFax, typename TEmail, typename TWebsite, typename TAffiliation>
where TAddress : CustomerAddress
where TPhone : CustomerPhone
where TFax : CustomerFax
where TEmail : CustomerEmail
where TWebsite : CustomerWebsite
where TAffiliation : CustomerAffiliation
public ref class Customer abstract : public NetForumEntity,
ICustomerWithFinancialData, ICustomerIdentity, ICustomer
[<AbstractClassAttribute>]
type Customer<'TAddress, 'TPhone, 'TFax, 'TEmail, 'TWebsite, 'TAffiliation when 'TAddress : CustomerAddress when 'TPhone : CustomerPhone when 'TFax : CustomerFax when 'TEmail : CustomerEmail when 'TWebsite : CustomerWebsite when 'TAffiliation : CustomerAffiliation> =
class
inherit NetForumEntity
interface ICustomerWithFinancialData
interface ICustomerIdentity
interface ICustomer
end
CustomerTAddress, TPhone, TFax, TEmail, TWebsite, TAffiliation | Initializes a new instance of the CustomerTAddress, TPhone, TFax, TEmail, TWebsite, TAffiliation class |
Addresses | |
CustomerType | |
DefaultBillingAddress | |
Emails | |
Faxes | |
Id |
Primary key of the NetFORUM entity.
(Inherited from NetForumEntity) |
Invoices | Collection of Invoices on which this customer is the Primary Customer, the Bill-To Customer, or the Billing Contact. |
IsMember | A flag indicating if the customer is a member. Note that a customer may receive member benefits, but not actually be a member themselves. See ReceivesMemberBenefits for this. |
Orders | Collection of Orders on which this customer is the Primary Customer, the Bill-To Customer, or the Billing Contact. |
Password | A write-only property for setting this customer's password. To validate passwords, use NetForumAuthenticationManager. |
Payments | Collection of Payments made by this customer. |
Phones | |
PrimaryAddress | |
PrimaryEmail | |
PrimaryFax | |
PrimaryPhone | |
PrimaryWebsite | |
ReceivesMemberBenefits | A flag indicating if the customer receives member benefits. Note that a customer may receive member benefits, but not actually be a member themselves. See IsMember for this. |
RecordNumber | |
RecordNumberId | |
RevisionInformation | (Inherited from NetForumEntity) |
SavedCreditCards | The credit cards saved to netFORUM under this user. |
SortName | |
WebLogin | A unique username, typically used to identify this customer when authenticating against netFORUM |
Websites |
CastToCustomEntityTEntity |
Safely cast this entity to a custom user-defined type, as configured via the current CustomEntityRegistrar.
(Inherited from NetForumEntity) |