Class CustomerPricing
Inheritance
System.Object
CustomerPricing
Implements
System.IEquatable<CustomerPricing>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.Pricing
Assembly: Mediachase.Commerce.dll
Version: 10.8.0Syntax
public class CustomerPricing : IEquatable<CustomerPricing>
Constructors
CustomerPricing()
Initializes a new instance of the CustomerPricing class.
Declaration
public CustomerPricing()
CustomerPricing(CustomerPricing.PriceType, String)
Initializes a new instance of the CustomerPricing class.
Declaration
public CustomerPricing(CustomerPricing.PriceType priceTypeId, string priceCode)
Parameters
Type | Name | Description |
---|---|---|
CustomerPricing.PriceType | priceTypeId | |
System.String | priceCode |
Fields
AllCustomers
Declaration
public static readonly CustomerPricing AllCustomers
Field Value
Type | Description |
---|---|
CustomerPricing |
Properties
PriceCode
Gets the price code data.
Declaration
public string PriceCode { get; }
Property Value
Type | Description |
---|---|
System.String | The price code. The meaning of this depends on the value of PriceTypeId. |
PriceTypeId
Gets the price type id.
Declaration
public CustomerPricing.PriceType PriceTypeId { get; }
Property Value
Type | Description |
---|---|
CustomerPricing.PriceType | The price type id. |
Methods
Equals(CustomerPricing)
Declaration
public bool Equals(CustomerPricing other)
Parameters
Type | Name | Description |
---|---|---|
CustomerPricing | other |
Returns
Type | Description |
---|---|
System.Boolean |
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Object.Equals(System.Object)
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Object.GetHashCode()
Operators
Equality(CustomerPricing, CustomerPricing)
Declaration
public static bool operator ==(CustomerPricing objA, CustomerPricing objB)
Parameters
Type | Name | Description |
---|---|---|
CustomerPricing | objA | |
CustomerPricing | objB |
Returns
Type | Description |
---|---|
System.Boolean |
Inequality(CustomerPricing, CustomerPricing)
Declaration
public static bool operator !=(CustomerPricing objA, CustomerPricing objB)
Parameters
Type | Name | Description |
---|---|---|
CustomerPricing | objA | |
CustomerPricing | objB |
Returns
Type | Description |
---|---|
System.Boolean |
Implements
System.IEquatable<T>