Skip to content

Commit

Permalink
Merge pull request #23 from alipay/feature-241224
Browse files Browse the repository at this point in the history
1. CKP二期支持商户传入可选支付方式列表2. AMS独立绑卡支持MIT交易
  • Loading branch information
ScottWryyyyy authored Dec 27, 2024
2 parents 4b850f1 + bf79cca commit e672958
Show file tree
Hide file tree
Showing 8 changed files with 137 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Changelog


## 1.4.0 - 2024-12-24
* [#23](https://github.com/alipay/global-open-sdk-php/pull/23) feature-241224
- CKP二期支持商户传入可选支付方式列表
- AMS独立绑卡支持MIT交易

## 1.3.9 - 2024-12-17
* [#22](https://github.com/alipay/global-open-sdk-php/pull/22) feature-241216
- RDR拒付通知优化通用能力变更
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
```
Language:PHP
PHP version:5.6.40+
Releass ^1.3.9
Releass ^1.4.0
Copyright:Ant financial services group
```

Expand Down
2 changes: 2 additions & 0 deletions init.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,8 @@
require __DIR__ . '/model/ApplePayConfiguration.php';
require __DIR__ . '/model/DisputeAcceptReasonType.php';
require __DIR__ . '/model/DisputeNotificationType.php';
require __DIR__ . '/model/AvailablePaymentMethod.php';
require __DIR__ . '/model/PaymentMethodTypeItem.php';


//client
Expand Down
26 changes: 26 additions & 0 deletions model/AvailablePaymentMethod.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?php

namespace Model;

class AvailablePaymentMethod
{
public $paymentMethodTypeList;

/**
* @return mixed
*/
public function getPaymentMethodTypeList()
{
return $this->paymentMethodTypeList;
}

/**
* @param mixed $paymentMethodTypeList
*/
public function setPaymentMethodTypeList($paymentMethodTypeList): void
{
$this->paymentMethodTypeList = $paymentMethodTypeList;
}


}
22 changes: 22 additions & 0 deletions model/CardPaymentMethodDetail.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,28 @@ class CardPaymentMethodDetail

public $networkTransactionId;

private $is3DSAuthentication;



/**
* @return mixed
*/
public function getIs3DSAuthentication()
{
return $this->is3DSAuthentication;
}


/**
* @param mixed $is3DSAuthentication
*/
public function setIs3DSAuthentication($is3DSAuthentication): void
{
$this->is3DSAuthentication = $is3DSAuthentication;
}


/**
* @return mixed
*/
Expand Down
2 changes: 2 additions & 0 deletions model/PaymentMethodDetail.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ class PaymentMethodDetail

public $paymentMethodType;



/**
* @return mixed
*/
Expand Down
60 changes: 60 additions & 0 deletions model/PaymentMethodTypeItem.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
<?php

namespace Model;

class PaymentMethodTypeItem
{
public $paymentMethodType;
public $paymentMethodOrder;
public $expressCheckout;

/**
* @return mixed
*/
public function getPaymentMethodType()
{
return $this->paymentMethodType;
}

/**
* @param mixed $paymentMethodType
*/
public function setPaymentMethodType($paymentMethodType): void
{
$this->paymentMethodType = $paymentMethodType;
}

/**
* @return mixed
*/
public function getPaymentMethodOrder()
{
return $this->paymentMethodOrder;
}

/**
* @param mixed $paymentMethodOrder
*/
public function setPaymentMethodOrder($paymentMethodOrder): void
{
$this->paymentMethodOrder = $paymentMethodOrder;
}

/**
* @return mixed
*/
public function getExpressCheckout()
{
return $this->expressCheckout;
}

/**
* @param mixed $expressCheckout
*/
public function setExpressCheckout($expressCheckout): void
{
$this->expressCheckout = $expressCheckout;
}


}
19 changes: 19 additions & 0 deletions request/pay/AlipayPaymentSessionRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,31 @@ class AlipayPaymentSessionRequest extends AlipayRequest

public $locale;

private $availablePaymentMethod;


function __construct()
{
$this->setPath(AntomPathConstants::CREATE_SESSION_PATH);
}

/**
* @return mixed
*/
public function getAvailablePaymentMethod()
{
return $this->availablePaymentMethod;
}

/**
* @param mixed $availablePaymentMethod
*/
public function setAvailablePaymentMethod($availablePaymentMethod): void
{
$this->availablePaymentMethod = $availablePaymentMethod;
}



/**
* @return mixed
Expand Down

0 comments on commit e672958

Please sign in to comment.