io.sphere.sdk.carts.expansion.PaymentInfoExpansionModelImpl Maven / Gradle / Ivy
package io.sphere.sdk.carts.expansion;
import io.sphere.sdk.expansion.ExpansionModelImpl;
import io.sphere.sdk.payments.expansion.PaymentExpansionModel;
import javax.annotation.Nullable;
import java.util.List;
final class PaymentInfoExpansionModelImpl extends ExpansionModelImpl implements PaymentInfoExpansionModel {
public PaymentInfoExpansionModelImpl(final List parentPath, @Nullable final String path) {
super(parentPath, path);
}
@Override
public PaymentExpansionModel payments() {
return PaymentExpansionModel.of(buildPathExpression(), "payments[*]");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy