C# 클래스 Nop.Plugin.Payments.CashOnDelivery.CashOnDeliveryPaymentProcessor

CashOnDelivery payment processor
상속: Nop.Core.Plugins.BasePlugin, IPaymentMethod
파일 보기 프로젝트 열기: emilianionascu/NopCommerce

공개 메소드들

메소드 설명
CanRePostProcessPayment ( Nop.Core.Domain.Orders.Order order ) : bool

Gets a value indicating whether customers can complete a payment after order is placed but not completed (for redirection payment methods)

CancelRecurringPayment ( Nop.Services.Payments.CancelRecurringPaymentRequest cancelPaymentRequest ) : Nop.Services.Payments.CancelRecurringPaymentResult

Cancels a recurring payment

Capture ( Nop.Services.Payments.CapturePaymentRequest capturePaymentRequest ) : Nop.Services.Payments.CapturePaymentResult

Captures payment

CashOnDeliveryPaymentProcessor ( Nop.Plugin.Payments.CashOnDelivery.CashOnDeliveryPaymentSettings cashOnDeliveryPaymentSettings, ISettingService settingService, IOrderTotalCalculationService orderTotalCalculationService ) : System
GetAdditionalHandlingFee ( IList cart ) : decimal

Gets additional handling fee

GetConfigurationRoute ( string &actionName, string &controllerName, RouteValueDictionary &routeValues ) : void

Gets a route for provider configuration

GetControllerType ( ) : Type
GetPaymentInfoRoute ( string &actionName, string &controllerName, RouteValueDictionary &routeValues ) : void

Gets a route for payment info

Install ( ) : void
PostProcessPayment ( PostProcessPaymentRequest postProcessPaymentRequest ) : void

Post process payment (used by payment gateways that require redirecting to a third-party URL)

ProcessPayment ( ProcessPaymentRequest processPaymentRequest ) : ProcessPaymentResult

Process a payment

ProcessRecurringPayment ( ProcessPaymentRequest processPaymentRequest ) : ProcessPaymentResult

Process recurring payment

Refund ( RefundPaymentRequest refundPaymentRequest ) : RefundPaymentResult

Refunds a payment

Uninstall ( ) : void
Void ( VoidPaymentRequest voidPaymentRequest ) : VoidPaymentResult

Voids a payment

메소드 상세

CanRePostProcessPayment() 공개 메소드

Gets a value indicating whether customers can complete a payment after order is placed but not completed (for redirection payment methods)
public CanRePostProcessPayment ( Nop.Core.Domain.Orders.Order order ) : bool
order Nop.Core.Domain.Orders.Order Order
리턴 bool

CancelRecurringPayment() 공개 메소드

Cancels a recurring payment
public CancelRecurringPayment ( Nop.Services.Payments.CancelRecurringPaymentRequest cancelPaymentRequest ) : Nop.Services.Payments.CancelRecurringPaymentResult
cancelPaymentRequest Nop.Services.Payments.CancelRecurringPaymentRequest Request
리턴 Nop.Services.Payments.CancelRecurringPaymentResult

Capture() 공개 메소드

Captures payment
public Capture ( Nop.Services.Payments.CapturePaymentRequest capturePaymentRequest ) : Nop.Services.Payments.CapturePaymentResult
capturePaymentRequest Nop.Services.Payments.CapturePaymentRequest Capture payment request
리턴 Nop.Services.Payments.CapturePaymentResult

CashOnDeliveryPaymentProcessor() 공개 메소드

public CashOnDeliveryPaymentProcessor ( Nop.Plugin.Payments.CashOnDelivery.CashOnDeliveryPaymentSettings cashOnDeliveryPaymentSettings, ISettingService settingService, IOrderTotalCalculationService orderTotalCalculationService ) : System
cashOnDeliveryPaymentSettings Nop.Plugin.Payments.CashOnDelivery.CashOnDeliveryPaymentSettings
settingService ISettingService
orderTotalCalculationService IOrderTotalCalculationService
리턴 System

GetAdditionalHandlingFee() 공개 메소드

Gets additional handling fee
public GetAdditionalHandlingFee ( IList cart ) : decimal
cart IList Shoping cart
리턴 decimal

GetConfigurationRoute() 공개 메소드

Gets a route for provider configuration
public GetConfigurationRoute ( string &actionName, string &controllerName, RouteValueDictionary &routeValues ) : void
actionName string Action name
controllerName string Controller name
routeValues RouteValueDictionary Route values
리턴 void

GetControllerType() 공개 메소드

public GetControllerType ( ) : Type
리턴 System.Type

GetPaymentInfoRoute() 공개 메소드

Gets a route for payment info
public GetPaymentInfoRoute ( string &actionName, string &controllerName, RouteValueDictionary &routeValues ) : void
actionName string Action name
controllerName string Controller name
routeValues RouteValueDictionary Route values
리턴 void

Install() 공개 메소드

public Install ( ) : void
리턴 void

PostProcessPayment() 공개 메소드

Post process payment (used by payment gateways that require redirecting to a third-party URL)
public PostProcessPayment ( PostProcessPaymentRequest postProcessPaymentRequest ) : void
postProcessPaymentRequest PostProcessPaymentRequest Payment info required for an order processing
리턴 void

ProcessPayment() 공개 메소드

Process a payment
public ProcessPayment ( ProcessPaymentRequest processPaymentRequest ) : ProcessPaymentResult
processPaymentRequest ProcessPaymentRequest Payment info required for an order processing
리턴 ProcessPaymentResult

ProcessRecurringPayment() 공개 메소드

Process recurring payment
public ProcessRecurringPayment ( ProcessPaymentRequest processPaymentRequest ) : ProcessPaymentResult
processPaymentRequest ProcessPaymentRequest Payment info required for an order processing
리턴 ProcessPaymentResult

Refund() 공개 메소드

Refunds a payment
public Refund ( RefundPaymentRequest refundPaymentRequest ) : RefundPaymentResult
refundPaymentRequest RefundPaymentRequest Request
리턴 RefundPaymentResult

Uninstall() 공개 메소드

public Uninstall ( ) : void
리턴 void

Void() 공개 메소드

Voids a payment
public Void ( VoidPaymentRequest voidPaymentRequest ) : VoidPaymentResult
voidPaymentRequest VoidPaymentRequest Request
리턴 VoidPaymentResult