com.binance4j.pay.dto.Trade Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of binance4j-pay Show documentation
Show all versions of binance4j-pay Show documentation
Connector for the pay endpoints of the Binance API
package com.binance4j.pay.dto;
import java.util.List;
/**
* A pay transaction.
*
* @param transactionId Transaction id.
* @param transactionTime Transaction time in ms.
* @param amount Transaction amount.
* @param currency Transaction asset.
* @param fundsDetail Funds details.
* @param orderType Order type
*
* - PAY: C2B Merchant Acquiring Payment
* - PAY_REFUND: C2B Merchant Acquiring Payment,refund
* - C2C: C2C Transfer Payment
* - CRYPTO_BOX: Crypto box
* - CRYPTO_BOX_RF: Crypto Box, refund
* - C2C_HOLDING: Transfer to new Binance user
* - C2C_HOLDING_RF: Transfer to new Binance user,refund
* - PAYOUT: B2C Disbursement Payment
*
*/
public record Trade(
/**
* Order type.
*
* - PAY: C2B Merchant Acquiring Payment
* - PAY_REFUND: C2B Merchant Acquiring Payment,refund
* - C2C: C2C Transfer Payment
* - CRYPTO_BOX: Crypto box
* - CRYPTO_BOX_RF: Crypto Box, refund
* - C2C_HOLDING: Transfer to new Binance user
* - C2C_HOLDING_RF: Transfer to new Binance user,refund
* - PAYOUT: B2C Disbursement Payment
*
*/
String orderType, String transactionId, long transactionTime, String amount, String currency, List fundsDetail) {
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy