Exemplo n.º 1
0
        /// <summary>
        /// Set fee plan used by invoice
        /// </summary>
        /// <param name="feeConfig"></param>
        public void SetFeeConfig(FeeConfig feeConfig)
        {
            Contract.Requires(feeConfig != null);

            BasicFee.VAT = feeConfig.VAT;
            UsageFee.VAT = feeConfig.VAT;
        }
Exemplo n.º 2
0
 /// <summary>
 /// Set fee plan used by invoice
 /// </summary>
 /// <param name="feeConfig"></param>
 public void SetFeeConfig(FeeConfig feeConfig)
 {
     CommonInvoice.SetFeeConfig(feeConfig);
     UserInvoices.ForEach(userInvoice => userInvoice.SetFeeConfig(feeConfig));
 }