export declare const PDD_TICKET_SKU_RULE_EDIT = "pdd.ticket.sku.rule.edit"; /** * 接口名称:旅游门票商品履约规则修改 * 接口标识:pdd.ticket.sku.rule.edit * 接口使用场景:修改商品的履约规则 **/ export interface PddTicketSkuRuleEditRequestInterface { /** * @description: 下单人信息设置 * @type: PddTicketSkuRuleEditBookerInfoLimitationRequestInterface * @default: * **/ booker_info_limitation: PddTicketSkuRuleEditBookerInfoLimitationRequestInterface; /** * @description: 预定须知 * @type: PddTicketSkuRuleEditBookingNoticeRequestInterface * @default: * **/ booking_notice: PddTicketSkuRuleEditBookingNoticeRequestInterface; /** * @description: 下单限制 * @type: PddTicketSkuRuleEditOrderLimitationRequestInterface * @default: * **/ order_limitation?: PddTicketSkuRuleEditOrderLimitationRequestInterface; /** * @description: 商户rule ID * @type: string * @default: **/ out_rule_id?: string; /** * @description: 服务商联系方式 * @type: PddTicketSkuRuleEditProviderContactInfoRequestInterface * @default: * **/ provider_contact_info: PddTicketSkuRuleEditProviderContactInfoRequestInterface; /** * @description: 退款规则 * @type: PddTicketSkuRuleEditRefundLimitationsRequestInterface * @default: * **/ refund_limitations: PddTicketSkuRuleEditRefundLimitationsRequestInterface; /** * @description: 拼多多 rule ID * @type: string * @default: **/ rule_id?: string; /** * @description: 商户rule 名称 * @type: string * @default: **/ rule_name: string; /** * @description: 规则版本 * @type: string * @default: **/ rule_version?: string; /** * @description: 游玩人信息 * @type: PddTicketSkuRuleEditTravelerInfoLimitationRequestInterface * @default: * **/ traveler_info_limitation: PddTicketSkuRuleEditTravelerInfoLimitationRequestInterface; /** * @description: 卡券有效期设置 * @type: PddTicketSkuRuleEditValidLimitationRequestInterface * @default: * **/ valid_limitation: PddTicketSkuRuleEditValidLimitationRequestInterface; } /** * @description 下单人信息设置 * @default * @example **/ export interface PddTicketSkuRuleEditBookerInfoLimitationRequestInterface { /** * @description: 需要下单人信息 * @type: number * @default: **/ booker_required: number; /** * @description: 下单人手机 * @type: number * @default: **/ mobile?: number; } /** * @description 预定须知 * @default * @example **/ export interface PddTicketSkuRuleEditBookingNoticeRequestInterface { /** * @description: 入园地址 * @type: string * @default: **/ enter_address: string; /** * @description: 入园时间 * @type: PddTicketSkuRuleEditBookingNoticeEnterTimeRequestInterface[] * @default: * **/ enter_time: PddTicketSkuRuleEditBookingNoticeEnterTimeRequestInterface[]; /** * @description: 入园方式 * @type: string * @default: **/ enter_ways?: string; /** * @description: 补充说明 * @type: string * @default: **/ extra_desc?: string; /** * @description: 费用包含 * @type: string * @default: **/ fee_include?: string; /** * @description: 费用不包含 * @type: string * @default: **/ fee_not_include?: string; /** * @description: 重要提示 * @type: string * @default: **/ important_notice?: string; /** * @description: 通关限制时间 * @type: number * @default: **/ pass_time_limit?: number; /** * @description: 换票地址 * @type: string * @default: **/ ticket_place: string; /** * @description: 换票时间 * @type: PddTicketSkuRuleEditBookingNoticeTicketTimeRequestInterface[] * @default: * **/ ticket_time: PddTicketSkuRuleEditBookingNoticeTicketTimeRequestInterface[]; } /** * @description 入园时间 * @default * @example **/ export interface PddTicketSkuRuleEditBookingNoticeEnterTimeRequestInterface { /** * @description: 备注 * @type: string * @default: **/ comment?: string; /** * @description: 入园结束时间 * @type: string * @default: **/ end_at: string; /** * @description: 入园开始时间 * @type: string * @default: **/ start_at: string; } /** * @description 换票时间 * @default * @example **/ export interface PddTicketSkuRuleEditBookingNoticeTicketTimeRequestInterface { /** * @description: 备注 * @type: string * @default: **/ comment?: string; /** * @description: 换票结束时间 * @type: string * @default: **/ end_at: string; /** * @description: 换票开始时间 * @type: string * @default: **/ start_at: string; } /** * @description 下单限制 * @default * @example **/ export interface PddTicketSkuRuleEditOrderLimitationRequestInterface { /** * @description: 周期长度 * @type: number * @default: **/ cycle_length?: number; /** * @description: 限制类型 * @type: number * @default: **/ limitation_type?: number; /** * @description: 周期类型 * @type: number * @default: **/ limit_cycle?: number; /** * @description: 限购数量 * @type: number * @default: **/ limit_num?: number; } /** * @description 服务商联系方式 * @default * @example **/ export interface PddTicketSkuRuleEditProviderContactInfoRequestInterface { /** * @description: 服务时间 * @type: PddTicketSkuRuleEditProviderContactInfoProviderBusinessHourRequestInterface[] * @default: * **/ provider_business_hour: PddTicketSkuRuleEditProviderContactInfoProviderBusinessHourRequestInterface[]; /** * @description: 服务商名称 * @type: string * @default: **/ provider_name: string; /** * @description: 服务商联系电话 * @type: string * @default: **/ provider_telephone: string; } /** * @description 服务时间 * @default * @example **/ export interface PddTicketSkuRuleEditProviderContactInfoProviderBusinessHourRequestInterface { /** * @description: 结束时间 * @type: string * @default: **/ close_at?: string; /** * @description: 开始时间 * @type: string * @default: **/ open_at?: string; /** * @description: 描述 * @type: string * @default: **/ time_info?: string; } /** * @description 退款规则 * @default * @example **/ export interface PddTicketSkuRuleEditRefundLimitationsRequestInterface { /** * @description: 是否可退 * @type: number * @default: **/ is_refundable: number; /** * @description: 退款规则 * @type: PddTicketSkuRuleEditRefundLimitationsRefundRulesRequestInterface[] * @default: * **/ refund_rules: PddTicketSkuRuleEditRefundLimitationsRefundRulesRequestInterface[]; } /** * @description 退款规则 * @default * @example **/ export interface PddTicketSkuRuleEditRefundLimitationsRefundRulesRequestInterface { /** * @description: 游玩日 0 点提前 或之后分钟数 * @type: number * @default: **/ ahead_time?: number; /** * @description: 扣费值 * @type: number * @default: **/ deduction_fee: number; /** * @description: 费率单位 * @type: number * @default: **/ deduction_unit: number; /** * @description: 规则类型 * @type: number * @default: **/ type: number; } /** * @description 游玩人信息 * @default * @example **/ export interface PddTicketSkuRuleEditTravelerInfoLimitationRequestInterface { /** * @description: 游玩人证件 * @type: number * @default: **/ credential?: number; /** * @description: 游玩人名字 * @type: number * @default: **/ name?: number; /** * @description: 出游人信息设置 * @type: number * @default: **/ traveler_required: number; } /** * @description 卡券有效期设置 * @default * @example **/ export interface PddTicketSkuRuleEditValidLimitationRequestInterface { /** * @description: 天数内有效 * @type: number * @default: **/ days_time?: number; /** * @description: 结束时间 * @type: string | number * @default: **/ end_time?: string | number; /** * @description: 开始时间 * @type: string | number * @default: **/ start_time?: string | number; /** * @description: 有效期时间类型 * @type: number * @default: **/ time_type: number; } /** * 接口名称:旅游门票商品履约规则修改 * 接口标识:pdd.ticket.sku.rule.edit * 接口使用场景:修改商品的履约规则 **/ export interface PddTicketSkuRuleEditResponseInterface { /** * @description: * @type: PddTicketSkuRuleEditResponseResponseInterface * @default: * **/ response: PddTicketSkuRuleEditResponseResponseInterface; } /** * @description * @default * @example **/ export interface PddTicketSkuRuleEditResponseResponseInterface { /** * @description: 规则 ID * @type: string * @default: **/ rule_id: string; /** * @description: 版本 * @type: string * @default: **/ rule_version: string; }