CustomerBalanceCustomerBalanceSettings.fromJson constructor

CustomerBalanceCustomerBalanceSettings.fromJson(
  1. Object? json
)

Implementation

factory CustomerBalanceCustomerBalanceSettings.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return CustomerBalanceCustomerBalanceSettings(
    reconciliationMode:
        CustomerBalanceCustomerBalanceSettingsReconciliationMode.fromJson(
            map['reconciliation_mode']),
    usingMerchantDefault: (map['using_merchant_default'] as bool),
  );
}