com.bitpay.sdk.model.payout.PayoutGroup Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bitpay_sdk Show documentation
Show all versions of bitpay_sdk Show documentation
Full implementation of the BitPay Payment Gateway. This library implements BitPay's Cryptographically
Secure RESTful API.
/*
* 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;
}
}