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

org.erc.coinbase.pro.model.Hold Maven / Gradle / Ivy

The newest version!
/**
    This file is part of coinbase-pro-client.

    coinbase-pro-client is free software: you can redistribute it and/or modify
    it under the terms of the GNU Lesser General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    Foobar is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public License
    along with coinbase-pro-client.  If not, see .
 */
package org.erc.coinbase.pro.model;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

import lombok.Data;

/**
 * Instantiates a new hold.
 */
@JsonIgnoreProperties(ignoreUnknown=true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@Data
public class Hold {

	/** The id. */
	private String id;
	
	/** The account id. */
	@JsonProperty("account_id")
	private String accountId;
	
	/** The created at. */
	@JsonProperty("created_at")
	private Date created;
	
	/** The updated at. */
	@JsonProperty("updated_at")
	private Date updated;
	
	/** The amount. */
	private BigDecimal amount;
	
	/** The type. */
	private String type;
	
	/** The ref. */
	private String ref;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy