func (b *BaseAPI) Endpoint() string {
	return b.endpoint
}
Endpoint - Returns the Endpoint url string.
package api
type BaseAPI struct {
	method         string
	endpoint       string
	requestObject  interface{}
	responseObject interface{}
	statusCode  int
	rawResponse []byte
	err         error
}
func NewBaseAPI(method string, endpoint string, requestObject interface{}, responseObject interface{}) *BaseAPI {
	return &BaseAPI{method, endpoint, requestObject, responseObject, 0, nil, nil}
}
func (b *BaseAPI) RequestObject() interface{} {
	return b.requestObject
}
func (b *BaseAPI) ResponseObject() interface{} {
	return b.responseObject
}
func (b *BaseAPI) Method() string {
	return b.method
}