public static SmsQueueOptions create(DateTime?scheduleAt, string invoiceTag) { SmsQueueBillingOptions billingOptions = null; if (!String.IsNullOrWhiteSpace(invoiceTag)) { billingOptions = new SmsQueueBillingOptions(invoiceTag); } return(new SmsQueueOptions(scheduleAt, billingOptions)); }
public SmsQueueOptions(DateTime?ScheduleAt, SmsQueueBillingOptions billingOptions) { scheduleAt = ScheduleAt; billing = billingOptions; }