Skip to content

Commit b5e4e3c

Browse files
authored
Merge pull request #12 from alipay/feature-250106
引入包错误
2 parents 90b7bee + 3536045 commit b5e4e3c

File tree

3 files changed

+45
-4
lines changed

3 files changed

+45
-4
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
namespace com.alipay.ams.api.entities;
2+
3+
public class Transaction
4+
{
5+
public Result transactionResult;
6+
public string transactionId;
7+
public TransactionType transactionType;
8+
public TransactionStatusType transactionStatus;
9+
public Amount transactionAmount;
10+
public string transactionRequestId;
11+
public string transactionTime;
12+
13+
public AcquirerInfo acquirerInfo;
14+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
namespace com.alipay.ams.api.entities;
2+
3+
public enum TransactionType
4+
{
5+
/**
6+
* PAYMENT
7+
*/
8+
PAYMENT,
9+
/**
10+
* REFUND
11+
*/
12+
REFUND,
13+
/**
14+
* CAPTURE
15+
*/
16+
CAPTURE,
17+
/**
18+
* CANCEL
19+
*/
20+
CANCEL,
21+
/**
22+
* AUTH
23+
*/
24+
AUTHORIZATION,
25+
/**
26+
* VOID
27+
*/
28+
VOID
29+
}

ams-dotnet/src/com/alipay/ams/api/response/pay/PaymentInquiryResponse.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
using System;
1+

22
using System.Collections.Generic;
3-
using System.Net.Http;
4-
using System.Text.Json;
5-
using System.Transactions;
3+
64
using com.alipay.ams.api.entities;
75
using com.alipay.ams.api.response;
86

0 commit comments

Comments
 (0)