C# Class Kooboo.Commerce.Payments.PaymentService

Mostra file Open project: Kooboo/Ecommerce Class Usage Examples

Public Methods

Method Description
AcceptProcessResult ( Payment payment, ProcessPaymentResult result ) : void
ChangeStatus ( Payment payment, PaymentStatus newStatus ) : void
Create ( Payment payment ) : void
Find ( int id ) : Payment
PaymentService ( CommerceInstance instance ) : System
Query ( ) : IQueryable

Method Details

AcceptProcessResult() public method

public AcceptProcessResult ( Payment payment, ProcessPaymentResult result ) : void
payment Payment
result ProcessPaymentResult
return void

ChangeStatus() public method

public ChangeStatus ( Payment payment, PaymentStatus newStatus ) : void
payment Payment
newStatus PaymentStatus
return void

Create() public method

public Create ( Payment payment ) : void
payment Payment
return void

Find() public method

public Find ( int id ) : Payment
id int
return Payment

PaymentService() public method

public PaymentService ( CommerceInstance instance ) : System
instance Kooboo.Commerce.Data.CommerceInstance
return System

Query() public method

public Query ( ) : IQueryable
return IQueryable