/// <summary> /// Removes the payor address. /// </summary> /// <param name="payorAddress">The payor address.</param> public virtual void RemovePayorAddress(PayorAddress payorAddress) { Check.IsNotNull(payorAddress, "Payor Address is required."); _addresses.Delete(payorAddress); NotifyItemRemoved(() => Addresses, payorAddress); }
/// <summary> /// Removes the payor address. /// </summary> /// <param name="payorAddress">The payor address.</param> public virtual void RemovePayorAddress( PayorAddress payorAddress ) { Check.IsNotNull ( payorAddress, "Payor Address is required." ); _addresses.Delete ( payorAddress ); NotifyItemRemoved ( () => Addresses, payorAddress ); }
/// <summary> /// Adds the payor address. /// </summary> /// <param name="payorAddress">The payor address.</param> public virtual void AddPayorAddress( PayorAddress payorAddress ) { payorAddress.Payor = this; _addresses.Add ( payorAddress ); NotifyItemAdded ( () => Addresses, payorAddress ); }
/// <summary> /// Adds the payor address. /// </summary> /// <param name="payorAddress">The payor address.</param> public virtual void AddPayorAddress(PayorAddress payorAddress) { payorAddress.Payor = this; _addresses.Add(payorAddress); NotifyItemAdded(() => Addresses, payorAddress); }