C# Class Sample.AspNetCore.Models.Payment

특정 구매 정보에 대한 결제 처리 엔터티
ファイルを表示 Open project: OpenBapul/iamport-rest-client-net Class Usage Examples

Public Methods

Method Description
Create ( System.Guid checkoutId ) : Payment
SetAwatingForVirtualBank ( string paymentDelegateId, string paymentGatewayTransactionId, string bankName, string account, string accountHolder ) : void
SetCancelled ( string paymentDelegateId, DateTimeOffset cancelledTime, string cancelledReason, decimal cancelledAmount ) : void
SetFailed ( string paymentDelegateId, DateTimeOffset failedTime, string failedReason ) : void
SetInProgress ( string paymentDelegateId ) : void
SetPaidForCreditCard ( string paymentDelegateId, DateTimeOffset paidTime, string paymentGatewayTransactionId, string applyNumber, string creditCardCompanyName, int installmentPlanPeriod ) : void
SetPaidForOthers ( string paymentDelegateId, DateTimeOffset paidTime, string paymentGatewayTransactionId ) : void
SetPaiedForVirtualBank ( string paymentDelegateId, DateTimeOffset paidTime, string paymentGatewayTransactionId, string bankName, string account, string accountHolder ) : void

Method Details

Create() public static method

public static Create ( System.Guid checkoutId ) : Payment
checkoutId System.Guid
return Payment

SetAwatingForVirtualBank() public method

public SetAwatingForVirtualBank ( string paymentDelegateId, string paymentGatewayTransactionId, string bankName, string account, string accountHolder ) : void
paymentDelegateId string
paymentGatewayTransactionId string
bankName string
account string
accountHolder string
return void

SetCancelled() public method

public SetCancelled ( string paymentDelegateId, DateTimeOffset cancelledTime, string cancelledReason, decimal cancelledAmount ) : void
paymentDelegateId string
cancelledTime DateTimeOffset
cancelledReason string
cancelledAmount decimal
return void

SetFailed() public method

public SetFailed ( string paymentDelegateId, DateTimeOffset failedTime, string failedReason ) : void
paymentDelegateId string
failedTime DateTimeOffset
failedReason string
return void

SetInProgress() public method

public SetInProgress ( string paymentDelegateId ) : void
paymentDelegateId string
return void

SetPaidForCreditCard() public method

public SetPaidForCreditCard ( string paymentDelegateId, DateTimeOffset paidTime, string paymentGatewayTransactionId, string applyNumber, string creditCardCompanyName, int installmentPlanPeriod ) : void
paymentDelegateId string
paidTime DateTimeOffset
paymentGatewayTransactionId string
applyNumber string
creditCardCompanyName string
installmentPlanPeriod int
return void

SetPaidForOthers() public method

public SetPaidForOthers ( string paymentDelegateId, DateTimeOffset paidTime, string paymentGatewayTransactionId ) : void
paymentDelegateId string
paidTime DateTimeOffset
paymentGatewayTransactionId string
return void

SetPaiedForVirtualBank() public method

public SetPaiedForVirtualBank ( string paymentDelegateId, DateTimeOffset paidTime, string paymentGatewayTransactionId, string bankName, string account, string accountHolder ) : void
paymentDelegateId string
paidTime DateTimeOffset
paymentGatewayTransactionId string
bankName string
account string
accountHolder string
return void