|
| 1 | +<?php declare(strict_types=1);/* Generated file. DO NOT EDIT! */ |
| 2 | + |
| 3 | +namespace WeChatPay\OpenAPI\V3\Parking\Reminders; |
| 4 | + |
| 5 | +use Psr\Http\Message\ResponseInterface; |
| 6 | +use GuzzleHttp\Promise\PromiseInterface; |
| 7 | + |
| 8 | +/** |
| 9 | + * @property-read Application\Query $query |
| 10 | + * @property-read Application\Withdraw $withdraw |
| 11 | + */ |
| 12 | +interface Application |
| 13 | +{ |
| 14 | + /** |
| 15 | + * 提交停车场进件申请(同步模式) |
| 16 | + * @param array<string,mixed> $options |
| 17 | + * @link https://wechatpay.im/openapi/v3/parking/reminders/application |
| 18 | + */ |
| 19 | + public function post(array $options = [ |
| 20 | + 'json' => [ |
| 21 | + 'parking_lot' => [ |
| 22 | + 'parking_lot_name' => 'XX购物中心停车场', |
| 23 | + 'out_parking_lot_id' => 'PARK001', |
| 24 | + 'parking_lot_address' => 'XX市XX区XX路XX号', |
| 25 | + 'longitude' => '116.397128', |
| 26 | + 'latitude' => '39.916527', |
| 27 | + 'parking_lot_type' => 'PARKING_LOT_TYPE_BUSINESS_DISTRICT', |
| 28 | + 'phone_number' => '13800138000', |
| 29 | + 'parking_sign_url' => 'https://example.com/parking_sign.jpg', |
| 30 | + 'notification_text_list' => ['string'], |
| 31 | + 'payment_mini_prog_appid' => 'wx1234567890abcdef', |
| 32 | + 'payment_path' => 'pages/pay/index', |
| 33 | + 'parking_order_mini_prog_appid' => 'wx1234567890abcdef', |
| 34 | + 'parking_order_path' => 'pages/order/index', |
| 35 | + 'charging_rule' => [ |
| 36 | + 'rule_type' => 'CHARGING_RULE_FIXED_INTERVAL', |
| 37 | + 'fee_limit_type' => 'FEE_LIMIT_AGGREGATE', |
| 38 | + 'daily_limit_type' => 'DAILY_LIMIT_CALENDAR_DAY', |
| 39 | + 'time_rounding_type' => 'TIME_ROUND_UP', |
| 40 | + 'free_entry_duration' => 30, |
| 41 | + 'free_exit_duration' => 15, |
| 42 | + 'fixed_interval_rule' => [[ |
| 43 | + 'day_type' => 'DAY_TYPE_WEEKDAY', |
| 44 | + 'start_time' => '09:00', |
| 45 | + 'end_time' => '18:00', |
| 46 | + 'vehicle_type' => 'VEHICLE_TYPE_SMALL', |
| 47 | + 'plate_type' => 'PLATE_TYPE_TEMPORARY', |
| 48 | + 'first_duration' => 60, |
| 49 | + 'first_amount' => 500, |
| 50 | + 'interval_duration' => 30, |
| 51 | + 'interval_amount' => 200, |
| 52 | + 'interval_max_amount' => 1000, |
| 53 | + 'max_fee_per_day' => 5000, |
| 54 | + 'free_period_charging_mode' => 'FREE_PERIOD_CHARGING_ONCE_PER_ENTRY', |
| 55 | + 'free_period_calculation_mode' => 'FREE_PERIOD_CAL_SEQUENTIAL_START', |
| 56 | + 'is_green_vehicle_free_parking' => true, |
| 57 | + 'first_duration_mode' => 'FIRST_DURATION_MODE_ONLY_FIRST_DURATION', |
| 58 | + ],], |
| 59 | + 'duration_segment_rule' => [[ |
| 60 | + 'day_type' => 'DAY_TYPE_WEEKDAY', |
| 61 | + 'start_time' => '09:00', |
| 62 | + 'end_time' => '18:00', |
| 63 | + 'vehicle_type' => 'VEHICLE_TYPE_SMALL', |
| 64 | + 'plate_type' => 'PLATE_TYPE_TEMPORARY', |
| 65 | + 'charge_mode' => 'INTERVAL', |
| 66 | + 'duration_from' => 0, |
| 67 | + 'duration_to' => 60, |
| 68 | + 'fixed_amount' => 1000, |
| 69 | + 'interval_min' => 30, |
| 70 | + 'interval_amount' => 200, |
| 71 | + 'interval_max_amount' => 1000, |
| 72 | + 'max_fee_per_day' => 5000, |
| 73 | + ],], |
| 74 | + 'pre_entry_rule' => [[ |
| 75 | + 'day_type' => 'DAY_TYPE_WEEKDAY', |
| 76 | + 'start_time' => '09:00', |
| 77 | + 'end_time' => '18:00', |
| 78 | + 'vehicle_type' => 'VEHICLE_TYPE_SMALL', |
| 79 | + 'plate_type' => 'PLATE_TYPE_TEMPORARY', |
| 80 | + 'amount' => 1000, |
| 81 | + 'max_fee_per_day' => 5000, |
| 82 | + ],], |
| 83 | + 'holiday_mode' => 'HOLIDAY_MODE_LEGAL_MODY', |
| 84 | + 'aggregate_limit_mode' => 'AGGREGATE_LIMIT_MODE_NORMAL', |
| 85 | + 'first_charge_time_mode' => 'FIRST_CHARGE_TIME_MODE_ENTER', |
| 86 | + ], |
| 87 | + ], |
| 88 | + ], |
| 89 | + ]): ResponseInterface; |
| 90 | + |
| 91 | + /** |
| 92 | + * 提交停车场进件申请(异步模式) |
| 93 | + * @param array<string,mixed> $options |
| 94 | + * @link https://wechatpay.im/openapi/v3/parking/reminders/application |
| 95 | + */ |
| 96 | + public function postAsync(array $options = [ |
| 97 | + 'json' => [ |
| 98 | + 'parking_lot' => [ |
| 99 | + 'parking_lot_name' => 'XX购物中心停车场', |
| 100 | + 'out_parking_lot_id' => 'PARK001', |
| 101 | + 'parking_lot_address' => 'XX市XX区XX路XX号', |
| 102 | + 'longitude' => '116.397128', |
| 103 | + 'latitude' => '39.916527', |
| 104 | + 'parking_lot_type' => 'PARKING_LOT_TYPE_BUSINESS_DISTRICT', |
| 105 | + 'phone_number' => '13800138000', |
| 106 | + 'parking_sign_url' => 'https://example.com/parking_sign.jpg', |
| 107 | + 'notification_text_list' => ['string'], |
| 108 | + 'payment_mini_prog_appid' => 'wx1234567890abcdef', |
| 109 | + 'payment_path' => 'pages/pay/index', |
| 110 | + 'parking_order_mini_prog_appid' => 'wx1234567890abcdef', |
| 111 | + 'parking_order_path' => 'pages/order/index', |
| 112 | + 'charging_rule' => [ |
| 113 | + 'rule_type' => 'CHARGING_RULE_FIXED_INTERVAL', |
| 114 | + 'fee_limit_type' => 'FEE_LIMIT_AGGREGATE', |
| 115 | + 'daily_limit_type' => 'DAILY_LIMIT_CALENDAR_DAY', |
| 116 | + 'time_rounding_type' => 'TIME_ROUND_UP', |
| 117 | + 'free_entry_duration' => 30, |
| 118 | + 'free_exit_duration' => 15, |
| 119 | + 'fixed_interval_rule' => [[ |
| 120 | + 'day_type' => 'DAY_TYPE_WEEKDAY', |
| 121 | + 'start_time' => '09:00', |
| 122 | + 'end_time' => '18:00', |
| 123 | + 'vehicle_type' => 'VEHICLE_TYPE_SMALL', |
| 124 | + 'plate_type' => 'PLATE_TYPE_TEMPORARY', |
| 125 | + 'first_duration' => 60, |
| 126 | + 'first_amount' => 500, |
| 127 | + 'interval_duration' => 30, |
| 128 | + 'interval_amount' => 200, |
| 129 | + 'interval_max_amount' => 1000, |
| 130 | + 'max_fee_per_day' => 5000, |
| 131 | + 'free_period_charging_mode' => 'FREE_PERIOD_CHARGING_ONCE_PER_ENTRY', |
| 132 | + 'free_period_calculation_mode' => 'FREE_PERIOD_CAL_SEQUENTIAL_START', |
| 133 | + 'is_green_vehicle_free_parking' => true, |
| 134 | + 'first_duration_mode' => 'FIRST_DURATION_MODE_ONLY_FIRST_DURATION', |
| 135 | + ],], |
| 136 | + 'duration_segment_rule' => [[ |
| 137 | + 'day_type' => 'DAY_TYPE_WEEKDAY', |
| 138 | + 'start_time' => '09:00', |
| 139 | + 'end_time' => '18:00', |
| 140 | + 'vehicle_type' => 'VEHICLE_TYPE_SMALL', |
| 141 | + 'plate_type' => 'PLATE_TYPE_TEMPORARY', |
| 142 | + 'charge_mode' => 'INTERVAL', |
| 143 | + 'duration_from' => 0, |
| 144 | + 'duration_to' => 60, |
| 145 | + 'fixed_amount' => 1000, |
| 146 | + 'interval_min' => 30, |
| 147 | + 'interval_amount' => 200, |
| 148 | + 'interval_max_amount' => 1000, |
| 149 | + 'max_fee_per_day' => 5000, |
| 150 | + ],], |
| 151 | + 'pre_entry_rule' => [[ |
| 152 | + 'day_type' => 'DAY_TYPE_WEEKDAY', |
| 153 | + 'start_time' => '09:00', |
| 154 | + 'end_time' => '18:00', |
| 155 | + 'vehicle_type' => 'VEHICLE_TYPE_SMALL', |
| 156 | + 'plate_type' => 'PLATE_TYPE_TEMPORARY', |
| 157 | + 'amount' => 1000, |
| 158 | + 'max_fee_per_day' => 5000, |
| 159 | + ],], |
| 160 | + 'holiday_mode' => 'HOLIDAY_MODE_LEGAL_MODY', |
| 161 | + 'aggregate_limit_mode' => 'AGGREGATE_LIMIT_MODE_NORMAL', |
| 162 | + 'first_charge_time_mode' => 'FIRST_CHARGE_TIME_MODE_ENTER', |
| 163 | + ], |
| 164 | + ], |
| 165 | + ], |
| 166 | + ]): PromiseInterface; |
| 167 | +} |
0 commit comments