Exemplo n.º 1
0
 private static void init()
 {
     providerRefund       = new OffAmazonPaymentsServiceProviderRefund();
     amazonCaptureId      = CLIHelper.getStringFromConsole("capture reference id");
     refundAmount         = CLIHelper.getDoubleFromConsole("refund amount").ToString("0.##");
     providerId           = CLIHelper.getStringFromConsole("provider id");
     creditReversalAmount = CLIHelper.getDoubleFromConsole("credit reversal amount").ToString("0.##");
 }
Exemplo n.º 2
0
 /// <summary>
 /// Setup variables that are specific to the page
 /// </summary>
 /// <param name="sender">Reference to the source of this event</param>
 /// <param name="e">arguments for the event</param>
 protected void Page_Load(object sender, EventArgs e)
 {
     this._providerRefund = new OffAmazonPaymentsServiceProviderRefund();
 }