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

com.binance4j.savings.param.LendingParams Maven / Gradle / Ivy

There is a newer version: 2.4.0
Show newest version
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