GetTotalAmountPaid() public method

public GetTotalAmountPaid ( ) : decimal
return decimal
 public CustomerInfo MapFrom(Customer customer)
 {
     return new CustomerInfo
            	{
            		Id = customer.Id,
            		Name = new NameFormatter().Format(customer.Name),
            		ShippingAddress = new AddressFormatter().Format(customer.ShippingAddress),
            		Status = customer.Status ?? string.Empty,
            		TotalAmountPaid = customer.GetTotalAmountPaid().ToString("c")
            	};
 }