示例#1
0
        public static SmsQueueOptions create(DateTime?scheduleAt, string invoiceTag)
        {
            SmsQueueBillingOptions billingOptions = null;

            if (!String.IsNullOrWhiteSpace(invoiceTag))
            {
                billingOptions = new SmsQueueBillingOptions(invoiceTag);
            }
            return(new SmsQueueOptions(scheduleAt, billingOptions));
        }
示例#2
0
 public SmsQueueOptions(DateTime?ScheduleAt, SmsQueueBillingOptions billingOptions)
 {
     scheduleAt = ScheduleAt;
     billing    = billingOptions;
 }