Binance C++ Connector 2.0.0
Official C++ connectors for the Binance APIs
Loading...
Searching...
No Matches
binance::simple_earn::rest_api::RedeemFlexibleProductParams Struct Reference

#include <flexible_locked_api.hpp>

Public Attributes

common::Required< std::string > product_id
std::optional< bool > redeem_all = std::nullopt
std::optional< common::Decimal > amount = std::nullopt
 if redeemAll is false, amount is mandatory
std::optional< RedeemFlexibleProductDestAccountEnum > dest_account = std::nullopt
std::optional< std::int64_t > recv_window = std::nullopt
 Request validity window in milliseconds.

Member Data Documentation

◆ product_id

common::Required<std::string> binance::simple_earn::rest_api::RedeemFlexibleProductParams::product_id

◆ redeem_all

std::optional<bool> binance::simple_earn::rest_api::RedeemFlexibleProductParams::redeem_all = std::nullopt

◆ amount

std::optional<common::Decimal> binance::simple_earn::rest_api::RedeemFlexibleProductParams::amount = std::nullopt

if redeemAll is false, amount is mandatory

◆ dest_account

std::optional<RedeemFlexibleProductDestAccountEnum> binance::simple_earn::rest_api::RedeemFlexibleProductParams::dest_account = std::nullopt

◆ recv_window

std::optional<std::int64_t> binance::simple_earn::rest_api::RedeemFlexibleProductParams::recv_window = std::nullopt

Request validity window in milliseconds.