@esolve/ng-esolve-connect 0.25.0 → 0.25.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2961,7 +2961,7 @@ class EsolveAccountService {
2961
2961
  return undefined;
2962
2962
  }
2963
2963
  const cart_totals = new EsolveCartTotals(record.cart_totals.records, +record.cart_totals.items, +record.cart_totals.total, +record.cart_totals.vat, +record.cart_totals.discount);
2964
- return new EsolveUserClientAccountBalances(+record.clients_id, record.account, cart_totals, +record.credit_limit, +record.external_account_balance, +record.external_available_balance, +record.new_external_available_balance, record.credit_limit_okay);
2964
+ return new EsolveUserClientAccountBalances(+record.clients_id, record.account, cart_totals, +record.credit_limit, +record.external_account_balance, +record.external_available_balance, +record.new_external_available_balance, !!+record.credit_limit_okay);
2965
2965
  }
2966
2966
  return undefined;
2967
2967
  }
@@ -4368,29 +4368,29 @@ class EsolvePaymentMethod {
4368
4368
  this.location_id = +record.location_id;
4369
4369
  this.paymethod_name = record.paymethod_name;
4370
4370
  this.description = record.description;
4371
- this.display_banking_details = record.display_banking_details;
4371
+ this.display_banking_details = !!+record.display_banking_details;
4372
4372
  this.currency_code = record.currency_code;
4373
4373
  this.merchant_id = record.merchant_id;
4374
4374
  this.application_id = record.application_id;
4375
4375
  this.api_signature = record.api_signature;
4376
- this.is_gateway = record.is_gateway;
4377
- this.must_store_card_details = record.must_store_card_details;
4378
- this.allow_budget = record.allow_budget;
4376
+ this.is_gateway = !!+record.is_gateway;
4377
+ this.must_store_card_details = !!+record.must_store_card_details;
4378
+ this.allow_budget = !!+record.allow_budget;
4379
4379
  this.integration_type = record.integration_type;
4380
4380
  this.bank_gateway_id = record.bank_gateway_id;
4381
4381
  this.accepted_card_types = record.accepted_card_types;
4382
- this.post_transactions_to_gateway = record.post_transactions_to_gateway;
4382
+ this.post_transactions_to_gateway = !!+record.post_transactions_to_gateway;
4383
4383
  this.three_d_secure_url = record.three_d_secure_url;
4384
4384
  this.gateway_url = record.gateway_url;
4385
4385
  this.generate_token_url = record.generate_token_url;
4386
4386
  this.widget_url = record.widget_url;
4387
4387
  this.successful_url = record.successful_url;
4388
4388
  this.failed_url = record.failed_url;
4389
- this.enable_callback = record.enable_callback;
4390
- this.live = record.live;
4389
+ this.enable_callback = !!+record.enable_callback;
4390
+ this.live = !!+record.live;
4391
4391
  this.default_module_id = +record.default_module_id;
4392
4392
  this.service_provider = record.service_provider;
4393
- this.on_account = record.on_account;
4393
+ this.on_account = !!+record.on_account;
4394
4394
  this.sort_priority = +record.sort_priority;
4395
4395
  this.image_url = record.image_url;
4396
4396
  this.banking_details = new EsolveBankingDetails(record.bank_name, record.account_holder, record.account, record.account_type, record.swift_number, record.branch_code);