C# Class RockWeb.Blocks.Finance.ScheduledTransactionEdit

Inheritance: Rock.Web.UI.RockBlock
ファイルを表示 Open project: NewSpring/Rock

Public Methods

Method Description
FormatValueAsCurrency ( decimal value ) : string

Formats the value as currency (called from markup)

Protected Methods

Method 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

Method 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 method

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

LoadViewState() protected method

protected LoadViewState ( object savedState ) : void
savedState object
return void

OnInit() protected method

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

OnLoad() protected method

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

SaveViewState() protected method

protected SaveViewState ( ) : object
return object

btnAddAccount_SelectionChanged() protected method

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.
return void

btnCancel_Click() protected method

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.
return void

btnConfirm_Click() protected method

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.
return void

btnNext_Click() protected method

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.
return void

btnPrev_Click() protected method

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.
return void

page_PageNavigate() protected method

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.
return void