All Downloads are FREE. Search and download functionalities are using the official Maven repository.

jp.gopay.sdk.utils.MetadataAdapter Maven / Gradle / Ivy

There is a newer version: 0.11.17
Show newest version
package jp.gopay.sdk.utils;

import jp.gopay.sdk.types.MetadataMap;

/**
 * This is an interface to adapt a metadata from {@link MetadataMap}({@literal LinkedHashMap}) to something.
* If you need to deal with a metadata as another type, implement this interface.
* * @param a type to be converted */ public interface MetadataAdapter { MetadataMap serialize(T obj); T deserialize(MetadataMap metadata); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy