Skip to content

Commit d6ecad8

Browse files
committed
update entities
1 parent 39727cf commit d6ecad8

17 files changed

+139
-12
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,7 @@ public class Attachment
88
public string File { get; set; }
99

1010
public string AttachmentName { get; set; }
11+
12+
public string FileKey { get; set; }
1113
}
1214
}
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 class BrowserInfo
4+
{
5+
6+
public string AcceptHeader { get; set; }
7+
public bool? JavaEnabled { get; set; }
8+
public bool? JavaScriptEnabled { get; set; }
9+
public string Language { get; set; }
10+
public string UserAgent { get; set; }
11+
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public class Buyer
1010
public string BuyerEmail { get; set; }
1111
public string BuyerRegistrationTime { get; set; }
1212

13-
public Boolean IsAccountVerified { get; set; }
13+
public bool? IsAccountVerified { get; set; }
1414

1515
public Int64 SuccessfulOrderCount { get; set; }
1616
}

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ public class CreditPayPlan
77

88
public int InstallmentNum { get; set; }
99

10+
11+
public string Interval { get; set; }
1012

1113
public CreditPayFeeType CreditPayFeeType { get; set; }
1214

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

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ namespace com.alipay.ams.api.entities
66
{
77
public enum CustomerBelongsTo
88
{
9+
RABBIT_LINE_PAY,
10+
911
TRUEMONEY,
1012

1113
ALIPAY_HK,
@@ -22,6 +24,32 @@ public enum CustomerBelongsTo
2224

2325
BKASH,
2426

25-
EASYPAISA
27+
EASYPAISA,
28+
29+
PAYPAY,
30+
31+
BOOST,
32+
33+
GRABPAY_MY,
34+
35+
MAYA,
36+
37+
GRABPAY_PH,
38+
39+
GRABPAY_SG,
40+
41+
NAVERPAY,
42+
43+
JKOPAY,
44+
45+
KPLUS,
46+
47+
DIRECT_DEBIT_SIAMCOMMERCIALBANK,
48+
49+
DIRECT_DEBIT_KRUNGTHAIBANK,
50+
51+
ZALOPAY,
52+
53+
DIRECTDEBIT_YAPILY
2654
}
2755
}

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

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,16 @@ public Env()
3131

3232

3333
public string ExtendInfo { get; set; }
34+
35+
public BrowserInfo BrowserInfo { get; set; }
36+
public string ColorDepth { get; set; }
37+
public string ScreenHeight { get; set; }
38+
public string ScreenWidth { get; set; }
39+
public int TimeZoneOffset { get; set; }
40+
public string DeviceBrand { get; set; }
41+
public string DeviceModel { get; set; }
42+
public string DeviceLanguage { get; set; }
43+
public string DeviceId { get; set; }
44+
3445
}
3546
}

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,12 @@ public Merchant(string merchantName, string referenceMerchantId, string merchant
2525

2626

2727
public Store Store { get; internal set; }
28+
29+
30+
public string MerchantDisplayName { get; set; }
31+
32+
public Address MerchantAddress { get; set; }
33+
34+
public string MerchantRegisterDate { get; set; }
2835
}
2936
}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ namespace com.alipay.ams.api.entities
55
{
66
public class PaymentFactor
77
{
8-
public Boolean IsPaymentEvaluation { get; set; }
8+
public bool? IsPaymentEvaluation { get; set; }
99

1010
public PresentmentMode PresentmentMode { get; set; }
1111

1212
public String CaptureMode { get; set; }
1313

14-
public Boolean IsAuthorization { get; set; }
14+
public bool? IsAuthorization { get; set; }
1515

1616

1717
public InStorePaymentScenario InStorePaymentScenario { get; set; }

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public class PaymentOption
1111
public Boolean Enabled { get; set; }
1212
public Boolean Preferred { get; set; }
1313
public string DisableReason { get; set; }
14-
public Dictionary<string, AmountLimitInfo> DmountLimitInfoMap { get; set; }
14+
public Dictionary<string, AmountLimitInfo> AmountLimitInfoMap { get; set; }
1515
public List<string> SupportedCurrencies { get; set; }
1616
public PaymentOptionDetail PaymentOptionDetail { get; set; }
1717
public string ExtendInfo { get; set; }

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,12 @@ public Quote() { }
1515

1616

1717
public decimal QuotePrice { get; set; }
18+
19+
public string QuoteId { get; set; }
20+
21+
public string QuoteStartTime { get; set; }
22+
23+
public string QuoteExpiryTime { get; set; }
1824

1925
}
2026
}

0 commit comments

Comments
 (0)