Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

90 lines (85 sloc) 3.774 kb
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="3.5">
<PropertyGroup>
<!-- The configuration and platform will be used to determine which
assemblies to include from solution and project documentation
sources -->
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{8c5d93ab-f3ca-47af-a5e3-bdfee8315a52}</ProjectGuid>
<SHFBSchemaVersion>1.8.0.3</SHFBSchemaVersion>
<!-- AssemblyName, Name, and RootNamespace are not used by SHFB but Visual
Studio adds them anyway -->
<AssemblyName>Documentation</AssemblyName>
<RootNamespace>Documentation</RootNamespace>
<Name>Documentation</Name>
<!-- SHFB properties -->
<OutputPath>.\Help\</OutputPath>
<HtmlHelpName>Documentation</HtmlHelpName>
<FrameworkVersion>2.0.50727</FrameworkVersion>
<HelpFileFormat>Website</HelpFileFormat>
<DocumentationSources>
<DocumentationSource sourceFile="Braintree\bin\Debug\Braintree-2.4.0.dll" />
<DocumentationSource sourceFile="Braintree\bin\Debug\Braintree-2.4.0.xml" /></DocumentationSources>
<NamingMethod>MemberName</NamingMethod>
<NamespaceSummaries>
<NamespaceSummaryItem name="Braintree" isDocumented="True">Quick Start Example:
&lt;code&gt;
using System;
using Braintree;
namespace BraintreeExample
{
class Program
{
static void Main(string[] args)
{
var gateway = new BraintreeGateway
{
Environment = Braintree.Environment.SANDBOX,
MerchantId = "the_merchant_id",
PublicKey = "a_public_key",
PrivateKey = "a_private_key"
};
var request = new TransactionRequest
{
Amount = 100.00M,
CreditCard = new CreditCardRequest
{
Number = "5105105105105100",
ExpirationDate = "05/12"
}
};
Transaction transaction = gateway.Transaction.Sale(request).Target;
Console.WriteLine(String.Format("Transaction ID: {0}", transaction.Id));
Console.WriteLine(String.Format("Status: {0}", transaction.Status));
}
}
}
&lt;/code&gt;</NamespaceSummaryItem>
</NamespaceSummaries>
<HelpTitle>Braintree Gateway API Documentation</HelpTitle>
<MissingTags>AutoDocumentCtors, AutoDocumentDispose</MissingTags>
<VisibleItems>None</VisibleItems>
</PropertyGroup>
<!-- There are no properties for these groups. AnyCPU needs to appear in
order for Visual Studio to perform the build. The others are optional
common platform types that may appear. -->
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x64' ">
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x64' ">
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|Win32' ">
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|Win32' ">
</PropertyGroup>
<!-- Import the SHFB build targets -->
<Import Project="$(SHFBROOT)\SandcastleHelpFileBuilder.targets" />
</Project>
Jump to Line
Something went wrong with that request. Please try again.