C# Class PaymentExample.Default

Mostrar archivo Open project: square/connect-api-examples

Protected Properties

Property Type Description
ScriptManager1 global::System.Web.UI.ScriptManager
form global::System.Web.UI.HtmlControls.HtmlForm

Public Methods

Method Description
NewIdempotencyKey ( ) : string
NewMoney ( int amount, string currency ) : Money

Protected Methods

Method Description
Page_Load ( object sender, EventArgs e ) : void

Private Methods

Method Description
Charge ( string nonce ) : string

Method Details

NewIdempotencyKey() public static method

public static NewIdempotencyKey ( ) : string
return string

NewMoney() public static method

public static NewMoney ( int amount, string currency ) : Money
amount int
currency string
return Money

Page_Load() protected method

protected Page_Load ( object sender, EventArgs e ) : void
sender object
e EventArgs
return void

Property Details

ScriptManager1 protected_oe property

ScriptManager1 control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.ScriptManager ScriptManager1
return global::System.Web.UI.ScriptManager

form protected_oe property

form control.
Auto-generated field. To modify move field declaration from designer file to code-behind file.
protected global::System.Web.UI.HtmlControls.HtmlForm form
return global::System.Web.UI.HtmlControls.HtmlForm