C# Класс Rock.Model.FinancialScheduledTransactionService

Service/Data access class for Rock.Model.FinancialScheduledTransaction entity objects.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Cancel ( FinancialScheduledTransaction scheduledTransaction, string &errorMessages ) : bool

Cancels the specified scheduled transaction.

Delete ( FinancialScheduledTransaction item ) : bool

Deletes the specified item.

Get ( int personId, int givingGroupId, bool includeInactive ) : IQueryable

Gets schedule transactions associated to a person. Includes any transactions associated to person or any other person with same giving group id

GetByScheduleId ( string scheduleId ) : FinancialScheduledTransaction

Gets the by schedule identifier.

GetStatus ( FinancialScheduledTransaction scheduledTransaction, string &errorMessages ) : bool

Sets the status.

ProcessPayments ( FinancialGateway gateway, string batchNamePrefix, List payments, string batchUrlFormat = "", System.Guid receiptEmail = null ) : string

Processes the payments.

Reactivate ( FinancialScheduledTransaction scheduledTransaction, string &errorMessages ) : bool

Reactivates the specified scheduled transaction.

Приватные методы

Метод Описание
CalculateTransactionAmount ( Payment payment, List transactions ) : decimal
LaunchWorkflow ( WorkflowType workflowType, FinancialTransaction transaction ) : void

Описание методов

Cancel() публичный Метод

Cancels the specified scheduled transaction.
public Cancel ( FinancialScheduledTransaction scheduledTransaction, string &errorMessages ) : bool
scheduledTransaction FinancialScheduledTransaction The scheduled transaction.
errorMessages string The error messages.
Результат bool

Delete() публичный Метод

Deletes the specified item.
public Delete ( FinancialScheduledTransaction item ) : bool
item FinancialScheduledTransaction The item.
Результат bool

Get() публичный Метод

Gets schedule transactions associated to a person. Includes any transactions associated to person or any other person with same giving group id
public Get ( int personId, int givingGroupId, bool includeInactive ) : IQueryable
personId int The person identifier.
givingGroupId int The giving group identifier.
includeInactive bool if set to true [include inactive].
Результат IQueryable

GetByScheduleId() публичный Метод

Gets the by schedule identifier.
public GetByScheduleId ( string scheduleId ) : FinancialScheduledTransaction
scheduleId string The schedule identifier.
Результат FinancialScheduledTransaction

GetStatus() публичный Метод

Sets the status.
public GetStatus ( FinancialScheduledTransaction scheduledTransaction, string &errorMessages ) : bool
scheduledTransaction FinancialScheduledTransaction The scheduled transaction.
errorMessages string The error messages.
Результат bool

ProcessPayments() публичный статический Метод

Processes the payments.
public static ProcessPayments ( FinancialGateway gateway, string batchNamePrefix, List payments, string batchUrlFormat = "", System.Guid receiptEmail = null ) : string
gateway FinancialGateway The gateway.
batchNamePrefix string The batch name prefix.
payments List The payments.
batchUrlFormat string The batch URL format.
receiptEmail System.Guid The receipt email.
Результат string

Reactivate() публичный Метод

Reactivates the specified scheduled transaction.
public Reactivate ( FinancialScheduledTransaction scheduledTransaction, string &errorMessages ) : bool
scheduledTransaction FinancialScheduledTransaction The scheduled transaction.
errorMessages string The error messages.
Результат bool