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

io.sphere.sdk.carts.PaymentInfo Maven / Gradle / Ivy

There is a newer version: 1.0.0-M26
Show 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;

public final class PaymentInfo extends Base {
    private final List> payments;

    @JsonCreator
    private PaymentInfo(final List> payments) {
        this.payments = payments;
    }

    public static PaymentInfo of(final List> payments) {
        return new PaymentInfo(payments);
    }

    public List> getPayments() {
        return payments;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy