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

com.xerox.amazonws.fps.MarketplaceRefundPolicy Maven / Gradle / Ivy

package com.xerox.amazonws.fps;

/**
 * @author J. Bernard
 * @author Elastic Grid, LLC.
 * @author [email protected]
 */
public enum MarketplaceRefundPolicy {
    MASTER_TXN_ONLY("MasterTxnOnly"),
    MARKETPLACE_TXN_ONLY("MarketplaceTxnOnly"),
    MASTER_AND_MARKETPLACE_TXN("MasterAndMarketplaceTxn");

    private final String value;

    MarketplaceRefundPolicy(String v) {
        value = v;
    }

    public String value() {
        return value;
    }

    public static MarketplaceRefundPolicy fromValue(String v) {
        for (MarketplaceRefundPolicy c: MarketplaceRefundPolicy.values()) {
            if (c.value.equals(v)) {
                return c;
            }
        }
        throw new IllegalArgumentException(v);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy