Show / Hide Table of Contents

Class PurchaseProductVariant

Wraps a purchase product variant.

Inheritance
System.Object
JTObject
ProductVariant
PurchaseProductVariant
Inherited Members
ProductVariant.ProductVariantId
ProductVariant.ProductId
ProductVariant.ProductName
ProductVariant.ProductVariantName
ProductVariant.ProductAttributeValues
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: Moraware.JobTrackerAPI5
Assembly: JobTrackerAPI5.dll
Syntax
public class PurchaseProductVariant : ProductVariant

Constructors

PurchaseProductVariant(Int32)

Defines a reference to an existing PurchaseProductVariant by id.

Declaration
public PurchaseProductVariant(int purchaseProductVariantId_)
Parameters
Type Name Description
System.Int32 purchaseProductVariantId_

Identifies a specific PurchaseProductVariant.

PurchaseProductVariant(Int32, IEnumerable<ProductAttributeValue>)

Defines a reference to a PurchaseProductVariant given a PurchaseProduct and set of ProductAttributeValues.

Declaration
public PurchaseProductVariant(int purchaseProductId_, IEnumerable<ProductAttributeValue> productAttributeValues_)
Parameters
Type Name Description
System.Int32 purchaseProductId_

Identifies the PurchaseProduct.

System.Collections.Generic.IEnumerable<ProductAttributeValue> productAttributeValues_

The values of the associated ProductAttributeTypes that define this variant.

Back to top Generated by DocFX