C# Класс Nop.Plugin.Payments.CashOnDelivery.CashOnDeliveryPaymentProcessor

CashOnDelivery payment processor
Наследование: Nop.Core.Plugins.BasePlugin, IPaymentMethod
Показать файл Открыть проект

Открытые методы

Метод Описание
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