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

com.bitpay.sdk.model.payout.PayoutGroup Maven / Gradle / Ivy

Go to download

Full implementation of the BitPay Payment Gateway. This library implements BitPay's Cryptographically Secure RESTful API.

There is a newer version: 10.1.0
Show newest version
/*
 * Copyright (c) 2019 BitPay.
 * All rights reserved.
 */

package com.bitpay.sdk.model.payout;

import com.fasterxml.jackson.annotation.JsonAlias;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.Collections;
import java.util.List;

/**
 * The Payout group response for create and cancel.
 *
 * @see REST API Create Payouts
 * @see REST API Cancel Payouts
 */
public class PayoutGroup {

    @JsonProperty("created")
    @JsonAlias("cancelled")
    protected List payouts = Collections.emptyList();
    protected List failed = Collections.emptyList();

    public PayoutGroup() {
    }

    public PayoutGroup(
        final List payouts,
        final List failed
    ) {
        this.payouts = payouts;
        this.failed = failed;
    }

    public List getPayouts() {
        return this.payouts;
    }

    public List getFailed() {
        return this.failed;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy