C# Class RockWeb.Blocks.Finance.TransactionEntry

Inheritance: Rock.Web.UI.RockBlock
Mostra file Open project: SparkDevNetwork/Rock

Protected Properties

Property Type Description
FluidLayout bool

Protected Methods

Method Description
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.

btnAddAccount_SelectionChanged ( object sender, EventArgs e ) : void

Handles the SelectionChanged event of the btnAddAccount control.

btnConfirm_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnConfirm control.

btnConfirmationNext_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnConfirmationNext control.

btnConfirmationPrev_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnConfirmationPrev control.

btnFrequency_SelectionChanged ( object sender, EventArgs e ) : void
btnPaymentInfoNext_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnPaymentInfoNext control.

btnStep2PaymentPrev_Click ( object sender, EventArgs e ) : void

Handles the Click event of the btnStep2Payment control.

lbSaveAccount_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbSaveAccount control.

lbStep2Return_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbStep2Return 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.

BindSavedAccounts ( RockContext rockContext, bool oneTime ) : void

Binds the saved accounts.

GetACHInfo ( ) : ACHPaymentInfo

Gets the ACH information.

GetAccounts ( ) : void

Gets the accounts.

GetCCInfo ( ) : CreditCardPaymentInfo

Gets the credit card information.

GetGateway ( RockContext rockContext, string attributeName ) : FinancialGateway
GetGatewayComponent ( RockContext rockContext, FinancialGateway gateway ) : GatewayComponent
GetPaymentInfo ( ) : PaymentInfo

Gets the payment information.

GetPerson ( bool create ) : Person

Gets the person.

GetReferenceInfo ( int savedAccountId ) : ReferencePaymentInfo

Gets the reference information.

GetSavedAcccountFreqSupported ( GatewayComponent component ) : string
GetSchedule ( ) : PaymentSchedule

Gets the payment schedule.

GetTxnPaymentInfo ( Person person, string &errorMessage ) : PaymentInfo
ProcessConfirmation ( string &errorMessage ) : bool

Processes the confirmation.

ProcessPaymentInfo ( string &errorMessage ) : bool

Processes the payment information.

ProcessStep1 ( string &errorMessage ) : bool

Processes the step1.

ProcessStep3 ( string resultQueryString, string &errorMessage ) : bool
RegisterScript ( ) : void

Registers the startup script.

SaveScheduledTransaction ( FinancialGateway financialGateway, GatewayComponent gateway, Person person, PaymentInfo paymentInfo, PaymentSchedule schedule, FinancialScheduledTransaction scheduledTransaction, RockContext rockContext ) : void
SaveTransaction ( FinancialGateway financialGateway, GatewayComponent gateway, Person person, PaymentInfo paymentInfo, FinancialTransaction transaction, RockContext rockContext ) : void
SendReceipt ( int transactionId ) : void
SetControlOptions ( ) : void
SetGatewayOptions ( RockContext rockContext ) : void
SetPage ( int page ) : void

Sets the page.

SetTargetPerson ( RockContext rockContext ) : void
ShowMessage ( NotificationBoxType type, string title, string text ) : void

Shows the message.

ShowSuccess ( GatewayComponent gatewayComponent, Person person, PaymentInfo paymentInfo, PaymentSchedule schedule, FinancialPaymentDetail paymentDetail, RockContext rockContext ) : void

Method Details

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

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

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

btnConfirmationNext_Click() protected method

Handles the Click event of the btnConfirmationNext control.
protected btnConfirmationNext_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

btnConfirmationPrev_Click() protected method

Handles the Click event of the btnConfirmationPrev control.
protected btnConfirmationPrev_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

btnFrequency_SelectionChanged() protected method

protected btnFrequency_SelectionChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

btnPaymentInfoNext_Click() protected method

Handles the Click event of the btnPaymentInfoNext control.
protected btnPaymentInfoNext_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

btnStep2PaymentPrev_Click() protected method

Handles the Click event of the btnStep2Payment control.
protected btnStep2PaymentPrev_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

lbSaveAccount_Click() protected method

Handles the Click event of the lbSaveAccount control.
protected lbSaveAccount_Click ( object sender, EventArgs e ) : void
sender object The source of the event.
e System.EventArgs The instance containing the event data.
return void

lbStep2Return_Click() protected method

Handles the Click event of the lbStep2Return control.
protected lbStep2Return_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

Property Details

FluidLayout protected_oe property

protected bool FluidLayout
return bool