C# 클래스 Braintree.SubscriptionGateway

Provides operations for creating, finding, updating, searching, and deleting subscriptions in the vault
파일 보기 프로젝트 열기: braintree/braintree_dotnet

공개 메소드들

메소드 설명
Cancel ( string id ) : Result
Create ( SubscriptionRequest request ) : Result
Find ( string id ) : Braintree.Subscription
RetryCharge ( string subscriptionId ) : Result
RetryCharge ( string subscriptionId, decimal amount ) : Result
Search ( SearchDelegate searchDelegate ) : ResourceCollection
Search ( SubscriptionSearchRequest query ) : ResourceCollection

Search for subscriptions based on PlanId, DaysPastDue and Status

Update ( string id, SubscriptionRequest request ) : Result

보호된 메소드들

메소드 설명
SubscriptionGateway ( BraintreeGateway gateway ) : Braintree.Exceptions

비공개 메소드들

메소드 설명
FetchSubscriptions ( SubscriptionSearchRequest query, string ids ) : List
RetryCharge ( SubscriptionTransactionRequest txnRequest ) : Result

메소드 상세

Cancel() 공개 메소드

public Cancel ( string id ) : Result
id string
리턴 Result

Create() 공개 메소드

public Create ( SubscriptionRequest request ) : Result
request SubscriptionRequest
리턴 Result

Find() 공개 메소드

public Find ( string id ) : Braintree.Subscription
id string
리턴 Braintree.Subscription

RetryCharge() 공개 메소드

public RetryCharge ( string subscriptionId ) : Result
subscriptionId string
리턴 Result

RetryCharge() 공개 메소드

public RetryCharge ( string subscriptionId, decimal amount ) : Result
subscriptionId string
amount decimal
리턴 Result

Search() 공개 메소드

public Search ( SearchDelegate searchDelegate ) : ResourceCollection
searchDelegate SearchDelegate
리턴 ResourceCollection

Search() 공개 메소드

Search for subscriptions based on PlanId, DaysPastDue and Status
public Search ( SubscriptionSearchRequest query ) : ResourceCollection
query SubscriptionSearchRequest
리턴 ResourceCollection

SubscriptionGateway() 보호된 메소드

protected SubscriptionGateway ( BraintreeGateway gateway ) : Braintree.Exceptions
gateway BraintreeGateway
리턴 Braintree.Exceptions

Update() 공개 메소드

public Update ( string id, SubscriptionRequest request ) : Result
id string
request SubscriptionRequest
리턴 Result