C# Class Braintree.TransactionGateway

Provides operations for sales, credits, refunds, voids, submitting for settlement, and searching for transactions in the vault
Inheritance: ITransactionGateway
Afficher le fichier Open project: braintree/braintree_dotnet Class Usage Examples

Méthodes publiques

Méthode Description
CancelRelease ( string id ) : Result
CloneTransaction ( string id, Braintree.TransactionCloneRequest cloneRequest ) : Result
Credit ( TransactionRequest request ) : Result
CreditTrData ( TransactionRequest trData, string redirectURL ) : string
Find ( string id ) : Transaction
HoldInEscrow ( string id ) : Result
Refund ( string id ) : Result
Refund ( string id, TransactionRefundRequest refundRequest ) : Result
Refund ( string id, decimal amount ) : Result
ReleaseFromEscrow ( string id ) : Result
Sale ( TransactionRequest request ) : Result
SaleTrData ( TransactionRequest trData, string redirectURL ) : string
Search ( TransactionSearchRequest query ) : ResourceCollection
SubmitForPartialSettlement ( string id, TransactionRequest request ) : Result
SubmitForPartialSettlement ( string id, decimal amount ) : Result
SubmitForSettlement ( string id ) : Result
SubmitForSettlement ( string id, TransactionRequest request ) : Result
SubmitForSettlement ( string id, decimal amount ) : Result
UpdateDetails ( string id, TransactionRequest request ) : Result
Void ( string id ) : Result

Méthodes protégées

Méthode Description
TransactionGateway ( IBraintreeGateway gateway ) : Braintree.Exceptions

Private Methods

Méthode Description
ConfirmTransparentRedirect ( string queryString ) : Result
FetchTransactions ( TransactionSearchRequest query, string ids ) : List
TransparentRedirectURLForCreate ( ) : string

Method Details

CancelRelease() public méthode

public CancelRelease ( string id ) : Result
id string
Résultat Result

CloneTransaction() public méthode

public CloneTransaction ( string id, Braintree.TransactionCloneRequest cloneRequest ) : Result
id string
cloneRequest Braintree.TransactionCloneRequest
Résultat Result

Credit() public méthode

public Credit ( TransactionRequest request ) : Result
request TransactionRequest
Résultat Result

CreditTrData() public méthode

public CreditTrData ( TransactionRequest trData, string redirectURL ) : string
trData TransactionRequest
redirectURL string
Résultat string

Find() public méthode

public Find ( string id ) : Transaction
id string
Résultat Transaction

HoldInEscrow() public méthode

public HoldInEscrow ( string id ) : Result
id string
Résultat Result

Refund() public méthode

public Refund ( string id ) : Result
id string
Résultat Result

Refund() public méthode

public Refund ( string id, TransactionRefundRequest refundRequest ) : Result
id string
refundRequest TransactionRefundRequest
Résultat Result

Refund() public méthode

public Refund ( string id, decimal amount ) : Result
id string
amount decimal
Résultat Result

ReleaseFromEscrow() public méthode

public ReleaseFromEscrow ( string id ) : Result
id string
Résultat Result

Sale() public méthode

public Sale ( TransactionRequest request ) : Result
request TransactionRequest
Résultat Result

SaleTrData() public méthode

public SaleTrData ( TransactionRequest trData, string redirectURL ) : string
trData TransactionRequest
redirectURL string
Résultat string

Search() public méthode

public Search ( TransactionSearchRequest query ) : ResourceCollection
query TransactionSearchRequest
Résultat ResourceCollection

SubmitForPartialSettlement() public méthode

public SubmitForPartialSettlement ( string id, TransactionRequest request ) : Result
id string
request TransactionRequest
Résultat Result

SubmitForPartialSettlement() public méthode

public SubmitForPartialSettlement ( string id, decimal amount ) : Result
id string
amount decimal
Résultat Result

SubmitForSettlement() public méthode

public SubmitForSettlement ( string id ) : Result
id string
Résultat Result

SubmitForSettlement() public méthode

public SubmitForSettlement ( string id, TransactionRequest request ) : Result
id string
request TransactionRequest
Résultat Result

SubmitForSettlement() public méthode

public SubmitForSettlement ( string id, decimal amount ) : Result
id string
amount decimal
Résultat Result

TransactionGateway() protected méthode

protected TransactionGateway ( IBraintreeGateway gateway ) : Braintree.Exceptions
gateway IBraintreeGateway
Résultat Braintree.Exceptions

UpdateDetails() public méthode

public UpdateDetails ( string id, TransactionRequest request ) : Result
id string
request TransactionRequest
Résultat Result

Void() public méthode

public Void ( string id ) : Result
id string
Résultat Result