io.sphere.sdk.carts.PaymentInfoImpl Maven / Gradle / Ivy
The newest version!
package io.sphere.sdk.carts;
import com.fasterxml.jackson.annotation.JsonCreator;
import io.sphere.sdk.models.Base;
import io.sphere.sdk.models.Reference;
import io.sphere.sdk.payments.Payment;
import java.util.List;
final class PaymentInfoImpl extends Base implements PaymentInfo {
private final List> payments;
@JsonCreator
PaymentInfoImpl(final List> payments) {
this.payments = payments;
}
public List> getPayments() {
return payments;
}
}