io.sphere.sdk.payments.expansion.PaymentExpansionModel Maven / Gradle / Ivy
The newest version!
package io.sphere.sdk.payments.expansion;
import io.sphere.sdk.customers.expansion.CustomerExpansionModel;
import io.sphere.sdk.expansion.ExpansionPathContainer;
import io.sphere.sdk.payments.Payment;
import java.util.List;
public interface PaymentExpansionModel extends ExpansionPathContainer {
CustomerExpansionModel customer();
PaymentStatusExpansionModel paymentStatus();
static PaymentExpansionModel of() {
return new PaymentExpansionModelImpl<>();
}
static PaymentExpansionModel of(final List parentPath, final String path) {
return new PaymentExpansionModelImpl<>(parentPath, path);
}
}