C# Класс Stripe.StripeClient

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Приватные методы

Метод Описание
AddDictionaryParameter ( object>.IDictionary parameter, string objectName, RestRequest request ) : void
Deserialize ( string input ) : object>.IDictionary

Описание методов

CreateCard() публичный Метод

public CreateCard ( string customerOrRecipientId, ICreditCard card, bool isRecipient = false ) : Stripe.StripeObject
customerOrRecipientId string
card ICreditCard
isRecipient bool
Результат Stripe.StripeObject

DeleteCard() публичный Метод

public DeleteCard ( string customerOrRecipientId, string cardId, bool isRecipient = false ) : Stripe.StripeObject
customerOrRecipientId string
cardId string
isRecipient bool
Результат Stripe.StripeObject

ExecuteArray() публичный Метод

Execute a manual REST request
public ExecuteArray ( RestRequest request ) : StripeArray
request RestSharp.RestRequest The RestRequest to execute (will use client credentials)
Результат StripeArray

ExecuteObject() публичный Метод

Execute a manual REST request
public ExecuteObject ( RestRequest request ) : Stripe.StripeObject
request RestSharp.RestRequest The RestRequest to execute (will use client credentials)
Результат Stripe.StripeObject

ListCards() публичный Метод

public ListCards ( string customerOrRecipientId, int count = null, int offset = null, bool isRecipient = false ) : StripeArray
customerOrRecipientId string
count int
offset int
isRecipient bool
Результат StripeArray

RetrieveCard() публичный Метод

public RetrieveCard ( string customerOrRecipientId, string cardId, bool isRecipient = false ) : Stripe.StripeObject
customerOrRecipientId string
cardId string
isRecipient bool
Результат Stripe.StripeObject

StripeClient() публичный Метод

public StripeClient ( string apiKey ) : System
apiKey string
Результат System

StripeClient() публичный Метод

public StripeClient ( string apiKey, string apiVersion, string apiEndpoint ) : System
apiKey string
apiVersion string
apiEndpoint string
Результат System

UpdateCard() публичный Метод

public UpdateCard ( string customerOrRecipientId, string cardId, ICreditCard card, bool isRecipient = false ) : Stripe.StripeObject
customerOrRecipientId string
cardId string
card ICreditCard
isRecipient bool
Результат Stripe.StripeObject