C# Class Braintree.CustomerGateway

Provides operations for creating, finding, updating, and deleting customers in the vault
Inheritance: ICustomerGateway
ファイルを表示 Open project: braintree/braintree_dotnet

Public Methods

Method Description
All ( ) : ResourceCollection
Create ( ) : Result
Create ( CustomerRequest request ) : Result
Delete ( string Id ) : Result
Find ( string Id ) : Braintree.Customer
Search ( CustomerSearchRequest query ) : ResourceCollection
Update ( string Id, CustomerRequest request ) : Result

Protected Methods

Method Description
CustomerGateway ( IBraintreeGateway gateway ) : Braintree.Exceptions

Private Methods

Method Description
ConfirmTransparentRedirect ( string queryString ) : Result
FetchCustomers ( CustomerSearchRequest query, string ids ) : List
TransparentRedirectURLForCreate ( ) : string
TransparentRedirectURLForUpdate ( ) : string

Method Details

All() public method

public All ( ) : ResourceCollection
return ResourceCollection

Create() public method

public Create ( ) : Result
return Result

Create() public method

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

CustomerGateway() protected method

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

Delete() public method

public Delete ( string Id ) : Result
Id string
return Result

Find() public method

public Find ( string Id ) : Braintree.Customer
Id string
return Braintree.Customer

Search() public method

public Search ( CustomerSearchRequest query ) : ResourceCollection
query CustomerSearchRequest
return ResourceCollection

Update() public method

public Update ( string Id, CustomerRequest request ) : Result
Id string
request CustomerRequest
return Result