Skip to content

Issue with ApiClient.Java constructors #25

@PeterSherk

Description

@PeterSherk

The second constructor for ApiClient should call the default constructor. If you use the second constructor:

public ApiClient(MerchantConfig merchantConfig) {
	this.merchantConfig = merchantConfig;

}

you then error out because things like httpClient and json aren't being initialized (NullPointerExceptions).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions