C# Class mobSocial.Services.Payments.PaymentProcessingService

Inheritance: IPaymentProcessingService
Afficher le fichier Open project: mobsoftware/mobsocial

Méthodes publiques

Méthode Description
CapturePayment ( PaymentTransaction transaction ) : ITransactionCaptureResult
GetNetAmountAfterPaymentProcessing ( decimal amount ) : decimal
GetPaymentProcessorPlugin ( decimal amount, PaymentMethodType methodType ) : IPaymentProcessorPlugin
GetSupportedPaymentProcessorPlugins ( ) : IList
PaymentProcessingService ( IPluginFinderService pluginFinder, PaymentSettings paymentSettings ) : System.Collections.Generic
ProcessPayment ( User user, UserPaymentMethod paymentMethod, ITransactionProcessRequest processRequest, bool authorizeOnly = false ) : ITransactionProcessResult
RefundPayment ( PaymentTransaction transaction ) : ITransactionRefundResult
VoidPayment ( PaymentTransaction transaction ) : ITransactionVoidResult

Private Methods

Méthode Description
GetPluginInstance ( string pluginSystemName ) : IPaymentProcessorPlugin

Method Details

CapturePayment() public méthode

public CapturePayment ( PaymentTransaction transaction ) : ITransactionCaptureResult
transaction PaymentTransaction
Résultat ITransactionCaptureResult

GetNetAmountAfterPaymentProcessing() public méthode

public GetNetAmountAfterPaymentProcessing ( decimal amount ) : decimal
amount decimal
Résultat decimal

GetPaymentProcessorPlugin() public méthode

public GetPaymentProcessorPlugin ( decimal amount, PaymentMethodType methodType ) : IPaymentProcessorPlugin
amount decimal
methodType PaymentMethodType
Résultat IPaymentProcessorPlugin

GetSupportedPaymentProcessorPlugins() public méthode

public GetSupportedPaymentProcessorPlugins ( ) : IList
Résultat IList

PaymentProcessingService() public méthode

public PaymentProcessingService ( IPluginFinderService pluginFinder, PaymentSettings paymentSettings ) : System.Collections.Generic
pluginFinder IPluginFinderService
paymentSettings mobSocial.Data.Entity.Settings.PaymentSettings
Résultat System.Collections.Generic

ProcessPayment() public méthode

public ProcessPayment ( User user, UserPaymentMethod paymentMethod, ITransactionProcessRequest processRequest, bool authorizeOnly = false ) : ITransactionProcessResult
user User
paymentMethod mobSocial.Data.Entity.Payments.UserPaymentMethod
processRequest ITransactionProcessRequest
authorizeOnly bool
Résultat ITransactionProcessResult

RefundPayment() public méthode

public RefundPayment ( PaymentTransaction transaction ) : ITransactionRefundResult
transaction PaymentTransaction
Résultat ITransactionRefundResult

VoidPayment() public méthode

public VoidPayment ( PaymentTransaction transaction ) : ITransactionVoidResult
transaction PaymentTransaction
Résultat ITransactionVoidResult