Skip to content

Commit

Permalink
Merge pull request #10 from alipay/feature-241216
Browse files Browse the repository at this point in the history
1. RDR拒付通知优化通用能力变更
  • Loading branch information
ScottWryyyyy authored Dec 18, 2024
2 parents addd2b8 + 30094fb commit 4cb31e0
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 6 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## 1.2.7 - 2024-12-16
* [#9](https://github.com/alipay/global-open-sdk-go/pull/9) feature-241216
- RDR拒付通知优化通用能力变更
- Antom新增ApplePay支付方式

## 1.2.6 - 2024-12-02
* [#8](https://github.com/alipay/global-open-sdk-go/pull/8) feature-241202
- update AlipayDisputeNotify
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:GO
GO version:1.22.5+
Tags:v1.2.6
Tags:v1.2.7
Copyright:Ant financial services group
```

Expand Down
8 changes: 8 additions & 0 deletions com/alipay/api/model/ApplePayConfiguration.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package model

type ApplePayConfiguration struct {
RequiredBillingContactFields []string `json:"requiredBillingContactFields,omitempty"`
RequiredShippingContactFields []string `json:"requiredShippingContactFields,omitempty"`
ButtonsBundled bool `json:"buttonsBundled,omitempty"`
ApplePayToken string `json:"applePayToken,omitempty"`
}
17 changes: 13 additions & 4 deletions com/alipay/api/model/DisputeNotificationType.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ type DisputeNotificationType string
const (
DisputeNotificationType_DISPUTE_CREATED DisputeNotificationType = "DISPUTE_CREATED"
DisputeNotificationType_DISPUTE_JUDGED DisputeNotificationType = "DISPUTE_JUDGED"
DisputeNotificationType_DISPUTE_CANCELLED DisputeEvidenceType = "DISPUTE_CANCELLED"
DisputeNotificationType_DEFENSE_SUPPLIED DisputeEvidenceType = "DEFENSE_SUPPLIED"
DisputeNotificationType_DEFENSE_DUE_ALERT DisputeEvidenceType = "DEFENSE_DUE_ALERT"
DisputeNotificationType_DISPUTE_ACCEPTED DisputeEvidenceType = "DISPUTE_ACCEPTED"
DisputeNotificationType_DISPUTE_CANCELLED DisputeNotificationType = "DISPUTE_CANCELLED"
DisputeNotificationType_DEFENSE_SUPPLIED DisputeNotificationType = "DEFENSE_SUPPLIED"
DisputeNotificationType_DEFENSE_DUE_ALERT DisputeNotificationType = "DEFENSE_DUE_ALERT"
DisputeNotificationType_DISPUTE_ACCEPTED DisputeNotificationType = "DISPUTE_ACCEPTED"
RDR_RESOLVED DisputeNotificationType = "RDR_RESOLVED"
)

type DisputeJudgedResult string
Expand All @@ -17,3 +18,11 @@ const (
DisputeJudgedResult_ACCEPT_BY_CUSTOMER DisputeJudgedResult = "ACCEPT_BY_CUSTOMER"
DisputeJudgedResult_ACCEPT_BY_MERCHANT DisputeJudgedResult = "ACCEPT_BY_MERCHANT"
)

type DisputeAcceptReasonType string

const (
MERCHANT_ACCEPTED DisputeAcceptReasonType = "MERCHANT_ACCEPTED"
TIMEOUT DisputeAcceptReasonType = "TIMEOUT"
MANUAL_PROCESSING_ACCEPTED DisputeAcceptReasonType = "MANUAL_PROCESSING_ACCEPTED"
)
1 change: 1 addition & 0 deletions com/alipay/api/model/WalletPaymentMethodType.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,5 @@ const (
CONNECT_WALLET = "CONNECT_WALLET"
SETTLEMENT_CARD = "SETTLEMENT_CARD"
BALANCE_ACCOUNT = "BALANCE_ACCOUNT"
APPLEPAY = "APPLEPAY"
)
3 changes: 2 additions & 1 deletion com/alipay/api/request/notify/AlipayDisputeNotify.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ type AlipayDisputeNotify struct {
DisputeReasonCode string `json:"disputeReasonCode,omitempty"`
DisputeSource string `json:"disputeSource,omitempty"`
Rrn string `json:"arn,omitempty"`
DisputeAcceptReason string `json:"disputeAcceptReason,omitempty"`
DisputeAcceptReason model.DisputeAcceptReasonType `json:"disputeAcceptReason,omitempty"`
DisputeAcceptTime string `json:"disputeAcceptTime,omitempty"`
DisputeType string `json:"disputeType,omitempty"`
Defendable bool `json:"defendable,omitempty"`
}

0 comments on commit 4cb31e0

Please sign in to comment.