func NewAPIClient(cfg *Configuration) *APIClient {
	if cfg.HTTPClient == nil {
		cfg.HTTPClient = http.DefaultClient
	}
	c := &APIClient{}
	c.cfg = cfg
	c.common.client = c
	c.AccountApi = (*AccountApiService)(&c.common)
	c.BulkTransferApi = (*BulkTransferApiService)(&c.common)
	c.TransferApi = (*TransferApiService)(&c.common)
	c.VirtualAccountApi = (*VirtualAccountApiService)(&c.common)
	return c
}
NewAPIClient creates a new API client. Requires a userAgent string describing your application.
optionally a custom http.Client to allow for advanced features such as caching.
package swagger
import (
	"bytes"
	"context"
	"encoding/json"
	"encoding/xml"
	"errors"
	"fmt"
	"io"
	"mime/multipart"
	"net/http"
	"net/url"
	"os"
	"path/filepath"
	"reflect"
	"regexp"
	"strconv"
	"strings"
	"time"
	"unicode/utf8"
	"golang.org/x/oauth2"
)
var (
	jsonCheck = regexp.MustCompile("(?i:[application|text]/json)")
	xmlCheck  = regexp.MustCompile("(?i:[application|text]/xml)")
)
type APIClient struct {
	cfg    *Configuration
	common service  
	AccountApi *AccountApiService
	BulkTransferApi *BulkTransferApiService
	TransferApi *TransferApiService
	VirtualAccountApi *VirtualAccountApiService
}
type service struct {
	client *APIClient
}