com.binance4j.savings.param.LendingParams Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of binance4j-savings Show documentation
Show all versions of binance4j-savings Show documentation
Connector for the savings endpoints of the Binance API
package com.binance4j.savings.param;
import com.binance4j.core.annotation.Param;
import com.binance4j.core.param.Params;
import com.binance4j.savings.client.SavingsClient;
import com.binance4j.savings.dto.LendingType;
/**
* {@link SavingsClient#getInterests}, {@link SavingsClient#getPurchases},{@link SavingsClient#getRedemptions} params.
*
* @param lendingType Lending type.
* @param asset Asset name.
*/
@Param
public record LendingParams(LendingType lendingType, String asset) implements Params {
/**
* Creates an instance of {@link LendingParams}.
*
* @param lendingType Lending type.
*/
public LendingParams(LendingType lendingType) {
this(lendingType, null);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy