SalesApi constructor

SalesApi(
  1. {@required Dio requester,
  2. @required UserDao userDao}
)

Implementation

SalesApi({@required Dio requester, @required UserDao userDao})
    :
      this.catalog = SalesCatalogApi(requester: requester),
      this.commerce = SalesCommerceApi(requester: requester),
      this.marketing = SalesMarketingApi(requester: requester),
      this.retailer = SalesRetailerApi(requester: requester),
      this.search = SalesSearchApi(requester: requester),
      this.buyer = SalesBuyerApi(requester: requester, userDao: userDao);