File tree Expand file tree Collapse file tree 3 files changed +75
-2
lines changed Expand file tree Collapse file tree 3 files changed +75
-2
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ class AlipayPayConsultRequest extends AlipayRequest{
8
8
public $ productCode ;
9
9
public $ paymentAmount ;
10
10
public $ allowedPaymentMethods ;
11
+ public $ allowedPaymentMethodRegions ;
11
12
public $ blockedPaymentMethods ;
12
13
public $ region ;
13
14
public $ customerId ;
@@ -22,6 +23,11 @@ class AlipayPayConsultRequest extends AlipayRequest{
22
23
23
24
public $ merchantAccountId ;
24
25
26
+ public $ merchantRegion ;
27
+
28
+ public $ buyer ;
29
+
30
+
25
31
function __construct (){
26
32
$ this ->setPath (AntomPathConstants::CONSULT_PAYMENT_PATH );
27
33
}
@@ -59,9 +65,7 @@ public function setAllowedPaymentMethodRegions($allowedPaymentMethodRegions)
59
65
$ this ->allowedPaymentMethodRegions = $ allowedPaymentMethodRegions ;
60
66
}
61
67
62
- public $ merchantRegion ;
63
68
64
- public $ allowedPaymentMethodRegions ;
65
69
66
70
/**
67
71
* @return mixed
@@ -303,5 +307,21 @@ public function setMerchantAccountId($merchantAccountId)
303
307
$ this ->merchantAccountId = $ merchantAccountId ;
304
308
}
305
309
310
+ /**
311
+ * @return mixed
312
+ */
313
+ public function getBuyer ()
314
+ {
315
+ return $ this ->buyer ;
316
+ }
317
+
318
+ /**
319
+ * @param mixed $buyer
320
+ */
321
+ public function setBuyer ($ buyer ): void
322
+ {
323
+ $ this ->buyer = $ buyer ;
324
+ }
325
+
306
326
307
327
}
Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ class AlipayPayQueryRequest extends AlipayRequest{
8
8
public $ paymentRequestId ;
9
9
public $ paymentId ;
10
10
11
+ public $ merchantAccountId ;
12
+
11
13
12
14
function __construct (){
13
15
$ this ->setPath (AntomPathConstants::INQUIRY_PAYMENT_PATH );
@@ -45,4 +47,20 @@ public function setPaymentId($paymentId)
45
47
$ this ->paymentId = $ paymentId ;
46
48
}
47
49
50
+ /**
51
+ * @return mixed
52
+ */
53
+ public function getMerchantAccountId ()
54
+ {
55
+ return $ this ->merchantAccountId ;
56
+ }
57
+
58
+ /**
59
+ * @param mixed $merchantAccountId
60
+ */
61
+ public function setMerchantAccountId ($ merchantAccountId ): void
62
+ {
63
+ $ this ->merchantAccountId = $ merchantAccountId ;
64
+ }
65
+
48
66
}
Original file line number Diff line number Diff line change @@ -25,6 +25,9 @@ class AlipayPayRequest extends AlipayRequest{
25
25
public $ merchantRegion ;
26
26
27
27
public $ env ;
28
+ public $ merchantAccountId ;
29
+
30
+ public $ userRegion ;
28
31
29
32
30
33
function __construct (){
@@ -337,5 +340,37 @@ public function setEnv($env)
337
340
$ this ->env = $ env ;
338
341
}
339
342
343
+ /**
344
+ * @return mixed
345
+ */
346
+ public function getMerchantAccountId ()
347
+ {
348
+ return $ this ->merchantAccountId ;
349
+ }
350
+
351
+ /**
352
+ * @param mixed $merchantAccountId
353
+ */
354
+ public function setMerchantAccountId ($ merchantAccountId ): void
355
+ {
356
+ $ this ->merchantAccountId = $ merchantAccountId ;
357
+ }
358
+
359
+ /**
360
+ * @return mixed
361
+ */
362
+ public function getUserRegion ()
363
+ {
364
+ return $ this ->userRegion ;
365
+ }
366
+
367
+ /**
368
+ * @param mixed $userRegion
369
+ */
370
+ public function setUserRegion ($ userRegion ): void
371
+ {
372
+ $ this ->userRegion = $ userRegion ;
373
+ }
374
+
340
375
341
376
}
You can’t perform that action at this time.
0 commit comments