Client model for RegistrationTemplateDiscount that includes all the fields that are available for GETs. Use this for GETs (use RegistrationTemplateDiscountEntity for POST/PUTs)
Inheritance: RegistrationTemplateDiscountEntity
Exemplo n.º 1
0
 /// <summary>
 /// Copies the base properties from a source RegistrationTemplateDiscount object
 /// </summary>
 /// <param name="source">The source.</param>
 public void CopyPropertiesFrom(RegistrationTemplateDiscount source)
 {
     this.Id                 = source.Id;
     this.Code               = source.Code;
     this.DiscountAmount     = source.DiscountAmount;
     this.DiscountPercentage = source.DiscountPercentage;
     this.ForeignGuid        = source.ForeignGuid;
     this.ForeignKey         = source.ForeignKey;
     this.ModifiedAuditValuesAlreadyUpdated = source.ModifiedAuditValuesAlreadyUpdated;
     this.Order = source.Order;
     this.RegistrationTemplateId  = source.RegistrationTemplateId;
     this.CreatedDateTime         = source.CreatedDateTime;
     this.ModifiedDateTime        = source.ModifiedDateTime;
     this.CreatedByPersonAliasId  = source.CreatedByPersonAliasId;
     this.ModifiedByPersonAliasId = source.ModifiedByPersonAliasId;
     this.Guid      = source.Guid;
     this.ForeignId = source.ForeignId;
 }
 /// <summary>
 /// Copies the base properties from a source RegistrationTemplateDiscount object
 /// </summary>
 /// <param name="source">The source.</param>
 public void CopyPropertiesFrom( RegistrationTemplateDiscount source )
 {
     this.Id = source.Id;
     this.Code = source.Code;
     this.DiscountAmount = source.DiscountAmount;
     this.DiscountPercentage = source.DiscountPercentage;
     this.EndDate = source.EndDate;
     this.ForeignGuid = source.ForeignGuid;
     this.ForeignKey = source.ForeignKey;
     this.MaxRegistrants = source.MaxRegistrants;
     this.MaxUsage = source.MaxUsage;
     this.MinRegistrants = source.MinRegistrants;
     this.ModifiedAuditValuesAlreadyUpdated = source.ModifiedAuditValuesAlreadyUpdated;
     this.Order = source.Order;
     this.RegistrationTemplateId = source.RegistrationTemplateId;
     this.StartDate = source.StartDate;
     this.CreatedDateTime = source.CreatedDateTime;
     this.ModifiedDateTime = source.ModifiedDateTime;
     this.CreatedByPersonAliasId = source.CreatedByPersonAliasId;
     this.ModifiedByPersonAliasId = source.ModifiedByPersonAliasId;
     this.Guid = source.Guid;
     this.ForeignId = source.ForeignId;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Copies the base properties from a source RegistrationTemplateDiscount object
 /// </summary>
 /// <param name="source">The source.</param>
 public void CopyPropertiesFrom( RegistrationTemplateDiscount source )
 {
     this.Id = source.Id;
     this.Code = source.Code;
     this.DiscountAmount = source.DiscountAmount;
     this.DiscountPercentage = source.DiscountPercentage;
     this.Order = source.Order;
     this.RegistrationTemplateId = source.RegistrationTemplateId;
     this.Guid = source.Guid;
     this.ForeignId = source.ForeignId;
 }