Package ru.bgcrm.plugin.bgbilling.creator

# Class ServerCustomerCreator

java.lang.Object
ru.bgcrm.plugin.bgbilling.creator.ServerCustomerCreator

public class ServerCustomerCreator extends Object
Создатель контрагентов из одной базы.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `ServerCustomerCreator(Config config, ConfigMap params)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `createCustomer(int contractId, String contractNumber, String customerTitle)`
  `void`
  `createCustomer(String billingId, Connection con, int contractId, int customerId)`
  `void`
  `createCustomers(Connection con)`
  `String`
  `getBillingId()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### ServerCustomerCreator

    public ServerCustomerCreator(Config config, ConfigMap params)

- ## Method Details

  - ### getBillingId

    public String getBillingId()

  - ### createCustomer

    public void createCustomer(String billingId, Connection con, int contractId, int customerId) throws BGMessageException
    Throws:
      `BGMessageException`

  - ### createCustomers

    public void createCustomers(Connection con)

  - ### createCustomer

    public void createCustomer(int contractId, String contractNumber, String customerTitle) throws Exception
    Throws:
      `Exception`