Skip to content

Update all services #15

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 29 additions & 0 deletions src/com/alipay/ams/api/entities/AccountBalance.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@

namespace com.alipay.ams.api.entities
{

public class AccountBalance
{

public AccountBalance() { }

public AccountBalance( string accountNo , string currency , Amount availableBalance , Amount frozenBalance , Amount totalBalance)
{
this.AccountNo = accountNo;
this.Currency = currency;
this.AvailableBalance = availableBalance;
this.FrozenBalance = frozenBalance;
this.TotalBalance = totalBalance;
}

public string AccountNo { get; set; }
public string Currency { get; set; }
public Amount AvailableBalance { get; set; }
public Amount FrozenBalance { get; set; }
public Amount TotalBalance { get; set; }



}

}
10 changes: 10 additions & 0 deletions src/com/alipay/ams/api/entities/AccountHolderType.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

namespace com.alipay.ams.api.entities
{

public enum AccountHolderType
{
INDIVIDUAL,
ENTERPRISE,
}
}
10 changes: 10 additions & 0 deletions src/com/alipay/ams/api/entities/AccountType.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

namespace com.alipay.ams.api.entities
{

public enum AccountType
{
CHECKING,
FIXED_DEPOSIT,
}
}
31 changes: 31 additions & 0 deletions src/com/alipay/ams/api/entities/AcquirerInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@

namespace com.alipay.ams.api.entities
{

public class AcquirerInfo
{

public AcquirerInfo() { }

public AcquirerInfo( string acquirerName , string referenceRequestId , string acquirerTransactionId , string acquirerMerchantId , string acquirerResultCode , string acquirerResultMessage)
{
this.AcquirerName = acquirerName;
this.ReferenceRequestId = referenceRequestId;
this.AcquirerTransactionId = acquirerTransactionId;
this.AcquirerMerchantId = acquirerMerchantId;
this.AcquirerResultCode = acquirerResultCode;
this.AcquirerResultMessage = acquirerResultMessage;
}

public string AcquirerName { get; set; }
public string ReferenceRequestId { get; set; }
public string AcquirerTransactionId { get; set; }
public string AcquirerMerchantId { get; set; }
public string AcquirerResultCode { get; set; }
public string AcquirerResultMessage { get; set; }



}

}
33 changes: 33 additions & 0 deletions src/com/alipay/ams/api/entities/Address.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@

namespace com.alipay.ams.api.entities
{

public class Address
{

public Address() { }

public Address( string region , string state , string city , string address1 , string address2 , string zipCode , string label)
{
this.Region = region;
this.State = state;
this.City = city;
this.Address1 = address1;
this.Address2 = address2;
this.ZipCode = zipCode;
this.Label = label;
}

public string Region { get; set; }
public string State { get; set; }
public string City { get; set; }
public string Address1 { get; set; }
public string Address2 { get; set; }
public string ZipCode { get; set; }
public string Label { get; set; }



}

}
27 changes: 27 additions & 0 deletions src/com/alipay/ams/api/entities/AgreementInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

namespace com.alipay.ams.api.entities
{

public class AgreementInfo
{

public AgreementInfo() { }

public AgreementInfo( string authState , string userLoginId , string userLoginType , string displayUserLoginId)
{
this.AuthState = authState;
this.UserLoginId = userLoginId;
this.UserLoginType = userLoginType;
this.DisplayUserLoginId = displayUserLoginId;
}

public string AuthState { get; set; }
public string UserLoginId { get; set; }
public string UserLoginType { get; set; }
public string DisplayUserLoginId { get; set; }



}

}
23 changes: 23 additions & 0 deletions src/com/alipay/ams/api/entities/Amount.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@

namespace com.alipay.ams.api.entities
{

public class Amount
{

public Amount() { }

public Amount( string currency , string value)
{
this.Currency = currency;
this.Value = value;
}

public string Currency { get; set; }
public string Value { get; set; }



}

}
25 changes: 25 additions & 0 deletions src/com/alipay/ams/api/entities/AmountLimit.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

namespace com.alipay.ams.api.entities
{

public class AmountLimit
{

public AmountLimit() { }

public AmountLimit( string maxAmount , string minAmount , string remainAmount)
{
this.MaxAmount = maxAmount;
this.MinAmount = minAmount;
this.RemainAmount = remainAmount;
}

public string MaxAmount { get; set; }
public string MinAmount { get; set; }
public string RemainAmount { get; set; }



}

}
14 changes: 14 additions & 0 deletions src/com/alipay/ams/api/entities/AssociationType.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

