
info.bitrich.xchangestream.gateio.dto.response.usertrade.GateioSingleUserTradeNotification Maven / Gradle / Ivy
package info.bitrich.xchangestream.gateio.dto.response.usertrade;
import info.bitrich.xchangestream.gateio.config.Config;
import info.bitrich.xchangestream.gateio.dto.response.GateioWsNotification;
import lombok.Data;
import lombok.experimental.SuperBuilder;
@Data
@SuperBuilder
public class GateioSingleUserTradeNotification extends GateioWsNotification {
private UserTradePayload result;
@Override
public String getUniqueChannelName() {
String suffix =
result.getCurrencyPair() != null
? Config.CHANNEL_NAME_DELIMITER + result.getCurrencyPair()
: "";
return super.getUniqueChannelName() + suffix;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy