Fix Redundance Reference
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
namespace AMREZ.EOP.Contracts.DTOs.Integrations.SCB.Common;
|
||||
|
||||
public class SCBStatus
|
||||
public sealed class SCBStatus
|
||||
{
|
||||
|
||||
public int? Code { get; set; }
|
||||
public string? Description { get; set; }
|
||||
}
|
||||
@@ -1,6 +1,13 @@
|
||||
namespace AMREZ.EOP.Contracts.DTOs.Integrations.SCB.OAuth;
|
||||
|
||||
public class OAuthRequest
|
||||
public sealed class OAuthRequest
|
||||
{
|
||||
|
||||
public OAuthRequest(string applicationKey, string applicationSecret)
|
||||
{
|
||||
ApplicationKey = applicationKey;
|
||||
ApplicationSecret = applicationSecret;
|
||||
}
|
||||
|
||||
public string ApplicationKey { get; }
|
||||
public string ApplicationSecret { get; }
|
||||
}
|
||||
@@ -1,6 +1,15 @@
|
||||
using AMREZ.EOP.Contracts.DTOs.Integrations.SCB.Common;
|
||||
|
||||
namespace AMREZ.EOP.Contracts.DTOs.Integrations.SCB.OAuth;
|
||||
|
||||
public class OAuthResponse
|
||||
public sealed class OAuthResponse
|
||||
{
|
||||
|
||||
public SCBStatus? Status { get; set; }
|
||||
public OAuthData? Data { get; set; }
|
||||
}
|
||||
|
||||
public sealed class OAuthData
|
||||
{
|
||||
public string? AccessToken { get; set; }
|
||||
public int? ExpiresIn { get; set; }
|
||||
}
|
||||
@@ -1,6 +1,41 @@
|
||||
using AMREZ.EOP.Contracts.DTOs.Integrations.SCB.Common;
|
||||
|
||||
namespace AMREZ.EOP.Contracts.DTOs.Integrations.SCB.SlipVerification;
|
||||
|
||||
public class SlipVerificationEnvelope
|
||||
public sealed class SlipVerificationEnvelope
|
||||
{
|
||||
|
||||
public SCBStatus? Status { get; set; }
|
||||
public SlipVerificationData? Data { get; set; }
|
||||
}
|
||||
|
||||
public sealed class SlipVerificationData
|
||||
{
|
||||
public string? TransRef { get; set; }
|
||||
public string? SendingBank { get; set; }
|
||||
public string? ReceivingBank { get; set; }
|
||||
public string? TransDate { get; set; } // yyyyMMdd
|
||||
public string? TransTime { get; set; } // HH:mm:ss
|
||||
public SCBParty? Sender { get; set; }
|
||||
public SCBParty? Receiver { get; set; }
|
||||
public string? Amount { get; set; }
|
||||
public string? PaidLocalAmount { get; set; }
|
||||
public string? PaidLocalCurrency { get; set; } // "764"
|
||||
public string? CountryCode { get; set; } // "TH"
|
||||
public string? Ref1 { get; set; }
|
||||
public string? Ref2 { get; set; }
|
||||
public string? Ref3 { get; set; }
|
||||
}
|
||||
|
||||
public sealed class SCBParty
|
||||
{
|
||||
public string? DisplayName { get; set; }
|
||||
public string? Name { get; set; }
|
||||
public SCBId? Proxy { get; set; }
|
||||
public SCBId? Account { get; set; }
|
||||
}
|
||||
|
||||
public sealed class SCBId
|
||||
{
|
||||
public string? Type { get; set; }
|
||||
public string? Value { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user