Skip to content

Commit 892672f

Browse files
authored
Merge pull request #5 from alipay/feature-p2
update-p2
2 parents 4cfa244 + 250a135 commit 892672f

File tree

93 files changed

+1869
-23
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+1869
-23
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
# Changelog## 2.0.0 - 2024-09-04* [#4](https://github.com/alipay/global-open-sdk-dotnet/pull/4) Init object library * Add pay - request response * Add auth - request response * Add customs - request response * Add subscription - request response * Add example - auth customs pay * Add Changelog## 1.0.0 - 2021-08-02* Init object library
1+
# Changelog## 2.0.1 - 2024-10-23 * [#5](https://github.com/alipay/global-open-sdk-dotnet/pull/5) feature-p2 - add MARKETPLACE - add vaulting - add Dispute - add risk - add Notify - add MARKETPLACE_demo - add subscription_demo - add vaulting_demo - add Dispute_demo## 2.0.0 - 2024-09-04* [#4](https://github.com/alipay/global-open-sdk-dotnet/pull/4) Init object library * Add pay - request response * Add auth - request response * Add customs - request response * Add subscription - request response * Add example - auth customs pay * Add Changelog## 1.0.0 - 2021-08-02* Init object library
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
namespace com.alipay.ams.api.entities;
2+
3+
public class AccountBalance
4+
{
5+
public string AccountNo { get; set; }
6+
public string Currency { get; set; }
7+
public Amount AvailableBalance { get; set; }
8+
public Amount FrozenBalance { get; set; }
9+
public Amount TotalBalance { get; set; }
10+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
namespace com.alipay.ams.api.entities;
2+
3+
public enum AccountHolderType
4+
{
5+
INDIVIDUAL,
6+
ENTERPRISE
7+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
namespace com.alipay.ams.api.entities;
2+
3+
public enum AccountType
4+
{
5+
CHECKING,
6+
FIXED_DEPOSIT,
7+
}
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
namespace com.alipay.ams.api.entities;
2+
3+
public enum AssociationType
4+
{
5+
LEGAL_REPRESENTATIVE,
6+
UBO,
7+
CONTACT,
8+
DIRECTOR,
9+
AUTHORIZER,
10+
BOARD_MEMBER,
11+
}

ams-dotnet/src/com/alipay/ams/api/entities/Attachment.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ namespace com.alipay.ams.api.entities
33
{
44
public class Attachment
55
{
6-
public string AttachmentType { get; set; }
6+
public AttachmentType AttachmentType { get; set; }
77

88
public string File { get; set; }
99

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
namespace com.alipay.ams.api.entities;
2+
3+
public enum AttachmentType
4+
{
5+
SIGNATURE_AUTHORIZATION_LETTER,
6+
ARTICLES_OF_ASSOCIATION,
7+
LOGO,
8+
9+
AUTHORIZER_SIGNATURE_CONFIRMATION_LETTER,
10+
ASSOCIATION_ARTICLE,
11+
FINANCIAL_REPORT,
12+
OWNERSHIP_STRUCTURE_PIC,
13+
ADDRESS_PROOF,
14+
UBO_PROVE,
15+
ENTERPRISE_REGISTRATION,
16+
LICENSE_INFO,
17+
ID_CARD,
18+
PASSPORT,
19+
DRIVING_LICENSE,
20+
CPF,
21+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
namespace com.alipay.ams.api.entities;
2+
3+
public class AuthorizationError
4+
{
5+
/**
6+
* Authorization error code.
7+
* 授权错误码
8+
*/
9+
public string ErrorCode { get; set; }
10+
11+
/**
12+
* Description of the Authorization error code.
13+
* 授权错误码的描述
14+
*/
15+
public string ErrorMessage { get; set; }
16+
}
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
namespace com.alipay.ams.api.entities;
2+
3+
public enum AuthorizationPhase
4+
{
5+
/**
6+
* Indicates that you initiated this call before the card payment was authorized.
7+
*/
8+
PRE_AUTHORIZATION,
9+
/**
10+
* Indicates that you initiated this call after the card payment was authorized
11+
*/
12+
POST_AUTHORIZATION
13+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
namespace com.alipay.ams.api.entities;
2+
3+
public class BusinessInfo
4+
{
5+
public string Mcc { get; set; }
6+
public WebSite[] Websites { get; set; }
7+
public string EnglishName { get; set; }
8+
public string DoingBusinessAs { get; set; }
9+
public string MainSalesCountry { get; set; }
10+
public string AppName { get; set; }
11+
public string ServiceDescription { get; set; }
12+
}

0 commit comments

Comments
 (0)