7thstreetweb/intacct-sdk-php-ar-customer-list

Customer List Functionality

1.1.1 2020-04-02 17:23 UTC

This package is auto-updated.

Last update: 2024-03-29 04:11:28 UTC


README

Module utilized with Intacct PHP SDK.

Help Wanted

Feel Free to add Additional Filters to this module. At this point there are a very limited number of filters because this Module utilizes the new "Query" syntax.

Example Usage:

    /** @var ClientConfig $clientConfig */
    $clientConfig = new ClientConfig();

    $client = new OnlineClient($clientConfig);

    /** @var CustomerList $accountsReceivableRequest **/
    $customerListRequest = new CustomerList();
    $customerListRequest->setFields(['CUSTOMERID', 'NAME']);

    $filter = new InFilter();
    $filter->setField('CUSTOMERID');
    $filter->addValue('123456');
    $filter->addValue('789012');

    $customerListRequest->addFilter($filter);

    $response = $client->execute($customerListRequest);