C# 클래스 Braintree.Transaction

A transaction returned by the Braintree Gateway
파일 보기 프로젝트 열기: braintree/braintree_dotnet 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Transaction System

공개 메소드들

메소드 설명
GetVaultBillingAddress ( ) : Address

Returns the current billing Address associated with this transaction if one exists

When retrieving a transaction from the gateway, the billing address associated with the transaction is returned in the response. If the billing address has been updated in the vault since the transaction occurred, this method can be used to retrieve the updated billing address.

GetVaultCreditCard ( ) : CreditCard

Returns the current CreditCard associated with this transaction if one exists

When retrieving a transaction from the gateway, the credit card used in the transaction is returned in the response. If the credit card record has been updated in the vault since the transaction occurred, this method can be used to retrieve the updated credit card information. This is typically useful in situations where a transaction fails, for example when a credit card expires, and a new transaction needs to be submitted once the new credit card information has been submitted.

GetVaultCustomer ( ) : Customer

Returns the current Customer associated with this transaction if one exists

When retrieving a transaction from the gateway, the customer associated with the transaction is returned in the response. If the customer record has been updated in the vault since the transaction occurred, this method can be used to retrieve the updated customer information.

GetVaultShippingAddress ( ) : Address

Returns the current shipping Address associated with this transaction if one exists

When retrieving a transaction from the gateway, the shipping address associated with the transaction is returned in the response. If the shipping address has been updated in the vault since the transaction occurred, this method can be used to retrieve the updated shipping address.

IsDisbursed ( ) : bool

보호된 메소드들

메소드 설명
Transaction ( NodeWrapper node, IBraintreeGateway gateway ) : System

비공개 메소드들

메소드 설명
Transaction ( ) : System

메소드 상세

GetVaultBillingAddress() 공개 메소드

Returns the current billing Address associated with this transaction if one exists
When retrieving a transaction from the gateway, the billing address associated with the transaction is returned in the response. If the billing address has been updated in the vault since the transaction occurred, this method can be used to retrieve the updated billing address.
public GetVaultBillingAddress ( ) : Address
리턴 Address

GetVaultCreditCard() 공개 메소드

Returns the current CreditCard associated with this transaction if one exists
When retrieving a transaction from the gateway, the credit card used in the transaction is returned in the response. If the credit card record has been updated in the vault since the transaction occurred, this method can be used to retrieve the updated credit card information. This is typically useful in situations where a transaction fails, for example when a credit card expires, and a new transaction needs to be submitted once the new credit card information has been submitted.
public GetVaultCreditCard ( ) : CreditCard
리턴 CreditCard

GetVaultCustomer() 공개 메소드

Returns the current Customer associated with this transaction if one exists
When retrieving a transaction from the gateway, the customer associated with the transaction is returned in the response. If the customer record has been updated in the vault since the transaction occurred, this method can be used to retrieve the updated customer information.
public GetVaultCustomer ( ) : Customer
리턴 Customer

GetVaultShippingAddress() 공개 메소드

Returns the current shipping Address associated with this transaction if one exists
When retrieving a transaction from the gateway, the shipping address associated with the transaction is returned in the response. If the shipping address has been updated in the vault since the transaction occurred, this method can be used to retrieve the updated shipping address.
public GetVaultShippingAddress ( ) : Address
리턴 Address

IsDisbursed() 공개 메소드

public IsDisbursed ( ) : bool
리턴 bool

Transaction() 보호된 메소드

protected Transaction ( NodeWrapper node, IBraintreeGateway gateway ) : System
node NodeWrapper
gateway IBraintreeGateway
리턴 System