C# Class RockWeb.Blocks.Finance.TransactionDetail

Inheritance: Rock.Web.UI.RockBlock, IDetailBlock
Afficher le fichier Open project: SparkDevNetwork/Rock

Private Properties

Свойство Type Description
BindAccounts void
BindDropdowns void
BindImages void
GetTransaction FinancialTransaction
HideDialog void
SetCreditCardVisibility void
SetEditMode void
SetHeadingInfo void
ShowAccountDialog void
ShowDialog void
ShowDialog void
ShowEditDetails void
ShowNextButton void
ShowReadOnlyDetails void
ShowRefundDialog void
gAccountsEdit_AddClick void
gAccountsEdit_GridRebind void
gAccountsEdit_RowDataBound void

Méthodes publiques

Méthode Description
ShowDetail ( int transactionId ) : void

Shows the detail.

ShowDetail ( int transactionId, int batchId ) : void

Shows the detail.

Méthodes protégées

Méthode Description
AccountName ( int accountId ) : string

Accounts the name.

Block_BlockUpdated ( object sender, EventArgs e ) : void

Handles the BlockUpdated event of the Block control.

GetDefinedValue ( int definedValueId ) : string

Gets the defined value.

GetFinancialGatewayName ( int gatewayId, RockContext rockContext ) : string

Gets the name of the financial gateway.

ImageUrl ( int binaryFileId, int maxWidth = null, int maxHeight = null ) : string

Images the URL.

LoadViewState ( object savedState ) : void

Restores the view-state information from a previous user control request that was saved by the M:System.Web.UI.UserControl.SaveViewState method.

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.

OnPreRender ( EventArgs e ) : void

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

SaveViewState ( ) : object

Saves any user control view-state changes that have occurred since the last page postback.

cbIsRefund_CheckedChanged ( object sender, EventArgs e ) : void

Handles the CheckedChanged event of the cbIsRefund control.

ddlCurrencyType_SelectedIndexChanged ( object sender, EventArgs e ) : void

Handles the SelectedIndexChanged event of the ddlCurrencyType control.

dlImages_ItemDataBound ( object sender, System.Web.UI.WebControls.DataListItemEventArgs e ) : void

Handles the ItemDataBound event of the dlImages control.

gAccountsEdit_DeleteClick ( object sender, RowEventArgs e ) : void

Handles the DeleteClick event of the gAccountsEdit control.

gAccountsEdit_EditClick ( object sender, RowEventArgs e ) : void

Handles the EditClick event of the gAccountsEdit control.

imgupImage_ImageRemoved ( object sender, ImageUploaderEventArgs e ) : void

Handles the ImageRemoved event of the imgupImage control.

imgupImage_ImageUploaded ( object sender, ImageUploaderEventArgs e ) : void

Handles the ImageUploaded event of the imgupImage control.

lbAddTransaction_Click ( object sender, EventArgs e ) : void
lbCancel_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbCancel control.

lbEdit_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbEdit control.

lbRefundTransaction_Click ( object sender, EventArgs e ) : void
lbSave_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbSave control.

lbShowMore_Click ( object sender, EventArgs e ) : void

Handles the Click event of the lbShowMore control.

mdAccount_SaveClick ( object sender, EventArgs e ) : void

Handles the SaveClick event of the mdAccount control.

mdRefund_SaveClick ( object sender, EventArgs e ) : void

Handles the SaveClick event of the mdRefund control.

ppAuthorizedPerson_SelectPerson ( object sender, EventArgs e ) : void

Handles the SelectPerson event of the ppAuthorizedPerson control.

Private Methods

Méthode Description
BindAccounts ( ) : void

Binds the transaction details.

BindDropdowns ( RockContext rockContext ) : void

Binds the dropdowns.

BindImages ( ) : void
GetTransaction ( int transactionId, RockContext rockContext = null ) : FinancialTransaction

Gets the transaction.

HideDialog ( ) : void

Hides the dialog.

SetCreditCardVisibility ( ) : void

Sets the credit card visibility.

SetEditMode ( bool editable ) : void

Sets the edit mode.

SetHeadingInfo ( FinancialTransaction txn ) : void

Sets the heading information.

ShowAccountDialog ( System.Guid guid ) : void

Shows the account dialog.

ShowDialog ( ) : void

Shows the dialog.

ShowDialog ( string dialog ) : void

Shows the dialog.

ShowEditDetails ( FinancialTransaction txn, RockContext rockContext ) : void

Shows the edit details.

ShowNextButton ( int transactionId, int batchId ) : void

