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

io.sphere.sdk.payments.expansion.PaymentExpansionModelImpl Maven / Gradle / Ivy

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

import io.sphere.sdk.customers.expansion.CustomerExpansionModel;
import io.sphere.sdk.expansion.ExpansionModelImpl;

import java.util.List;

final class PaymentExpansionModelImpl extends ExpansionModelImpl implements PaymentExpansionModel {
    PaymentExpansionModelImpl() {
        super();
    }

    public PaymentExpansionModelImpl(final List parentPath, final String path) {
        super(parentPath, path);
    }

    @Override
    public CustomerExpansionModel customer() {
        return CustomerExpansionModel.of(buildPathExpression(), "customer");
    }

    @Override
    public PaymentStatusExpansionModel paymentStatus() {
        return new PaymentStatusExpansionModelImpl<>(buildPathExpression(), "paymentStatus");
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy