<?php
    require 'vendor/autoload.php';

    use NetSuite\NetSuiteService;

    $config = [
        // required -------------------------------------
        "endpoint"       => "2022_1",
        "host"           => "https://8551419.suitetalk.api.netsuite.com",
        "account"        => "8551419",
        "consumerKey"    => "28da4ffe7438528cb5b4d3bec3cac94d90f8c67607f9d3bbaf3e53c45dbd004f",
        "consumerSecret" => "3a44aea85eb57e2e367f2b5e7adcde4bcd68a008183ccb4a4a81cde63b8bda17",
        "token"          => "337ef218781ea23ae13894f48c059d6ce753f09c3d5ca47d4517719e037fb23e",
        "tokenSecret"    => "c3c071cf06732d1bf19abb15396f7d2e0d97a53d027059bdc9bd08103c40e1f2",
        // optional -------------------------------------
        "signatureAlgorithm" => 'sha256', // Defaults to 'sha256'
        "logging"  => true,
        "log_path" => "/Users/pgcrurom/Projects/Kraken/nb_stripe_ns/logs",
        "log_format"     => "netsuite-php-%date-%operation",
        "log_dateformat" => "Ymd.His.u",
    ];
    $service = new NetSuiteService($config);
?>