Method | Description | |
---|---|---|
BypassCertificateError ( ) : void |
This function is used to neglect the ssl handshake error with authentication server.
|
Method | Description | |
---|---|---|
BtnGetSubscriptionDetails_Click ( object sender, EventArgs e ) : void |
Get Subscription Details button click
|
|
BtnGetSubscriptionRefund_Click ( object sender, EventArgs e ) : void |
Get Subscription Refund button click
|
|
BtnRefreshNotifications_Click ( object sender, EventArgs e ) : void |
Refresh notification messages
|
|
GetSubscriptionButton_Click ( object sender, EventArgs e ) : void |
Get Subscription button click event
|
|
NewSubscriptionButton_Click1 ( object sender, EventArgs e ) : void |
Subscription button click event
|
|
Page_Load ( object sender, EventArgs e ) : void |
Default method, that gets called upon loading the page and performs the following actions Reads from config file Process Notary Response Process New Transaction Response
|
|
ViewNotaryButton_Click ( object sender, EventArgs e ) : void |
View Notary button click event
|
Method | Description | |
---|---|---|
AddRowToGetSubscriptionDetailsSuccessPanel ( Panel panelParam, string attribute, string value ) : void |
Method to add row to success table.
|
|
AddRowToGetTransactionSuccessPanel ( Panel panelParam, string attribute, string value ) : void |
Method to add row to success table.
|
|
AddRowToNotificationTable ( string notificationId, string notificationType, string transactionId ) : void |
Method to add rows to notification response table with notification details
|
|
AddRowToSubsDetailsSection ( string subscription, string merchantsubscription ) : void |
This medthod is used for adding row in Subscription Details Section
|
|
AddRowToSubsRefundSection ( string subscription, string merchantsubscription ) : void |
This medthod is used for adding row in Subscription Refund Section
|
|
AddRowToSubscriptionRefundSuccessPanel ( Panel panelParam, string attribute, string value ) : void |
Method to add row to success table.
|
|
AddRowToSuccessPanel ( Panel panelParam, string attribute, string value ) : void |
Method to add rows to success table.
|
|
CheckItemInSubsDetailsFile ( string transactionid, string merchantTransactionId ) : bool |
Method to check item in Subscription Details file.
|
|
CheckItemInSubsRefundFile ( string transactionid, string merchantTransactionId ) : bool |
Method to check item in Subscription Refund file.
|
|
DrawNotificationTableHeaders ( ) : void |
Method to display notification response table with headers
|
|
DrawPanelForFailure ( Panel panelParam, string message ) : void |
Method to draw error table.
|
|
DrawPanelForGetSubscriptionDetailsSuccess ( Panel panelParam ) : void |
Method to draw panel for successful transaction.
|
|
DrawPanelForGetTransactionSuccess ( Panel panelParam ) : void |
Method to draw panel for successful transaction.
|
|
DrawPanelForSubscriptionRefundSuccess ( Panel panelParam ) : void |
Method to draw panel for successful refund.
|
|
DrawPanelForSuccess ( Panel panelParam ) : void |
Method to draw the success table.
|
|
DrawSubsDetailsSection ( bool onlyRow ) : void |
This medthod is used for Drawing Subscription Details Section
|
|
DrawSubsRefundSection ( bool onlyRow ) : void |
This medthod is used for drawing Subscription Refund Section
|
|
GetAccessToken ( int type, Panel panelParam ) : bool |
This function get the access token based on the type parameter type values. If type value is 1, access token is fetch for client credential flow If type value is 2, access token is fetch for client credential flow based on the exisiting refresh token
|
|
GetNotificationDetails ( ) : void |
Method to get notification details
|
|
GetSubsDetailsFromFile ( ) : void |
Method to get Subscription Details from the file.
|
|
GetSubsRefundFromFile ( ) : void |
Method to get Subscription Refund from the file.
|
|
GetValueOfKey ( string key ) : string |
Method to get the value from Key value
|
|
GetValueOfKeyFromRefund ( string key ) : string |
Method to get the value of key from the selected row in Refund Section
|
|
IsTokenValid ( ) : string |
This function validates the expiry of the access token and refresh token, function compares the current time with the refresh token taken time, if current time is greater then returns INVALID_REFRESH_TOKEN function compares the difference of last access token taken time and the current time with the expiry seconds, if its more, function returns INVALID_ACCESS_TOKEN otherwise returns VALID_ACCESS_TOKEN
|
|
ProcessCreateTransactionResponse ( ) : void |
Method to process create transaction response
|
|
ProcessNotaryResponse ( ) : void |
Method to process Notary Response
|
|
ReadAccessTokenFile ( ) : bool |
This function reads the Access Token File and stores the values of access token, expiry seconds, refresh token, last access token time and refresh token expiry time. This function returns true, if access token file and all others attributes read successfully otherwise returns false.
|
|
ReadAndGetAccessToken ( Panel panelParam ) : bool |
This function is used to read access token file and validate the access token. This function returns true if access token is valid, or else false is returned.
|
|
ReadConfigFile ( ) : bool |
Reads from config file and assigns to local variables
|
|
ReadTransactionParametersFromConfigurationFile ( ) : void |
Method to read Transaction Parameters from Configuration file.
|
|
ResetSubsDetailsList ( ) : void |
Method to reset Subscription Details List
|
|
ResetSubsRefundList ( ) : void |
Method to reset Subscription Refund List
|
|
UpdateSubsDetailsListToFile ( ) : void |
Method to update Subscription Details list to the file.
|
|
UpdatesSubsRefundListToFile ( ) : void |
Method to update Subscription Refund list to the file.
|
|
WriteSubsDetailsToFile ( string transactionid, string merchantTransactionId ) : void |
Method to write Subscription Details to file.
|
|
WriteSubsRefundToFile ( string transactionid, string merchantTransactionId ) : void |
Method to write Subscription Refund to file.
|
protected BtnGetSubscriptionDetails_Click ( object sender, EventArgs e ) : void | ||
sender | object | Sender Details |
e | EventArgs | List of Arguments |
return | void |
protected BtnGetSubscriptionRefund_Click ( object sender, EventArgs e ) : void | ||
sender | object | Sender Details |
e | EventArgs | List of Arguments |
return | void |
protected BtnRefreshNotifications_Click ( object sender, EventArgs e ) : void | ||
sender | object | Sender Details |
e | EventArgs | List of Arguments |
return | void |
public static BypassCertificateError ( ) : void | ||
return | void |
protected GetSubscriptionButton_Click ( object sender, EventArgs e ) : void | ||
sender | object | Sender Details |
e | EventArgs | List of Arguments |
return | void |
protected NewSubscriptionButton_Click1 ( object sender, EventArgs e ) : void | ||
sender | object | Sender Details |
e | EventArgs | Event Arguments |
return | void |
protected Page_Load ( object sender, EventArgs e ) : void | ||
sender | object | object that invoked this method |
e | EventArgs | Event arguments |
return | void |
protected ViewNotaryButton_Click ( object sender, EventArgs e ) : void | ||
sender | object | Sender Details |
e | EventArgs | List of Arguments |
return | void |