C# Class Braintree.CreditCardGateway

Provides operations for creating, finding, updating, and deleting credit cards in the vault
Inheritance: ICreditCardGateway
Mostra file Open project: braintree/braintree_dotnet

Public Methods

Method Description
Create ( CreditCardRequest request ) : Result
Delete ( string token ) : void
Expired ( ) : ResourceCollection
ExpiringBetween ( System.DateTime start, System.DateTime end ) : ResourceCollection
Find ( string token ) : CreditCard
FromNonce ( string nonce ) : CreditCard
Update ( string token, CreditCardRequest request ) : Result

Protected Methods

Method Description
CreditCardGateway ( IBraintreeGateway gateway ) : Braintree.Exceptions

Private Methods

Method Description
ConfirmTransparentRedirect ( string queryString ) : Result
TransparentRedirectURLForCreate ( ) : string
TransparentRedirectURLForUpdate ( ) : string

Method Details

Create() public method

public Create ( CreditCardRequest request ) : Result
request CreditCardRequest
return Result

CreditCardGateway() protected method

protected CreditCardGateway ( IBraintreeGateway gateway ) : Braintree.Exceptions
gateway IBraintreeGateway
return Braintree.Exceptions

Delete() public method

public Delete ( string token ) : void
token string
return void

Expired() public method

public Expired ( ) : ResourceCollection
return ResourceCollection

ExpiringBetween() public method

public ExpiringBetween ( System.DateTime start, System.DateTime end ) : ResourceCollection
start System.DateTime
end System.DateTime
return ResourceCollection

Find() public method

public Find ( string token ) : CreditCard
token string
return CreditCard

FromNonce() public method

public FromNonce ( string nonce ) : CreditCard
nonce string
return CreditCard

Update() public method

public Update ( string token, CreditCardRequest request ) : Result
token string
request CreditCardRequest
return Result