Navigates to the next transaction in the list.

ShowReadOnlyDetails ( FinancialTransaction txn ) : void

Shows the read only details.

ShowRefundDialog ( ) : void

Shows the refund dialog.

gAccountsEdit_AddClick ( object sender, EventArgs e ) : void

Handles the AddClick event of the gAccountsEdit control.

gAccountsEdit_GridRebind ( object sender, EventArgs e ) : void

Handles the GridRebind event of the gAccountsEdit control.

gAccountsEdit_RowDataBound ( object sender, System.Web.UI.WebControls.GridViewRowEventArgs e ) : void

Handles the RowDataBound event of the gAccountsEdit control.

Method Details

AccountName() protected méthode

Accounts the name.
protected AccountName ( int accountId ) : string
accountId int The account identifier.
Résultat string

Block_BlockUpdated() protected méthode

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

GetDefinedValue() protected méthode

Gets the defined value.
protected GetDefinedValue ( int definedValueId ) : string
definedValueId int The defined value identifier.
Résultat string

GetFinancialGatewayName() protected méthode

Gets the name of the financial gateway.
protected GetFinancialGatewayName ( int gatewayId, RockContext rockContext ) : string
gatewayId int The gateway identifier.
rockContext Rock.Data.RockContext The rock context.
Résultat string

ImageUrl() protected méthode

Images the URL.
protected ImageUrl ( int binaryFileId, int maxWidth = null, int maxHeight = null ) : string
binaryFileId int The binary file identifier.
maxWidth int The maximum width.
maxHeight int The maximum height.
Résultat string

LoadViewState() protected méthode

Restores the view-state information from a previous user control request that was saved by the M:System.Web.UI.UserControl.SaveViewState method.
protected LoadViewState ( object savedState ) : void
savedState object An that represents the user control state to be restored.
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

OnPreRender() protected méthode

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

SaveViewState() protected méthode

Saves any user control view-state changes that have occurred since the last page postback.
protected SaveViewState ( ) : object
Résultat object

ShowDetail() public méthode

Shows the detail.
public ShowDetail ( int transactionId ) : void
transactionId int The transaction identifier.
Résultat void

ShowDetail() public méthode

Shows the detail.
public ShowDetail ( int transactionId, int batchId ) : void
transactionId int The transaction identifier.
batchId int
Résultat void

cbIsRefund_CheckedChanged() protected méthode

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

ddlCurrencyType_SelectedIndexChanged() protected méthode

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

dlImages_ItemDataBound() protected méthode

Handles the ItemDataBound event of the dlImages control.
protected dlImages_ItemDataBound ( object sender, System.Web.UI.WebControls.DataListItemEventArgs e ) : void
sender object The source of the event.
e System.Web.UI.WebControls.DataListItemEventArgs The instance containing the event data.
Résultat void

gAccountsEdit_DeleteClick() protected méthode

Handles the DeleteClick event of the gAccountsEdit control.
protected gAccountsEdit_DeleteClick ( object sender, RowEventArgs e ) : void
sender object The source of the event.
e RowEventArgs The instance containing the event data.
Résultat void

gAccountsEdit_EditClick() protected méthode

Handles the EditClick event of the gAccountsEdit control.
protected gAccountsEdit_EditClick ( object sender, RowEventArgs e ) : void
sender object The source of the event.
e RowEventArgs The instance containing the event data.
Résultat void

imgupImage_ImageRemoved() protected méthode

Handles the ImageRemoved event of the imgupImage control.
protected imgupImage_ImageRemoved ( object sender, ImageUploaderEventArgs e ) : void
sender object The source of the event.
e ImageUploaderEventArgs The instance containing the event data.
Résultat void

imgupImage_ImageUploaded() protected méthode

Handles the ImageUploaded event of the imgupImage control.
protected imgupImage_ImageUploaded ( object sender, ImageUploaderEventArgs e ) : void
sender object The source of the event.
e ImageUploaderEventArgs The instance containing the event data.
Résultat void

lbAddTransaction_Click() protected méthode

protected lbAddTransaction_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

lbCancel_Click() protected méthode

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

lbEdit_Click() protected méthode

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

lbRefundTransaction_Click() protected méthode

protected lbRefundTransaction_Click ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

lbSave_Click() protected méthode

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

lbShowMore_Click() protected méthode

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

mdAccount_SaveClick() protected méthode

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

mdRefund_SaveClick() protected méthode

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

ppAuthorizedPerson_SelectPerson() protected méthode

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