DepositsEcommerceContext constructor

DepositsEcommerceContext({
  1. String? depositsUserID,
  2. int? merchantID,
  3. String? apiKey,
  4. bool? envMode,
})

Implementation

DepositsEcommerceContext(
    {this.depositsUserID, this.merchantID, this.apiKey, this.envMode}) {
  Storage.saveValue(Constants.envMode, envMode);
  Storage.saveValue("deposits_api_key", apiKey);
  Storage.saveValue(Constants.merchantID, merchantID.toString());
}