Skip to content

Commit c819430

Browse files
committed
CKP二期支付结果查询和支付结果通知透出支付方式信息
1 parent 2c1abd9 commit c819430

File tree

4 files changed

+191
-0
lines changed

4 files changed

+191
-0
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# Changelog
22

3+
## 1.3.7 - 2024-11-25
4+
* [#20](https://github.com/alipay/global-open-sdk-php/pull/20) feature-241125
5+
- update AlipayPayResultNotify
6+
- update AlipayPayQueryRequest
7+
38
## 1.3.7 - 2024-11-25
49
* [#19](https://github.com/alipay/global-open-sdk-php/pull/19) feature-241125
510
- update Leg

model/Leg.php

Lines changed: 147 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,151 @@ class Leg
1414

1515
public $departureAirportCode;
1616
public $arrivalAirportCode;
17+
18+
/**
19+
* @return mixed
20+
*/
21+
public function getDepartureTime()
22+
{
23+
return $this->departureTime;
24+
}
25+
26+
/**
27+
* @param mixed $departureTime
28+
*/
29+
public function setDepartureTime($departureTime)
30+
{
31+
$this->departureTime = $departureTime;
32+
}
33+
34+
/**
35+
* @return mixed
36+
*/
37+
public function getArrivalTime()
38+
{
39+
return $this->arrivalTime;
40+
}
41+
42+
/**
43+
* @param mixed $arrivalTime
44+
*/
45+
public function setArrivalTime($arrivalTime)
46+
{
47+
$this->arrivalTime = $arrivalTime;
48+
}
49+
50+
/**
51+
* @return mixed
52+
*/
53+
public function getDepartureAddress()
54+
{
55+
return $this->departureAddress;
56+
}
57+
58+
/**
59+
* @param mixed $departureAddress
60+
*/
61+
public function setDepartureAddress($departureAddress)
62+
{
63+
$this->departureAddress = $departureAddress;
64+
}
65+
66+
/**
67+
* @return mixed
68+
*/
69+
public function getArrivalAddress()
70+
{
71+
return $this->arrivalAddress;
72+
}
73+
74+
/**
75+
* @param mixed $arrivalAddress
76+
*/
77+
public function setArrivalAddress($arrivalAddress)
78+
{
79+
$this->arrivalAddress = $arrivalAddress;
80+
}
81+
82+
/**
83+
* @return mixed
84+
*/
85+
public function getCarrierName()
86+
{
87+
return $this->carrierName;
88+
}
89+
90+
/**
91+
* @param mixed $carrierName
92+
*/
93+
public function setCarrierName($carrierName)
94+
{
95+
$this->carrierName = $carrierName;
96+
}
97+
98+
/**
99+
* @return mixed
100+
*/
101+
public function getCarrierNo()
102+
{
103+
return $this->carrierNo;
104+
}
105+
106+
/**
107+
* @param mixed $carrierNo
108+
*/
109+
public function setCarrierNo($carrierNo)
110+
{
111+
$this->carrierNo = $carrierNo;
112+
}
113+
114+
/**
115+
* @return mixed
116+
*/
117+
public function getClassType()
118+
{
119+
return $this->classType;
120+
}
121+
122+
/**
123+
* @param mixed $classType
124+
*/
125+
public function setClassType($classType)
126+
{
127+
$this->classType = $classType;
128+
}
129+
130+
/**
131+
* @return mixed
132+
*/
133+
public function getDepartureAirportCode()
134+
{
135+
return $this->departureAirportCode;
136+
}
137+
138+
/**
139+
* @param mixed $departureAirportCode
140+
*/
141+
public function setDepartureAirportCode($departureAirportCode)
142+
{
143+
$this->departureAirportCode = $departureAirportCode;
144+
}
145+
146+
/**
147+
* @return mixed
148+
*/
149+
public function getArrivalAirportCode()
150+
{
151+
return $this->arrivalAirportCode;
152+
}
153+
154+
/**
155+
* @param mixed $arrivalAirportCode
156+
*/
157+
public function setArrivalAirportCode($arrivalAirportCode)
158+
{
159+
$this->arrivalAirportCode = $arrivalAirportCode;
160+
}
161+
162+
163+
17164
}

request/notify/AlipayPayResultNotify.php

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,26 @@ class AlipayPayResultNotify extends \Request\notify\AlipayNotify
3131

3232
public $promotionResult;
3333

34+
public $paymentMethodType;
35+
36+
/**
37+
* @return mixed
38+
*/
39+
public function getPaymentMethodType()
40+
{
41+
return $this->paymentMethodType;
42+
}
43+
44+
/**
45+
* @param mixed $paymentMethodType
46+
*/
47+
public function setPaymentMethodType($paymentMethodType)
48+
{
49+
$this->paymentMethodType = $paymentMethodType;
50+
}
51+
52+
53+
3454
/**
3555
* @return mixed
3656
*/

request/pay/AlipayPayQueryRequest.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,32 @@ class AlipayPayQueryRequest extends AlipayRequest
1212
public $paymentId;
1313

1414
public $merchantAccountId;
15+
public $paymentMethodType;
1516

1617

1718
function __construct()
1819
{
1920
$this->setPath(AntomPathConstants::INQUIRY_PAYMENT_PATH);
2021
}
2122

23+
/**
24+
* @return mixed
25+
*/
26+
public function getPaymentMethodType()
27+
{
28+
return $this->paymentMethodType;
29+
}
30+
31+
/**
32+
* @param mixed $paymentMethodType
33+
*/
34+
public function setPaymentMethodType($paymentMethodType)
35+
{
36+
$this->paymentMethodType = $paymentMethodType;
37+
}
38+
39+
40+
2241
/**
2342
* @return mixed
2443
*/

0 commit comments

Comments
 (0)