/// <summary> /// Initializes a new instance of the <see cref="BillingOfficePhone"/> class. /// </summary> /// <param name="billingOfficePhoneType">Type of the billing office phone.</param> /// <param name="phone">The phone number.</param> public BillingOfficePhone( BillingOfficePhoneType billingOfficePhoneType, Phone phone) { Check.IsNotNull(billingOfficePhoneType, "Billing office phone type is required."); Check.IsNotNull(phone, "Phone number is required."); _billingOfficePhoneType = billingOfficePhoneType; _phone = phone; }
/// <summary> /// Initializes a new instance of the <see cref="BillingOfficePhone"/> class. /// </summary> /// <param name="billingOfficePhoneType">Type of the billing office phone.</param> /// <param name="phone">The phone number.</param> public BillingOfficePhone( BillingOfficePhoneType billingOfficePhoneType, Phone phone ) { Check.IsNotNull ( billingOfficePhoneType, "Billing office phone type is required." ); Check.IsNotNull ( phone, "Phone number is required." ); _billingOfficePhoneType = billingOfficePhoneType; _phone = phone; }