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

io.sphere.sdk.payments.PaymentMethodInfoImpl Maven / Gradle / Ivy

There is a newer version: 2.16.0
Show newest version
package io.sphere.sdk.payments;

import com.fasterxml.jackson.annotation.JsonCreator;
import io.sphere.sdk.models.Base;
import io.sphere.sdk.models.LocalizedString;

import javax.annotation.Nullable;

final class PaymentMethodInfoImpl extends Base implements PaymentMethodInfo {
    @Nullable
    private final String paymentInterface;
    @Nullable
    private final String method;
    @Nullable
    private final LocalizedString name;

    @JsonCreator
    PaymentMethodInfoImpl(@Nullable final String paymentInterface, @Nullable final String method, @Nullable final LocalizedString name) {
        this.paymentInterface = paymentInterface;
        this.method = method;
        this.name = name;
    }

    @Nullable
    public String getPaymentInterface() {
        return paymentInterface;
    }

    @Nullable
    public String getMethod() {
        return method;
    }

    @Nullable
    public LocalizedString getName() {
        return name;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy