package com.red.circle.order.app.dto.cmd;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 华为支付.
 *
 * @author pengliang on 2022/3/11
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class TelegramPurchaseCmd extends AbstractPurchaseCmd {

  private static final long serialVersionUID = 1L;

  /**
   * Telegram待下发商品的购买数据.
   */
  @NotBlank(message = "invoicePayload required.")
  private String invoicePayload;

  @Override
  public String extractStrategyName() {
    return "telegramExtractAppPurchaseOrderStrategy";
  }

}
