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

com.kucoin.sdk.rest.request.WithdrawApplyRequest Maven / Gradle / Ivy

The newest version!
/**
 * Copyright 2019 Mek Global Limited.
 */
package com.kucoin.sdk.rest.request;

import com.fasterxml.jackson.annotation.JsonInclude;

import java.math.BigDecimal;

import lombok.Builder;
import lombok.Getter;

/**
 * Created by zicong.lu on 2018/12/14.
 */
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@Getter
@Builder
public class WithdrawApplyRequest {

    /**
     * Currency
     */
    private String currency;

    /**
     * Withdrawal address
     */
    private String address;

    /**
     * [optional] Remark to the withdrawal address
     */
    private String memo;

    /**
     * Withdrawal amount, a multiple and positive number of the amount precision (fees excluded)
     */
    private BigDecimal amount;

    /**
     * [optional] Internal withdrawal or not. Default setup: false
     */
    @Builder.Default
    private Boolean isInner = false;

    /**
     * [optional] Remark
     */
    private String remark;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy