PaymentForm
public class PaymentForm
Namespace
Constructors
PaymentForm (1 of 2)
public PaymentForm(string action)
PaymentForm (2 of 2)
public PaymentForm(string action, FormMethod method)
Properties
Action
public string Action { get; set; }
Attributes
public IDictionary<string, string> Attributes { get; set; }
Css
public string Css { get; set; }
CssFiles
public IList<string> CssFiles { get; set; }
Inputs
public IDictionary<string, string> Inputs { get; set; }
Js
public string Js { get; set; }
JsFiles
public IList<string> JsFiles { get; set; }
Method
public FormMethod Method { get; set; }
Methods
WithAttribute
public PaymentForm WithAttribute(string key, string value)
WithAttributeIf (1 of 2)
public PaymentForm WithAttributeIf(string key, Func<bool> predicate, string valueIfTrue,
string valueIfFalse = null)
WithAttributeIf (2 of 2)
public PaymentForm WithAttributeIf(string key, bool predicate, string valueIfTrue,
string valueIfFalse = null)
WithCss
public PaymentForm WithCss(string styles)
WithCssFile
public PaymentForm WithCssFile(string url)
WithInput
public PaymentForm WithInput(string key, string value)
WithInputIf (1 of 2)
public PaymentForm WithInputIf(string key, Func<bool> predicate, string valueIfTrue,
string valueIfFalse = null)
WithInputIf (2 of 2)
public PaymentForm WithInputIf(string key, bool predicate, string valueIfTrue,
string valueIfFalse = null)
WithJs
public PaymentForm WithJs(string script)
WithJsFile
public PaymentForm WithJsFile(string url)