Skip to content

Commit 323ac8f

Browse files
committed
update version
1 parent 65a8879 commit 323ac8f

6 files changed

Lines changed: 9 additions & 5 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
```
22
Language:GO
33
GO version:1.22.5+
4-
Tags:v1.2.31
4+
Tags:v1.2.32
55
Copyright:Ant financial services group
66
```
77

com/alipay/api/request/notify/AlipayPayResultNotify.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@ type AlipayPayResultNotify struct {
1818
AcquirerInfo *model.AcquirerInfo `json:"acquirerInfo,omitempty"`
1919
PromotionResult []*model.PromotionResult `json:"promotionResult,omitempty"`
2020
PaymentMethodType string `json:"paymentMethodType,omitempty"`
21+
Metadata string `json:"metadata,omitempty"`
2122
}

com/alipay/api/request/notify/AlipayRefundNotify.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,5 @@ type AlipayRefundNotify struct {
1414
CustomizedInfo *model.CustomizedInfo `json:"customizedInfo,omitempty"`
1515
Arn string `json:"arn,omitempty"`
1616
ActualRefundAmount *model.Amount `json:"actualRefundAmount,omitempty"`
17+
Metadata string `json:"metadata,omitempty"`
1718
}

com/alipay/api/request/notify/AlipayVaultingNotify.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ type AlipayVaultingNotify struct {
88
PaymentMethodDetail *model.PaymentMethodDetail `json:"paymentMethodDetail,omitempty"`
99
VaultingCreateTime string `json:"vaultingCreateTime,omitempty"`
1010
AcquirerInfo string `json:"acquirerInfo,omitempty"`
11+
Metadata string `json:"metadata,omitempty"`
1112
}

com/alipay/example/marketplace_demo.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,12 @@ func register(client *defaultAlipayClient.DefaultAlipayClient) {
6363
{
6464
AttachmentName: "1.jpg",
6565
FileKey: "test",
66-
AttachmentType: model.AttachmentType_ARTICLES_OF_ASSOCIATION,
66+
AttachmentType: string(model.AttachmentType_ARTICLES_OF_ASSOCIATION),
6767
},
6868
{
6969
AttachmentName: "2.jpg",
7070
FileKey: "test",
71-
AttachmentType: model.AttachmentType_ASSOCIATION_ARTICLE,
71+
AttachmentType: string(model.AttachmentType_ASSOCIATION_ARTICLE),
7272
},
7373
},
7474
Certificates: &model.Certificate{

com/alipay/example/subscription_demo.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package main
22

33
import (
44
"fmt"
5+
56
defaultAlipayClient "github.com/alipay/global-open-sdk-go/com/alipay/api"
67
"github.com/alipay/global-open-sdk-go/com/alipay/api/model"
78
"github.com/alipay/global-open-sdk-go/com/alipay/api/request/subscription"
@@ -42,7 +43,7 @@ func SubscriptionsCreate(client *defaultAlipayClient.DefaultAlipayClient) {
4243
}
4344
alipaySubscriptionCreateRequest.PaymentNotificationUrl = "https://www.yourNotifyUrl.com"
4445
alipaySubscriptionCreateRequest.PeriodRule = &model.PeriodRule{
45-
PeriodType: model.PeriodType_MONTH,
46+
PeriodType: string(model.PeriodType_MONTH),
4647
PeriodCount: 1,
4748
}
4849
alipaySubscriptionCreateRequest.SettlementStrategy = &model.SettlementStrategy{
@@ -91,7 +92,7 @@ func SubscriptionsChange(client *defaultAlipayClient.DefaultAlipayClient, subscr
9192
Value: "100",
9293
}
9394
changeRequest.PeriodRule = &model.PeriodRule{
94-
PeriodType: model.PeriodType_MONTH,
95+
PeriodType: string(model.PeriodType_MONTH),
9596
PeriodCount: 1,
9697
}
9798
changeRequest.SubscriptionStartTime = "2024-09-12T12:01:01+08:00"

0 commit comments

Comments
 (0)