namespace com.alipay.ams.api.entities
{

public enum AssociationType
{
LEGAL_REPRESENTATIVE,
UBO,
CONTACT,
DIRECTOR,
AUTHORIZER,
BOARD_MEMBER,
}
}
27 changes: 27 additions & 0 deletions src/com/alipay/ams/api/entities/Attachment.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

namespace com.alipay.ams.api.entities
{

public class Attachment
{

public Attachment() { }

public Attachment( string attachmentType , string file , string attachmentName , string fileKey)
{
this.AttachmentType = attachmentType;
this.File = file;
this.AttachmentName = attachmentName;
this.FileKey = fileKey;
}

public string AttachmentType { get; set; }
public string File { get; set; }
public string AttachmentName { get; set; }
public string FileKey { get; set; }



}

}
24 changes: 24 additions & 0 deletions src/com/alipay/ams/api/entities/AttachmentType.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@

namespace com.alipay.ams.api.entities
{

public enum AttachmentType
{
SIGNATURE_AUTHORIZATION_LETTER,
ARTICLES_OF_ASSOCIATION,
LOGO,
AUTHORIZER_SIGNATURE_CONFIRMATION_LETTER,
ASSOCIATION_ARTICLE,
FINANCIAL_REPORT,
OWNERSHIP_STRUCTURE_PIC,
ADDRESS_PROOF,
UBO_PROVE,
ENTERPRISE_REGISTRATION,
LICENSE_INFO,
ID_CARD,
PASSPORT,
DRIVING_LICENSE,
CPF,
CNPJ,
}
}
21 changes: 21 additions & 0 deletions src/com/alipay/ams/api/entities/AuthCodeForm.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@

namespace com.alipay.ams.api.entities
{

public class AuthCodeForm
{

public AuthCodeForm() { }

public AuthCodeForm( List<CodeDetail> codeDetails)
{
this.CodeDetails = codeDetails;
}

public List<CodeDetail> CodeDetails { get; set; }



}

}
23 changes: 23 additions & 0 deletions src/com/alipay/ams/api/entities/AuthMetaData.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@

namespace com.alipay.ams.api.entities
{

public class AuthMetaData
{

public AuthMetaData() { }

public AuthMetaData( string accountHolderName , string accountHolderCertNo)
{
this.AccountHolderName = accountHolderName;
this.AccountHolderCertNo = accountHolderCertNo;
}

public string AccountHolderName { get; set; }
public string AccountHolderCertNo { get; set; }



}

}
21 changes: 21 additions & 0 deletions src/com/alipay/ams/api/entities/AvailablePaymentMethod.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@

namespace com.alipay.ams.api.entities
{

public class AvailablePaymentMethod
{

public AvailablePaymentMethod() { }

public AvailablePaymentMethod( List<PaymentMethodTypeItem> paymentMethodTypeList)
{
this.PaymentMethodTypeList = paymentMethodTypeList;
}

public List<PaymentMethodTypeItem> PaymentMethodTypeList { get; set; }



}

}
29 changes: 29 additions & 0 deletions src/com/alipay/ams/api/entities/BrowserInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@

namespace com.alipay.ams.api.entities
{

public class BrowserInfo
{

public BrowserInfo() { }

public BrowserInfo( string acceptHeader , bool? javaEnabled , bool? javaScriptEnabled , string language , string userAgent)
{
this.AcceptHeader = acceptHeader;
this.JavaEnabled = javaEnabled;
this.JavaScriptEnabled = javaScriptEnabled;
this.Language = language;
this.UserAgent = userAgent;
}

public string AcceptHeader { get; set; }
public bool? JavaEnabled { get; set; }
public bool? JavaScriptEnabled { get; set; }
public string Language { get; set; }
public string UserAgent { get; set; }



}

}
33 changes: 33 additions & 0 deletions src/com/alipay/ams/api/entities/BusinessInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@

namespace com.alipay.ams.api.entities
{

public class BusinessInfo
{

public BusinessInfo() { }

public BusinessInfo( string mcc , List<WebSite> websites , string englishName , string doingBusinessAs , string mainSalesCountry , string appName , string serviceDescription)
{
this.Mcc = mcc;
this.Websites = websites;
this.EnglishName = englishName;
this.DoingBusinessAs = doingBusinessAs;
this.MainSalesCountry = mainSalesCountry;
this.AppName = appName;
this.ServiceDescription = serviceDescription;
}

public string Mcc { get; set; }
public List<WebSite> Websites { get; set; }
public string EnglishName { get; set; }
public string DoingBusinessAs { get; set; }
public string MainSalesCountry { get; set; }
public string AppName { get; set; }
public string ServiceDescription { get; set; }



}

}
Loading