Exemple #1
0
 public Builder(string id,
                string status,
                IList <Models.LoyaltyProgramRewardTier> rewardTiers,
                Models.LoyaltyProgramTerminology terminology,
                IList <string> locationIds,
                string createdAt,
                string updatedAt,
                IList <Models.LoyaltyProgramAccrualRule> accrualRules)
 {
     this.id           = id;
     this.status       = status;
     this.rewardTiers  = rewardTiers;
     this.terminology  = terminology;
     this.locationIds  = locationIds;
     this.createdAt    = createdAt;
     this.updatedAt    = updatedAt;
     this.accrualRules = accrualRules;
 }
Exemple #2
0
 public LoyaltyProgram(string id,
                       string status,
                       IList <Models.LoyaltyProgramRewardTier> rewardTiers,
                       Models.LoyaltyProgramTerminology terminology,
                       IList <string> locationIds,
                       string createdAt,
                       string updatedAt,
                       IList <Models.LoyaltyProgramAccrualRule> accrualRules,
                       Models.LoyaltyProgramExpirationPolicy expirationPolicy = null)
 {
     Id               = id;
     Status           = status;
     RewardTiers      = rewardTiers;
     ExpirationPolicy = expirationPolicy;
     Terminology      = terminology;
     LocationIds      = locationIds;
     CreatedAt        = createdAt;
     UpdatedAt        = updatedAt;
     AccrualRules     = accrualRules;
 }
Exemple #3
0
 public Builder Terminology(Models.LoyaltyProgramTerminology terminology)
 {
     this.terminology = terminology;
     return(this);
 }
 public Builder Terminology(Models.LoyaltyProgramTerminology value)
 {
     terminology = value;
     return(this);
 }