C# Class PaymentExample.Default

Afficher le fichier Open project: square/connect-api-examples

Protected Properties

Свойство Type Description
ScriptManager1 global::System.Web.UI.ScriptManager
form global::System.Web.UI.HtmlControls.HtmlForm

Méthodes publiques

Méthode Description
NewIdempotencyKey ( ) : string
NewMoney ( int amount, string currency ) : Money

Méthodes protégées

Méthode Description
Page_Load ( object sender, EventArgs e ) : void

Private Methods

Méthode Description
Charge ( string nonce ) : string

Method Details

NewIdempotencyKey() public static méthode

public static NewIdempotencyKey ( ) : string
Résultat string

NewMoney() public static méthode

public static NewMoney ( int amount, string currency ) : Money
amount int
currency string
Résultat Money

Page_Load() protected méthode

protected Page_Load ( object sender, EventArgs e ) : void
sender object
e EventArgs
Résultat 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
Résultat 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
Résultat global::System.Web.UI.HtmlControls.HtmlForm