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

com.commercetools.payment.model.impl.PaymentInteractionDataBase Maven / Gradle / Ivy

Go to download

The commercetools java payment project intend is to make payment integration easy

The newest version!
package com.commercetools.payment.model.impl;

import com.commercetools.payment.model.PaymentInteractionData;
import io.sphere.sdk.client.SphereClient;

import java.util.Map;

/**
 * Created by mgatz on 7/20/16.
 */
public abstract class PaymentInteractionDataBase implements PaymentInteractionData {

    private final SphereClient client;
    private final Map config;

    PaymentInteractionDataBase(final SphereClient client, Map config) {
        this.client = client;
        this.config = config;
    }

    @Override
    public SphereClient getSphereClient() {
        return this.client;
    }

    @Override
    public String getConfigByName(String name) {
        return config.get(name);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy