E-commerce has mainly four types: business to business, business to customer, customer to the business, and customer to customer.