You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Custom and Additional fields lists uninstantiated in datarequest
The problem
In BuckarooSdk.DataTypes.RequestBases.DataBase the CustomParameters and AdditionalParameters classes are not instantiated which means the lists of these classes will also not be instantiated.
Thus trying to call the methods AddCustomParameter or AddAdditionalParameter will result in an exception.
Proposed solution
Instantiate classes additionalparameters and customparameters in the constructor of DataBase
public DataBase()
{
this.CustomParameters = new CustomParameters();
this.AdditionalParameters = new AdditionalParameters();
this.Services = new Services.DataRequestServices();
this.OriginalTransactionReference = new TransactionReference();
this.ClientIp = new IpAddress();
}
The text was updated successfully, but these errors were encountered:
Custom and Additional fields lists uninstantiated in datarequest
The problem
In BuckarooSdk.DataTypes.RequestBases.DataBase the
CustomParameters
andAdditionalParameters
classes are not instantiated which means the lists of these classes will also not be instantiated.Thus trying to call the methods
AddCustomParameter
orAddAdditionalParameter
will result in an exception.Proposed solution
Instantiate classes additionalparameters and customparameters in the constructor of DataBase
The text was updated successfully, but these errors were encountered: