com.coinbase.api.deserializer.FeesCollector Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of coinbase-java Show documentation
Show all versions of coinbase-java Show documentation
A first-party java wrapper around the Coinbase API
The newest version!
package com.coinbase.api.deserializer;
import java.util.HashMap;
import java.util.List;
import org.joda.money.Money;
import com.fasterxml.jackson.databind.util.StdConverter;
public class FeesCollector extends StdConverter>, HashMap> {
public HashMap convert(List> value) {
HashMap result = new HashMap();
for (HashMap map : value) {
result.putAll(map);
}
return result;
}
}