public class GiftCard extends Object
Constructor and Description |
---|
GiftCard(String baseUrl,
String apiKey,
com.binance.connector.client.utils.signaturegenerator.SignatureGenerator signatureGenerator,
boolean showLimitUsage,
com.binance.connector.client.utils.ProxyAuth proxy) |
GiftCard(String baseUrl,
String apiKey,
String secretKey,
boolean showLimitUsage,
com.binance.connector.client.utils.ProxyAuth proxy) |
Modifier and Type | Method and Description |
---|---|
String |
createCode(Map<String,Object> parameters)
This API is for creating a Binance Code.
|
String |
createDualTokensCode(Map<String,Object> parameters)
This API is for buying a fixed-value Binance Code, which means your Binance Code will be redeemable to a token that is different to the token that you are paying in.
|
String |
redeemCode(Map<String,Object> parameters)
This API is for redeeming the Binance Code.
|
String |
rsaPublicKey(Map<String,Object> parameters)
This API is for fetching the RSA Public Key.
|
String |
tokensLimit(Map<String,Object> parameters)
This API is to help you verify which tokens are available for you to purchase fixed-value gift cards.
|
String |
verify(Map<String,Object> parameters)
This API is for verifying whether the Binance Code is valid or not by entering Binance Code or reference number.
|
public GiftCard(String baseUrl, String apiKey, String secretKey, boolean showLimitUsage, com.binance.connector.client.utils.ProxyAuth proxy)
public String createCode(Map<String,Object> parameters)
parameters
- Map of String,Object pair
where String is the name of the parameter and Object is the value of the parameter
public String redeemCode(Map<String,Object> parameters)
parameters
- Map of String,Object pair
where String is the name of the parameter and Object is the value of the parameter
public String verify(Map<String,Object> parameters)
parameters
- Map of String,Object pair
where String is the name of the parameter and Object is the value of the parameter
public String rsaPublicKey(Map<String,Object> parameters)
parameters
- Map of String,Object pair
where String is the name of the parameter and Object is the value of the parameter
public String createDualTokensCode(Map<String,Object> parameters)
parameters
- Map of String,Object pair
where String is the name of the parameter and Object is the value of the parameter
public String tokensLimit(Map<String,Object> parameters)
parameters
- Map of String,Object pair
where String is the name of the parameter and Object is the value of the parameter
Copyright © 2023. All rights reserved.