C# Class BalancedSharp.Clients.CardClient

Inheritance: ICardClient
Mostrar archivo Open project: rentler/BalancedSharp

Public Methods

Method Description
CardClient ( IBalancedService balanceService, IBalancedRest rest ) : System.Collections.Generic
Create ( string cardsUri, string cardNumber, int expirationYear, int expirationMonth, string securityCode = null, string name = null, string phoneNumber = null, string city = null, string postalCode = null, string streetAddress = null, string countryCode = null, string>.Dictionary meta = null, bool isValid = true ) : Status
Get ( string cardsUri ) : Status
Invalidate ( string cardsUri ) : Status
List ( string cardsUri, int limit = 10, int offset ) : Status>
Update ( string cardsUri, string>.Dictionary meta ) : Status

Method Details

CardClient() public method

public CardClient ( IBalancedService balanceService, IBalancedRest rest ) : System.Collections.Generic
balanceService IBalancedService
rest IBalancedRest
return System.Collections.Generic

Create() public method

public Create ( string cardsUri, string cardNumber, int expirationYear, int expirationMonth, string securityCode = null, string name = null, string phoneNumber = null, string city = null, string postalCode = null, string streetAddress = null, string countryCode = null, string>.Dictionary meta = null, bool isValid = true ) : Status
cardsUri string
cardNumber string
expirationYear int
expirationMonth int
securityCode string
name string
phoneNumber string
city string
postalCode string
streetAddress string
countryCode string
meta string>.Dictionary
isValid bool
return Status

Get() public method

public Get ( string cardsUri ) : Status
cardsUri string
return Status

Invalidate() public method

public Invalidate ( string cardsUri ) : Status
cardsUri string
return Status

List() public method

public List ( string cardsUri, int limit = 10, int offset ) : Status>
cardsUri string
limit int
offset int
return Status>

Update() public method

public Update ( string cardsUri, string>.Dictionary meta ) : Status
cardsUri string
meta string>.Dictionary
return Status