io.sphere.sdk.carts.PaymentInfo Maven / Gradle / Ivy
package io.sphere.sdk.carts;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.sphere.sdk.models.Reference;
import io.sphere.sdk.payments.Payment;
import java.util.List;
@JsonDeserialize(as = PaymentInfoImpl.class)
public interface PaymentInfo {
static PaymentInfo of(final List> payments) {
return new PaymentInfoImpl(payments);
}
List> getPayments();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy