ShopPlatform.Web
1.0.0.0
농산물, 소프트웨어 라이선스와 개발 용역을 직접 판매하는 CodeMaru 직영 쇼핑몰입니다.
Toggle main menu visibility
로딩중...
검색중...
일치하는것 없음
IPaymentGateway.cs
이 파일의 문서화 페이지로 가기
1
namespace
ShopPlatform.Payments
;
2
11
public
sealed
class
PaymentStartResult
12
{
21
public
string
OrderId
{
get
;
set
; } =
string
.Empty;
30
public
string
OrderNo
{
get
;
set
; } =
string
.Empty;
39
public
decimal
Amount
{
get
;
set
; }
48
public
string
ClientKey
{
get
;
set
; } =
string
.Empty;
57
public
string
SuccessUrl
{
get
;
set
; } =
string
.Empty;
66
public
string
FailUrl
{
get
;
set
; } =
string
.Empty;
67
}
68
77
public
sealed
class
PaymentConfirmResult
78
{
87
public
bool
Succeeded
{
get
;
set
; }
96
public
string
?
TransactionId
{
get
;
set
; }
105
public
string
?
Error
{
get
;
set
; }
106
}
107
116
public
interface
IPaymentGateway
117
{
158
Task<PaymentStartResult>
StartAsync
(
string
orderNo, decimal amount,
string
customerName);
159
200
Task<PaymentConfirmResult>
ConfirmAsync
(
string
paymentKey,
string
orderId,
int
amount);
201
}
ShopPlatform.Payments
Definition
DummyPaymentGateway.cs:1
ShopPlatform.Payments.PaymentStartResult
Definition
IPaymentGateway.cs:12
ShopPlatform.Payments.PaymentStartResult.ClientKey
string ClientKey
Definition
IPaymentGateway.cs:48
ShopPlatform.Payments.PaymentStartResult.FailUrl
string FailUrl
Definition
IPaymentGateway.cs:66
ShopPlatform.Payments.PaymentStartResult.Amount
decimal Amount
Definition
IPaymentGateway.cs:39
ShopPlatform.Payments.PaymentStartResult.OrderId
string OrderId
Definition
IPaymentGateway.cs:21
ShopPlatform.Payments.PaymentStartResult.SuccessUrl
string SuccessUrl
Definition
IPaymentGateway.cs:57
ShopPlatform.Payments.PaymentStartResult.OrderNo
string OrderNo
Definition
IPaymentGateway.cs:30
ShopPlatform.Payments.PaymentConfirmResult
Definition
IPaymentGateway.cs:78
ShopPlatform.Payments.PaymentConfirmResult.Succeeded
bool Succeeded
Definition
IPaymentGateway.cs:87
ShopPlatform.Payments.PaymentConfirmResult.Error
string? Error
Definition
IPaymentGateway.cs:105
ShopPlatform.Payments.PaymentConfirmResult.TransactionId
string? TransactionId
Definition
IPaymentGateway.cs:96
ShopPlatform.Payments.IPaymentGateway
Definition
IPaymentGateway.cs:117
ShopPlatform.Payments.IPaymentGateway.StartAsync
Task< PaymentStartResult > StartAsync(string orderNo, decimal amount, string customerName)
ShopPlatform.Payments.IPaymentGateway.ConfirmAsync
Task< PaymentConfirmResult > ConfirmAsync(string paymentKey, string orderId, int amount)
Payments
IPaymentGateway.cs
다음에 의해 생성됨 :
1.17.0