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

com.bitcoin.blockchain.api.domain.message.SpendMessage Maven / Gradle / Ivy

package com.bitcoin.blockchain.api.domain.message;

import com.bitcoin.blockchain.api.domain.SpendDescriptor;

import java.util.List;

/**
 * Created by Jesion on 2015-03-24.
 */
public class SpendMessage extends ClientMessageBase implements IMessage {

    public SpendMessage() {
        super();
    }

    public SpendMessage(String username, String password, String key, String command, List payload) {
        super();
        setUsername(username);
        setPassword(password);
        setKey(key);
        setCommand(command);
        setPayload(payload);
    }

    public List getPayload() {
        return (List) this.payload;
    }

    public void setPayload(List payload) {
        this.payload = payload;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy