Exemplo n.º 1
0
        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;
        }
Exemplo n.º 2
0
        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);
        }
Exemplo n.º 3
0
 public static string GetPaymentFrequencyTypeStringValue(this PaymentFrequencyTypeEnum enumValue)
 {
     return(enumValue.GetCustomEnumAttributeValue <StringValueAttribute, string>());
 }