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

com.coinbase.api.entity.TransactionsResponse Maven / Gradle / Ivy

There is a newer version: 1.10.0
Show newest version
package com.coinbase.api.entity;

import java.util.List;

import org.joda.money.Money;

import com.coinbase.api.deserializer.TransactionsLifter;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;

public class TransactionsResponse extends Response {
    /**
     * 
     */
    private static final long serialVersionUID = 1738758156595044771L;
    private User _currentUser;
    private Money _balance;
    private Money _nativeBalance;
    private List _transactions;
    
    public List getTransactions() {
        return _transactions;
    }

    @JsonDeserialize(converter=TransactionsLifter.class)
    public void setTransactions(List transactions) {
        _transactions = transactions;
    }
    
    public User getCurrentUser() {
        return _currentUser;
    }

    public void setCurrentUser(User currentUser) {
        _currentUser = currentUser;
    }

    public Money getBalance() {
        return _balance;
    }

    public void setBalance(Money balance) {
        _balance = balance;
    }

    public Money getNativeBalance() {
        return _nativeBalance;
    }

    public void setNativeBalance(Money nativeBalance) {
        _nativeBalance = nativeBalance;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy