C# Class Braintree.RequestBuilder

Datei anzeigen Open project: braintree/braintree_dotnet Class Usage Examples

Public Methods

Method Description
AddElement ( string name, object value ) : RequestBuilder
AddTopLevelElement ( string name, string value ) : RequestBuilder
RequestBuilder ( ) : System
RequestBuilder ( string parent ) : System
ToQueryString ( ) : string
ToXml ( ) : string

Private Methods

Method Description
BuildXMLElement ( string name, object value ) : string
FormatAsArrayXML ( string name, string value ) : string
FormatAsXml ( string name, System.DateTime value ) : string
FormatAsXml ( string root, string>.Dictionary elements ) : string
FormatAsXml ( string name, string value ) : string
ParentBracketChildString ( string parent, string child ) : string

Method Details

AddElement() public method

public AddElement ( string name, object value ) : RequestBuilder
name string
value object
return RequestBuilder

AddTopLevelElement() public method

public AddTopLevelElement ( string name, string value ) : RequestBuilder
name string
value string
return RequestBuilder

RequestBuilder() public method

public RequestBuilder ( ) : System
return System

RequestBuilder() public method

public RequestBuilder ( string parent ) : System
parent string
return System

ToQueryString() public method

public ToQueryString ( ) : string
return string

ToXml() public method

public ToXml ( ) : string
return string