Skip to content
Closed
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
39 changes: 31 additions & 8 deletions ams-dotnet/src/com/alipay/ams/api/entities/AccountBalance.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,33 @@
namespace com.alipay.ams.api.entities;
using System;
using System.Collections.Generic;

namespace com.alipay.ams.api.entities
{

public class AccountBalance
{
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; }
}
{

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; }



}

}
15 changes: 10 additions & 5 deletions ams-dotnet/src/com/alipay/ams/api/entities/AccountHolderType.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
namespace com.alipay.ams.api.entities;
using System;
using System.Collections.Generic;

namespace com.alipay.ams.api.entities
{

public enum AccountHolderType
{
INDIVIDUAL,
ENTERPRISE
}
{
INDIVIDUAL,
ENTERPRISE,
}
}
15 changes: 10 additions & 5 deletions ams-dotnet/src/com/alipay/ams/api/entities/AccountType.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
namespace com.alipay.ams.api.entities;
using System;
using System.Collections.Generic;

namespace com.alipay.ams.api.entities
{

public enum AccountType
{
CHECKING,
FIXED_DEPOSIT,
}
{
CHECKING,
FIXED_DEPOSIT,
}
}
41 changes: 32 additions & 9 deletions ams-dotnet/src/com/alipay/ams/api/entities/AcquirerInfo.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,37 @@
using System;
using System.Collections.Generic;

namespace com.alipay.ams.api.entities
{
public class AcquirerInfo

public class AcquirerInfo
{
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; }
public string AcquirerReasonDescription { get; set; }

public AcquirerInfo() { }



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

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; }
public string AcquirerMerchantName { get; set; }



}
}

}
41 changes: 32 additions & 9 deletions ams-dotnet/src/com/alipay/ams/api/entities/Address.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,37 @@
using System;
using System;
using System.Collections.Generic;

namespace com.alipay.ams.api.entities
{
public class Address

public class Address
{
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; }

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; }



}

}
29 changes: 23 additions & 6 deletions ams-dotnet/src/com/alipay/ams/api/entities/AgreementInfo.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,31 @@
using System;
using System.Collections.Generic;

namespace com.alipay.ams.api.entities
{
public class AgreementInfo

public class AgreementInfo
{

public string AuthState { get; set; }
public AgreementInfo() { }

public string UserLoginId { get; set; }

public string UserLoginType { get; set; }

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; }


public string DisplayUserLoginId { get; set; }

}
}

}
35 changes: 20 additions & 15 deletions ams-dotnet/src/com/alipay/ams/api/entities/Amount.cs
Original file line number Diff line number Diff line change
@@ -1,26 +1,31 @@


using System;
using System.Collections.Generic;

namespace com.alipay.ams.api.entities
{
public class Amount
{
public Amount() { }

public class Amount
{

public string Currency { get; set; }
public Amount() { }

public Amount(string currency, long amountInCents){
this.Currency = currency;
this.Value = amountInCents.ToString();
}

public string Value { get; set; }

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

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



}
}

}
30 changes: 25 additions & 5 deletions ams-dotnet/src/com/alipay/ams/api/entities/AmountLimit.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,29 @@
using System;
using System.Collections.Generic;

namespace com.alipay.ams.api.entities
{
public class AmountLimit

public class AmountLimit
{
public Amount MaxAmount {get;set;}
public Amount MinAmount {get;set;}
public Amount RemainAmount {get;set;}

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; }



}
}

}
23 changes: 14 additions & 9 deletions ams-dotnet/src/com/alipay/ams/api/entities/AssociationType.cs
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
namespace com.alipay.ams.api.entities;
using System;
using System.Collections.Generic;

namespace com.alipay.ams.api.entities
{

public enum AssociationType
{
LEGAL_REPRESENTATIVE,
UBO,
CONTACT,
DIRECTOR,
AUTHORIZER,
BOARD_MEMBER,
}
{
LEGAL_REPRESENTATIVE,
UBO,
CONTACT,
DIRECTOR,
AUTHORIZER,
BOARD_MEMBER,
}
}
29 changes: 23 additions & 6 deletions ams-dotnet/src/com/alipay/ams/api/entities/Attachment.cs
Original file line number Diff line number Diff line change
@@ -1,14 +1,31 @@
using System;
using System;
using System.Collections.Generic;

namespace com.alipay.ams.api.entities
{
public class Attachment

public class Attachment
{
public AttachmentType AttachmentType { get; set; }

public string File { get; set; }
public Attachment() { }

public string AttachmentName { get; set; }

public string FileKey { get; set; }

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; }



}

}
Loading