content: package com.alipay.api.domain;
  
  import com.alipay.api.AlipayObject;
  import com.alipay.api.internal.mapping.ApiField;
  
  /**
   * 券相对核销时间
   *
   * @author auto create
   * @since 1.0, 2025-06-17 16:18:31
   */
  public class VoucherRelativePeriodInfo extends AlipayObject {
  
  	private static final long serialVersionUID = 5146246396146621819L;
  
  	/**
  	 * 核销时间限制
  	 */
  	@ApiField("time_restrict_info")
  	private TimeRestrictInfo timeRestrictInfo;
  
  	/**
  	 * 券生效后 N 天内可以使用。 可以配合wait_days_after_receive 字段使用。
  	 */
  	@ApiField("valid_days_after_receive")
  	private Long validDaysAfterReceive;
  
  	/**
  	 * 用户领券后需要等待 N 天，券才可以生效。 
  字段值为 0 表示用户领券后立刻生效。
  	 */
  	@ApiField("wait_days_after_receive")
  	private Long waitDaysAfterReceive;
  
  	public TimeRestrictInfo getTimeRestrictInfo() {
  		return this.timeRestrictInfo;
  	}
  	public void setTimeRestrictInfo(TimeRestrictInfo timeRestrictInfo) {
  		this.timeRestrictInfo = timeRestrictInfo;
  	}
  
  	public Long getValidDaysAfterReceive() {
  		return this.validDaysAfterReceive;
  	}
  	public void setValidDaysAfterReceive(Long validDaysAfterReceive) {
  		this.validDaysAfterReceive = validDaysAfterReceive;
  	}
  
  	public Long getWaitDaysAfterReceive() {
  		return this.waitDaysAfterReceive;
  	}
  	public void setWaitDaysAfterReceive(Long waitDaysAfterReceive) {
  		this.waitDaysAfterReceive = waitDaysAfterReceive;
  	}
  
  }
  