C# Class Samba.Services.CreditCardProcessingService

Mostra file Open project: emreeren/SambaPOS-2

Private Properties

Property Type Description
CreditCardProcessingService System

Public Methods

Method Description
ForcePayment ( int ticketId ) : bool
GetDefaultProcessor ( ) : ICreditCardProcessor
GetProcessors ( ) : IEnumerable
Process ( CreditCardProcessingData ccpd ) : void
RegisterCreditCardProcessor ( ICreditCardProcessor processor ) : void

Private Methods

Method Description
CreditCardProcessingService ( ) : System

Method Details

ForcePayment() public static method

public static ForcePayment ( int ticketId ) : bool
ticketId int
return bool

GetDefaultProcessor() public static method

public static GetDefaultProcessor ( ) : ICreditCardProcessor
return ICreditCardProcessor

GetProcessors() public static method

public static GetProcessors ( ) : IEnumerable
return IEnumerable

Process() public static method

public static Process ( CreditCardProcessingData ccpd ) : void
ccpd CreditCardProcessingData
return void

RegisterCreditCardProcessor() public static method

public static RegisterCreditCardProcessor ( ICreditCardProcessor processor ) : void
processor ICreditCardProcessor
return void