content: package com.alipay.api.domain;
  
  import java.util.List;
  
  import com.alipay.api.AlipayObject;
  import com.alipay.api.internal.mapping.ApiField;
  import com.alipay.api.internal.mapping.ApiListField;
  
  /**
   * 交易组件业务单创建
   *
   * @author auto create
   * @since 1.0, 2025-08-26 10:51:43
   */
  public class AlipayOpenMiniOrderCreateModel extends AlipayObject {
  
  	private static final long serialVersionUID = 3868161519248178917L;
  
  	/**
  	 * 订单收货地址
  	 */
  	@ApiField("address_info")
  	private MiniReceiverAddressInfoDTO addressInfo;
  
  	/**
  	 * 个人协议页面签约信息
  	 */
  	@ApiField("agreement_sign_info")
  	private AgreementSignInfoDTO agreementSignInfo;
  
  	/**
  	 * 分账条款
  	 */
  	@ApiField("alloc_amount_info")
  	private AllocAmountInfoDTO allocAmountInfo;
  
  	/**
  	 * 商户传入业务信息，具体值要和支付宝约定，应用于安全，营销等参数直传场景，格式为json格式 当前字段已废弃(历史收单接口兼容，收单分离后由收单维护)
  	 */
  	@ApiField("business_params")
  	@Deprecated
  	private MiniBusinessParamsDTO businessParams;
  
  	/**
  	 * 买家支付宝用户id，小程序场景下获取用户ID请参考：<a href="https://opendocs.alipay.com/mini/05dxgc?pathHash=1a3ecb13">用户授权</a>; 其它场景下获取用户ID请参考：<a href="https://opendocs.alipay.com/open/284/web">网页授权获取用户信息</a>。
  	 */
  	@ApiField("buyer_id")
  	private String buyerId;
  
  	/**
  	 * 买家支付宝登录账号。  buyer_logon_id和buyer_id两者传其一，和buyer_id不能同时为空，建议通过buyer_id来传递买家信息。
  	 */
  	@ApiField("buyer_logon_id")
  	private String buyerLogonId;
  
  	/**
  	 * 买家支付宝用户唯一标识
  	 */
  	@ApiField("buyer_open_id")
  	private String buyerOpenId;
  
  	/**
  	 * 订单确认收货相对超时时间。从发货时间开始计算。 单位d-天。 该参数数值不接受小数点， 如 10d
  	 */
  	@ApiField("confirm_timeout_express")
  	private String confirmTimeoutExpress;
  
  	/**
  	 * 买家联系人信息
  	 */
  	@ApiField("contact_info")
  	private ContactInfoDTO contactInfo;
  
  	/**
  	 * 芝麻信息
  	 */
  	@ApiField("credit_info")
  	private CreditInfoDTO creditInfo;
  
  	/**
  	 * 默认退货地址
  	 */
  	@ApiField("default_receiving_address")
  	private MiniReceiverAddressInfoDTO defaultReceivingAddress;
  
  	/**
  	 * 物流信息--预留字段
  	 */
  	@ApiField("delivery_detail")
  	private LogisticsInfoDTO deliveryDetail;
  
  	/**
  	 * 订单扩展字段
  	 */
  	@ApiField("ext_info")
  	private MiniOrderExtInfoDTO extInfo;
  
  	/**
  	 * 线上资金预授权冻结信息
  	 */
  	@ApiField("fund_auth_freeze_info")
  	private FundAuthFreezeInfoDTO fundAuthFreezeInfo;
  
  	/**
  	 * 订单备注
  	 */
  	@ApiField("memo")
  	private String memo;
  
  	/**
  	 * 订单类型
  	 */
  	@ApiField("merchant_biz_type")
  	private String merchantBizType;
  
  	/**
  	 * 订单信息
  	 */
  	@ApiField("order_detail")
  	private MiniOrderDetailDTO orderDetail;
  
  	/**
  	 * 商户订单号，由商家自定义，64个字符以内，仅支持字母、数字、下划线且需保证在商户端不重复
  	 */
  	@ApiField("out_order_id")
  	private String outOrderId;
  
  	/**
  	 * 商家小程序对应的订单详情页路径地址 value。仅需传入小程序页面路径即可。同一笔订单的链接必须与第一次传入的地址相同，且需是小程序内部页面路径
  	 */
  	@ApiField("path")
  	private String path;
  
  	/**
  	 * 订单优惠信息
  	 */
  	@ApiField("promo_detail_info")
  	private PromoDetailInfoDTO promoDetailInfo;
  
  	/**
  	 * 描述分账信息
  	 */
  	@ApiField("royalty_info")
  	private RoyaltyInfo royaltyInfo;
  
  	/**
  	 * 卖家支付宝用户ID。收款账号优先级规则：门店绑定的收款账户>请求传入的seller_id>商户签约账号对应的支付宝用户ID；  注：直付通和机构间联场景下seller_id无需传入或者保持跟pid一致；  如果传入的seller_id与pid不一致，需要联系支付宝小二配置收款关系；本地商品无需填写
  	 */
  	@ApiField("seller_id")
  	private String sellerId;
  
  	/**
  	 * 发货地址信息
  	 */
  	@ApiField("send_address_info")
  	private MiniOrderAddressInfoDTO sendAddressInfo;
  
  	/**
  	 * 签约资商通直付通平台商分账产品后，下单时传入平台模式，smid必传；此模式下支持服务商派单模式
  	 */
  	@ApiField("service_provider_model")
  	private String serviceProviderModel;
  
  	/**
  	 * 订单服务类型
  	 */
  	@ApiField("service_type")
  	private String serviceType;
  
  	/**
  	 * 门店信息
  	 */
  	@ApiField("shop_info")
  	private ShopInfoDTO shopInfo;
  
  	/**
  	 * 追踪ID，公域分发场景必传，会影响主播归因、分享员归因等；通过调用 <a href="https://opendocs.alipay.com/mini/512c3ce1_my.checkBeforeAddOrder?pathHash=4b9d23c5">my.checkBeforeAddOrder</a> 接口返回
  	 */
  	@ApiField("source_id")
  	private String sourceId;
  
  	/**
  	 * 阶段付款计划，租赁场景或分期代扣场景，该字段必填
  	 */
  	@ApiListField("stage_pay_plans")
  	@ApiField("stage_pay_plan_d_t_o")
  	private List<StagePayPlanDTO> stagePayPlans;
  
  	/**
  	 * 二级商户信息。 
  	 */
  	@ApiField("sub_merchant")
  	private SubMerchantDTO subMerchant;
  
  	/**
  	 * 订单相对超时时间。从交易创建时间开始计算。
  该笔订单允许的最晚付款时间，逾期将关闭交易。取值范围：1m～15d。m-分钟，h-小时，d-天。 该参数数值不接受小数点， 如 1.5h，可转换为  90m。
  默认值为3h。
  	 */
  	@ApiField("timeout_express")
  	private String timeoutExpress;
  
  	/**
  	 * 注意：不可使用特殊字符，如 /，=，& 等。
  	 */
  	@ApiField("title")
  	private String title;
  
  	/**
  	 * 收单appid；商家异收单主体情况下，当前功能不支持（当前默认下单主体为收单主体）；需要商家回传收单主体，实现真实交易流程；
  	 */
  	@ApiField("trade_app_id")
  	private String tradeAppId;
  
  	public MiniReceiverAddressInfoDTO getAddressInfo() {
  		return this.addressInfo;
  	}
  	public void setAddressInfo(MiniReceiverAddressInfoDTO addressInfo) {
  		this.addressInfo = addressInfo;
  	}
  
  	public AgreementSignInfoDTO getAgreementSignInfo() {
  		return this.agreementSignInfo;
  	}
  	public void setAgreementSignInfo(AgreementSignInfoDTO agreementSignInfo) {
  		this.agreementSignInfo = agreementSignInfo;
  	}
  
  	public AllocAmountInfoDTO getAllocAmountInfo() {
  		return this.allocAmountInfo;
  	}
  	public void setAllocAmountInfo(AllocAmountInfoDTO allocAmountInfo) {
  		this.allocAmountInfo = allocAmountInfo;
  	}
  
  	public MiniBusinessParamsDTO getBusinessParams() {
  		return this.businessParams;
  	}
  	public void setBusinessParams(MiniBusinessParamsDTO businessParams) {
  		this.businessParams = businessParams;
  	}
  
  	public String getBuyerId() {
  		return this.buyerId;
  	}
  	public void setBuyerId(String buyerId) {
  		this.buyerId = buyerId;
  	}
  
  	public String getBuyerLogonId() {
  		return this.buyerLogonId;
  	}
  	public void setBuyerLogonId(String buyerLogonId) {
  		this.buyerLogonId = buyerLogonId;
  	}
  
  	public String getBuyerOpenId() {
  		return this.buyerOpenId;
  	}
  	public void setBuyerOpenId(String buyerOpenId) {
  		this.buyerOpenId = buyerOpenId;
  	}
  
  	public String getConfirmTimeoutExpress() {
  		return this.confirmTimeoutExpress;
  	}
  	public void setConfirmTimeoutExpress(String confirmTimeoutExpress) {
  		this.confirmTimeoutExpress = confirmTimeoutExpress;
  	}
  
  	public ContactInfoDTO getContactInfo() {
  		return this.contactInfo;
  	}
  	public void setContactInfo(ContactInfoDTO contactInfo) {
  		this.contactInfo = contactInfo;
  	}
  
  	public CreditInfoDTO getCreditInfo() {
  		return this.creditInfo;
  	}
  	public void setCreditInfo(CreditInfoDTO creditInfo) {
  		this.creditInfo = creditInfo;
  	}
  
  	public MiniReceiverAddressInfoDTO getDefaultReceivingAddress() {
  		return this.defaultReceivingAddress;
  	}
  	public void setDefaultReceivingAddress(MiniReceiverAddressInfoDTO defaultReceivingAddress) {
  		this.defaultReceivingAddress = defaultReceivingAddress;
  	}
  
  	public LogisticsInfoDTO getDeliveryDetail() {
  		return this.deliveryDetail;
  	}
  	public void setDeliveryDetail(LogisticsInfoDTO deliveryDetail) {
  		this.deliveryDetail = deliveryDetail;
  	}
  
  	public MiniOrderExtInfoDTO getExtInfo() {
  		return this.extInfo;
  	}
  	public void setExtInfo(MiniOrderExtInfoDTO extInfo) {
  		this.extInfo = extInfo;
  	}
  
  	public FundAuthFreezeInfoDTO getFundAuthFreezeInfo() {
  		return this.fundAuthFreezeInfo;
  	}
  	public void setFundAuthFreezeInfo(FundAuthFreezeInfoDTO fundAuthFreezeInfo) {
  		this.fundAuthFreezeInfo = fundAuthFreezeInfo;
  	}
  
  	public String getMemo() {
  		return this.memo;
  	}
  	public void setMemo(String memo) {
  		this.memo = memo;
  	}
  
  	public String getMerchantBizType() {
  		return this.merchantBizType;
  	}
  	public void setMerchantBizType(String merchantBizType) {
  		this.merchantBizType = merchantBizType;
  	}
  
  	public MiniOrderDetailDTO getOrderDetail() {
  		return this.orderDetail;
  	}
  	public void setOrderDetail(MiniOrderDetailDTO orderDetail) {
  		this.orderDetail = orderDetail;
  	}
  
  	public String getOutOrderId() {
  		return this.outOrderId;
  	}
  	public void setOutOrderId(String outOrderId) {
  		this.outOrderId = outOrderId;
  	}
  
  	public String getPath() {
  		return this.path;
  	}
  	public void setPath(String path) {
  		this.path = path;
  	}
  
  	public PromoDetailInfoDTO getPromoDetailInfo() {
  		return this.promoDetailInfo;
  	}
  	public void setPromoDetailInfo(PromoDetailInfoDTO promoDetailInfo) {
  		this.promoDetailInfo = promoDetailInfo;
  	}
  
  	public RoyaltyInfo getRoyaltyInfo() {
  		return this.royaltyInfo;
  	}
  	public void setRoyaltyInfo(RoyaltyInfo royaltyInfo) {
  		this.royaltyInfo = royaltyInfo;
  	}
  
  	public String getSellerId() {
  		return this.sellerId;
  	}
  	public void setSellerId(String sellerId) {
  		this.sellerId = sellerId;
  	}
  
  	public MiniOrderAddressInfoDTO getSendAddressInfo() {
  		return this.sendAddressInfo;
  	}
  	public void setSendAddressInfo(MiniOrderAddressInfoDTO sendAddressInfo) {
  		this.sendAddressInfo = sendAddressInfo;
  	}
  
  	public String getServiceProviderModel() {
  		return this.serviceProviderModel;
  	}
  	public void setServiceProviderModel(String serviceProviderModel) {
  		this.serviceProviderModel = serviceProviderModel;
  	}
  
  	public String getServiceType() {
  		return this.serviceType;
  	}
  	public void setServiceType(String serviceType) {
  		this.serviceType = serviceType;
  	}
  
  	public ShopInfoDTO getShopInfo() {
  		return this.shopInfo;
  	}
  	public void setShopInfo(ShopInfoDTO shopInfo) {
  		this.shopInfo = shopInfo;
  	}
  
  	public String getSourceId() {
  		return this.sourceId;
  	}
  	public void setSourceId(String sourceId) {
  		this.sourceId = sourceId;
  	}
  
  	public List<StagePayPlanDTO> getStagePayPlans() {
  		return this.stagePayPlans;
  	}
  	public void setStagePayPlans(List<StagePayPlanDTO> stagePayPlans) {
  		this.stagePayPlans = stagePayPlans;
  	}
  
  	public SubMerchantDTO getSubMerchant() {
  		return this.subMerchant;
  	}
  	public void setSubMerchant(SubMerchantDTO subMerchant) {
  		this.subMerchant = subMerchant;
  	}
  
  	public String getTimeoutExpress() {
  		return this.timeoutExpress;
  	}
  	public void setTimeoutExpress(String timeoutExpress) {
  		this.timeoutExpress = timeoutExpress;
  	}
  
  	public String getTitle() {
  		return this.title;
  	}
  	public void setTitle(String title) {
  		this.title = title;
  	}
  
  	public String getTradeAppId() {
  		return this.tradeAppId;
  	}
  	public void setTradeAppId(String tradeAppId) {
  		this.tradeAppId = tradeAppId;
  	}
  
  }
  