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

io.sphere.sdk.orders.PaymentState Maven / Gradle / Ivy

There is a newer version: 1.0.0-M26
Show newest version
package io.sphere.sdk.orders;

import com.fasterxml.jackson.annotation.JsonCreator;
import io.sphere.sdk.models.SphereEnumeration;

public enum PaymentState implements SphereEnumeration {
    BALANCE_DUE, FAILED, PENDING, CREDIT_OWED, PAID;

    @JsonCreator
    public static PaymentState ofSphereValue(final String value) {
        return SphereEnumeration.findBySphereName(values(), value).get();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy