public Builder(string id,
                int points,
                string name,
                Models.LoyaltyProgramRewardDefinition definition,
                string createdAt)
 {
     this.id         = id;
     this.points     = points;
     this.name       = name;
     this.definition = definition;
     this.createdAt  = createdAt;
 }
 public LoyaltyProgramRewardTier(string id,
                                 int points,
                                 string name,
                                 Models.LoyaltyProgramRewardDefinition definition,
                                 string createdAt)
 {
     Id         = id;
     Points     = points;
     Name       = name;
     Definition = definition;
     CreatedAt  = createdAt;
 }
 public LoyaltyProgramRewardTier(string id,
                                 int points,
                                 string name,
                                 Models.LoyaltyProgramRewardDefinition definition,
                                 string createdAt,
                                 Models.CatalogObjectReference pricingRuleReference = null)
 {
     Id                   = id;
     Points               = points;
     Name                 = name;
     Definition           = definition;
     CreatedAt            = createdAt;
     PricingRuleReference = pricingRuleReference;
 }
 public Builder Definition(Models.LoyaltyProgramRewardDefinition value)
 {
     definition = value;
     return(this);
 }
 public Builder Definition(Models.LoyaltyProgramRewardDefinition definition)
 {
     this.definition = definition;
     return(this);
 }