C# Class Stripe.StripeClient

Exibir arquivo Open project: nberardi/stripe-dotnet Class Usage Examples

Public Methods

Method Description
CreateCard ( string customerOrRecipientId, ICreditCard card, bool isRecipient = false ) : Stripe.StripeObject
DeleteCard ( string customerOrRecipientId, string cardId, bool isRecipient = false ) : Stripe.StripeObject
ExecuteArray ( RestRequest request ) : StripeArray

Execute a manual REST request

ExecuteObject ( RestRequest request ) : Stripe.StripeObject

Execute a manual REST request

ListCards ( string customerOrRecipientId, int count = null, int offset = null, bool isRecipient = false ) : StripeArray
RetrieveCard ( string customerOrRecipientId, string cardId, bool isRecipient = false ) : Stripe.StripeObject
StripeClient ( string apiKey ) : System
StripeClient ( string apiKey, string apiVersion, string apiEndpoint ) : System
UpdateCard ( string customerOrRecipientId, string cardId, ICreditCard card, bool isRecipient = false ) : Stripe.StripeObject

Private Methods

Method Description
AddDictionaryParameter ( object>.IDictionary parameter, string objectName, RestRequest request ) : void
Deserialize ( string input ) : object>.IDictionary

Method Details

CreateCard() public method

public CreateCard ( string customerOrRecipientId, ICreditCard card, bool isRecipient = false ) : Stripe.StripeObject
customerOrRecipientId string
card ICreditCard
isRecipient bool
return Stripe.StripeObject

DeleteCard() public method

public DeleteCard ( string customerOrRecipientId, string cardId, bool isRecipient = false ) : Stripe.StripeObject
customerOrRecipientId string
cardId string
isRecipient bool
return Stripe.StripeObject

ExecuteArray() public method

Execute a manual REST request
public ExecuteArray ( RestRequest request ) : StripeArray
request RestSharp.RestRequest The RestRequest to execute (will use client credentials)
return StripeArray

ExecuteObject() public method

Execute a manual REST request
public ExecuteObject ( RestRequest request ) : Stripe.StripeObject
request RestSharp.RestRequest The RestRequest to execute (will use client credentials)
return Stripe.StripeObject

ListCards() public method

public ListCards ( string customerOrRecipientId, int count = null, int offset = null, bool isRecipient = false ) : StripeArray
customerOrRecipientId string
count int
offset int
isRecipient bool
return StripeArray

RetrieveCard() public method

public RetrieveCard ( string customerOrRecipientId, string cardId, bool isRecipient = false ) : Stripe.StripeObject
customerOrRecipientId string
cardId string
isRecipient bool
return Stripe.StripeObject

StripeClient() public method

public StripeClient ( string apiKey ) : System
apiKey string
return System

StripeClient() public method

public StripeClient ( string apiKey, string apiVersion, string apiEndpoint ) : System
apiKey string
apiVersion string
apiEndpoint string
return System

UpdateCard() public method

public UpdateCard ( string customerOrRecipientId, string cardId, ICreditCard card, bool isRecipient = false ) : Stripe.StripeObject
customerOrRecipientId string
cardId string
card ICreditCard
isRecipient bool
return Stripe.StripeObject