Class BraintreeSystem
Inheritance
System.Object
BraintreeSystem
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: NFX.Web.dll
Syntax
public sealed class BraintreeSystem : PaySystem, IApplicationComponent, IDisposable, IService, ILocalizedTimeProvider, IWebClientCaller, IPaySystemImplementation, IPaySystem, INamed, IConfigurable, IInstrumentable, IExternallyParameterized
Constructors
BraintreeSystem(String, IConfigSectionNode)
Declaration
public BraintreeSystem(string name, IConfigSectionNode node)
Parameters
BraintreeSystem(String, IConfigSectionNode, Object)
Declaration
public BraintreeSystem(string name, IConfigSectionNode node, object director)
Parameters
BraintreeSystem(String, String, IConfigSectionNode, Object)
Declaration
public BraintreeSystem(string apiUri, string name, IConfigSectionNode node, object director)
Parameters
Type |
Name |
Description |
System.String |
apiUri |
|
System.String |
name |
|
IConfigSectionNode |
node |
|
System.Object |
director |
|
BraintreeSystem(Uri, String, IConfigSectionNode, Object)
Declaration
public BraintreeSystem(Uri apiUri, string name, IConfigSectionNode node, object director)
Parameters
Type |
Name |
Description |
System.Uri |
apiUri |
|
System.String |
name |
|
IConfigSectionNode |
node |
|
System.Object |
director |
|
Fields
BRAINTREE_REALM
Declaration
public const string BRAINTREE_REALM = "braintree"
Field Value
Type |
Description |
System.String |
|
Properties
ComponentCommonName
Declaration
public override string ComponentCommonName { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
WebTerminal
Declaration
public override IPayWebTerminal WebTerminal { get; }
Property Value
Overrides
Methods
DoCapture(PaySession, Transaction, Nullable<Decimal>, String, Object)
Declaration
protected override bool DoCapture(PaySession session, Transaction charge, decimal ? amount = default (decimal ? ), string description = null, object extraData = null)
Parameters
Type |
Name |
Description |
PaySession |
session |
|
Transaction |
charge |
|
System.Nullable<System.Decimal> |
amount |
|
System.String |
description |
|
System.Object |
extraData |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
DoCharge(PaySession, Account, Account, Amount, Boolean, String, Object)
Declaration
protected override Transaction DoCharge(PaySession session, Account from, Account to, Amount amount, bool capture = true, string description = null, object extraData = null)
Parameters
Type |
Name |
Description |
PaySession |
session |
|
Account |
from |
|
Account |
to |
|
Amount |
amount |
|
System.Boolean |
capture |
|
System.String |
description |
|
System.Object |
extraData |
|
Returns
Overrides
DoRefund(PaySession, Transaction, Nullable<Decimal>, String, Object)
Declaration
protected override bool DoRefund(PaySession session, Transaction charge, decimal ? amount = default (decimal ? ), string description = null, object extraData = null)
Parameters
Type |
Name |
Description |
PaySession |
session |
|
Transaction |
charge |
|
System.Nullable<System.Decimal> |
amount |
|
System.String |
description |
|
System.Object |
extraData |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
DoStartSession(ConnectionParameters, IPaySessionContext)
Declaration
protected override PaySession DoStartSession(ConnectionParameters cParams, IPaySessionContext context = null)
Parameters
Returns
Overrides
DoTransfer(PaySession, Account, Account, Amount, String, Object)
Declaration
protected override Transaction DoTransfer(PaySession session, Account from, Account to, Amount amount, string description = null, object extraData = null)
Parameters
Returns
Overrides
DoVoid(PaySession, Transaction, String, Object)
Declaration
protected override bool DoVoid(PaySession session, Transaction charge, string description = null, object extraData = null)
Parameters
Type |
Name |
Description |
PaySession |
session |
|
Transaction |
charge |
|
System.String |
description |
|
System.Object |
extraData |
|
Returns
Type |
Description |
System.Boolean |
|
Overrides
GenerateClientToken(PaySession)
Declaration
public object GenerateClientToken(PaySession session)
Parameters
Returns
Type |
Description |
System.Object |
|
MakeDefaultSessionConnectParams(IConfigSectionNode)
Declaration
protected override ConnectionParameters MakeDefaultSessionConnectParams(IConfigSectionNode paramsSection)
Parameters
Returns
Overrides
URI_ClientToken(String)
Declaration
public Uri URI_ClientToken(string merchantID)
Parameters
Type |
Name |
Description |
System.String |
merchantID |
|
Returns
Type |
Description |
System.Uri |
|
URI_Customer(String, String)
Declaration
public Uri URI_Customer(string merchantID, string customerID)
Parameters
Type |
Name |
Description |
System.String |
merchantID |
|
System.String |
customerID |
|
Returns
Type |
Description |
System.Uri |
|
URI_Find(String, String)
Declaration
public Uri URI_Find(string merchantID, string id)
Parameters
Type |
Name |
Description |
System.String |
merchantID |
|
System.String |
id |
|
Returns
Type |
Description |
System.Uri |
|
URI_Refund(String, String)
Declaration
public Uri URI_Refund(string merchantID, string id)
Parameters
Type |
Name |
Description |
System.String |
merchantID |
|
System.String |
id |
|
Returns
Type |
Description |
System.Uri |
|
URI_SubmitForSettlement(String, String)
Declaration
public Uri URI_SubmitForSettlement(string merchantID, string id)
Parameters
Type |
Name |
Description |
System.String |
merchantID |
|
System.String |
id |
|
Returns
Type |
Description |
System.Uri |
|
URI_Transactions(String)
Declaration
public Uri URI_Transactions(string merchantID)
Parameters
Type |
Name |
Description |
System.String |
merchantID |
|
Returns
Type |
Description |
System.Uri |
|
URI_Void(String, String)
Declaration
public Uri URI_Void(string merchantID, string id)
Parameters
Type |
Name |
Description |
System.String |
merchantID |
|
System.String |
id |
|
Returns
Type |
Description |
System.Uri |
|
Implements
System.IDisposable
Extension Methods