public Service SetNetflixData(PaymentFrequencyTypeEnum frequency, string cardType, string cardNumber, double? price, DateTime? lastSyncTime) { this.PlaymentFrequencyType = frequency; this.CardType = cardType; this.CardNumber = cardNumber; this.Price = price; this.LastSyncDate = lastSyncTime; return this; }
public Service SetNetflixData(PaymentFrequencyTypeEnum frequency, string cardType, string cardNumber, double?price, DateTime?lastSyncTime) { this.PlaymentFrequencyType = frequency; this.CardType = cardType; this.CardNumber = cardNumber; this.Price = price; this.LastSyncDate = lastSyncTime; return(this); }
public static string GetPaymentFrequencyTypeStringValue(this PaymentFrequencyTypeEnum enumValue) { return(enumValue.GetCustomEnumAttributeValue <StringValueAttribute, string>()); }