Previous Docs Version

The documentation you are viewing is for a previous version of the Vendr product. Click here to jump to the current stable version.

PaymentForm

API reference for PaymentForm in Vendr, the eCommerce solution for Umbraco v8+

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)

Edit this page on GitHub

Site + logo design © 2024 Outfield Digital Ltd. Content contributions licensed under MIT.
Vendr® is a Registered Trademark of Outfield Digital Ltd.