Exemplo n.º 1
0
        private bool BillingDetailsAreEquivalent(BillingDetails bil1, BillingDetails bil2)
        {
            if (!bil1.Street().Equals(bil2.Street()) ||
                !bil1.City().Equals(bil2.City()) ||
                !bil1.Country().Equals(bil2.Country()) ||
                !bil1.State().Equals(bil2.State()) ||
                !bil1.Zip().Equals(bil2.Zip()) ||
                !bil1.Phone().Equals(bil2.Phone()))
            {
                return(false);
            }

            return(true);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Set the billingDetails
 /// </summary>
 /// <returns>void</returns>
 public void BillingDetails(BillingDetails data)
 {
     SetProperty(GlobalConstants.BillingDetails, data);
 }
Exemplo n.º 3
0
 /// <summary>
 /// Set the billingDetails
 /// </summary>
 /// <returns>void</returns>
 public void billingDetails(BillingDetails data)
 {
     this.setProperty(DirectDebitConstants.billingDetails, data);
 }