C# Класс Braintree.Transaction

A transaction returned by the Braintree Gateway
Показать файл Открыть проект Примеры использования класса

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