Skip to content

Commit cd72343

Browse files
committed
[reformat][antom-sdk-automation] automated change
1 parent c747548 commit cd72343

File tree

175 files changed

+1533
-1005
lines changed

Some content is hidden

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

175 files changed

+1533
-1005
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
package model
2+
3+
type AccountHolderType string
4+
5+
const (
6+
AccountHolderType_INDIVIDUAL AccountHolderType = "INDIVIDUAL"
7+
AccountHolderType_ENTERPRISE AccountHolderType = "ENTERPRISE"
8+
)

com/alipay/api/model/AccountType.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
package model
2+
3+
type AccountType string
4+
5+
const (
6+
AccountType_CHECKING AccountType = "CHECKING"
7+
AccountType_FIXED_DEPOSIT AccountType = "FIXED_DEPOSIT"
8+
)

com/alipay/api/model/Address.go

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
package model
2+
3+
type Address struct {
4+
Region string `json:"region,omitempty"`
5+
State string `json:"state,omitempty"`
6+
City string `json:"city,omitempty"`
7+
Address1 string `json:"address1,omitempty"`
8+
Address2 string `json:"address2,omitempty"`
9+
ZipCode string `json:"zipCode,omitempty"`
10+
Label string `json:"label,omitempty"`
11+
}

com/alipay/api/model/AgreementInfo.go

Lines changed: 0 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -6,57 +6,3 @@ type AgreementInfo struct {
66
UserLoginType string `json:"userLoginType,omitempty"`
77
DisplayUserLoginId string `json:"displayUserLoginId,omitempty"`
88
}
9-
10-
type RiskData struct {
11-
Order *RiskOrder `json:"order,omitempty"`
12-
Buyer *RiskBuyer `json:"buyer,omitempty"`
13-
Env *RiskEnv `json:"env,omitempty"`
14-
RiskSignal *RiskSignal `json:"riskSignal,omitempty"`
15-
Address *RiskAddress `json:"address,omitempty"`
16-
CardVerificationResult *CardVerificationResult `json:"cardVerificationResult,omitempty"`
17-
}
18-
19-
type RiskOrder struct {
20-
OrderType string `json:"orderType,omitempty"`
21-
ReferringSite string `json:"referringSite,omitempty"`
22-
}
23-
24-
type RiskBuyer struct {
25-
NoteToMerchant string `json:"noteToMerchant,omitempty"`
26-
NoteToShipping string `json:"noteToShipping,omitempty"`
27-
OrderCountIn1H string `json:"orderCountIn1H,omitempty"`
28-
OrderCountIn24H string `json:"orderCountIn24H,omitempty"`
29-
}
30-
31-
type RiskEnv struct {
32-
IpAddressType string `json:"ipAddressType,omitempty"`
33-
}
34-
35-
type RiskSignal struct {
36-
RiskCode string `json:"riskCode,omitempty"`
37-
RiskReason string `json:"riskReason,omitempty"`
38-
}
39-
40-
type RiskAddress struct {
41-
ShippingPhoneType string `json:"shippingPhoneType,omitempty"`
42-
IsBillShipStateSame bool `json:"isBillShipStateSame,omitempty"`
43-
IsPreviousStateSame bool `json:"isPreviousStateSame,omitempty"`
44-
LocToShipDistance int `json:"locToShipDistance,omitempty"`
45-
MinPreviousShipToBillDistance int `json:"minPreviousShipToBillDistance,omitempty"`
46-
}
47-
48-
type CardVerificationResult struct {
49-
AuthenticationType string `json:"authenticationType,omitempty"`
50-
AuthenticationMethod string `json:"authenticationMethod,omitempty"`
51-
CvvResult string `json:"cvvResult,omitempty"`
52-
AvsResult string `json:"avsResult,omitempty"`
53-
AuthorizationCode string `json:"authorizationCode,omitempty"`
54-
ThreeDSResult *RiskThreeDSResult `json:"threeDSResult,omitempty"`
55-
}
56-
57-
type RiskThreeDSResult struct {
58-
ThreeDSVersion string `json:"threeDSVersion,omitempty"`
59-
ThreeDSInteractionMode string `json:"threeDSInteractionMode,omitempty"`
60-
Eci string `json:"eci,omitempty"`
61-
Cavv string `json:"cavv,omitempty"`
62-
}

com/alipay/api/model/Amount.go

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
package model
22

33
type Amount struct {
4-
Value string `json:"value,omitempty"`
54
Currency string `json:"currency,omitempty"`
6-
}
7-
8-
func NewAmount(value string, currency string) *Amount {
9-
return &Amount{
10-
Value: value,
11-
Currency: currency,
12-
}
5+
Value string `json:"value,omitempty"`
136
}

com/alipay/api/model/AmountLimit.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
package model
2+
3+
type AmountLimit struct {
4+
MaxAmount string `json:"maxAmount,omitempty"`
5+
MinAmount string `json:"minAmount,omitempty"`
6+
RemainAmount string `json:"remainAmount,omitempty"`
7+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
package model
2+
3+
type AssociationType string
4+
5+
const (
6+
AssociationType_LEGAL_REPRESENTATIVE AssociationType = "LEGAL_REPRESENTATIVE"
7+
AssociationType_UBO AssociationType = "UBO"
8+
AssociationType_CONTACT AssociationType = "CONTACT"
9+
AssociationType_DIRECTOR AssociationType = "DIRECTOR"
10+
AssociationType_AUTHORIZER AssociationType = "AUTHORIZER"
11+
AssociationType_BOARD_MEMBER AssociationType = "BOARD_MEMBER"
12+
)

com/alipay/api/model/Attachment.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
package model
2+
3+
type Attachment struct {
4+
AttachmentType string `json:"attachmentType,omitempty"`
5+
File string `json:"file,omitempty"`
6+
AttachmentName string `json:"attachmentName,omitempty"`
7+
FileKey string `json:"fileKey,omitempty"`
8+
}

com/alipay/api/model/AttachmentType.go

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@ package model
33
type AttachmentType string
44

55
const (
6-
AttachmentType_SIGNATURE_AUTHORIZATION_LETTER AttachmentType = "SIGNATURE_AUTHORIZATION_LETTER"
7-
AttachmentType_ARTICLES_OF_ASSOCIATION AttachmentType = "ARTICLES_OF_ASSOCIATION"
8-
AttachmentType_LOGO AttachmentType = "LOGO"
9-
6+
AttachmentType_SIGNATURE_AUTHORIZATION_LETTER AttachmentType = "SIGNATURE_AUTHORIZATION_LETTER"
7+
AttachmentType_ARTICLES_OF_ASSOCIATION AttachmentType = "ARTICLES_OF_ASSOCIATION"
8+
AttachmentType_LOGO AttachmentType = "LOGO"
109
AttachmentType_AUTHORIZER_SIGNATURE_CONFIRMATION_LETTER AttachmentType = "AUTHORIZER_SIGNATURE_CONFIRMATION_LETTER"
1110
AttachmentType_ASSOCIATION_ARTICLE AttachmentType = "ASSOCIATION_ARTICLE"
1211
AttachmentType_FINANCIAL_REPORT AttachmentType = "FINANCIAL_REPORT"

com/alipay/api/model/AuthCodeForm.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
package model
22

33
type AuthCodeForm struct {
4-
CodeDetails []CodeDetail `json:"codeDetails,omitempty"`
4+
CodeDetails []*CodeDetail `json:"codeDetails,omitempty"`
55
}

0 commit comments

Comments
 (0)