Class PaymentMethodManager
Inheritance
System.Object
PaymentMethodManager
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Simplic.ERP.Core
Assembly: Simplic.ERP.Core.dll
Syntax
public class PaymentMethodManager
Methods
| Improve this Doc View SourceDelete(PaymentMethod)
Set a payment method as deleted
Declaration
public void Delete(PaymentMethod paymentMethod)
Parameters
Type | Name | Description |
---|---|---|
PaymentMethod | paymentMethod | Instance of an payment method |
Get(Guid)
Get a payment method from the database
Declaration
public PaymentMethod Get(Guid id)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | id | Unique id |
Returns
Type | Description |
---|---|
PaymentMethod | Payment method if found |
GetAll()
Gets all payment methods
Declaration
public IEnumerable<PaymentMethod> GetAll()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<PaymentMethod> | Payment methods |
GetByInternName(String)
Get a payment method from the database with the internName given
Declaration
public PaymentMethod GetByInternName(string internName)
Parameters
Type | Name | Description |
---|---|---|
System.String | internName |
Returns
Type | Description |
---|---|
PaymentMethod |
Save(PaymentMethod)
Create or update a payment method
Declaration
public void Save(PaymentMethod paymentMethod)
Parameters
Type | Name | Description |
---|---|---|
PaymentMethod | paymentMethod | Instance of the payment method to create or update |