Class Organization
Represents organization.
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.Customers
Assembly: Mediachase.Commerce.dll
Version: 13.30.0Syntax
public class Organization : OrganizationEntity
Constructors
Organization()
Declaration
public Organization()
Fields
TextProperties
Declaration
public static IEnumerable<string> TextProperties
Field Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.String> |
Properties
Addresses
Gets the addresses.
Declaration
public IEnumerable<CustomerAddress> Addresses { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<CustomerAddress> | The addresses. |
BusinessCategory
Gets or sets the business category.
Declaration
public string BusinessCategory { get; set; }
Property Value
Type | Description |
---|---|
System.String | The business category. |
ChildOrganizations
Gets the child organizations.
Declaration
public IEnumerable<Organization> ChildOrganizations { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<Organization> | The child organizations. |
Contacts
Gets the contacts.
Declaration
public IEnumerable<CustomerContact> Contacts { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<CustomerContact> | The contacts. |
CreditCards
Gets the credit cards.
Declaration
public IEnumerable<CreditCard> CreditCards { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<CreditCard> | The credit cards. |
OrganizationType
Gets or sets the type of the organization.
Declaration
public string OrganizationType { get; set; }
Property Value
Type | Description |
---|---|
System.String | The type of the organization. |
OrgCustomerGroup
Gets or sets the customer group.
Declaration
public string OrgCustomerGroup { get; set; }
Property Value
Type | Description |
---|---|
System.String | The customer group. |
Methods
CheckParentOrganizationValid(PrimaryKeyId, PrimaryKeyId)
Checks the parent organization valid.
Declaration
public static bool CheckParentOrganizationValid(PrimaryKeyId orgId, PrimaryKeyId parentId)
Parameters
Type | Name | Description |
---|---|---|
PrimaryKeyId | orgId | The org id. |
PrimaryKeyId | parentId | The parent id. |
Returns
Type | Description |
---|---|
System.Boolean |
CreateInstance()
Creates the instance.
Declaration
public static Organization CreateInstance()
Returns
Type | Description |
---|---|
Organization |
DeleteOrganizationOnly()
Deletes the organization only.
Declaration
public void DeleteOrganizationOnly()
DeleteWithAllDepends()
Deletes the organization with all depends.
Declaration
public void DeleteWithAllDepends()
IsParentOrganizationValid()
Determines whether [is parent organization valid].
Declaration
public bool IsParentOrganizationValid()
Returns
Type | Description |
---|---|
System.Boolean |
|
SaveChanges()
Saves the changes for Organization.
Declaration
public Organization SaveChanges()
Returns
Type | Description |
---|---|
Organization |