<commit_before>package io.safedrive.payments.gocoin.service.impl;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.gocoin.api.services.InvoiceService;
import com.gocoin.api.GoCoin;
import com.gocoin.api.Scope;
import com.gocoin.api.http.JsonMarshaller;
import com.gocoin.api.http.SearchQueryBuilder;
import com.gocoin.api.resources.ExchangeRates;
import com.gocoin.api.resources.Invoice;
import com.gocoin.api.resources.InvoiceList;
import com.gocoin.api.resources.Token;
import com.gocoin.api.resources.Webhook;
import com.gocoin.api.services.MerchantService;
import com.gocoin.api.services.UserService;
import io.safedrive.payments.gocoin.service.GoCoinService;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.Map;
import javax.annotation.PostConstruct;
import javax.xml.bind.DatatypeConverter;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class GoCoinServiceImpl implements GoCoinService {

    private static final Logger L = LoggerFactory.getLogger(GoCoinServiceImpl.class);

    private final InvoiceService invoiceService = GoCoin.getInvoiceService();

    private final UserService userService = GoCoin.getUserService();

    public GoCoinServiceImpl(String apiKey, String merchantId) {
        this.token = new Token(apiKey, Scope.getScope(Scope.INVOICE_READ_WRITE, Scope.USER_READ));<commit_msg>cleanup<commit_after>package io.safedrive.payments.gocoin.service.impl;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.gocoin.api.services.InvoiceService;
import com.gocoin.api.GoCoin;
import com.gocoin.api.Scope;
import com.gocoin.api.http.JsonMarshaller;
import com.gocoin.api.http.SearchQueryBuilder;
import com.gocoin.api.resources.ExchangeRates;
import com.gocoin.api.resources.Invoice;
import com.gocoin.api.resources.InvoiceList;
import com.gocoin.api.resources.Token;
import com.gocoin.api.resources.Webhook;
import com.gocoin.api.services.UserService;
import io.safedrive.payments.gocoin.service.GoCoinService;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.Map;
import javax.annotation.PostConstruct;
import javax.xml.bind.DatatypeConverter;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class GoCoinServiceImpl implements GoCoinService {

    private static final Logger L = LoggerFactory.getLogger(GoCoinServiceImpl.class);

    private final InvoiceService invoiceService = GoCoin.getInvoiceService();

    private final UserService userService = GoCoin.getUserService();

    public GoCoinServiceImpl(String apiKey, String merchantId) {
        this.token = new Token(apiKey, Scope.getScope(Scope.INVOICE_READ_WRITE, Scope.USER_READ));
{'fraction_non_alphanumeric': 0.09511661807580175, 'fraction_numerical': 0.0014577259475218659, 'mean_word_length': 6.2047244094488185, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '142585', 'n_tokens_mistral': 893, 'n_tokens_neox': 874, 'n_words': 147}