C# Class Nop.Plugin.Payments.PurchaseOrder.PurchaseOrderPaymentProcessor

PurchaseOrder payment processor
Inheritance: Nop.Core.Plugins.BasePlugin, IPaymentMethod
Afficher le fichier Open project: emilianionascu/NopCommerce

Méthodes publiques

Méthode Description
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

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

Install plugin

PostProcessPayment ( Nop.Services.Payments.PostProcessPaymentRequest postProcessPaymentRequest ) : void

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

ProcessPayment ( Nop.Services.Payments.ProcessPaymentRequest processPaymentRequest ) : Nop.Services.Payments.ProcessPaymentResult

Process a payment

ProcessRecurringPayment ( Nop.Services.Payments.ProcessPaymentRequest processPaymentRequest ) : Nop.Services.Payments.ProcessPaymentResult

Process recurring payment

PurchaseOrderPaymentProcessor ( Nop.Plugin.Payments.PurchaseOrder.PurchaseOrderPaymentSettings purchaseOrderPaymentSettings, ISettingService settingService, IOrderTotalCalculationService orderTotalCalculationService ) : System
Refund ( Nop.Services.Payments.RefundPaymentRequest refundPaymentRequest ) : Nop.Services.Payments.RefundPaymentResult

Refunds a payment

Uninstall ( ) : void
Void ( Nop.Services.Payments.VoidPaymentRequest voidPaymentRequest ) : Nop.Services.Payments.VoidPaymentResult

Voids a payment

Method Details

CanRePostProcessPayment() public méthode

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
Résultat bool

CancelRecurringPayment() public méthode

Cancels a recurring payment
public CancelRecurringPayment ( Nop.Services.Payments.CancelRecurringPaymentRequest cancelPaymentRequest ) : Nop.Services.Payments.CancelRecurringPaymentResult
cancelPaymentRequest Nop.Services.Payments.CancelRecurringPaymentRequest Request
Résultat Nop.Services.Payments.CancelRecurringPaymentResult

Capture() public méthode

Captures payment
public Capture ( Nop.Services.Payments.CapturePaymentRequest capturePaymentRequest ) : Nop.Services.Payments.CapturePaymentResult
capturePaymentRequest Nop.Services.Payments.CapturePaymentRequest Capture payment request
Résultat Nop.Services.Payments.CapturePaymentResult

GetAdditionalHandlingFee() public méthode

Gets additional handling fee
public GetAdditionalHandlingFee ( IList cart ) : decimal
cart IList Shoping cart
Résultat decimal

GetConfigurationRoute() public méthode

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
Résultat void

GetControllerType() public méthode

public GetControllerType ( ) : Type
Résultat System.Type

GetPaymentInfoRoute() public méthode

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
Résultat void

Install() public méthode

Install plugin
public Install ( ) : void
Résultat void

PostProcessPayment() public méthode

Post process payment (used by payment gateways that require redirecting to a third-party URL)
public PostProcessPayment ( Nop.Services.Payments.PostProcessPaymentRequest postProcessPaymentRequest ) : void
postProcessPaymentRequest Nop.Services.Payments.PostProcessPaymentRequest Payment info required for an order processing
Résultat void

ProcessPayment() public méthode

Process a payment
public ProcessPayment ( Nop.Services.Payments.ProcessPaymentRequest processPaymentRequest ) : Nop.Services.Payments.ProcessPaymentResult
processPaymentRequest Nop.Services.Payments.ProcessPaymentRequest Payment info required for an order processing
Résultat Nop.Services.Payments.ProcessPaymentResult

ProcessRecurringPayment() public méthode

Process recurring payment
public ProcessRecurringPayment ( Nop.Services.Payments.ProcessPaymentRequest processPaymentRequest ) : Nop.Services.Payments.ProcessPaymentResult
processPaymentRequest Nop.Services.Payments.ProcessPaymentRequest Payment info required for an order processing
Résultat Nop.Services.Payments.ProcessPaymentResult

PurchaseOrderPaymentProcessor() public méthode

public PurchaseOrderPaymentProcessor ( Nop.Plugin.Payments.PurchaseOrder.PurchaseOrderPaymentSettings purchaseOrderPaymentSettings, ISettingService settingService, IOrderTotalCalculationService orderTotalCalculationService ) : System
purchaseOrderPaymentSettings Nop.Plugin.Payments.PurchaseOrder.PurchaseOrderPaymentSettings
settingService ISettingService
orderTotalCalculationService IOrderTotalCalculationService
Résultat System

Refund() public méthode

Refunds a payment
public Refund ( Nop.Services.Payments.RefundPaymentRequest refundPaymentRequest ) : Nop.Services.Payments.RefundPaymentResult
refundPaymentRequest Nop.Services.Payments.RefundPaymentRequest Request
Résultat Nop.Services.Payments.RefundPaymentResult

Uninstall() public méthode

public Uninstall ( ) : void
Résultat void

Void() public méthode

Voids a payment
public Void ( Nop.Services.Payments.VoidPaymentRequest voidPaymentRequest ) : Nop.Services.Payments.VoidPaymentResult
voidPaymentRequest Nop.Services.Payments.VoidPaymentRequest Request
Résultat Nop.Services.Payments.VoidPaymentResult