C# Class RockWeb.Blocks.Finance.ScheduledTransactionEdit

Inheritance: Rock.Web.UI.RockBlock
Afficher le fichier Open project: NewSpring/Rock

Méthodes publiques

Méthode Description
FormatValueAsCurrency ( decimal value ) : string

Formats the value as currency (called from markup)

Méthodes protégées

Méthode Description
LoadViewState ( object savedState ) : void
OnInit ( EventArgs e ) : void

Raises the E:System.Web.UI.Control.Init event.

OnLoad ( EventArgs e ) : void

Raises the E:System.Web.UI.Control.Load event.

SaveViewState ( ) : object
btnAddAccount_SelectionChanged ( object sender, EventArgs e ) : void

Handles the SelectionChanged event of the btnAddAccount control.

btnCancel_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnCancel control.

btnConfirm_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnConfirm control.

btnNext_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnNext control.

btnPrev_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnPrev control.

page_PageNavigate ( object sender, System.Web.UI.HistoryEventArgs e ) : void

Handles the PageNavigate event of the page control.

Private Methods

Méthode Description
BindAccounts ( ) : void

Binds the accounts.

GetACHInfo ( ) : ACHPaymentInfo

Gets the ACH information.

GetAccounts ( FinancialScheduledTransaction scheduledTransaction ) : void

Gets the accounts.

GetCCInfo ( ) : CreditCardPaymentInfo

Gets the credit card information.

GetPaymentInfo ( Rock.Model.PersonService personService, FinancialScheduledTransaction scheduledTransaction ) : PaymentInfo

Gets the payment information.

GetReferenceInfo ( int savedAccountId ) : ReferencePaymentInfo

Gets the reference information.

GetScheduledTransaction ( bool refresh = false ) : FinancialScheduledTransaction

Gets the scheduled transaction.

ProcessConfirmation ( string &errorMessage ) : bool

Processes the confirmation.

ProcessPaymentInfo ( string &errorMessage ) : bool

Processes the payment information.

RegisterScript ( ) : void

Registers the startup script.

SetFrequency ( FinancialScheduledTransaction scheduledTransaction ) : void

Sets the frequency.

SetPage ( int page ) : void

Sets the page.

SetSavedAccounts ( ) : void

Binds the saved accounts.

ShowMessage ( NotificationBoxType type, string title, string text ) : void

Shows the message.

Method Details

FormatValueAsCurrency() public méthode

Formats the value as currency (called from markup)
public FormatValueAsCurrency ( decimal value ) : string
value decimal The value.
Résultat string

LoadViewState() protected méthode

protected LoadViewState ( object savedState ) : void
savedState object
Résultat void

OnInit() protected méthode

Raises the E:System.Web.UI.Control.Init event.
protected OnInit ( EventArgs e ) : void
e System.EventArgs An object that contains the event data.
Résultat void

OnLoad() protected méthode

Raises the E:System.Web.UI.Control.Load event.
protected OnLoad ( EventArgs e ) : void
e System.EventArgs The object that contains the event data.
Résultat void

SaveViewState() protected méthode

protected SaveViewState ( ) : object
Résultat object

btnAddAccount_SelectionChanged() protected méthode

Handles the SelectionChanged event of the btnAddAccount control.
protected btnAddAccount_SelectionChanged ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

btnCancel_Click() protected méthode

Handles the Click event of the btnCancel control.
protected btnCancel_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

btnConfirm_Click() protected méthode

Handles the Click event of the btnConfirm control.
protected btnConfirm_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

btnNext_Click() protected méthode

Handles the Click event of the btnNext control.
protected btnNext_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

btnPrev_Click() protected méthode

Handles the Click event of the btnPrev control.
protected btnPrev_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
Résultat void

page_PageNavigate() protected méthode

Handles the PageNavigate event of the page control.
protected page_PageNavigate ( object sender, System.Web.UI.HistoryEventArgs e ) : void
sender object The source of the event.
e System.Web.UI.HistoryEventArgs The instance containing the event data.
Résultat void