Skip to content

Commit 3c30e6e

Browse files
committed
update 250410
1 parent 34b2713 commit 3c30e6e

10 files changed

+202
-1
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.4.4 - 2025-04-10
4+
* [#27](https://github.com/alipay/global-open-sdk-php/pull/25) feature-250410
5+
- Antom 印度渠道接入AMS拒付相关接口的标准变更
6+
- Antom印度渠道接入(UPI/CARD/NETBAKING)相关接口标准变更
7+
- CKP二期支持商户传入支付方式地区和支付方式要素
38

49
## 1.4.3 - 2025-03-13
510
* [#26](https://github.com/alipay/global-open-sdk-php/pull/25) feature-250313

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
```
22
Language:PHP
33
PHP version:5.6.40+
4-
Releass ^1.4.3
4+
Releass ^1.4.4
55
Copyright:Ant financial services group
66
```
77

init.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
require __DIR__ . '/request/pay/EntryCodePaymentRequest.php';
3535
require __DIR__ . '/request/pay/OrderCodePaymentRequest.php';
3636
require __DIR__ . '/request/pay/UserPresentedCodePaymentRequest.php';
37+
require __DIR__ . '/request/pay/AlipayUploadInvoiceShippingFileRequest.php';
3738

3839

3940
//subscription
@@ -208,7 +209,11 @@
208209
require __DIR__ . '/model/AvailablePaymentMethod.php';
209210
require __DIR__ . '/model/PaymentMethodTypeItem.php';
210211
require __DIR__ . '/model/AgreementInfo.php';
212+
require __DIR__ . '/model/DisputeEvidenceFormatType.php';
211213
require __DIR__ . '/model/Discount.php';
214+
require __DIR__ . '/model/DisputeJudgedResult.php';
215+
require __DIR__ . '/model/DisputeType.php';
216+
require __DIR__ . '/model/PaymentMethodType.php';
212217

213218

214219

model/AvailablePaymentMethod.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,25 @@
55
class AvailablePaymentMethod
66
{
77
public $paymentMethodTypeList;
8+
public $paymentMethodMetaData;
9+
10+
/**
11+
* @return mixed
12+
*/
13+
public function getPaymentMethodMetaData()
14+
{
15+
return $this->paymentMethodMetaData;
16+
}
17+
18+
/**
19+
* @param mixed $paymentMethodMetaData
20+
*/
21+
public function setPaymentMethodMetaData($paymentMethodMetaData)
22+
{
23+
$this->paymentMethodMetaData = $paymentMethodMetaData;
24+
}
25+
26+
827

928
/**
1029
* @return mixed

model/DisputeEvidenceFormatType.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?php
2+
3+
namespace Model;
4+
5+
class DisputeEvidenceFormatType
6+
{
7+
const PDF = "PDF";
8+
const WORD = "WORD";
9+
const ZIP = "ZIP";
10+
const JPG = "JPG";
11+
}

model/DisputeJudgedResult.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?php
2+
3+
namespace Model;
4+
5+
class DisputeJudgedResult
6+
{
7+
const ACCEPT_BY_CUSTOMER = "ACCEPT_BY_CUSTOMER";
8+
const ACCEPT_BY_MERCHANT = "ACCEPT_BY_MERCHANT";
9+
10+
const VALIDATE_SUCCESS = "VALIDATE_SUCCESS";
11+
12+
const VALIDATE_FAIL = "VALIDATE_FAIL";
13+
14+
}

model/DisputeType.php

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<?php
2+
3+
namespace Model;
4+
5+
class DisputeType
6+
{
7+
8+
const CHARGEBACK = "CHARGEBACK";
9+
const RETRIEVAL_REQUEST = "RETRIEVAL_REQUEST";
10+
const COMPLIANCE_REQUEST = "COMPLIANCE_REQUEST";
11+
}

model/PaymentMethodType.php

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
<?php
2+
3+
namespace Model;
4+
5+
class PaymentMethodType
6+
{
7+
const DISCOUNT = "DISCOUNT";
8+
const INTEREST_FREE = "INTEREST_FREE";
9+
const BALANCE_ACCOUNT = "BALANCE_ACCOUNT";
10+
const SETTLEMENT_CARD = "SETTLEMENT_CARD";
11+
const APPLEPAY = "APPLEPAY";
12+
const UPI = "UPI";
13+
const ONLINEBANKING_NETBANKING = "ONLINEBANKING_NETBANKING";
14+
}

request/pay/AlipayPaymentSessionRequest.php

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,13 +98,32 @@ class AlipayPaymentSessionRequest extends AlipayRequest
9898
public $locale;
9999

100100
public $availablePaymentMethod;
101+
private $allowedPaymentMethodRegions;
101102

102103

103104
function __construct()
104105
{
105106
$this->setPath(AntomPathConstants::CREATE_SESSION_PATH);
106107
}
107108

109+
/**
110+
* @return mixed
111+
*/
112+
public function getAllowedPaymentMethodRegions()
113+
{
114+
return $this->allowedPaymentMethodRegions;
115+
}
116+
117+
/**
118+
* @param mixed $allowedPaymentMethodRegions
119+
*/
120+
public function setAllowedPaymentMethodRegions($allowedPaymentMethodRegions)
121+
{
122+
$this->allowedPaymentMethodRegions = $allowedPaymentMethodRegions;
123+
}
124+
125+
126+
108127
/**
109128
* @return mixed
110129
*/
Lines changed: 103 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
<?php
2+
3+
namespace Request\pay;
4+
5+
use Model\AntomPathConstants;
6+
use Request\AlipayRequest;
7+
8+
class AlipayUploadInvoiceShippingFileRequest extends AlipayRequest
9+
{
10+
public $paymentRequestId;
11+
public $fileId;
12+
public $uploadFile;
13+
public $fileType;
14+
public $fileName;
15+
16+
17+
function __construct()
18+
{
19+
$this->setPath("/ams/api/v1/payments/uploadInvoiceShippingFile");
20+
}
21+
22+
/**
23+
* @return mixed
24+
*/
25+
public function getPaymentRequestId()
26+
{
27+
return $this->paymentRequestId;
28+
}
29+
30+
/**
31+
* @param mixed $paymentRequestId
32+
*/
33+
public function setPaymentRequestId($paymentRequestId)
34+
{
35+
$this->paymentRequestId = $paymentRequestId;
36+
}
37+
38+
/**
39+
* @return mixed
40+
*/
41+
public function getFileId()
42+
{
43+
return $this->fileId;
44+
}
45+
46+
/**
47+
* @param mixed $fileId
48+
*/
49+
public function setFileId($fileId)
50+
{
51+
$this->fileId = $fileId;
52+
}
53+
54+
/**
55+
* @return mixed
56+
*/
57+
public function getUploadFile()
58+
{
59+
return $this->uploadFile;
60+
}
61+
62+
/**
63+
* @param mixed $uploadFile
64+
*/
65+
public function setUploadFile($uploadFile)
66+
{
67+
$this->uploadFile = $uploadFile;
68+
}
69+
70+
/**
71+
* @return mixed
72+
*/
73+
public function getFileType()
74+
{
75+
return $this->fileType;
76+
}
77+
78+
/**
79+
* @param mixed $fileType
80+
*/
81+
public function setFileType($fileType)
82+
{
83+
$this->fileType = $fileType;
84+
}
85+
86+
/**
87+
* @return mixed
88+
*/
89+
public function getFileName()
90+
{
91+
return $this->fileName;
92+
}
93+
94+
/**
95+
* @param mixed $fileName
96+
*/
97+
public function setFileName($fileName)
98+
{
99+
$this->fileName = $fileName;
100+
}
101+
102+
103+
}

0 commit comments

Comments
 (0)